예제 #1
0
파일: ITSP.php 프로젝트: didww/php-sdk
 /**
  * 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';
 }
예제 #2
0
파일: IAX.php 프로젝트: didww/php-sdk
 /**
  * Class constructor
  * @param string $host
  * @param string $account
  */
 public function __construct($host = NULL, $account = NULL)
 {
     parent::__construct($host, $account);
     $this->mapProto = 'IAX2';
 }