Hi Erdem,

Can you try to put another dial command that points to the trunk afetr the dial command to the SIP?

fro example:

exten => XXXXXXX,1, dial(sip/xxxx,20,r)
exten => XXXXXXX,2,dial(zap/XXXX)      -----> note here that I am not sure if the order number should be 2 or 102 but if this didn't work try the other one.

Thx
MAG
 
 
 
 

Erdem HAKÝ wrote:

 
I have a question.

I have two numbers on Asterisk like 902121234567 and 902123645789 and i want to divert first number's call to Trunk if second number is unregistered. Is it possible? Ýf yes, how?
 

 

Flow Diagram:

*Two numbers are registered on Asterisk

902121234567---------------------------- registered to Asterisk

902123645789---------------------------- registered to Asterisk

*One number is registered, other one is not registered

902121234567---------------------------- registered to Asterisk

902123645789-------------x              not registered to Asterisk

*So first number want to make a call second one (desired situation)

902121234567---------------------------->  Asterisk à Trunk

Thanks for your interest.

Erdem HAKI - [EMAIL PROTECTED]


_______________________________________________ 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

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