Line drops after extension entered

Hi All,

I am new here and thought I would ask for a bit of help. I was tasked with the project of moving our company onto a new phone system and I chose to use the Asterisk/FreePBX combination which has been working well for some time.

I have my phones connected to an internal PBX which then users an IAX trunk to voip.ms to make outbound calls.

The issue I have ran into is that when calling someone I attempt to enter the users extension and it disconnects the session. Looking through the logs I can see it hanging up call and I am really not sure why.

I tried on a hard phone and it worked fine ruling out the possibility of it being the recipients end.

Any help would be greatly appreciated.

Thanks
Scott

[Feb 21 14:13:29] VERBOSE[12388] app_dial.c: – Called voipms/**********
[Feb 21 14:13:29] VERBOSE[2860] chan_iax2.c: – Call accepted by 74.63.41.218 (format ulaw)
[Feb 21 14:13:29] VERBOSE[2860] chan_iax2.c: – Format for call is ulaw
[Feb 21 14:13:32] VERBOSE[12388] app_dial.c: – IAX2/voipms-2722 is making progress passing it to SIP/531-000007a5
[Feb 21 14:13:42] VERBOSE[12388] app_dial.c: – IAX2/voipms-2722 answered SIP/531-000007a5
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:1] Macro(“SIP/531-000007a5”, “hangupcall,”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/531-000007a5”, “1?skiprg”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Goto (macro-hangupcall,s,4)
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:4] GotoIf(“SIP/531-000007a5”, “1?skipblkvm”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Goto (macro-hangupcall,s,7)
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/531-000007a5”, “1?theend”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Goto (macro-hangupcall,s,9)
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:9] Hangup(“SIP/531-000007a5”, “”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/531-000007a5’ in macro ‘hangupcall’
[Feb 21 14:13:54] VERBOSE[12388] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/531-000007a5’
[Feb 21 14:13:54] VERBOSE[12388] chan_iax2.c: – Hungup ‘IAX2/voipms-2722’
[Feb 21 14:13:54] VERBOSE[12388] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/531-000007a5’ in macro ‘dialout-trunk’
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: == Spawn extension (from-internal, **********, 6) exited non-zero on ‘SIP/531-000007a5’
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:1] Macro(“SIP/531-000007a5”, “hangupcall”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/531-000007a5”, “1?skiprg”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Goto (macro-hangupcall,s,4)
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:4] GotoIf(“SIP/531-000007a5”, “1?skipblkvm”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Goto (macro-hangupcall,s,7)
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/531-000007a5”, “1?theend”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Goto (macro-hangupcall,s,9)
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: – Executing [[email protected]:9] Hangup(“SIP/531-000007a5”, “”) in new stack
[Feb 21 14:13:54] VERBOSE[12388] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/531-000007a5’ in macro ‘hangupcall’
[Feb 21 14:13:54] VERBOSE[12388] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/531-000007a5’

I have commented the destination number out hence the **********.

Thanks
Scott

Anyone able to offer some direction on where I could look?