In article <[EMAIL PROTECTED]>,
Dave Brooks <[EMAIL PROTECTED]> wrote:
> Hi * users,
>
> We're using calls to external scripts through AGI at various points
> throughout our IVR system. We use these scripts to log certain events
> and to make certain choices that I wasn't sure would be possible in
> the dial plan. The problem comes with with the final call to our
> script. We use this line:
>
> exten => h,1,deadagi(log.php|{$service}|Hung up|${UNIQUEID})
>
> I know there are some issues with getting variables through DeadAGI,
> but I just wanted some clarification, because I haven't seen it
> explained clearly. Certainly the value of UNIQUEID was being
> successfully passed to log.php in earlier versions of * but isn't now
> (I just installed version 1.2.4)
>
> Any advice welcome. Even if it is telling me we've beein doing this
> all wrong the whole time!
You should be able to refer to channel variables in the 'h' extension.
If it's broken, then that's a bug.
However, if your example is an exact copy from your dialplan, perhaps
the parser is getting confused, because {$service} should be ${service}
Cheers
Tony
--
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users