Doug
2005-Oct-04 15:51 UTC
[Asterisk-Users] Transfer directly to voicemail (blind transfer)?
Hi, Have looked around for info about this: <http://www.google.com/search?q=Transfer+directly+to+voicemail+site:lists.digium.com> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+VoiceMail If we are using 5 digit extensions (10102: 10 for the company, 102 for the extension), where can we put something so that "102*" goes straight to voicemail without waiting while the extension rings? Here is what we have in extensions_additional.conf: exten => 100,1,Goto(ext-local,10100,1) exten => 101,1,Goto(ext-local,10101,1) exten => 102,1,Goto(ext-local,10102,1) exten => 103,1,Goto(ext-local,10103,1) Would something like this in extensions.conf work? exten => _XXX*,1,Voicemail(u${EXTEN:1}) Where would be the best place to put it? Thanks for any suggestions you can provide!
Don Pobanz
2005-Oct-05 07:11 UTC
[Asterisk-Users] Transfer directly to voicemail (blind transfer)?
Doug wrote:> Hi, > > Have looked around for info about this: > > <http://www.google.com/search?q=Transfer+directly+to+voicemail+site:lists.digium.com> > > > http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+VoiceMail > > If we are using 5 digit extensions (10102: 10 for the company, > 102 for the extension), where can we put something > so that "102*" goes straight to voicemail without > waiting while the extension rings? > > Here is what we have in extensions_additional.conf: > > exten => 100,1,Goto(ext-local,10100,1) > exten => 101,1,Goto(ext-local,10101,1) > exten => 102,1,Goto(ext-local,10102,1) > exten => 103,1,Goto(ext-local,10103,1) > > Would something like this in extensions.conf work? > > exten => _XXX*,1,Voicemail(u${EXTEN:1}) >I don't believe this is the correct syntax. It should be: exten => _XXX*,1,Voicemail(u${EXTEN:0:3}) http://www.voip-info.org/wiki/view/Asterisk+variables Another method would be to prefix with a digit instead of suffix with an "*". For us, all of our extensions are three digits and begin with a 5 or a 6 (5xx or 6xx). To transfer to voice mail we stick an eight in front of the extension (85xx or 86xx). It works well for us. Don Pobanz
Doug
2005-Oct-05 10:25 UTC
[Asterisk-Users] Transfer directly to voicemail (blind transfer)?
At 09:11 10/5/2005, Don Pobanz, wrote: >Doug wrote: >> Hi, >> >> Have looked around for info about this: >> >> ><http://www.google.com/search?q=Transfer+directly+to+voicemail+site:lists.di>gium.com> >> >> >> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+VoiceMail >> >> If we are using 5 digit extensions (10102: 10 for the company, >> 102 for the extension), where can we put something >> so that "102*" goes straight to voicemail without >> waiting while the extension rings? >> >> Here is what we have in extensions_additional.conf: >> >> exten => 100,1,Goto(ext-local,10100,1) >> exten => 101,1,Goto(ext-local,10101,1) >> exten => 102,1,Goto(ext-local,10102,1) >> exten => 103,1,Goto(ext-local,10103,1) >> >> Would something like this in extensions.conf work? >> >> exten => _XXX*,1,Voicemail(u${EXTEN:1}) >> > >I don't believe this is the correct syntax. It should be: >exten => _XXX*,1,Voicemail(u${EXTEN:0:3}) > >http://www.voip-info.org/wiki/view/Asterisk+variables > >Another method would be to prefix with a digit instead of suffix with an >"*". For us, all of our extensions are three digits and begin with a 5 >or a 6 (5xx or 6xx). To transfer to voice mail we stick an eight in >front of the extension (85xx or 86xx). It works well for us. > >Don Pobanz So, in your case the line would something like this? exten => _8XXX,1,Voicemail(u${EXTEN:3})
Don Pobanz
2005-Oct-05 11:15 UTC
[Asterisk-Users] Transfer directly to voicemail (blind transfer)?
Doug wrote:> >Another method would be to prefix with a digit instead of suffix with an > >"*". For us, all of our extensions are three digits and begin with a 5 > >or a 6 (5xx or 6xx). To transfer to voice mail we stick an eight in > >front of the extension (85xx or 86xx). It works well for us. > > > >Don Pobanz > > So, in your case the line would something like this? > > exten => _8XXX,1,Voicemail(u${EXTEN:3}) >the 3 needs to be changed to a 1 (strip off the leading 1 character) I have these two lines in my extensions.conf since all extensions begin with a 5 or a 6 and I do some other things with numbers that begin with 82xx or 83xx. exten => _85xx,1,Voicemail(u${EXTEN:1}) exten => _86xx,1,Voicemail(u${EXTEN:1}) Don Pobanz