Hi guys,
We use FreePBX 2.5.1.1,asterisk 1.4.21.2 on Ubuntu Server 8.10 and have not had any problems until now.And the problem is that we can not listen to our voicemail… actually we can’t log in to mailbox from the softphone (we use X-lite). Like ususal, we type *97, and password after that… but automated voice says: Login incorrect ??? Here is log file:
[May 14 16:22:08] DEBUG[26901] chan_sip.c: Checking SIP call limits for device 108
[May 14 16:22:08] DEBUG[26901] chan_sip.c: Call from peer ‘108’ is 1 out of 50
[May 14 16:22:08] DEBUG[26901] devicestate.c: Notification of state change to be queued on device/channel SIP/108
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:08] DEBUG[26875] devicestate.c: Changing state for SIP/108 - state 2 (In use)
[May 14 16:22:08] DEBUG[26881] app_queue.c: Device ‘SIP/108’ changed to state ‘2’ (In use) but we don’t care because they’re not a member of any queue.
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:08] DEBUG[26875] devicestate.c: Checking if I can find provider for “Custom” - number: DND108
[May 14 16:22:08] DEBUG[26875] db.c: Unable to find key ‘DND108’ in family ‘CustomDevstate’
[May 14 16:22:08] DEBUG[26901] chan_sip.c: build_route: Contact hop: sip:[email protected]:19164
[May 14 16:22:08] DEBUG[26901] chan_sip.c: SIP/108-b753c588: New call is still down… Trying…
[May 14 16:22:08] DEBUG[26901] devicestate.c: Notification of state change to be queued on device/channel SIP/108-b753c588
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108-b753c588
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108-b753c588
[May 14 16:22:08] DEBUG[26901] devicestate.c: Notification of state change to be queued on device/channel SIP/108
[May 14 16:22:08] VERBOSE[28916] logger.c: – Executing [*97@from-internal:1] Answer(“SIP/108-b753c588”, “”) in new stack
[May 14 16:22:08] DEBUG[28916] devicestate.c: Notification of state change to be queued on device/channel SIP/108-b753c588
[May 14 16:22:08] DEBUG[28916] devicestate.c: Notification of state change to be queued on device/channel SIP/108
[May 14 16:22:08] DEBUG[28916] chan_sip.c: SIP answering channel: SIP/108-b753c588
[May 14 16:22:08] VERBOSE[28916] logger.c: – Executing [*97@from-internal:2] Wait(“SIP/108-b753c588”, “1”) in new stack
[May 14 16:22:08] DEBUG[26875] devicestate.c: Changing state for SIP/108-b753c588 - state 4 (Invalid)
[May 14 16:22:08] DEBUG[26881] app_queue.c: Device ‘SIP/108-b753c588’ changed to state ‘4’ (Invalid) but we don’t care because they’re not a member of any queue.
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:08] DEBUG[26875] devicestate.c: Changing state for SIP/108 - state 2 (In use)
[May 14 16:22:08] DEBUG[26881] app_queue.c: Device ‘SIP/108’ changed to state ‘2’ (In use) but we don’t care because they’re not a member of any queue.
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:08] DEBUG[26875] devicestate.c: Checking if I can find provider for “Custom” - number: DND108
[May 14 16:22:08] DEBUG[26875] db.c: Unable to find key ‘DND108’ in family ‘CustomDevstate’
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108-b753c588
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108-b753c588
[May 14 16:22:08] DEBUG[26875] devicestate.c: Changing state for SIP/108-b753c588 - state 4 (Invalid)
[May 14 16:22:08] DEBUG[26881] app_queue.c: Device ‘SIP/108-b753c588’ changed to state ‘4’ (Invalid) but we don’t care because they’re not a member of any queue.
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:08] DEBUG[26875] devicestate.c: Changing state for SIP/108 - state 2 (In use)
[May 14 16:22:08] DEBUG[26881] app_queue.c: Device ‘SIP/108’ changed to state ‘2’ (In use) but we don’t care because they’re not a member of any queue.
[May 14 16:22:08] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:08] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:08] DEBUG[26875] devicestate.c: Checking if I can find provider for “Custom” - number: DND108
[May 14 16:22:08] DEBUG[26875] db.c: Unable to find key ‘DND108’ in family ‘CustomDevstate’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [*97@from-internal:3] Macro(“SIP/108-b753c588”, “user-callerid|”) in new stack
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘108’
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘108’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:1] Set(“SIP/108-b753c588”, “AMPUSER=108”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:2] GotoIf(“SIP/108-b753c588”, “0?report”) in new stack
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘108’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:3] ExecIf(“SIP/108-b753c588”, “1|Set|REALCALLERIDNUM=108”) in new stack
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘108’
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘108’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:4] Set(“SIP/108-b753c588”, “AMPUSER=108”) in new stack
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘SipUser108’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:5] Set(“SIP/108-b753c588”, “AMPUSERCIDNAME=SipUser108”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/108-b753c588”, “0?report”) in new stack
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘108’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:7] Set(“SIP/108-b753c588”, “AMPUSERCID=108”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:8] Set(“SIP/108-b753c588”, “CALLERID(all)=“SipUser108” <108>”) in new stack
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘108’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:9] Set(“SIP/108-b753c588”, “REALCALLERIDNUM=108”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:10] ExecIf(“SIP/108-b753c588”, “0|Set|CHANNEL(language)=”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:11] GotoIf(“SIP/108-b753c588”, “0?continue”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:12] Set(“SIP/108-b753c588”, “__TTL=64”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:13] GotoIf(“SIP/108-b753c588”, “1?continue”) in new stack
[May 14 16:22:09] DEBUG[28916] pbx.c: Function result is ‘“SipUser108” <108>’
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-user-callerid:20] NoOp(“SIP/108-b753c588”, “Using CallerID “SipUser108” <108>”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [*97@from-internal:4] Macro(“SIP/108-b753c588”, “get-vmcontext|108”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-get-vmcontext:1] Set(“SIP/108-b753c588”, “VMCONTEXT=default”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/108-b753c588”, “0?200:300”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [s@macro-get-vmcontext:300] NoOp(“SIP/108-b753c588”, “”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [*97@from-internal:5] MailboxExists(“SIP/108-b753c588”, “108@default”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [*97@from-internal:6] GotoIf(“SIP/108-b753c588”, “1?mbexist”) in new stack
[May 14 16:22:09] VERBOSE[28916] logger.c: – Executing [*97@from-internal:106] VoiceMailMain(“SIP/108-b753c588”, “108@default”) in new stack
[May 14 16:22:09] DEBUG[28916] app_voicemail.c: Before find user for mailbox 108
[May 14 16:22:09] DEBUG[28916] channel.c: Set channel SIP/108-b753c588 to write format gsm
[May 14 16:22:09] VERBOSE[28916] logger.c: – <SIP/108-b753c588> Playing ‘vm-password’ (language ‘en’)
[May 14 16:22:10] DEBUG[28916] channel.c: Set channel SIP/108-b753c588 to write format ulaw
[May 14 16:22:20] VERBOSE[28916] logger.c: – Incorrect password ‘’ for user ‘108’ (context = default)
[May 14 16:22:20] DEBUG[28916] channel.c: Set channel SIP/108-b753c588 to write format gsm
[May 14 16:22:20] VERBOSE[28916] logger.c: – <SIP/108-b753c588> Playing ‘vm-incorrect’ (language ‘en’)
[May 14 16:22:22] DEBUG[28916] channel.c: Set channel SIP/108-b753c588 to write format ulaw
[May 14 16:22:22] DEBUG[28916] app_voicemail.c: Before find user for mailbox 108
[May 14 16:22:22] DEBUG[28916] channel.c: Set channel SIP/108-b753c588 to write format gsm
[May 14 16:22:22] VERBOSE[28916] logger.c: – <SIP/108-b753c588> Playing ‘vm-password’ (language ‘en’)
[May 14 16:22:23] DEBUG[28916] channel.c: Set channel SIP/108-b753c588 to write format ulaw
[May 14 16:22:28] DEBUG[28916] channel.c: Soft-Hanging up channel ‘SIP/108-b753c588’
[May 14 16:22:28] VERBOSE[28916] logger.c: – Executing [h@from-internal:1] Macro(“SIP/108-b753c588”, “hangupcall”) in new stack
[May 14 16:22:28] VERBOSE[28916] logger.c: – Executing [s@macro-hangupcall:1] ResetCDR(“SIP/108-b753c588”, “vw”) in new stack
[May 14 16:22:28] DEBUG[28916] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,userfield) VALUES (‘2009-05-14 16:22:08’,’“SipUser108” <108>’,‘108’,’*97’,‘from-internal’, ‘SIP/108-b753c588’,’’,‘VoiceMailMain’,‘108@default’,20,20,‘ANSWERED’,3,’’,’’)
[May 14 16:22:28] VERBOSE[28916] logger.c: – Executing [s@macro-hangupcall:2] NoCDR(“SIP/108-b753c588”, “”) in new stack
[May 14 16:22:28] VERBOSE[28916] logger.c: – Executing [s@macro-hangupcall:3] GotoIf(“SIP/108-b753c588”, “1?skiprg”) in new stack
[May 14 16:22:28] VERBOSE[28916] logger.c: – Executing [s@macro-hangupcall:6] GotoIf(“SIP/108-b753c588”, “1?skipblkvm”) in new stack
[May 14 16:22:28] VERBOSE[28916] logger.c: – Executing [s@macro-hangupcall:9] GotoIf(“SIP/108-b753c588”, “1?theend”) in new stack
[May 14 16:22:28] VERBOSE[28916] logger.c: – Executing [s@macro-hangupcall:11] Hangup(“SIP/108-b753c588”, “”) in new stack
[May 14 16:22:28] DEBUG[28916] app_macro.c: Spawn extension (macro-hangupcall,s,11) exited non-zero on ‘SIP/108-b753c588’ in macro ‘hangupcall’
[May 14 16:22:28] DEBUG[28916] pbx.c: Spawn extension (macro-hangupcall,s,11) exited non-zero on ‘SIP/108-b753c588’
[May 14 16:22:28] VERBOSE[28916] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/108-b753c588’
[May 14 16:22:28] DEBUG[28916] channel.c: Hanging up channel ‘SIP/108-b753c588’
[May 14 16:22:28] DEBUG[28916] chan_sip.c: Hangup call SIP/108-b753c588, SIP callid ZTk2N2JhNmY4Y2NiNjI1Y2MzOTRhNjA3ZjYzNDA0NTI.)
[May 14 16:22:28] DEBUG[28916] chan_sip.c: Call from peer ‘108’ removed from call limit 50
[May 14 16:22:28] DEBUG[28916] devicestate.c: Notification of state change to be queued on device/channel SIP/108
[May 14 16:22:28] DEBUG[28916] devicestate.c: Notification of state change to be queued on device/channel SIP/108-b753c588
[May 14 16:22:28] DEBUG[28916] devicestate.c: Notification of state change to be queued on device/channel SIP/108
[May 14 16:22:28] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:28] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:28] DEBUG[26875] devicestate.c: Changing state for SIP/108 - state 1 (Not in use)
[May 14 16:22:28] DEBUG[26881] app_queue.c: Device ‘SIP/108’ changed to state ‘1’ (Not in use) but we don’t care because they’re not a member of any queue.
[May 14 16:22:28] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:28] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:28] DEBUG[26875] devicestate.c: Checking if I can find provider for “Custom” - number: DND108
[May 14 16:22:28] DEBUG[26875] db.c: Unable to find key ‘DND108’ in family ‘CustomDevstate’
[May 14 16:22:28] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108-b753c588
[May 14 16:22:28] DEBUG[26875] chan_sip.c: Checking device state for peer 108-b753c588
[May 14 16:22:28] DEBUG[26875] devicestate.c: Changing state for SIP/108-b753c588 - state 4 (Invalid)
[May 14 16:22:28] DEBUG[26881] app_queue.c: Device ‘SIP/108-b753c588’ changed to state ‘4’ (Invalid) but we don’t care because they’re not a member of any queue.
[May 14 16:22:28] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:28] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:28] DEBUG[26875] devicestate.c: Changing state for SIP/108 - state 1 (Not in use)
[May 14 16:22:28] DEBUG[26881] app_queue.c: Device ‘SIP/108’ changed to state ‘1’ (Not in use) but we don’t care because they’re not a member of any queue.
[May 14 16:22:28] DEBUG[26875] devicestate.c: No provider found, checking channel drivers for SIP - 108
[May 14 16:22:28] DEBUG[26875] chan_sip.c: Checking device state for peer 108
[May 14 16:22:28] DEBUG[26875] devicestate.c: Checking if I can find provider for “Custom” - number: DND108
[May 14 16:22:28] DEBUG[26875] db.c: Unable to find key ‘DND108’ in family ‘CustomDevstate’
I’ve tried to change password, to change extensions (create new ones,enable disable voicemail… etc) but result is always the same.Permissions on the files and/or user that things are running under user asterisk and group asterisk.
This is my voicemail.conf generated from GUI:
[general]
format=wav49|gsm|wav
serveremail=asterisk
;[email protected]
; Should the email contain the voicemail as an attachment
attach=yes
; Maximum number of messages per folder. If not specified, a default value
; (100) is used. Maximum value for this option is 9999.
;maxmsg=100
; Maximum length of a voicemail message in seconds
;maxmessage=180
; Minimum length of a voicemail message in seconds for the message to be kept
; The default is no minimum.
;minmessage=3
; Maximum length of greetings in seconds
;maxgreet=60
; How many milliseconds to skip forward/back when rew/ff in message playback
skipms=3000
; How many seconds of silence before we end the recording
maxsilence=10
; Silence threshold (what we consider silence: the lower, the more sensitive)
silencethreshold=128
; Max number of failed login attempts
maxlogins=3
emaildateformat=%A, %B %d, %Y at %r
sendvoicemail=yes
[zonemessages]
eastern=America/New_York|‘vm-received’ Q ‘digits/at’ IMp
central=America/Chicago|‘vm-received’ Q ‘digits/at’ IMp
central24=America/Chicago|‘vm-received’ q ‘digits/at’ H N 'hours’
military=Zulu|‘vm-received’ q ‘digits/at’ H N ‘hours’ 'phonetic/z_p’
european=Europe/Copenhagen|‘vm-received’ a d b ‘digits/at’ HM
[default]
; Define maximum number of messages per folder for a particular context.
;maxmsg=50
1234 => 4242,Example Mailbox,root@localhost
;4200 => 9855,Mark Spencer,[email protected],[email protected],attach=no|[email protected]|tz=central|maxmsg=10
;4300 => 3456,Ben Rigas,[email protected]
;4310 => -5432,Sales,[email protected]
;4069 => 6522,Matt Brooks,[email protected],|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|sayduration=yes|saydurationm=1
;4073 => 1099,Bianca Paige,[email protected],delete=1
;4110 => 3443,Rob Flynn,[email protected]
;4235 => 1234,Jim Holmes,[email protected],Tz=european
;
; Mailboxes may be organized into multiple contexts for
; voicemail virtualhosting
;
104 => 1234,SipUser104,attach=no|saycid=no|envelope=no|delete=no
108 => 1234,SipUser108,attach=no|saycid=yes|envelope=yes|delete=yes
107 => 1234,SipUser107,attach=no|saycid=yes|envelope=yes|delete=yes
106 => 1234,SipUser106,attach=no|saycid=yes|envelope=yes|delete=yes
105 => 1234,SipUser105,attach=no|saycid=yes|envelope=yes|delete=yes
103 => 1234,SipUser103,attach=no|saycid=yes|envelope=yes|delete=yes
102 => 1234,SipUser102,attach=no|saycid=yes|envelope=yes|delete=yes
101 => 1234,SipUser101,attach=no|saycid=yes|envelope=yes|delete=yes
[other]
;The intro can be customized on a per-context basis
;directoryintro=dir-company2
1234 => 5678,Company2 User,root@localhost
Thank you for any help.