Displaying 3 results from an estimated 3 matches for "testtrunk".
2009 Dec 18
2
To Asterisk AMI Gurus - Tacking issue with originate
...ntents of extensions_custom.conf. When
I submit the form nothing happens. I don't even see Manager Connected msg.
Your input will be much appreciated. I am thinking I have some syntax
problem.
/etc/asterisk/extensions_custom.conf
*[testphp]
exten => _X.,1,Answer()
exten => _X.,n,Dial(SIP/testTrunk/${EXTEN})
exten => _X.,n,Hangup()*
*
*
*
*
*
*****************************************************************************************************
*
/var/www/html/clickncall/index.php
<html>
<head>
<title>ClicknCall</title>
</head>
<body><br><br>...
2009 Dec 23
1
AMI originate and PHP
...;
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Username: $User_str\r\n");
fputs($oSocket, "Secret: $Secret_str\r\n\r\n");
fputs($oSocket, "Events: off\r\n\r\n");
fputs($oSocket, "Action: originate\r\n");
fputs($oSocket, "Channel: SIP/testTrunk/$phoneNumb\r\n");
fputs($oSocket, "Exten: $dialNumb\r\n");
fputs($oSocket, "Context: testphp\r\n");
fputs($oSocket, "Priority: 1\r\n\r\n");
fputs($oSocket, "Timeout: 10000\r\n");
fputs($oSocket, "CallerId: $spoofNumb\r\n");
fputs($oSocket, &quo...
2012 Dec 12
1
Asterisk 11 originate errors
...;
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Username: $User_str\r\n");
fputs($oSocket, "Secret: $Secret_str\r\n\r\n");
fputs($oSocket, "Events: off\r\n\r\n");
fputs($oSocket, "Action: originate\r\n");
fputs($oSocket, "Channel: SIP/testTrunk/$phoneNumb\r\n");
fputs($oSocket, "Exten: $dialNumb\r\n");
fputs($oSocket, "Context: $context\r\n");
fputs($oSocket, "Priority: 1\r\n\r\n");
fputs($oSocket, "Timeout: 10000\r\n");
fputs($oSocket, "CallerId: $spoofNumb\r\n");
fputs($oSocket, &qu...