Re: [Asterisk-Users] dialplan experts needed
Matthew, Dial works on a fall thru principle. Thus: exten = 555,1,Dial(SIP/1000,30) exten = 555,2,Dial(SIP/2000,30) should suit your purpose (not taking into account vm), to add another exten just add it on the dial 'list': exten = 555,1,Dial(SIP/1000,30) exten = 555,2,Dial(SIP/2000,30) exten = 555,3,Dial(SIP/3000,30) voicemail should be positioned at (exten + 101) for busy - I'd stick noop's in to allow the hangup before the next exten = 555,1,Dial(SIP/1000,30) exten = 555,2,NOOP exten = 555,3,Dial(SIP/2000,30) exten = 555,4,NOOP exten = 555,5,Dial(SIP/3000,30) exten = 555,6,NOOP exten = 555,102,VoiceMail2(u3278) exten = 555,103,Hangup exten = 555,104,VoiceMail2(u3278) exten = 555,105,Hangup exten = 555,106,VoiceMail2(u3278) exten = 555,107,Hangup this wont allow the dial of 2000 or 3000 if 1000 is busy, it would go to vm. Ok, that's a bit of explaination, here's what you are prolly interested in exten = 555,1,Dial(SIP/1000,30) exten = 555,2,Dial(SIP/2000,30) exten = 555,3,VoiceMail2(u3278) exten = 555,4,Hangup exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup And you probably want call waiting turned off... HTH Andy *** REPLY SEPARATOR *** On 07/06/2004 at 23:34 Matthew Simpson wrote: In this dialplan, the SIP user agent is a Sipura two line adapter with line 1 as SIP ID 1000 and line 2 as SIP ID 2000. Basically I have this set up so that 1000 and 2000 are lines in hunting on incoming extension 555. I want an incoming call to try to ring ext. 1000, if 1000 is busy, then ring 2000, if 2000 is also busy than ring Voicemail. Here is what I have now and it seems to work okay: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup Is this correct? What if there were a third SIP device 3000 ? Would it look like: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,Dial(SIP/3000,30) exten = 555,104,Voicemail2(u3278) exten = 555,105,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup That doesn't seem correct. Also, quick note, the user does not want to have a different busy and unavailable message, so that is why I have it set up to always be the unavailable message for voicemail. thanks for the help! Matthew ___ 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 ___ 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
Fwd: Re: [Asterisk-Users] dialplan experts needed
Pah! my fingers are getting in the way today: exten = 555,1,Dial(SIP/1000,30) exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup exten = 555,102,Dial(SIP/2000,30) exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup exten = 555,203,VoiceMail2(u3278) exten = 555,204,Hangup Andy *** BEGIN FORWARDED MESSAGE *** On 07/06/2004 at 23:34 Andy Powell [EMAIL PROTECTED] wrote: From: Andy Powell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 08 Jun 2004 14:54:33 +0200 Subject: Fwd: Re: [Asterisk-Users] dialplan experts needed Sorry misread your message, you want it to dial the next when it's BUSY... not if it's not answered.. Disregard my previous message and use... exten = 555,1,Dial(SIP/1000,30) exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup exten = 555,101,Dial(SIP/2000,30) exten = 555,102,VoiceMail2(u3278) exten = 555,103,Hangup exten = 555,202,VoiceMail2(u3278) exten = 555,203,Hangup I've made the asumption (even if that is the 'mother of all F***ups') that if it's not answered it should just go to vm. Andy *** BEGIN FORWARDED MESSAGE *** On 07/06/2004 at 23:34 Andy Powell [EMAIL PROTECTED] wrote: From: Andy Powell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 08 Jun 2004 14:47:32 +0200 Subject: Re: [Asterisk-Users] dialplan experts needed Matthew, Dial works on a fall thru principle. Thus: exten = 555,1,Dial(SIP/1000,30) exten = 555,2,Dial(SIP/2000,30) should suit your purpose (not taking into account vm), to add another exten just add it on the dial 'list': exten = 555,1,Dial(SIP/1000,30) exten = 555,2,Dial(SIP/2000,30) exten = 555,3,Dial(SIP/3000,30) voicemail should be positioned at (exten + 101) for busy - I'd stick noop's in to allow the hangup before the next exten = 555,1,Dial(SIP/1000,30) exten = 555,2,NOOP exten = 555,3,Dial(SIP/2000,30) exten = 555,4,NOOP exten = 555,5,Dial(SIP/3000,30) exten = 555,6,NOOP exten = 555,102,VoiceMail2(u3278) exten = 555,103,Hangup exten = 555,104,VoiceMail2(u3278) exten = 555,105,Hangup exten = 555,106,VoiceMail2(u3278) exten = 555,107,Hangup this wont allow the dial of 2000 or 3000 if 1000 is busy, it would go to vm. Ok, that's a bit of explaination, here's what you are prolly interested in exten = 555,1,Dial(SIP/1000,30) exten = 555,2,Dial(SIP/2000,30) exten = 555,3,VoiceMail2(u3278) exten = 555,4,Hangup exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup And you probably want call waiting turned off... HTH Andy *** REPLY SEPARATOR *** On 07/06/2004 at 23:34 Matthew Simpson wrote: In this dialplan, the SIP user agent is a Sipura two line adapter with line 1 as SIP ID 1000 and line 2 as SIP ID 2000. Basically I have this set up so that 1000 and 2000 are lines in hunting on incoming extension 555. I want an incoming call to try to ring ext. 1000, if 1000 is busy, then ring 2000, if 2000 is also busy than ring Voicemail. Here is what I have now and it seems to work okay: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup Is this correct? What if there were a third SIP device 3000 ? Would it look like: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,Dial(SIP/3000,30) exten = 555,104,Voicemail2(u3278) exten = 555,105,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup That doesn't seem correct. Also, quick note, the user does not want to have a different busy and unavailable message, so that is why I have it set up to always be the unavailable message for voicemail. thanks for the help! Matthew ___ 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 *** END FORWARDED MESSAGE *** *** END FORWARDED MESSAGE *** ___ 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
Re: [Asterisk-Users] dialplan experts needed
exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,Dial(SIP/3000,30) exten = 555,104,Voicemail2(u3278) exten = 555,105,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup ...should be exten = 555,1,Dial(SIP/1000,30) ; Unanswered = 2, Busy = 102 exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup exten = 555,102,Dial(SIP/2000,30) ; Unanswered = 103, Busy = 203 exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup exten = 555,203,Dial(SIP/3000,30) ; Unanswered = 204, Busy = 304 exten = 555,204,Voicemail2(u3278) exten = 555,205,Hangup exten = 555,304,VoiceMail2(u3278) exten = 555,305,Hangup You just have to remember that BUSY or not-registered/not-available will goto +101 in the priority of the extension. Unanswered will goto +1 in the priority of the extension. John ___ 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
Re: [Asterisk-Users] dialplan experts needed
On 08/06/2004 at 11:15 John Fraizer wrote: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,Dial(SIP/3000,30) exten = 555,104,Voicemail2(u3278) exten = 555,105,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup ...should be That's why I follwed up with corrections Andy ___ 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
Re: [Asterisk-Users] dialplan experts needed
I have the same situation - i.e. three different extensions scattered about. But I don't try them each individually. When a call comes in my asterisk attempts to ring up to four different devices at the same time. To do this using your dial plan is easy - i.e. exten = 555,1,Dial(SIP/1000SIP/2000SIP/3000,30) exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup All the phones will ring at the same time and the phone to pick up first wins. regards joe On Mon, 7 Jun 2004, Matthew Simpson wrote: In this dialplan, the SIP user agent is a Sipura two line adapter with line 1 as SIP ID 1000 and line 2 as SIP ID 2000. Basically I have this set up so that 1000 and 2000 are lines in hunting on incoming extension 555. I want an incoming call to try to ring ext. 1000, if 1000 is busy, then ring 2000, if 2000 is also busy than ring Voicemail. Here is what I have now and it seems to work okay: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup Is this correct? What if there were a third SIP device 3000 ? Would it look like: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,Dial(SIP/3000,30) exten = 555,104,Voicemail2(u3278) exten = 555,105,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup That doesn't seem correct. Also, quick note, the user does not want to have a different busy and unavailable message, so that is why I have it set up to always be the unavailable message for voicemail. thanks for the help! Matthew ___ 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 ___ 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
[Asterisk-Users] dialplan experts needed
In this dialplan, the SIP user agent is a Sipura two line adapter with line 1 as SIP ID 1000 and line 2 as SIP ID 2000. Basically I have this set up so that 1000 and 2000 are lines in hunting on incoming extension 555. I want an incoming call to try to ring ext. 1000, if 1000 is busy, then ring 2000, if 2000 is also busy than ring Voicemail. Here is what I have now and it seems to work okay: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,VoiceMail2(u3278) exten = 555,104,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup Is this correct? What if there were a third SIP device 3000 ? Would it look like: exten = 555,1,Dial(SIP/1000,30) exten = 555,102,Dial(SIP/2000,30) exten = 555,103,Dial(SIP/3000,30) exten = 555,104,Voicemail2(u3278) exten = 555,105,Hangup exten = 555,2,VoiceMail2(u3278) exten = 555,3,Hangup That doesn't seem correct. Also, quick note, the user does not want to have a different busy and unavailable message, so that is why I have it set up to always be the unavailable message for voicemail. thanks for the help! Matthew ___ 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