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