[Asterisk-Users] call divert to TRUNK ,
if one number is unregistered?
Erdem HAKİ
erdemh at tesas.com
Wed Jun 22 06:45:51 MST 2005
Yes it works :) but i need to add voicemail option, how can i do this?
I want a configuration like this
exten => XXXXXXX,1, Dial(sip/xxxx,20,r)
exten => XXXXXXX,2,Dial(zap/XXXX)
exten => XXXXXXX,3,Voicemail(uxxxx)
exten => XXXXXXX,103,Voicemail(bxxxx) -----what should order number be?
exten => XXXXXXX,104,Hangup
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mohamed A.
Gombolaty
Sent: Wednesday, June 22, 2005 2:27 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] call divert to TRUNK ,if one number is
unregistered?
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 - erdemh at tesas.com
_____
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Thx
MAG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050622/a02de272/attachment.htm
More information about the asterisk-users
mailing list