Dear All,

I have this question regarding goto command, I amusing Asterisk cvs head version, and I am trying to put a goto statement to send the user to another extension that contains the extension he is dialing  here is how I am doing it :

exten => 2x.,1,setgroup(outgoing)
exten => 2x,2,checkgroup(2)
exten => 2x.,3,goto(another-context, ${EXTEN},1)
exten => 2x.,104,hangup

but the result is always it hangs up I don't know if this goto statement is correct or not, can anyone lead me to the right way to make this statement?

-- 
Thx
MAG
 
_______________________________________________
--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