[asterisk-users] Call Files, Variable passing

2011-02-12 Thread Dan Dan
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:

[asterisk-users] Set variable on Call Answer

2011-02-08 Thread Dan Dan
Hi All, First post here. I am dialing out via call file to remote number, when call is connected a local number is dialed. And on success both calls get bridged and works fine. This is a parallel auto dialout application. I want to set a variable as soon as the local number answers the call, so

Re: [asterisk-users] Set variable on Call Answer

2011-02-08 Thread Dan Dan
the Asterisk console..look at the options list and find the Macro reference and the Gosub reference...they should light a candle for ya :D On Tue, Feb 8, 2011 at 8:36 AM, Dan Dan dani.mani...@gmail.com wrote: Hi All, First post here. I am dialing out via call file to remote number, when call