search for: sys_ip

Displaying 3 results from an estimated 3 matches for "sys_ip".

2012 Dec 12
1
Asterisk 11 originate errors
...ion 11.0.1 OS:?CentOS release 5.8 (Final) //manager.conf settings [faheem] secret =f at xxxxxx permit=127.0.0.1/255.255.255.255 read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan write = system,call,agent,user,config,command,reporting,originate ///AMI script <?php $sys_ip = "127.0.0.1"; $User_str = "faheem"; $Secret_str = "f at h33m112xxxxxx"; $phoneNumb = 1234; $dialNumb = ?4567; $spoofNumb = 786; $context = "xxxxx-xxxxx"; $oSocket = fsockopen($sys_ip, 5038, $errnum, $errdesc) or die("Connection to host failed"); f...
2009 Dec 18
2
To Asterisk AMI Gurus - Tacking issue with originate
...***************************************************************************************************** * /var/www/html/clickncall/index.php <html> <head> <title>ClicknCall</title> </head> <body><br><br> <div align="center"> <?php $sys_ip = "127.0.0.1"; $User_str = "testphp"; $Secret_str = "testphp"; if ($_POST['x']) { $oSocket = fsockopen($sys_ip, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Usern...
2009 Dec 23
1
AMI originate and PHP
...SIP/sipProvider/$phoneNumb is dialed. Or at least it's dialed at the same time but since it takes time to pick ones phone context already goes over it's announcement for putting in spoof number and dialnumber. Please guide me how to do this properly. Following is the code and the context: $sys_ip = "127.0.0.1"; $User_str = "test"; $Secret_str = "test"; $phoneNumb = "14167777777"; $dialNumb = "14168888888"; $spoofNumb = "1416999999"; $oSocket = fsockopen($sys_ip, 5038, $errnum, $errdesc) or die("Connection to host failed")...