Pleasants Email Lists
2005-Nov-10 08:21 UTC
[Asterisk-Users] Simple Dial for If Busy Send to Voicemail
I am looking for a simple dial plan for if my zap channel is busy/unavailable send to Voicemail. I couldn't find anything simple online. -chip -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051110/d176cf3c/attachment.htm
Colin Anderson
2005-Nov-10 09:00 UTC
[Asterisk-Users] Simple Dial for If Busy Send to Voicemail
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ChanIsAvail <http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ChanIsAvail> Is pretty simple. Replace the 102 priority with a call to voicemail and you're set. hth -----Original Message----- From: Pleasants Email Lists [mailto:lists@pleasants.net] Sent: Thursday, November 10, 2005 8:22 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Simple Dial for If Busy Send to Voicemail I am looking for a simple dial plan for if my zap channel is busy/unavailable send to Voicemail. I couldn't find anything simple online. -chip -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051110/1952709d/attachment.htm
I still can't get it to work. My traffic will be coming from the PSTN (Zap/1) into one context and will Dial a SIP extension in another context. I have tried making the changes to both without luck. In the example exten => s,3,Dial(${theChannel}/12345678) confuses me. Why am I dialing the Zap channel and do I need to change the 12345678 to SIP/myextension? I actually tried replacing it but it also did not work. Any suggestions? -chip ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Colin Anderson Sent: Thursday, November 10, 2005 11:00 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Simple Dial for If Busy Send to Voicemail http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ChanIsAvail Is pretty simple. Replace the 102 priority with a call to voicemail and you're set. hth -----Original Message----- From: Pleasants Email Lists [mailto:lists@pleasants.net] Sent: Thursday, November 10, 2005 8:22 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Simple Dial for If Busy Send to Voicemail I am looking for a simple dial plan for if my zap channel is busy/unavailable send to Voicemail. I couldn't find anything simple online. -chip -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051110/c076b84f/attachment.htm
Bartosz Piec
2005-Nov-14 01:58 UTC
[Asterisk-Users] Simple Dial for If Busy Send to Voicemail
cp napisa?(a):> I still can?t get it to work.My configuration is (extension.conf): [macro-call] exten => s,1,Dial(SIP/${ARG1},15) exten => s,2,Goto(s-${DIALSTATUS},1) ; NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER exten => s-NOANSWER,1,Voicemail(${ARG1}) exten => s-NOANSWER,2,Hangup exten => s-BUSY,1,Busy exten => s-CHANUNAVAIL,1,Busy exten => _s-.,1,Goto(s-NOANSWER,1) ; Treat anything else as no answer exten => a,1,VoicemailMain(${ARG1}) ; If they press *, send the user into VoicemailMain And then: exten => _.,1,Macro(call,${EXTEN}) And it works. Try to fit it for your config. -- Best regards, Bartosz Piec