I have a customized dialer program tested for more than a week already. I use the manager API Originate action to Originate a call from a remote extension to an agent logged in the local Asterisk server. The problem is that the Originate action causes Asterisk to hang (needs restarting) everytime I run the following script:

in the manager API script:
Action: Originate
Channel: Local/[EMAIL PROTECTED] or Local/[EMAIL PROTECTED]
Application: Dial
Data: Agent/1XXX|30|tm

in extensions.conf:
[test]
exten => 325,1,Dial(IAX2/xxx:[EMAIL PROTECTED]/325,30,t)
exten => 325,2,Busy

exten => 400,1,Dial(IAX2/xxx:[EMAIL PROTECTED]/400,30,t)
exten => 400,2,Busy

exten => _3XX,1,Dial(SIP/${EXTEN},30,t)
exten => _3XX,2,Busy

exten => _4XX,1,Dial(SIP/${EXTEN},30,t)
exten => _4XX,2,Dial(SIP/${EXTEN},30,t)
_______________________________________________
--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

Reply via email to