Hi,

I'm currently trying to originate a call with 2 variables set. I tried doing it via manager API and call File and both failed, because the vars were not separated. I'm using Asterisk 1.2_beta1 on this machine

Can anyone here verify wether this is a bug or just a stupid error on my part?

This is the callfile I tried to use, after the manager way failed:

Channel: local/[EMAIL PROTECTED]/n
MaxRetries: 0
RetryTime: 60
WaitTime: 30
Context: outbound
Extension: s
Priority: 1
SetVar: actionID=54547-1126771509609|AgiIP=192.168.10.249

The part of the extension.conf it should work with is this:

[outbound]
exten => s,1,Agi(agi://${AgiIP}:1234/outbound.agi?actionId=${actionId})

Asterisk dials out, as it should, but when the call is answered I get the following message in CLI:

Executing AGI("Local/[EMAIL PROTECTED],1", "agi://:1234/outbound.agi?actionId=54547-1126771509609|AgiIP=192.168.10.249") in new stack Sep 15 12:36:50 WARNING[18839]: res_agi.c:153 launch_netscript: Unable to locate host ''

According to the help (show manager command Originate), I think it should have worked.

Thanks for any help,

Joerg
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to