search for: strsecret

Displaying 8 results from an estimated 8 matches for "strsecret".

2007 May 05
2
Manager API Output
...output that is: My question is that is there any why using that I can get the QueueStatus and store the result in some text file for further processing. <?php $strHost = "127.0.0.1"; $strUser = "cron"; $strSecret = "1234"; $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: Login\r\n"); fputs($oSocket, "Username...
2007 Jul 06
1
Asterisk Manager
...5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: Originate\r\n"); fputs($oSocket, "Channel: $strChannel\r\n"); fputs($oSocket, "WaitTime: $strWaitTime\r\n");...
2007 Jul 08
1
Asterisk Help
...5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: Originate\r\n"); fputs($oSocket, "Channel: $strChannel\r\n"); fputs($oSocket, "CallerId: $strCallerId\r\n");...
2011 Feb 13
1
Call Files, Variable passing
Hi, I am having trouble passing variables via the call files, here is my call file via the php: fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Events: off\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "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: 3001\r\n&quot...
2006 Dec 29
0
PHP to call script
...= "127.0.0.1"; #specify the username you want to login with (these users are defined in /etc/asterisk/manager.conf) #this user is the default AAH AMP user; you shouldn't need to change, if you're using AAH. $strUser = "admin"; #specify the password for the above user $strSecret = "amp111"; ####-----This block is not used in this script----### #specify the channel (extension) you want to receive the call requests with #e.g. SIP/XXX, IAX2/XXXX, ZAP/XXXX, etc #$strChannel = "IAX2/XXXXXX"; #specify the context to make the outgoing call from. By default...
2007 Jan 02
5
Call connected, cannot hear or speak - $20 for fix
...= "127.0.0.1"; #specify the username you want to login with (these users are defined in /etc/asterisk/manager.conf) #this user is the default AAH AMP user; you shouldn't need to change, if you're using AAH. $strUser = "admin"; #specify the password for the above user $strSecret = "amp111"; #specify the channel (extension) you want to receive the call requests with #e.g. SIP/XXX, IAX2/XXXX, ZAP/XXXX, etc $strChannel = "Local/15555555555@outrt-001-telasip"; #specify the context to make the outgoing call from. By default, AAH uses from-internal #Using...
2007 Jul 08
1
Early Media Handling
...5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: Originate\r\n"); fputs($oSocket, "Channel: $strChannel\r\n"); fputs($oSocket, "WaitTime: $strWaitTime\r\n");...
2007 Oct 13
0
Set up two PSTN calls and then join them
...ed by a third party SIP provider. I can do this using the manager or call files. An example (using php) would be: fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Events: off\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "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...