John Joseph
2006-Mar-01 00:38 UTC
[Asterisk-Users] Cannot log into mailbox , guidance requested
Hi All I am working on voicemail , mailbox , after reading documents, I had setup of three users for mailbox to make things simpler , I had kept the user name and passord same for all the sip users, Now I am able to record the message and I do get voicemail in my email , But as defined in extensions.conf The Asterisk console messages, part of the sip.conf , extensions.conf and voicemail.conf I am adding I request guidance in solving this problem , when I dial *98 , I get message to enter the mailbox no which I enter "326" , then after some time it ask for passwork , again "326" I am entering , I get the message the password is incorrect This happens to all the mailbox Thanks in advance Joseph John ----------- Console Message ------------ Executing VoiceMail("SIP/299-4163", "326@mb") in new stack -- Playing 'vm-intro' (language 'en') -- Playing 'beep' (language 'en') -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/mb/326/INBOX/msg0000 format: wav49, 0xa021740 -- x=1, open writing: /var/spool/asterisk/voicemail/mb/326/INBOX/msg0000 format: gsm, 0x9fec850 -- x=2, open writing: /var/spool/asterisk/voicemail/mb/326/INBOX/msg0000 format: wav, 0x9ff8b68 -- User hung up == Spawn extension (project, 326, 2) exited non-zero on 'SIP/299-4163' -- Executing Answer("SIP/326-9624", "") in new stack -- Executing Wait("SIP/326-9624", "1") in new stack -- Executing VoiceMailMain("SIP/326-9624", "default") in new stack -- Playing 'vm-login' (language 'en') -- Playing 'vm-password' (language 'en') -- Incorrect password '' for user '326' (context default) -- Playing 'vm-incorrect-mailbox' (language 'en') -- Playing 'vm-password' (language 'en') -- Incorrect password '' for user '326' (context default) -- Playing 'vm-incorrect-mailbox' (language 'en') -- Playing 'vm-password' (language 'en') -- Incorrect password '' for user '326' (context default) -- Playing 'vm-incorrect' (language 'en') -- Playing 'vm-goodbye' (language 'en') -- Executing Macro("SIP/326-9624", "hangupcall") in new stack -- Executing ResetCDR("SIP/326-9624", "w") in new stack -- Executing NoCDR("SIP/326-9624", "") in new stack -- Executing Wait("SIP/326-9624", "5") in new stack -- Executing Hangup("SIP/326-9624", "") in new stack == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/326-9624' in macro 'hangupcall' == Spawn extension (project, *98, 4) exited non-zero on 'SIP/326-9624' --------------------- sip.conf ---------------- [221] type=friend username=221 secret=221 host=dynamic mailbox=221@mb context=project [299] type=friend username=299 secret=299 host=dynamic mailbox=299@mb context=project [326] type=friend username=326 secret=326 host=dynamic mailbox=326@mb context=project ------------------------ extensions.conf ------------------------ [project] exten => 221,1,Dial(SIP/221,20) exten => 221,n,VoiceMail(221@mb) exten => 221,n,PlayBack(vm-goodbye) exten => 221,n,Wait(2) exten => 221,n,HangUp() exten => 299,1,Dial(SIP/299,20) exten => 299,n,VoiceMail(299@mb) exten => 229,n,PlayBack(vm-goodbye) exten => 229,n,Wait(2) exten => 229,n,HangUp() exten => 326,1,Dial(SIP/326) exten => 326,n,VoiceMail(326@mb) exten => 326,n,PlayBack(vm-goodbye) exten => 326,n,Wait(2) exten => 326,n,HangUp() ; for voice mail exten => *98,1,Answer exten => *98,2,Wait(1) exten => *98,3,VoiceMailMain(default) exten => *98,4,Macro(hangupcall) ------------------- voicemail.conf ------------------- [mb] 221 => 221,221,joseph@test.ae 299 => 299,299,joseph@test.ae 326 => 326,326,joseph@test.ae ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Alexander Lopez
2006-Mar-01 00:56 UTC
[Asterisk-Users] Cannot log into mailbox , guidance requested
Problem is that your mailboxes are in a different context than you are checking. Add @mb to your extension (mailbox) when checking. ->>[mb] >>221 => 221,221,joseph@test.ae >>299 => 299,299,joseph@test.ae >>326 => 326,326,joseph@test.ae
Doug Lytle
2006-Mar-01 03:44 UTC
[Asterisk-Users] Cannot log into mailbox , guidance requested
John Joseph wrote:> ; for voice mail > exten => *98,3,VoiceMailMain(default) > >Change this to: exten => *98,3,VoicemailMain(@mb) Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."