Need help with voicemail - getting desperate

Hello

I use 1.1007.210.58-1. So far everything seems to work great.

Except: Voicemail! I am getting desperate as I can’t understand why it doesn’t work.

Setup: (very simple).

5 extensions, all with voicemail enabled. Password set, no email for voicemail, no vmx locator, no followme. 5 incoming routes going directly to one of the extensions each.

When I call internally to one of the extensions and do not answer the phone, I get to voicemail correctly.

HERE is THE PROBLEM: When I call from outside to one of the extensions and do not answer the phone, I get hangup!!!

If I set the phone (on the phone itself) to “unavailable” (DND), call from outside to one of the extensions, I get voicemail correctly.

I have no idea if I am doing anything wrong or if there is a bug. I don’t understand at all, why it doesn’t go to voicemail.

Here are the first of the debug lines that come as soon as the extension timeouts and should go to voicemail:

[2012-08-31 13:20:05] VERBOSE[3274] app_macro.c: == Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘SIP/mainnummer-00000022’ in macro ‘dial-one’
[2012-08-31 13:20:05] VERBOSE[3274] app_macro.c: == Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘SIP/mainnummer-00000022’ in macro ‘exten-vm’
[2012-08-31 13:20:05] VERBOSE[3274] pbx.c: == Spawn extension (from-did-direct, 6003, 2) exited non-zero on ‘SIP/mainnummer-00000022’
[2012-08-31 13:20:05] VERBOSE[3274] pbx.c: – Executing [[email protected]:1] Macro(“SIP/mainnummer-00000022”, “hangupcall,”) in new stack
[2012-08-31 13:20:05] VERBOSE[3274] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/mainnummer-00000022”, “1?theend”) in new stack
[2012-08-31 13:20:05] VERBOSE[3274] pbx.c: – Goto (macro-hangupcall,s,3)
[2012-08-31 13:20:05] VERBOSE[3274] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/mainnummer-00000022”, “0?Set(CDR(recordingfile)=)”) in new stack
[2012-08-31 13:20:05] VERBOSE[3274] pbx.c: – Executing [[email protected]:4] Hangup(“SIP/mainnummer-00000022”, “”) in new stack
[2012-08-31 13:20:05] VERBOSE[3274] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/Faxnummer-00000022’ in macro ‘hangupcall’

Thanks for any help or hints

Michael

Nobody knows something? Or is the answer so obvious that everybody thinks I should find it myself?

Anyway. I really can’t understand why it happens. :frowning:

As soon as freepbx goes to voicemail in an external call it sends code “Normal temporary failure” (500) to the external party and hangsup. Not sure if that helps to find the culprit.

I guess it should be a normal standard function that external calls can go to voicemail in freepbx, if unanswered. Please give me a hint, if I might have done some error in configuration.

Thanks

Michael

Never mind. I finally found the problem.

I got suspicous after I noticed that the timeout for the phones was set to 30sec, but the calls already broke after 20 sec.

The final verdict: It was the VOIP provider who cut the line if it wasn’t answered after 20 sec. I turned off this “feature” and now everything works.

Michael