On Fri, 2006-10-20 at 18:08 +0100, Ricardo Carvalho wrote:
> I'm running Asterisk version 1.2.10. I also tried with version 1.2.4 and 
> got same problem.
> I use SIP and in my extensions.conf I have the following code:
> 
> exten => _[a-z].,1,Answer
> exten => _[a-z].,2,Wait(1)
> exten => _[a-z].,3,VoiceMail(${EXTEN})
> exten => _[a-z].,4,Hangup
> 
> Through my testing I found that the problem is that when someone enters 
> for example john's voicemail, Asterisk "thinks" that "j" letter is jump 
> flag to n+1 priority. How can I disable, (if possible) this erroneous 
> interpretation that Asterisk does?
> 
> Regards,
> Ricardo.

If VoiceMail() has only one argument it falls back to old-style option
parsing (i.e., options at the beginning of the single argument, see
vm_exec() in apps/app_voicemail.c). If you use
        exten => _[a-z].,3,VoiceMail(${EXTEN}|)
it should use the new-style (i.e., options as second argument).

Aside from that: Are you sure that it is a wise idea to use symbolic
mailbox names (instead of only numeric)? You will not be able to enter a
mailbox on the phone when asked for it (i.e., VoiceMailMain() without an
argument).
-- 
Dr. Michael Neuhauser                              mailto:[EMAIL PROTECTED]
Firmix Software GmbH                                  sip:[EMAIL PROTECTED]
Vienna/Austria/Europe                               tel:+43-1-7890849-30
Linux Development and Services                     http://www.firmix.at/

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to