[Asterisk-Users] Dial Outside SIP address from AGI

Ron McMillin sipnow at sbcglobal.net
Mon Apr 12 13:38:25 MST 2004


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 at fwd) and this works
 
whereas when I'm inside agi app,
$AGI->exec('Dial',"SIP/897224 at 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


More information about the asterisk-users mailing list