[asterisk-users] Prevent Dial if any extension is busy

Magnus Benngård magnus.b at inputinterior.se
Sun Nov 22 07:15:35 CST 2009


Hi!

Part of extensions.conf:

exten => 985,1,Dial(SIP/0317998985&H323/00702221448 at Avaya,20)
exten => 985,2,Goto(985-${DIALSTATUS},1)
exten => 985-BUSY,1,VoiceMail(0317998985 at inputinterior.se,b)
exten => 985-BUSY,2,PlayBack(vm-goodbye)
exten => 985-BUSY,3,HangUp()
exten => 985-NOANSWER,1,VoiceMail(0317998985 at inputinterior.se,u)
exten => 985-NOANSWER,2,PlayBack(vm-goodbye)
exten => 985-NOANSWER,3,HangUp()

0317998985 is a direct connected SIP phone
0702221448 is a celluar phone.

When dialing 985 both phones rings, perfect
If none answer within 20 seconds,
VoiceMail(0317998985 at inputinterior.se,u), perfect

But my problem comes when I speak on 0317998985 and someone calls on 985,
the call
get to my celluar phone and ofc the other way around.

Is there a way to check if any extension is busy and in that case jump to
VoiceMail(0317998985 at inputinterior.se,b)? 

Med vänliga hälsningar
MAGNUS BENNGRD

Direktnr 031-799 89 75

Fältspatsgatan 2
421 30 Västra Frölunda

Tel. 031-799 89
00
Fax 031-799 89 01

www.inputinterior.se [1] 

Links:
------
[1] http://www.inputinterior.se
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091122/ead3841b/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7
Type: image/png
Size: 6742 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091122/ead3841b/attachment.png 


More information about the asterisk-users mailing list