[Asterisk-Users] Dial Outside SIP address from AGI

Nathaniel Powning nat at powning.org
Mon Apr 12 16:34:13 MST 2004


On Mon, 12 Apr 2004, Ron McMillin wrote:

>   Is it possible to dial an OUTSIDE SIP address while inside AGI application? For example, within extension context, I could use
> [from-sip]
> exten => 7723,1,Dial(SIP/897224 at fwd) and this works
>
> whereas when I'm inside agi app,
> $AGI->exec('Dial',"SIP/897224 at fwd") and this DOESN'T work.

Perl will interpret the @ symbol as referencing an array, put a backslash
before that character in your SIP address.




More information about the asterisk-users mailing list