Retransmission timeout reached on transmission

Dear All,

I am unable to do external outgoing call, it drops after 6 seconds…
could anybody please help me out from this problem? :frowning:
many thanks in advance

Regards

[root@sip asterisk]# asterisk -rvvvv
Asterisk 1.8.23.0, Copyright © 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 1.8.23.0 currently running on sip (pid = 12690)
Verbosity is at least 4
– Remote UNIX connection
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [90817145779@from-internal:1] Macro(“SIP/910-00000003”, “user-callerid,LIMIT,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/910-00000003”, “TOUCH_MONITOR=1375418990.6”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/910-00000003”, “AMPUSER=910”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/910-00000003”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/910-00000003”, “1?Set(REALCALLERIDNUM=910)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/910-00000003”, “AMPUSER=910”) in new stack
– Executing [s@macro-user-callerid:6] Set(“SIP/910-00000003”, “AMPUSERCIDNAME=910”) in new stack
– Executing [s@macro-user-callerid:7] GotoIf(“SIP/910-00000003”, “0?report”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/910-00000003”, “AMPUSERCID=910”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/910-00000003”, “__DIAL_OPTIONS=trWw”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/910-00000003”, “CALLERID(all)=“910” <910>”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/910-00000003”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“SIP/910-00000003”, “1?Set(GROUP(concurrency_limit)=910)”) in new stack
– Executing [s@macro-user-callerid:13] GosubIf(“SIP/910-00000003”, “7?sub-ccss,s,1(from-internal,90817145779)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/910-00000003”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/910-00000003”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/910-00000003”, “0?monitor_config,1(from-internal,90817145779):monitor_default,1(from-internal,90817145779)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/910-00000003”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/910-00000003”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/910-00000003”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/910-00000003”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,27)
– Executing [s@macro-user-callerid:27] Set(“SIP/910-00000003”, “CALLERID(number)=910”) in new stack
– Executing [s@macro-user-callerid:28] Set(“SIP/910-00000003”, “CALLERID(name)=910”) in new stack
– Executing [s@macro-user-callerid:29] Set(“SIP/910-00000003”, “CDR(cnum)=910”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/910-00000003”, “CDR(cnam)=910”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/910-00000003”, “CHANNEL(language)=en”) in new stack
– Executing [90817145779@from-internal:2] Set(“SIP/910-00000003”, “MOHCLASS=default”) in new stack
– Executing [90817145779@from-internal:3] Set(“SIP/910-00000003”, “_NODEST=”) in new stack
– Executing [90817145779@from-internal:4] Gosub(“SIP/910-00000003”, “sub-record-check,s,1(out,90817145779,)”) in new stack
– Executing [s@sub-record-check:1] Set(“SIP/910-00000003”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“SIP/910-00000003”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“SIP/910-00000003”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/910-00000003”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“SIP/910-00000003”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“SIP/910-00000003”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“SIP/910-00000003”, “0?out,1”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/910-00000003”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/910-00000003”, “NOW=1375418990”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/910-00000003”, “__DAY=02”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/910-00000003”, “__MONTH=08”) in new stack
– Executing [s@sub-record-check:18] Set(“SIP/910-00000003”, “__YEAR=2013”) in new stack
– Executing [s@sub-record-check:19] Set(“SIP/910-00000003”, “__TIMESTR=20130802-114950”) in new stack
– Executing [s@sub-record-check:20] Set(“SIP/910-00000003”, “__FROMEXTEN=910”) in new stack
– Executing [s@sub-record-check:21] Set(“SIP/910-00000003”, “__CALLFILENAME=out-90817145779-910-20130802-114950-1375418990.6”) in new stack
– Executing [s@sub-record-check:22] Goto(“SIP/910-00000003”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“SIP/910-00000003”, “1?Set(__REC_POLICY_MODE=always)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“SIP/910-00000003”, “1?record,1(exten,90817145779,910)”) in new stack
– Executing [record@sub-record-check:1] Set(“SIP/910-00000003”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
– Executing [record@sub-record-check:2] MixMonitor(“SIP/910-00000003”, “2013/08/02/out-90817145779-910-20130802-114950-1375418990.6.wav,”) in new stack
– Executing [record@sub-record-check:3] Set(“SIP/910-00000003”, “__REC_STATUS=RECORDING”) in new stack
– Executing [record@sub-record-check:4] Set(“SIP/910-00000003”, “CDR(recordingfile)=out-90817145779-910-20130802-114950-1375418990.6.wav”) in new stack
– Executing [record@sub-record-check:5] Return(“SIP/910-00000003”, “”) in new stack
== Begin MixMonitor Recording SIP/910-00000003
– Executing [out@sub-record-check:3] Return(“SIP/910-00000003”, “”) in new stack
– Executing [90817145779@from-internal:5] Macro(“SIP/910-00000003”, “dialout-trunk,1,0817145779,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/910-00000003”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/910-00000003”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/910-00000003”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/910-00000003”, “DIAL_NUMBER=0817145779”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/910-00000003”, “DIAL_TRUNK_OPTIONS=trWw”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/910-00000003”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/910-00000003”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/910-00000003”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/910-00000003”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/910-00000003”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/910-00000003”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/910-00000003”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/910-00000003”, “0?Set(REALCALLERIDNUM=910)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/910-00000003”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/910-00000003”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/910-00000003”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/910-00000003”, “TRUNKOUTCID=g0”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/910-00000003”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/910-00000003”, “1?Set(CALLERID(all)=g0)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/910-00000003”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/910-00000003”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/910-00000003”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/910-00000003”, “CDR(outbound_cnum)=”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/910-00000003”, “CDR(outbound_cnam)=g0”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/910-00000003”, “0?sub-flp-1,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/910-00000003”, “OUTNUM=0817145779”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/910-00000003”, “custom=DAHDI/g0”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/910-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/910-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/910-00000003”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/910-00000003”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/910-00000003”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/910-00000003”, “1?Set(CONNECTEDLINE(num,i)=0817145779)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/910-00000003”, “1?Set(CONNECTEDLINE(name,i)=CID:)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/910-00000003”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/910-00000003”, “DAHDI/g0/0817145779,300,”) in new stack
– Called DAHDI/g0/0817145779
– DAHDI/1-1 answered SIP/910-00000003
[2013-08-02 11:50:01] WARNING[12706]: chan_sip.c:3982 retrans_pkt: Retransmission timeout reached on transmission ZDk4MjE4NjE5ZmRhYTVlY2NmYWRjMjUwMDI2NmU1ODg. for seqno 2 (Critical Response) – See wiki.asterisk.org/wiki/display/ … nsmissions
Packet timed out after 6466ms with no response
[2013-08-02 11:50:01] WARNING[12706]: chan_sip.c:3982 retrans_pkt: Retransmission timeout reached on transmission ZDk4MjE4NjE5ZmRhYTVlY2NmYWRjMjUwMDI2NmU1ODg. for seqno 2 (Critical Response) – See wiki.asterisk.org/wiki/display/ … nsmissions
Packet timed out after 6466ms with no response
[2013-08-02 11:50:01] WARNING[12706]: chan_sip.c:4011 retrans_pkt: Hanging up call ZDk4MjE4NjE5ZmRhYTVlY2NmYWRjMjUwMDI2NmU1ODg. - no reply to our critical packet (see wiki.asterisk.org/wiki/display/ … nsmissions).
[2013-08-02 11:50:01] WARNING[12706]: chan_sip.c:4011 retrans_pkt: Hanging up call ZDk4MjE4NjE5ZmRhYTVlY2NmYWRjMjUwMDI2NmU1ODg. - no reply to our critical packet (see wiki.asterisk.org/wiki/display/ … nsmissions).
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/910-00000003”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/910-00000003”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/910-00000003”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/910-00000003”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/910-00000003’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/910-00000003’
– Hanging up on ‘DAHDI/1-1’
– Hungup ‘DAHDI/1-1’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/910-00000003’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 90817145779, 5) exited non-zero on ‘SIP/910-00000003’
== MixMonitor close filestream
== End MixMonitor Recording SIP/910-00000003
sip*CLI>

The retransmission error is because your sip peer can’t answer the correctly to your asterisk server, so this common issue is related to NAT settings or router issues with sip alg or SPI. Since your cli output suggest you are using freepbx you need to check first the NAT settings for the PBX and the peer then check your router configs.

yes, you are correct… this problem occurs because of NAT :smile:

thanks a lot !