I am having problems with my dial plan, please help me locate the problem: In the following dialplan, I am not able to press 8 to get to voicemail main while the 3000 mailbox unavailable message is being read in the background. What am I doing wrong? [globals] ;physical-phones p1 = SIP/p3000 p2 = SIP/p3001 p3 = SIP/p3002 p4 = some other physical phone ;lines line1 = Zap/1 [voicemail access] ;Extension 8 to get to voicmail: exten => 8,1,VoicemailMain [no match] exten => _.,1,Playback(sorry-no-match) exten => _.,2,Hangup [extensions] ;ext3000: exten => 3000,1,Dial(${p1},10,tr) exten => 3000,2,Answer exten => 3000,3,Background,vm/3000/unavail exten => 3000,4,Voicemail,3000 exten => 3000,5,Hangup ;If Busy: exten => 3000,102,Background,vm/3000/unavail exten => 3000,103,Goto,4 [well-road] ;includes include => voicmail access include => extensions include => no match exten => h,1,Hangup [default] exten => s,1,Goto(well-road,3000,1) Thanks for any help Regards Chris
Hi,> -----Original Message----- > In the following dialplan, I am not able to press 8 to get to > voicemail main while the 3000 mailbox unavailable message is > being read in the background. > What am I doing wrong?You need to put the exten = > 8,... Line in the same context as extensions, otherwise it won't work like that. During a Background play, you can access extensions in your _current_ context.> [voicemail access] > ;Extension 8 to get to voicmail: > exten => 8,1,VoicemailMain > > [no match] > exten => _.,1,Playback(sorry-no-match) > exten => _.,2,Hangup > > [extensions] > ;ext3000: > exten => 3000,1,Dial(${p1},10,tr) > exten => 3000,2,Answer > exten => 3000,3,Background,vm/3000/unavail exten => > 3000,4,Voicemail,3000 exten => 3000,5,Hangup ;If Busy: > exten => 3000,102,Background,vm/3000/unavail > exten => 3000,103,Goto,4Florian
Do you evern include the [well-road] context? -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Chris Lee Sent: Wednesday, February 04, 2004 9:11 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Whats wrong with dialplan? I am having problems with my dial plan, please help me locate the problem: In the following dialplan, I am not able to press 8 to get to voicemail main while the 3000 mailbox unavailable message is being read in the background. What am I doing wrong? [globals] ;physical-phones p1 = SIP/p3000 p2 = SIP/p3001 p3 = SIP/p3002 p4 = some other physical phone ;lines line1 = Zap/1 [voicemail access] ;Extension 8 to get to voicmail: exten => 8,1,VoicemailMain [no match] exten => _.,1,Playback(sorry-no-match) exten => _.,2,Hangup [extensions] ;ext3000: exten => 3000,1,Dial(${p1},10,tr) exten => 3000,2,Answer exten => 3000,3,Background,vm/3000/unavail exten => 3000,4,Voicemail,3000 exten => 3000,5,Hangup ;If Busy: exten => 3000,102,Background,vm/3000/unavail exten => 3000,103,Goto,4 [well-road] ;includes include => voicmail access include => extensions include => no match exten => h,1,Hangup [default] exten => s,1,Goto(well-road,3000,1) Thanks for any help Regards Chris _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
Chris Lee wrote:> I am having problems with my dial plan, please help me locate the > problem: > > In the following dialplan, I am not able to press 8 to get to > voicemail main while the 3000 mailbox unavailable message is being > read in the background. > What am I doing wrong? >> [well-road] > ;includes > include => voicmail access > include => extensions > include => no match >voicemail is misspelled - would that do it? Bob