[Asterisk-Users] Re: passing variables to h extension
Simone Cittadini
mymailforlists at gmail.com
Wed Sep 14 02:00:00 MST 2005
Tony Mountifield ha scritto:
>
>It works for me (using CVS HEAD, but I'm sure it's worked in the past for
>me on Stable too). I think there must be some other reason it's not working
>for you.
>
>Just done a little test for it, as follows...
>
>My extensions.conf:
>
>[vartest]
>exten => _X.,1,SetVar(FRED=hello)
>exten => _X.,2,NoOp(FRED=${FRED})
>exten => _X.,3,Playback(demo-congrats)
>exten => _X.,4,Hangup
>
>exten => h,1,NoOp(FRED=${FRED})
>
>
Yes it always worked also for me, using 1.2-beta1, typing error in noops
used for debug was having me look in the wrong place to set the vars !
Sorry for the rtfm question then ....
anyway I now wonder even more why accounting is done via cron jobs in
php-agi apps you find around .... isn't that only a waste of resources,
since you have to tag in some way calls already accounted ?
More information about the asterisk-users
mailing list