AsteriskNow 1.7 - Ring Group drops calls

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?

After working with bug 4810 we found from the asterisk logs the following entry which seems to be the problem:

[Feb 20 17:12:07] VERBOSE[6635] app_dial.c: -- SIP/202-00000181 answered SIP/Acanac-SIP-00000180

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.

Can anyone help with an idea or a place to look?

I only know to turn up my debugging level from the CLI so I set it to level 22 and tried again. It produced the following output:

-- SIP/201-0000017c is ringing
-- Got SIP response 486 "Busy Here" back from 10.10.10.5
-- SIP/200-0000017b is busy
-- SIP/202-0000017d is ringing

== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/Acanac-SIP-0000017a’ in macro ‘dial’
== Spawn extension (ext-group, 600, 14) exited non-zero on ‘SIP/Acanac-SIP-0000017a’
– Executing [h@ext-group:1] Macro(“SIP/Acanac-SIP-0000017a”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/Acanac-SIP-0000017a”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/Acanac-SIP-0000017a”, “0?skipblkvm”) in new stack
– Executing [s@macro-hangupcall:5] NoOp(“SIP/Acanac-SIP-0000017a”, “Cleaning Up Block VM Flag: BLKVM/600/SIP/Acanac-SIP-0000017a”) in new stack
– Executing [s@macro-hangupcall:6] NoOp(“SIP/Acanac-SIP-0000017a”, “Deleting: BLKVM/600/SIP/Acanac-SIP-0000017a TRUE”) in new stack
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/Acanac-SIP-0000017a”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/Acanac-SIP-0000017a”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/Acanac-SIP-0000017a’ in macro ‘hangupcall’
== Spawn extension (ext-group, h, 1) exited non-zero on ‘SIP/Acanac-SIP-0000017a’

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.

I’m guessing no one has heard of this.

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.