If my extension is 22, and voice mail access number is 909, then with exten => 909,1,voicemailmain(s22) I can access voice mail 22, without number and password prompt. But, I want that every extension can access its voice mail without number and password. So, when I put exent => 909,1,voicemailmain(${calleridnum}) voicemail want only password. I want to eliminate password too, so when I put exten => 909,1,voicemailmain(s${calleridnum}) this DO NOT work. Voicemail want number and password. Why? Bug?
You should possibly read the documentation closer. If you are using: exten => 909,1,voicemailmain(s${calleridnum}) and called extenion 909 from, for example sip extension 1000 ${Calleridnum} = SIP/1000-(channel), which is not a valid voicemail box. You should look into the NoOp command to help debug. On Sun, 3 Oct 2004 23:40:06 +0200, Goran Dj. <pisac@hotpop.com> wrote:> If my extension is 22, and voice mail access number is 909, then with > exten => 909,1,voicemailmain(s22) > I can access voice mail 22, without number and password prompt. > > But, I want that every extension can access its voice mail without > number and password. So, when I put > exent => 909,1,voicemailmain(${calleridnum}) > voicemail want only password. > > I want to eliminate password too, so when I put > exten => 909,1,voicemailmain(s${calleridnum}) > this DO NOT work. Voicemail want number and password. > > Why? Bug? > > _______________________________________________ > 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 >
I use this: ; Voice Mail exten => *98,1,Answer exten => *98,2,VoiceMailMain(s${CALLERIDNUM}) exten => *98,3,Hangup And it works. ${CALLERIDNUM} == 100 if calling from SIP/100, 101 if calling from SIP/101 etc. I'm using 1.0.0, worked in previous CVS versions. *shrugs* -Tim -----Original Message----- From: Matthew Marlowe [mailto:matthew.marlowe@gmail.com] Sent: Sunday, October 03, 2004 4:48 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] VoiceMail without password? How? You should possibly read the documentation closer. If you are using: exten => 909,1,voicemailmain(s${calleridnum}) and called extenion 909 from, for example sip extension 1000 ${Calleridnum} = SIP/1000-(channel), which is not a valid voicemail box. You should look into the NoOp command to help debug. On Sun, 3 Oct 2004 23:40:06 +0200, Goran Dj. <pisac@hotpop.com> wrote:> If my extension is 22, and voice mail access number is 909, then with > exten => 909,1,voicemailmain(s22) > I can access voice mail 22, without number and password prompt. > > But, I want that every extension can access its voice mail without > number and password. So, when I put > exent => 909,1,voicemailmain(${calleridnum}) > voicemail want only password. > > I want to eliminate password too, so when I put > exten => 909,1,voicemailmain(s${calleridnum}) > this DO NOT work. Voicemail want number and password. > > Why? Bug? > > _______________________________________________ > 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 >_______________________________________________ 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
I have: exten => 8500,3,VoicemailMain2(s${CALLERIDNUM}) in my extensions.conf (I answer the line and wait(1) before that) and it works fine. Could be that the variable name is case sensitive, or as was previously replied that there's a problem with the caller ID being received - use the NoOp application to debug what's being received.