Hi all,
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@fwd) and this works
whereas when I'm inside agi app,
$AGI->exec('Dial',"SIP/897224@fwd") and this DOESN'T
work.
There some errors about invalid argument.
If I were to do
$AGI->exec('Dial',"SIP/PHONE1"), where PHONE1 is an phone
registered directory with Asterisk, then it works.
Any hints?
Thanks!
ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040412/a6b19080/attachment.htm
Nathaniel Powning
2004-Apr-12 16:34 UTC
[Asterisk-Users] Dial Outside SIP address from AGI
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@fwd) and this works > > whereas when I'm inside agi app, > $AGI->exec('Dial',"SIP/897224@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.