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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

Reply via email to