Voicemail Disconnects

Hi all

I am using Asterisk 1.6.2.9 with FreePbx 2.7.0.2

I just installed this today and am having a bit of a problem with my voicemail.

If I call an extension’s voicemail from another extension on the PBX, then I can leave a voicemail and everything is fine. I cannot, however, hear the voicemail playing back if I call from an outside line.

Both incoming and outgoing calls work fine and if I call in I can hear and talk back, etc. but if i dont answer the call and it is supposed to go to voicemail, it just disconnects at that point.

Here is a CLI output of when it does this. Is this some kind of codec issue? - I had the same problem with not being able to get incoming calls earlier and then when i enabled the g729 codec incoming calls worked?? I have the following codecs enabled under Tools --> Asterisk SIP Settings: ulaw, alaw, gsm, g729. I’m not too sure because when i call from another extension and get the voicemail it looks to be using ulaw, which i have enabled:

<SIP/0226-00000007> Playing 'vm-theperson.ulaw' (language 'en') -- <SIP/0226-00000007> Playing 'digits/0.ulaw' (language 'en') -- <SIP/0226-00000007> Playing 'digits/4.ulaw' (language 'en') -- <SIP/0226-00000007> Playing 'digits/2.ulaw' (language 'en') -- <SIP/0226-00000007> Playing 'digits/3.ulaw' (language 'en') -- <SIP/0226-00000007> Playing 'vm-isunavail.ulaw' (language 'en') -- <SIP/0226-00000007> Playing 'vm-intro.ulaw' (language 'en') -- <SIP/0226-00000007> Playing 'beep.ulaw' (language 'en')
The above output is only when calling from another extension

Could it be a firewall issue? doesnt seem likely seeing that my incoming calls are working. In Asterisk SIP Settings under Tools I have the following: NAT: yes IP Configuration: Public (with the subsequent fields filled in about my network)

Thanks for any help!!

Called 9999 -- SIP/9999-00000006 is ringing -- SIP/0423-00000005 is ringing -- Nobody picked up in 20000 ms -- Executing [s@macro-dial:8] Set("SIP/voipvoiptrunk-00000004", "DIALSTATUS=NOANSWER") in new stack -- Executing [s@macro-dial:9] GosubIf("SIP/voipvoiptrunk-00000004", "0?NOANSWER,1") in new stack -- Executing [2@ext-group:15] Set("SIP/voipvoiptrunk-00000004", "RingGroupMethod=") in new stack -- Executing [2@ext-group:16] GotoIf("SIP/voipvoiptrunk-00000004", "0?nodest") in new stack -- Executing [2@ext-group:17] Set("SIP/voipvoiptrunk-00000004", "__NODEST=") in new stack -- Executing [2@ext-group:18] NoOp("SIP/voipvoiptrunk-00000004", "Deleting: BLKVM/2/SIP/voipvoiptrunk-00000004 TRUE") in new stack -- Executing [2@ext-group:19] Goto("SIP/voipvoiptrunk-00000004", "ext-local,vmu9999,1") in new stack -- Goto (ext-local,vmu9999,1) -- Executing [vmu9999@ext-local:1] Macro("SIP/voipvoiptrunk-00000004", "vm,9999,NOANSWER,") in new stack -- Executing [s@macro-vm:1] Macro("SIP/voipvoiptrunk-00000004", "user-callerid,SKIPTTL") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/voipvoiptrunk-00000004", "AMPUSER=9703965077") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("SIP/voipvoiptrunk-00000004", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("SIP/voipvoiptrunk-00000004", "0?Set(REALCALLERIDNUM=9703965077)") in new stack -- Executing [s@macro-user-callerid:4] Set("SIP/voipvoiptrunk-00000004", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/voipvoiptrunk-00000004", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/voipvoiptrunk-00000004", "1?report") in new stack -- Goto (macro-user-callerid,s,10) -- Executing [s@macro-user-callerid:10] GotoIf("SIP/voipvoiptrunk-00000004", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) -- Executing [s@macro-user-callerid:19] NoOp("SIP/voipvoiptrunk-00000004", "Using CallerID "9703965077" <9703965077>") in new stack -- Executing [s@macro-vm:2] Set("SIP/voipvoiptrunk-00000004", "VMGAIN=""") in new stack -- Executing [s@macro-vm:3] GotoIf("SIP/voipvoiptrunk-00000004", "1?vmx,1") in new stack -- Goto (macro-vm,vmx,1) -- Executing [vmx@macro-vm:1] Set("SIP/voipvoiptrunk-00000004", "MEXTEN=9999") in new stack -- Executing [vmx@macro-vm:2] Set("SIP/voipvoiptrunk-00000004", "MMODE=NOANSWER") in new stack -- Executing [vmx@macro-vm:3] Set("SIP/voipvoiptrunk-00000004", "RETVM=") in new stack -- Executing [vmx@macro-vm:4] Set("SIP/voipvoiptrunk-00000004", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:5] GotoIf("SIP/voipvoiptrunk-00000004", "1?chknomsg") in new stack -- Goto (macro-vm,vmx,7) -- Executing [vmx@macro-vm:7] GotoIf("SIP/voipvoiptrunk-00000004", "0?s-NOANSWER,1") in new stack -- Executing [vmx@macro-vm:8] GotoIf("SIP/voipvoiptrunk-00000004", "1?notdirect") in new stack -- Goto (macro-vm,vmx,10) -- Executing [vmx@macro-vm:10] NoOp("SIP/voipvoiptrunk-00000004", "Checking if ext 9999 is enabled: ") in new stack -- Executing [vmx@macro-vm:11] GotoIf("SIP/voipvoiptrunk-00000004", "1?s-NOANSWER,1") in new stack -- Goto (macro-vm,s-NOANSWER,1) -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/voipvoiptrunk-00000004", "get-vmcontext,9999") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/voipvoiptrunk-00000004", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/voipvoiptrunk-00000004", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/voipvoiptrunk-00000004", "") in new stack -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/voipvoiptrunk-00000004", "9999@default,u") in new stack == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/voipvoiptrunk-00000004' in macro 'vm' == Spawn extension (ext-local, vmu9999, 1) exited non-zero on 'SIP/voipvoiptrunk-00000004'

Anyone have any suggestions for me??

Thanks