[asterisk-users] Get dialed numbers in AGI

Ralph Liebessohn ralphliebessohn at gmail.com
Thu Jan 11 08:13:14 MST 2007


On 1/11/07, Mike D'Ambrogia <miked at jamagination.com> wrote:
>
>  on the php AGI side the ${var} parameter passed in from your dialplan
> will be exposed in PHP's $argv[1] array element
>
> fwrite(STDOUT,"exec saydigits $argv[1]\n");
>
> as a side note $argv[0] contains the full path including filename to the
> script
>
> Hope this helps
>
> Mike
>

Mike,

it didn't help.
I just SOLVED the problem! You're a genius.
Now I can get information from dialplan.
Do you know why the other ways didn't work?

-- 
Ralph Liebessohn
ICQ: 74835911
Skype: liebessohn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070111/6da5217b/attachment.htm


More information about the asterisk-users mailing list