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 [[email protected]:1] Macro(“SIP/124-00000092”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]-user-callerid:1] Set(“SIP/124-00000092”, “TOUCH_MONITOR=1423504950.193”) in new stack
– Executing [[email protected]:2] Set(“SIP/124-00000092”, “AMPUSER=124”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/124-00000092”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/124-00000092”, “1?Set(REALCALLERIDNUM=124)”) in new stack
– Executing [[email protected]:5] Set(“SIP/124-00000092”, “AMPUSER=124”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/124-00000092”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“SIP/124-00000092”, “AMPUSERCIDNAME=Billy Bob”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/124-00000092”, “0?report”) in new stack
– Executing [[email protected]:9] Set(“SIP/124-00000092”, “AMPUSERCID=124”) in new stack
– Executing [[email protected]:10] Set(“SIP/124-00000092”, “__DIAL_OPTIONS=tr”) in new stack
– Executing [[email protected]:11] Set(“SIP/124-00000092”, “CALLERID(all)=“Billy Bob” <124>”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/124-00000092”, “0?limit”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/124-00000092”, “1?Set(GROUP(concurrency_limit)=124)”) in new stack
– Executing [[email protected]:14] GosubIf(“SIP/124-00000092”, “7?sub-ccss,s,1(from-internal,8008772398)”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/124-00000092”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“SIP/124-00000092”, “CCSS_SETUP=TRUE”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/124-00000092”, “0?monitor_config,1(from-internal,8008772398):monitor_default,1(from-internal,8008772398)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/124-00000092”, “0?is_exten”) in new stack
– Executing [[email protected]:2] StackPop(“SIP/124-00000092”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/124-00000092”, “FALSE”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/124-00000092”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/124-00000092”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [[email protected]:30] Set(“SIP/124-00000092”, “CALLERID(number)=124”) in new stack
– Executing [[email protected]:31] Set(“SIP/124-00000092”, “CALLERID(name)=Billy Bob”) in new stack
– Executing [[email protected]:32] Set(“SIP/124-00000092”, “CDR(cnum)=124”) in new stack
– Executing [[email protected]:33] Set(“SIP/124-00000092”, “CDR(cnam)=Billy Bob”) in new stack
– Executing [[email protected]:34] Set(“SIP/124-00000092”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/124-00000092”, “sub-record-check,s,1(out,8008772398,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/124-00000092”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“SIP/124-00000092”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“SIP/124-00000092”, “NOW=1423504950”) in new stack
– Executing [[email protected]:4] Set(“SIP/124-00000092”, “__DAY=09”) in new stack
– Executing [[email protected]:5] Set(“SIP/124-00000092”, “__MONTH=02”) in new stack
– Executing [[email protected]:6] Set(“SIP/124-00000092”, “__YEAR=2015”) in new stack
– Executing [[email protected]:7] Set(“SIP/124-00000092”, “__TIMESTR=20150209-110230”) in new stack
– Executing [[email protected]:8] Set(“SIP/124-00000092”, “__FROMEXTEN=124”) in new stack
– Executing [[email protected]:9] Set(“SIP/124-00000092”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/124-00000092”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/124-00000092”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“SIP/124-00000092”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/124-00000092”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/124-00000092”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“SIP/124-00000092”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] NoOp(“SIP/124-00000092”, “Outbound Recording Check from 124 to 8008772398”) in new stack
– Executing [[email protected]:2] Set(“SIP/124-00000092”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/124-00000092”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“SIP/124-00000092”, “recordcheck,1(dontcare,out,8008772398)”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/124-00000092”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/124-00000092”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“SIP/124-00000092”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/124-00000092”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/124-00000092”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“SIP/124-00000092”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:5] ExecIf(“SIP/124-00000092”, “0?Set(TRUNKCIDOVERRIDE=6029714438 (CHANGED))”) in new stack
– Executing [[email protected]:6] Set(“SIP/124-00000092”, “_NODEST=”) in new stack
– Executing [[email protected]:7] Macro(“SIP/124-00000092”, “dialout-trunk,5,8008772398,on”) in new stack
– Executing [[email protected]:1] Set(“SIP/124-00000092”, “DIAL_TRUNK=5”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/124-00000092”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/124-00000092”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/124-00000092”, “DIAL_NUMBER=8008772398”) in new stack
– Executing [[email protected]:5] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“SIP/124-00000092”, “OUTBOUND_GROUP=OUT_5”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/124-00000092”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/124-00000092”, “0?chanfull”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/124-00000092”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“SIP/124-00000092”, “outbound-callerid,5”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/124-00000092”, “0?Set(REALCALLERIDNUM=124)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/124-00000092”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/124-00000092”, “USEROUTCID=6029714438 (CHANGED)”) in new stack
– Executing [[email protected]:7] Set(“SIP/124-00000092”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/124-00000092”, “TRUNKOUTCID=6029714438 (CHANGED)”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/124-00000092”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/124-00000092”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“SIP/124-00000092”, “CDR(outbound_cnum)=6029714438 (CHANGED)”) in new stack
– Executing [[email protected]:19] Set(“SIP/124-00000092”, “CDR(outbound_cnam)=”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/124-00000092”, “1?sub-flp-5,s,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/124-00000092”, “0?Set(TARGET_FLP_5=6028008772398)”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/124-00000092”, “0?match”) in new stack
– Executing [[email protected]:3] Return(“SIP/124-00000092”, “”) in new stack
– Executing [[email protected]:13] Set(“SIP/124-00000092”, “OUTNUM=8008772398”) in new stack
– Executing [[email protected]:14] Set(“SIP/124-00000092”, “custom=SIP/Out-1”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/124-00000092”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/124-00000092”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/124-00000092”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(num,i)=8008772398)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(name,i)=CID:6029714438 (CHANGED))”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/124-00000092”, “0?customtrunk”) in new stack
– Executing [[email protected]: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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [[email protected]:23] NoOp(“SIP/124-00000092”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18”) in new stack
– Executing [[email protected]:24] GotoIf(“SIP/124-00000092”, “1?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [[email protected]:1] NoOp(“SIP/124-00000092”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 18 - failing through to other trunks”) in new stack
– Executing [[email protected]:2] Set(“SIP/124-00000092”, “CALLERID(number)=124”) in new stack
– Executing [[email protected]:8] Macro(“SIP/124-00000092”, “dialout-trunk,6,8008772398,on”) in new stack
– Executing [[email protected]:1] Set(“SIP/124-00000092”, “DIAL_TRUNK=6”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/124-00000092”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/124-00000092”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/124-00000092”, “DIAL_NUMBER=8008772398”) in new stack
– Executing [[email protected]:5] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“SIP/124-00000092”, “OUTBOUND_GROUP=OUT_6”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/124-00000092”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/124-00000092”, “0?chanfull”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/124-00000092”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/124-00000092”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“SIP/124-00000092”, “outbound-callerid,6”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/124-00000092”, “0?Set(REALCALLERIDNUM=124)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/124-00000092”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/124-00000092”, “USEROUTCID=6029714438 (CHANGED)”) in new stack
– Executing [[email protected]:7] Set(“SIP/124-00000092”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/124-00000092”, “TRUNKOUTCID=6029714438 (CHANGED)”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/124-00000092”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/124-00000092”, “1?Set(CALLERID(all)=6029714438 (CHANGED))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/124-00000092”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/124-00000092”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“SIP/124-00000092”, “CDR(outbound_cnum)=6029714438 (CHANGED)”) in new stack
– Executing [[email protected]:19] Set(“SIP/124-00000092”, “CDR(outbound_cnam)=”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/124-00000092”, “1?sub-flp-6,s,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/124-00000092”, “0?Set(TARGET_FLP_6=6028008772398)”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/124-00000092”, “0?match”) in new stack
– Executing [[email protected]:3] Return(“SIP/124-00000092”, “”) in new stack
– Executing [[email protected]:13] Set(“SIP/124-00000092”, “OUTNUM=8008772398”) in new stack
– Executing [[email protected]:14] Set(“SIP/124-00000092”, “custom=SIP/Out-2”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/124-00000092”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/124-00000092”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/124-00000092”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/124-00000092”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(num,i)=8008772398)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/124-00000092”, “1?Set(CONNECTEDLINE(name,i)=CID:6029714438 (CHANGED))”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/124-00000092”, “0?customtrunk”) in new stack
– Executing [[email protected]: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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[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 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
– Executing [[email protected]:1] Macro(“SIP/124-00000092”, “hangupcall,”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/124-00000092”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/124-00000092”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] ExecIf(“SIP/124-00000092”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]: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