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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 - [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