search for: strexten

Displaying 6 results from an estimated 6 matches for "strexten".

Did you mean: stdexten
2006 Dec 29
0
PHP to call script
...------------------------------------------------------------------------------------------- #get the caller's number from the form $strCallerNumber = $_POST['txtcallernumber']; $strChannel = $strCallerNumber; $strCallerId = $strCallerNumber; #get the phone number from the posted form $strExten = $_POST['txtphonenumber']; $callNumber = $strExten; #specify the caller id for the call $strCallerId = "Web will call <$callNumber>"; $length = strlen($strExten); if ($length == 10 && is_numeric($strExten)) { $oSocket = fsockopen($strHost, 5038, $errnum, $errdes...
2007 Jan 02
5
Call connected, cannot hear or speak - $20 for fix
...---------------------------------------------------------------------------------- #Shouldn't need to edit anything below this point to make this script work #-------------------------------------------------------------------------------------------- #get the phone number from the posted form $strExten = $_POST['txtphonenumber']; #specify the caller id for the call $strCallerId = $_POST['txtcid']; $length = strlen($strExten); if ($length == 11 && is_numeric($strExten)) { $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"...
2007 Jul 06
1
Asterisk Manager
...fputs($oSocket, "WaitTime: $strWaitTime\r\n"); fputs($oSocket, "CallerId: $strCallerId\r\n"); fputs($oSocket, "Context: $strContext\r\n"); fputs($oSocket, "Exten: $strExten\r\n"); fputs($oSocket, "Priority: $strPriority\r\n\r\n"); fputs($oSocket, "Action: Logoff\r\n\r\n"); when call gets answered it goes to my specified exten can I also handle if my call is not got answered b'...
2007 Jul 08
1
Asterisk Help
...fputs($oSocket, "Channel: $strChannel\r\n"); fputs($oSocket, "CallerId: $strCallerId\r\n"); fputs($oSocket, "Context: $strContext\r\n"); fputs($oSocket, "Exten: $strExten\r\n"); fputs($oSocket, "Priority: $strPriority\r\n\r\n"); fputs($oSocket, "Action: Logoff\r\n\r\n"); thanks arun -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.d...
2007 Jul 08
1
Early Media Handling
...fputs($oSocket, "WaitTime: $strWaitTime\r\n"); fputs($oSocket, "CallerId: $strCallerId\r\n"); fputs($oSocket, "Context: $strContext\r\n"); fputs($oSocket, "Exten: $strExten\r\n"); fputs($oSocket, "Priority: $strPriority\r\n\r\n"); Please help thanks arun -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070708/762905d7/attachm...
2007 Oct 13
0
Set up two PSTN calls and then join them
...t, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: originate\r\n"); fputs($oSocket, "Channel: $strChannel\r\n"); fputs($oSocket, "WaitTime: $strWaitTime\r\n"); fputs($oSocket, "CallerId: $strCallerId\r\n"); fputs($oSocket, "Exten: $strExten\r\n"); fputs($oSocket, "Context: $strContext\r\n"); fputs($oSocket, "Priority: $strPriority\r\n\r\n"); fputs($oSocket, "Action: Logoff\r\n\r\n"); This simulates one extension calling another and has some limitations e.g. the CDR records show one call which...