I have an inbound SIP trunk that recieves calls OK, but when it goes to voicemail the call is terminated after 10 seconds.
There first 9 seconds of the call are recorded, and I get the email to say that there is a message.
I assume that the reason is something to do with the log message “no reply to our critical packet”.
Not sure what info I need to supply, but here is the tail of the log.
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Executing [vmx@macro-vm:10] NoOp("SIP/3145106-08ad6398", "Checking if ext 2000 is enabled: ") in new stack
[2009-09-18 13:24:20] DEBUG[3463] app_macro.c: Executed application: Noop
[2009-09-18 13:24:20] DEBUG[3463] func_db.c: DB: AMPUSER/2000/vmx/unavail/state not found in database.
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Executing [vmx@macro-vm:11] GotoIf("SIP/3145106-08ad6398", "1?s-NOANSWER|1") in new stack
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Goto (macro-vm,s-NOANSWER,1)
[2009-09-18 13:24:20] DEBUG[3463] app_macro.c: Executed application: GotoIf
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/3145106-08ad6398", "get-vmcontext|2000") in new stack
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Executing [s@macro-get-vmcontext:1] Set("SIP/3145106-08ad6398", "VMCONTEXT=default") in new stack
[2009-09-18 13:24:20] DEBUG[3463] app_macro.c: Executed application: Set
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/3145106-08ad6398", "0?200:300") in new stack
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Goto (macro-get-vmcontext,s,300)
[2009-09-18 13:24:20] DEBUG[3463] app_macro.c: Executed application: GotoIf
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/3145106-08ad6398", "") in new stack
[2009-09-18 13:24:20] DEBUG[3463] app_macro.c: Executed application: NoOp
[2009-09-18 13:24:20] DEBUG[3463] app_macro.c: Executed application: Macro
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/3145106-08ad6398", "2000@default|sug(20)") in new stack
[2009-09-18 13:24:20] VERBOSE[3463] logger.c: -- <SIP/3145106-08ad6398> Playing '/var/spool/asterisk/voicemail/default/2000/unavail' (language 'en')
[2009-09-18 13:24:30] VERBOSE[3463] logger.c: -- <SIP/3145106-08ad6398> Playing 'beep' (language 'en')
[2009-09-18 13:24:30] VERBOSE[3463] logger.c: -- Recording the message
[2009-09-18 13:24:30] VERBOSE[3463] logger.c: -- x=0, open writing: /var/spool/asterisk/voicemail/default/2000/tmp/IyrXBw format: wav49, 0x8ae0468
[2009-09-18 13:24:30] VERBOSE[3463] logger.c: -- x=1, open writing: /var/spool/asterisk/voicemail/default/2000/tmp/IyrXBw format: wav, 0x8adc7e8
[2009-09-18 13:24:40] WARNING[3053] chan_sip.c: Maximum retries exceeded on transmission [email protected] for seqno 102 (Critical Response)
[2009-09-18 13:24:40] WARNING[3053] chan_sip.c: Hanging up call [email protected] - no reply to our critical packet.
[2009-09-18 13:24:40] VERBOSE[3463] logger.c: -- User hung up