Outbound calls not working

Hello,
I recently updated from Asterisk 1.8 to Asterisk 11 and then upgraded the Freepbx Distro from FreePBX Distro 5.211.65-13 to 6.12.65-20. Since then We are receiving some errors when dialing outbound. The phone server is 192.168.1.3 and the default gateway/firewall is a CentOS 6.5 machine running shorewall. Nothing changed on the firewall at all during the updates. I know it says “WARNING[1788]: chan_sip.c:4020 retrans_pkt: Retransmission timeout reached on transmission [email protected] for seqno 2 (Critical Response)” but have no idea why. This is what I see when I do asterisk -rvvvvvvv


== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [8008772398@from-internal:1] Macro(“SIP/124-00000092”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/124-00000092”, “TOUCH_MONITOR=1423504950.193”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/124-00000092”, “AMPUSER=124”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/124-00000092”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/124-00000092”, “1?Set(REALCALLERIDNUM=124)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/124-00000092”, “AMPUSER=124”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/124-00000092”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/124-00000092”, “AMPUSERCIDNAME=Billy Bob”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/124-00000092”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/124-00000092”, “AMPUSERCID=124”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/124-00000092”, “__DIAL_OPTIONS=tr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/124-00000092”, “CALLERID(all)=“Billy Bob” <124>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/124-00000092”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/124-00000092”, “1?Set(GROUP(concurrency_limit)=124)”) in new stack
– Executing [s@macro-user-callerid:14] GosubIf(“SIP/124-00000092”, “7?sub-ccss,s,1(from-internal,8008772398)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/124-00000092”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/124-00000092”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/124-00000092”, “0?monitor_config,1(from-internal,8008772398):monitor_default,1(from-internal,8008772398)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/124-00000092”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/124-00000092”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/124-00000092”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“SIP/124-00000092”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/124-00000092”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [s@macro-user-callerid:30] Set(“SIP/124-00000092”, “CALLERID(number)=124”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/124-00000092”, “CALLERID(name)=Billy Bob”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/124-00000092”, “CDR(cnum)=124”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/124-00000092”, “CDR(cnam)=Billy Bob”) in new stack
– Executing [s@macro-user-callerid:34] Set(“SIP/124-00000092”, “CHANNEL(language)=en”) in new stack
– Executing [8008772398@from-internal:2] Gosub(“SIP/124-00000092”, “sub-record-check,s,1(out,8008772398,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/124-00000092”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/124-00000092”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/124-00000092”, “NOW=1423504950”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/124-00000092”, “__DAY=09”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/124-00000092”, “__MONTH=02”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/124-00000092”, “__YEAR=2015”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/124-00000092”, “__TIMESTR=20150209-110230”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/124-00000092”, “__FROMEXTEN=124”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/124-00000092”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/124-00000092”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/124-00000092”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/124-00000092”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/124-00000092”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/124-00000092”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/124-00000092”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“SIP/124-00000092”, “Outbound Recording Check from 124 to 8008772398”) in new stack
– Executing [out@sub-record-check:2] Set(“SIP/124-00000092”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“SIP/124-00000092”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“SIP/124-00000092”, “recordcheck,1(dontcare,out,8008772398)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/124-00000092”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/124-00000092”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/124-00000092”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“SIP/124-00000092”, “”) in new stack
– Executing [8008772398@from-internal:3] ExecIf(“SIP/124-00000092”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [8008772398@from-internal:4] Set(“SIP/124-00000092”, “MOHCLASS=default”) in new stack
– Executing [8008772398@from-internal:5] ExecIf(“SIP/124-00000092”, “0?Set(TRUNKCIDOVERRIDE=6029714438 (CHANGED))”) in new stack
– Executing [8008772398@from-internal:6] Set(“SIP/124-00000092”, “_NODEST=”) in new stack
– Executing [8008772398@from-internal:7] Macro(“SIP/124-00000092”, “dialout-trunk,5,8008772398,on”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/124-00000092”, “DIAL_TRUNK=5”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/124-00000092”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/124-00000092”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/124-00000092”, “DIAL_NUMBER=8008772398”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/124-00000092”, “OUTBOUND_GROUP=OUT_5”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/124-00000092”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/124-00000092”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/124-00000092”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/124-00000092”, “outbound-callerid,5”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/124-00000092”, “0?Set(REALCALLERIDNUM=124)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/124-00000092”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/124-00000092”, “USEROUTCID=6029714438 (CHANGED)”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/124-00000092”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/124-00000092”, “TRUNKOUTCID=6029714438 (CHANGED)”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/124-00000092”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/124-00000092”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/124-00000092”, “CDR(outbound_cnum)=6029714438 (CHANGED)”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/124-00000092”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/124-00000092”, “1?sub-flp-5,s,1()”) in new stack
– Executing [s@sub-flp-5:1] ExecIf(“SIP/124-00000092”, “0?Set(TARGET_FLP_5=6028008772398)”) in new stack
– Executing [s@sub-flp-5:2] GotoIf(“SIP/124-00000092”, “0?match”) in new stack
– Executing [s@sub-flp-5:3] Return(“SIP/124-00000092”, “”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/124-00000092”, “OUTNUM=8008772398”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/124-00000092”, “custom=SIP/Out-1”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/124-00000092”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/124-00000092”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/124-00000092”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(num,i)=8008772398)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(name,i)=CID:6029714438 (CHANGED))”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/124-00000092”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/124-00000092”, “SIP/Out-1/8008772398,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/Out-1/8008772398
0xb58d2680 – Probation passed - setting RTP source address to 172.58.19.10:21172
[2015-02-09 11:03:02] WARNING[1788]: chan_sip.c:4020 retrans_pkt: Retransmission timeout reached on transmission [email protected]:5060 for seqno 102 (Critical Request) – See Home - Asterisk Documentation
Packet timed out after 31999ms with no response
[2015-02-09 11:03:02] WARNING[1788]: chan_sip.c:4020 retrans_pkt: Retransmission timeout reached on transmission [email protected]:5060 for seqno 102 (Critical Request) – See Home - Asterisk Documentation
Packet timed out after 31999ms with no response
[2015-02-09 11:03:02] WARNING[1788]: chan_sip.c:4049 retrans_pkt: Hanging up call [email protected]:5060 - no reply to our critical packet (see Home - Asterisk Documentation).
[2015-02-09 11:03:02] WARNING[1788]: chan_sip.c:4049 retrans_pkt: Hanging up call [email protected]:5060 - no reply to our critical packet (see Home - Asterisk Documentation).
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“SIP/124-00000092”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/124-00000092”, “1?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/124-00000092”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 18 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] Set(“SIP/124-00000092”, “CALLERID(number)=124”) in new stack
– Executing [8008772398@from-internal:8] Macro(“SIP/124-00000092”, “dialout-trunk,6,8008772398,on”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/124-00000092”, “DIAL_TRUNK=6”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/124-00000092”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/124-00000092”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/124-00000092”, “DIAL_NUMBER=8008772398”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/124-00000092”, “OUTBOUND_GROUP=OUT_6”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/124-00000092”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/124-00000092”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/124-00000092”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/124-00000092”, “outbound-callerid,6”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/124-00000092”, “0?Set(REALCALLERIDNUM=124)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/124-00000092”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/124-00000092”, “USEROUTCID=6029714438 (CHANGED)”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/124-00000092”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/124-00000092”, “TRUNKOUTCID=6029714438 (CHANGED)”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/124-00000092”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/124-00000092”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/124-00000092”, “CDR(outbound_cnum)=6029714438 (CHANGED)”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/124-00000092”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/124-00000092”, “1?sub-flp-6,s,1()”) in new stack
– Executing [s@sub-flp-6:1] ExecIf(“SIP/124-00000092”, “0?Set(TARGET_FLP_6=6028008772398)”) in new stack
– Executing [s@sub-flp-6:2] GotoIf(“SIP/124-00000092”, “0?match”) in new stack
– Executing [s@sub-flp-6:3] Return(“SIP/124-00000092”, “”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/124-00000092”, “OUTNUM=8008772398”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/124-00000092”, “custom=SIP/Out-2”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/124-00000092”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/124-00000092”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/124-00000092”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(num,i)=8008772398)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(name,i)=CID:6029714438 (CHANGED))”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/124-00000092”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/124-00000092”, “SIP/Out-2/8008772398,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/Out-2/8008772398
– SIP/Out-2-00000094 is making progress passing it to SIP/124-00000092
> 0xb59909f0 – Probation passed - setting RTP source address to 201.18.234.3:22398
– SIP/Out-2-00000094 answered SIP/124-00000092
> 0xb59909f0 – Probation passed - setting RTP source address to 201.18.234.3:22398
[2015-02-09 11:03:11] WARNING[1788]: chan_sip.c:4020 retrans_pkt: Retransmission timeout reached on transmission [email protected] for seqno 2 (Critical Response) – See Home - Asterisk Documentation
Packet timed out after 6400ms with no response
[2015-02-09 11:03:11] WARNING[1788]: chan_sip.c:4020 retrans_pkt: Retransmission timeout reached on transmission [email protected] for seqno 2 (Critical Response) – See Home - Asterisk Documentation
Packet timed out after 6400ms with no response
[2015-02-09 11:03:11] WARNING[1788]: chan_sip.c:4049 retrans_pkt: Hanging up call [email protected] - no reply to our critical packet (see Home - Asterisk Documentation).
[2015-02-09 11:03:11] WARNING[1788]: chan_sip.c:4049 retrans_pkt: Hanging up call [email protected] - no reply to our critical packet (see Home - Asterisk Documentation).
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/124-00000092”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] ExecIf(“SIP/124-00000092”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
– Executing [s@macro-hangupcall:2] GotoIf(“SIP/124-00000092”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] ExecIf(“SIP/124-00000092”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:5] Hangup(“SIP/124-00000092”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘SIP/124-00000092’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/124-00000092’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/124-00000092’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 8008772398, 8) exited non-zero on ‘SIP/124-00000092’

Oh, I also found that restarting the phone server temporarily fixes the issue.

Having the same problem, hangs up after roughly a minute. Inbound calls not working