I have a clean installation of AsteriskNow 1.7 upgraded to the latest FreePBX 2.8.1.0 and I am running into a problem.
Situation:
My configuration is that I have a single trunk for my VoIP provider. My Inbound route takes any CID/DID and routes it to my Ring Group.
The Ring Group is set to ring several phones in my house for 30 seconds then if no answer go to my main IVR and from there the IVR allows people to ring again, call my cell, leave me a voicemail and so on.
Inbound Route -> Ring Group -> IVR
Problem:
The above is what I configured. But when someone calls in what really happens is that the Ring Group rings for 30 seconds then hangs up the call. My log from asterisk just shows that it hung up. The report shows the same.
Asterisk Log:
[Feb 3 01:46:08] VERBOSE[6342] app_dial.c: – SIP/202-00000038 is ringing
[Feb 3 01:46:28] VERBOSE[6342] app_macro.c: == Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/Acanac-SIP-00000036’ in macro ‘dial’
[Feb 3 01:46:28] VERBOSE[6342] pbx.c: == Spawn extension (ext-group, 600, 14) exited non-zero on ‘SIP/Acanac-SIP-00000036’
[Feb 3 01:46:28] VERBOSE[6342] pbx.c: – Executing [h@ext-group:1] Macro(“SIP/Acanac-SIP-00000036”, “hangupcall,”) in new stack
[Feb 3 01:46:28] VERBOSE[6342] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/Acanac-SIP-00000036”, “1?skiprg”) in new stack
[Feb 3 01:46:28] VERBOSE[6342] pbx.c: – Goto (macro-hangupcall,s,4)
Question:
Does anyone know how I can find out why the Ring Group is hanging up instead of going to the IVR like I configured it to?
Since this extension 202 is Line 2 on my ATA device, how come when my ATA device(Linksys SPA-2102) hangs up, the Ring Group seems to think that the call was answered by it. Then the Ring Group processes a hang up and since there is nothing taking over the call it’s lost, at which point my VoIP provider’s voicemail kicks in.
You have provided a to short log. Set verbose and debug level to 5, then look at your log file for whatever reason you get an exit in macro-dial,s,7.
You could post your log file on pastebin and provide a link to the log so that we can have a look at it.
In case this makes a difference I also wanted to mention that my Ring Group calls 3 extensions.
Ext 200: First account on my ATA device. (Linksys SPA-2102)
Ext 201: My X-Lite running on my tower.
Ext 202: Second account on my ATA device. (Linksys SPA-2102)
The reason for this is I have multiple people in my house so from the IVR the caller can choose my name or the others and if they choose my name they can leave me a message on my voicemail (Ext 200) which I’ll get by Email).
Or if they choose the others and leave a voicemail it goes to Ext 202 which is what the actual cordless phones are connected to so they can pickup the voicemails. (Because getting them by Email is still a little complicated for them)
Just wanted to post this in case any of this could be the cause.