TRUNK dial failed due to CoONGESTION HANGUPCAUSE: 21

Hi,
last days i have been trying to solve this by looking to other post but this seems imposible the thing is that the inbound calls work perfectly but then when i try to call it pop ups inmediatly error, then i look in the log of asterisk and then i see this: (complete call issue)

[2018-08-15 09:36:47] VERBOSE[2128][C-00000054] netsock2.c: == Using SIP RTP TOS bits 184
[2018-08-15 09:36:47] VERBOSE[2128][C-00000054] netsock2.c: == Using SIP RTP CoS mark 5
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:1] Macro(“SIP/1279-00000091”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/1279-00000091”, “TOUCH_MONITOR=1534336607.155”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/1279-00000091”, “AMPUSER=1279”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/1279-00000091”, “0?report”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/1279-00000091”, “1?Set(REALCALLERIDNUM=1279)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/1279-00000091”, “AMPUSER=1279”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/1279-00000091”, “0?limit”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/1279-00000091”, “AMPUSERCIDNAME=Juan Fardaus”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/1279-00000091”, “0?report”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:9] Set(“SIP/1279-00000091”, “AMPUSERCID=1279”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:10] Set(“SIP/1279-00000091”, “__DIAL_OPTIONS=Ttr”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:11] Set(“SIP/1279-00000091”, “CALLERID(all)=“Juan Fardaus” <1279>”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:12] GotoIf(“SIP/1279-00000091”, “0?limit”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:13] ExecIf(“SIP/1279-00000091”, “1?Set(GROUP(concurrency_limit)=1279)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:14] ExecIf(“SIP/1279-00000091”, “0?Set(CHANNEL(language)=)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:15] GotoIf(“SIP/1279-00000091”, “1?continue”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (macro-user-callerid,s,28)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:28] Set(“SIP/1279-00000091”, “CALLERID(number)=1279”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:29] Set(“SIP/1279-00000091”, “CALLERID(name)=Juan Fardaus”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:30] GotoIf(“SIP/1279-00000091”, “0?cnum”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:31] Set(“SIP/1279-00000091”, “CDR(cnam)=Juan Fardaus”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/1279-00000091”, “CDR(cnum)=1279”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/1279-00000091”, “CHANNEL(language)=ar”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:2] Gosub(“SIP/1279-00000091”, “sub-record-check,s,1(out,1557314486,dontcare)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/1279-00000091”, “0?initialized”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/1279-00000091”, “__REC_STATUS=INITIALIZED”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/1279-00000091”, “NOW=1534336607”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/1279-00000091”, “__DAY=15”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/1279-00000091”, “__MONTH=08”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/1279-00000091”, “__YEAR=2018”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/1279-00000091”, “__TIMESTR=20180815-093647”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/1279-00000091”, “__FROMEXTEN=1279”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/1279-00000091”, “__MON_FMT=wav”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/1279-00000091”, “Recordings initialized”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/1279-00000091”, “0?Set(ARG3=dontcare)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/1279-00000091”, “REC_POLICY_MODE_SAVE=”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:13] ExecIf(“SIP/1279-00000091”, “0?Set(REC_STATUS=NO)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:14] GotoIf(“SIP/1279-00000091”, “3?checkaction”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (sub-record-check,s,17)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-record-check:17] GotoIf(“SIP/1279-00000091”, “1?sub-record-check,out,1”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (sub-record-check,out,1)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [out@sub-record-check:1] NoOp(“SIP/1279-00000091”, “Outbound Recording Check from 1279 to 1557314486”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [out@sub-record-check:2] Set(“SIP/1279-00000091”, “RECMODE=dontcare”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [out@sub-record-check:3] ExecIf(“SIP/1279-00000091”, “1?Goto(routewins)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (sub-record-check,out,7)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [out@sub-record-check:7] Gosub(“SIP/1279-00000091”, “recordcheck,1(dontcare,out,1557314486)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/1279-00000091”, “Starting recording check against dontcare”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/1279-00000091”, “dontcare”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (sub-record-check,recordcheck,3)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [recordcheck@sub-record-check:3] Return(“SIP/1279-00000091”, “”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [out@sub-record-check:8] Return(“SIP/1279-00000091”, “”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:3] Set(“SIP/1279-00000091”, “ROUTE_CIDSAVE=“Juan Fardaus” <1279>”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:4] Set(“SIP/1279-00000091”, “MOHCLASS=none”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:5] ExecIf(“SIP/1279-00000091”, “1?Set(TRUNKCIDOVERRIDE=PRIVADO)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:6] Set(“SIP/1279-00000091”, “_NODEST=”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:7] Macro(“SIP/1279-00000091”, “dialout-trunk,2,1557314486,off”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/1279-00000091”, “DIAL_TRUNK=2”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/1279-00000091”, “0?sub-pincheck,s,1()”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/1279-00000091”, “0?disabletrunk,1”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/1279-00000091”, “DIAL_NUMBER=1557314486”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/1279-00000091”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/1279-00000091”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/1279-00000091”, “0?nomax”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/1279-00000091”, “0?chanfull”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/1279-00000091”, “0?skipoutcid”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/1279-00000091”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/1279-00000091”, “outbound-callerid,2”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/1279-00000091”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/1279-00000091”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:3] ExecIf(“SIP/1279-00000091”, “0?Set(REALCALLERIDNUM=1279)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:4] GotoIf(“SIP/1279-00000091”, “1?normcid”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (macro-outbound-callerid,s,7)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/1279-00000091”, “USEROUTCID=“Juan Fardaus”<01132201279>”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/1279-00000091”, “EMERGENCYCID=”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:9] Set(“SIP/1279-00000091”, “TRUNKOUTCID=hidden”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:10] GotoIf(“SIP/1279-00000091”, “1?trunkcid”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (macro-outbound-callerid,s,15)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/1279-00000091”, “1?Set(CALLERID(all)=hidden)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/1279-00000091”, “1?Set(CALLERID(all)=“Juan Fardaus”<01132201279>)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/1279-00000091”, “1?Set(CALLERID(all)=PRIVADO)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:18] ExecIf(“SIP/1279-00000091”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:19] ExecIf(“SIP/1279-00000091”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:20] Set(“SIP/1279-00000091”, “CDR(outbound_cnum)=”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-outbound-callerid:21] Set(“SIP/1279-00000091”, “CDR(outbound_cnam)=PRIVADO”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/1279-00000091”, “1?sub-flp-2,s,1()”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@sub-flp-2:1] ExecIf(“SIP/1279-00000091”, “1?Return()”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/1279-00000091”, “OUTNUM=1557314486”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/1279-00000091”, “custom=SIP/MTEL-OUT”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/1279-00000091”, “1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)T)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/1279-00000091”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)TM(confirm))”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/1279-00000091”, “dialout-trunk-predial-hook,”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/1279-00000091”, “”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/1279-00000091”, “0?bypass,1”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/1279-00000091”, “1?Set(CONNECTEDLINE(num,i)=1557314486)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/1279-00000091”, “1?Set(CONNECTEDLINE(name,i)=CID:)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/1279-00000091”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden))”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:22] GotoIf(“SIP/1279-00000091”, “0?customtrunk”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:23] Dial(“SIP/1279-00000091”, “SIP/MTEL-OUT/1557314486,300,M(setmusic^none)T”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] netsock2.c: == Using SIP RTP TOS bits 184
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] netsock2.c: == Using SIP RTP CoS mark 5
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] app_dial.c: – Called SIP/MTEL-OUT/1557314486
[2018-08-15 09:36:47] NOTICE[2128][C-00000054] chan_sip.c: Failed to authenticate on INVITE to ‘“PRIVADO” sip:[email protected];tag=as524ccbea’
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] app_dial.c: – SIP/MTEL-OUT-00000092 is circuit-busy
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:24] NoOp(“SIP/1279-00000091”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 21”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s@macro-dialout-trunk:25] GotoIf(“SIP/1279-00000091”, “0?continue,1:s-CONGESTION,1”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (macro-dialout-trunk,s-CONGESTION,1)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“SIP/1279-00000091”, “RC=21”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/1279-00000091”, “21,1”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (macro-dialout-trunk,21,1)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [21@macro-dialout-trunk:1] Goto(“SIP/1279-00000091”, “continue,1”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/1279-00000091”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 21 - failing through to other trunks”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [continue@macro-dialout-trunk:2] ExecIf(“SIP/1279-00000091”, “1?Set(CALLERID(number)=1279)”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:8] Set(“SIP/1279-00000091”, “CALLERID(all)=“Juan Fardaus” <1279>”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:9] Set(“SIP/1279-00000091”, “_KEEPCID=TRUE”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [1557314486@from-internal:10] Goto(“SIP/1279-00000091”, “app-blackhole,hangup,1”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Goto (app-blackhole,hangup,1)
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [hangup@app-blackhole:1] NoOp(“SIP/1279-00000091”, “Blackhole Dest: Hangup”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: – Executing [hangup@app-blackhole:2] Hangup(“SIP/1279-00000091”, “”) in new stack
[2018-08-15 09:36:47] VERBOSE[51395][C-00000054] pbx.c: == Spawn extension (app-blackhole, hangup, 2) exited non-zero on ‘SIP/1279-00000091’

TRUNK OUTGOING ONLY:

type=friend
trustrpid=no
sendrpid=yes
qualify=yes
port=5060
insecure=invite
host=trkXXXXXXXXXXXXXXX
fromuser=TRXXXXXXX
dtmfmode=rfc2833
disallow=all
context=from-pstn
canreinvite=no
call-limit=10
allow=alaw&ulaw&g729&gsm

Thank you for your time

“Failed to authenticate” probably means your trunk details are wrong.

could you tell me what could be wrong// or what should i do? i have already call my providers and they said its all okay

Your provider is responding to a SIP INVITE with “Failed to authenticate” and they consider that okay?

thanks for your quickly replay bro
it was a failure with the password on the trunk definition(secret)

See ya soon

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.