/** * Class constructor * @param string $host * @param string $account * @param string $proto * @param int $itspId */ function __construct($host = NULL, $account = NULL, $proto = 'SIP', $itspId = NULL) { parent::__construct($host, $account); $this->setMapItspId($itspId); $this->setMapProto($proto); $this->mapType = 'ITSP'; }
/** * Class constructor * @param string $host * @param string $account */ public function __construct($host = NULL, $account = NULL) { parent::__construct($host, $account); $this->mapProto = 'IAX2'; }