Voicemail hangup if extension busy

Hello,

I am running FreePBX 2.2.1 and I am having problems with the voicemail module. If I call using an external phone line and dial my extension number and I’m already on the line, I hear the first second or so of my busy message and then it hangs up.

If I dial my extension number from my phone I get my busy message and everything works as expected.

Here is the console log when it happens. Anybody knows what’s wrong?

   >  dialparties.agi ExtensionState 1

dialparties.agi Extension 105 has ExtensionState 1
– dialparties.agi Checking CW and CFB status for extension 105
dialparties.agi Extension 105 is not available to be called
dialparties.agi Extension 105 has call waiting disabled
– AGI Script dialparties.agi completed, returning 0
– Executing NoOp(“IAX2/5143127080-11”, “Returned from dialparties with no extensions to call”) in new stack
– Executing NoOp(“IAX2/5143127080-11”, “DIALSTATUS is BUSY”) in new stack
– Executing GosubIf(“IAX2/5143127080-11”, “0?docfu|1”) in new stack
– Executing GosubIf(“IAX2/5143127080-11”, “0?docfb|1”) in new stack
– Executing NoOp(“IAX2/5143127080-11”, “Voicemail is 105”) in new stack
– Executing GotoIf(“IAX2/5143127080-11”, “0?s-BUSY|1”) in new stack
– Executing NoOp(“IAX2/5143127080-11”, “Sending to Voicemail box 105”) in new stack
– Executing Macro(“IAX2/5143127080-11”, “vm|105|BUSY”) in new stack
– Executing Macro(“IAX2/5143127080-11”, “user-callerid|SKIPTTL”) in new stack
– Executing NoOp(“IAX2/5143127080-11”, “user-callerid 5143127080”) in new stack
– Executing GotoIf(“IAX2/5143127080-11”, “0?report”) in new stack
– Executing GotoIf(“IAX2/5143127080-11”, “1?start”) in new stack
– Goto (macro-user-callerid,s,5)
– Executing NoOp(“IAX2/5143127080-11”, “REALCALLERIDNUM is 5143127080”) in new stack
– Executing Set(“IAX2/5143127080-11”, “AMPUSER=”) in new stack
– Executing Set(“IAX2/5143127080-11”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“IAX2/5143127080-11”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing NoOp(“IAX2/5143127080-11”, “TTL 64 ARG1 SKIPTTL”) in new stack
– Executing GotoIf(“IAX2/5143127080-11”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,21)
– Executing NoOp(“IAX2/5143127080-11”, “Using CallerID “” <5143127080>”) in new stack
– Executing Set(“IAX2/5143127080-11”, “VMGAIN=”) in new stack
– Executing GotoIf(“IAX2/5143127080-11”, “1?s-BUSY|1”) in new stack
– Goto (macro-vm,s-BUSY,1)
– Executing NoOp(“IAX2/5143127080-11”, “BUSY voicemail”) in new stack
– Executing Macro(“IAX2/5143127080-11”, “get-vmcontext|105”) in new stack
– Executing Set(“IAX2/5143127080-11”, “VMCONTEXT=default”) in new stack
– Executing GotoIf(“IAX2/5143127080-11”, “0?200300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing NoOp(“IAX2/5143127080-11”, “”) in new stack
– Executing VoiceMail(“IAX2/5143127080-11”, “[email protected]|sb”) in new stack
– Playing ‘vm-theperson’ (language ‘fr’)
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘IAX2/5143127080-11’ in macro ‘vm’
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘IAX2/5143127080-11’ in macro ‘exten-vm’
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘IAX2/5143127080-11’
– Hungup ‘IAX2/5143127080-11’

[quote=“p_lindheimer”]
I reported this bug to digium but they didn’t seem to feel it warranted a fix. Un-fortunately I can’t point you to the bug in their tracker, for some reason none of my bugs are showing up when I go to their page (got archived maybe???)[/quote]

You Might need to login to view your tickets.

Anyone?

my ‘guess’ is the following. You have french enabled but don’t have the proper french sound files in place. As soon as app_voicemail hits a french sound file it needs it pukes because it can’t find it and hangs up. If you look in the log (not cli), you will see a message to that effect. This happens if their is a different feminine/masculine or plurlal/singular pronunciation of something like a number digit -which in english there is only one - for example.

I reported this bug to digium but they didn’t seem to feel it warranted a fix. Un-fortunately I can’t point you to the bug in their tracker, for some reason none of my bugs are showing up when I go to their page (got archived maybe???)

Thank you Philip. I will take a look at the logs to see exactly what went wrong. I didn’t know I could get more information than with the cli. I will post my results here.

It does not seem to have anything to do with the French setting. I changed it back to English and I have the same result. My log file however is showing something interesting

Jun 6 205344 VERBOSE[1844] logger.c – Playing ‘vm-theperson’ (language ‘en’)
Jun 6 205345 NOTICE[1844] chan_iax2.c I should never be called! Hanging up.

This has started since upgrading to Trixbox 2.2.