Appel sortant time out au bout de plusieurs minutes obligé de redemarrer

Bonjour à tous,
Je suis nouveau sur ce forum et j’ai besoin de votre aide si possible,
j’ai cherché à régler un problème d’appel sortant qui n’est plus possible au bout de quelques minutes sans appel, le système répond impossible d’appeler car occupé.
Pourriez-vous m’indiquer comment faire
Ma configuration : freebpx16.03
Trunk : SIP Free Pro configuré en SIP Trunk - pjsip :
SIP Server : sip de freepro
Context : from-pstn
J’ai personnalisé le port udp SIP pour éviter le 5060
Merci d’avance à ceux qui peuvent m’aider
PS. Les appels sortant fonctionnent bien après avoir redémarrer le serveur mais se met en occupé au bout de quelques temps et on est obligé de redémarrer
Ricou

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug

You are quite likely to have to combine this with the use of the CLI command “pjsip set logger on”.

The message you are getting is a general failure. Without the logs, one can only guess at the underlying cause. However a common cause of this is that contact has stopped replying to OPTIONS requests, used to test connectivity, and this is, in turn, often due to temporary NAT or firewall rules expiring in a router.

Bonjour David,
Thanks a lot for you answer ! I apologise for my English speaking :smiling_face_with_tear:
Let me send to you the log of error :
[2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“PJSIP/11-0000002a”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks”) in new stack
9199 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf(“PJSIP/11-0000002a”, “1?Set(CALLERID(number)=11)”) in new stack
9200 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:12] Macro(“PJSIP/11-0000002a”, “dialout-trunk,1,0624287141,on”) in new stack
9201 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/11-0000002a”, “DIAL_TRUNK=1”) in new stack
9202 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/11-0000002a”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
9203 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/11-0000002a”, “0?sub-pincheck,s,1()”) in new stack
9204 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(num)=11)”) in new stack
9205 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/11-0000002a”, “1?disabletrunk,1”) in new stack
9206 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-dialout-trunk,disabletrunk,1)
9207 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [disabletrunk@macro-dialout-trunk:1] NoOp(“PJSIP/11-0000002a”, “TRUNK: PJSIP DISABLED - falling through to next trunk”) in new stack
9208 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:13] Macro(“PJSIP/11-0000002a”, “outisbusy,”) in new stack
9209 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outisbusy:1] Progress(“PJSIP/11-0000002a”, “”) in new stack
9210 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outisbusy:2] GotoIf(“PJSIP/11-0000002a”, “0?emergency,1”) in new stack
9211 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outisbusy:3] GotoIf(“PJSIP/11-0000002a”, “0?intracompany,1”) in new stack
9212 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outisbusy:4] Playback(“PJSIP/11-0000002a”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack

It has already failed before your log starts.

9018 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:1] Macro(“PJSIP/11-0000002a”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
9019 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/11-0000002a”, “TOUCH_MONITOR=1679070479.42”) in new stack
9020 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/11-0000002a”, “CHANCONTEXT=”) in new stack
9021 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:3] Progress(“PJSIP/11-0000002a”, “”) in new stack
9022 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/11-0000002a”, “CHANCONTEXT=”) in new stack
9023 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/11-0000002a”, “CHANEXTENCONTEXT=11-0000002a”) in new stack
9024 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:6] Set(“PJSIP/11-0000002a”, “CHANEXTEN=11-0000002a”) in new stack
9025 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/11-0000002a”, “CALLERID(number)=11”) in new stack
9026 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:8] Set(“PJSIP/11-0000002a”, “AMPUSER=11”) in new stack
9027 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:9] Set(“PJSIP/11-0000002a”, “HOTDESCKCHAN=11-0000002a”) in new stack
9028 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/11-0000002a”, “HOTDESKEXTEN=11”) in new stack
9029 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/11-0000002a”, “HOTDESKCALL=0”) in new stack
9030 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/11-0000002a”, “0?Set(HOTDESKCALL=1)”) in new stack
9031 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(name)=)”) in new stack
9032 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/11-0000002a”, “0?report”) in new stack
9033 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“PJSIP/11-0000002a”, “1?Set(REALCALLERIDNUM=11)”) in new stack
9034 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:16] Set(“PJSIP/11-0000002a”, “AMPUSER=11”) in new stack
9035 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“PJSIP/11-0000002a”, “0?limit”) in new stack
9036 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:18] Set(“PJSIP/11-0000002a”, “AMPUSERCIDNAME=Accueil”) in new stack
9037 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:19] ExecIf(“PJSIP/11-0000002a”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
9038 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:20] GotoIf(“PJSIP/11-0000002a”, “0?report”) in new stack
9039 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:21] Set(“PJSIP/11-0000002a”, “AMPUSERCID=11”) in new stack
9040 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:22] Set(“PJSIP/11-0000002a”, “__DIAL_OPTIONS=HhTtr”) in new stack
9041 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:23] Set(“PJSIP/11-0000002a”, “CALLERID(all)=“Accueil” <11>”) in new stack
9042 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:24] ExecIf(“PJSIP/11-0000002a”, “0?Set(CUSDIAL=)”) in new stack
9043 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:25] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(all)=“Accueil” <11>)”) in new stack
9044 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:26] GotoIf(“PJSIP/11-0000002a”, “0?limit”) in new stack
9045 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:27] ExecIf(“PJSIP/11-0000002a”, “1?Set(GROUP(concurrency_limit)=11)”) in new stack
9046 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:28] ExecIf(“PJSIP/11-0000002a”, “1?Set(CHANNEL(language)=fr)”) in new stack
9047 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:29] NoOp(“PJSIP/11-0000002a”, “Macro Depth is 1”) in new stack
9048 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/11-0000002a”, “1?report2:macroerror”) in new stack
9049 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-user-callerid,s,31)
9050 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“PJSIP/11-0000002a”, “1?continue”) in new stack
9051 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-user-callerid,s,50)
9052 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:50] Set(“PJSIP/11-0000002a”, “CALLERID(number)=11”) in new stack
9053 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:51] Set(“PJSIP/11-0000002a”, “CALLERID(name)=Accueil”) in new stack
9054 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:52] GotoIf(“PJSIP/11-0000002a”, “0?cnum”) in new stack
9055 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:53] Set(“PJSIP/11-0000002a”, “CDR(cnam)=Accueil”) in new stack
9056 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:54] Set(“PJSIP/11-0000002a”, “CDR(cnum)=11”) in new stack
9057 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-user-callerid:55] Set(“PJSIP/11-0000002a”, “CHANNEL(language)=fr”) in new stack
9058 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:2] Gosub(“PJSIP/11-0000002a”, “sub-record-check,s,1(out,0624287141,dontcare)”) in new stack
9059 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/11-0000002a”, “0?initialized”) in new stack
9060 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/11-0000002a”, “__REC_STATUS=INITIALIZED”) in new stack
9061 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/11-0000002a”, “NOW=1679070480”) in new stack
9062 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/11-0000002a”, “__DAY=17”) in new stack
9063 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/11-0000002a”, “__MONTH=03”) in new stack
9064 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/11-0000002a”, “__YEAR=2023”) in new stack
9065 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/11-0000002a”, “__TIMESTR=20230317-172800”) in new stack
9066 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/11-0000002a”, “__FROMEXTEN=11”) in new stack
9067 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/11-0000002a”, “__MON_FMT=wav”) in new stack
9068 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/11-0000002a”, “Recordings initialized”) in new stack
9069 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/11-0000002a”, “0?Set(ARG3=dontcare)”) in new stack
9070 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/11-0000002a”, “REC_POLICY_MODE_SAVE=”) in new stack
9071 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/11-0000002a”, “0?Set(REC_STATUS=NO)”) in new stack
9072 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/11-0000002a”, “3?checkaction”) in new stack
9073 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (sub-record-check,s,17)
9074 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/11-0000002a”, “1?sub-record-check,out,1”) in new stack
9075 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (sub-record-check,out,1)
9076 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/11-0000002a”, “Outbound Recording Check from 11 to 0624287141”) in new stack
9077 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/11-0000002a”, “RECMODE=dontcare”) in new stack
9078 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/11-0000002a”, “1?Goto(routewins)”) in new stack
9079 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (sub-record-check,out,7)
9080 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/11-0000002a”, “recordcheck,1(dontcare,out,0624287141)”) in new stack
9081 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/11-0000002a”, “Starting recording check against dontcare”) in new stack
9082 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/11-0000002a”, “dontcare”) in new stack
9083 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
9084 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/11-0000002a”, “”) in new stack
9085 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/11-0000002a”, “”) in new stack
9086 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:3] ExecIf(“PJSIP/11-0000002a”, “0 ?Set(CDR(accountcode)=)”) in new stack
9087 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:4] Set(“PJSIP/11-0000002a”, “_ROUTEID=2”) in new stack
9088 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:5] Set(“PJSIP/11-0000002a”, “_ROUTENAME=Free_Pro”) in new stack
9089 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:6] Set(“PJSIP/11-0000002a”, “MOHCLASS=default”) in new stack
9090 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:7] Set(“PJSIP/11-0000002a”, “_CALLERIDNAMEINTERNAL=Accueil”) in new stack
9091 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:8] Set(“PJSIP/11-0000002a”, “_CALLERIDNUMINTERNAL=11”) in new stack
9092 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:9] Set(“PJSIP/11-0000002a”, “_EMAILNOTIFICATION=FALSE”) in new stack
9093 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:10] Set(“PJSIP/11-0000002a”, “_NODEST=”) in new stack
9094 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [0624287141@from-internal:11] Macro(“PJSIP/11-0000002a”, “dialout-trunk,2,0624287141,off”) in new stack
9095 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/11-0000002a”, “DIAL_TRUNK=2”) in new stack
9096 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/11-0000002a”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
9097 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/11-0000002a”, “0?sub-pincheck,s,1()”) in new stack
9098 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(num)=11)”) in new stack
9099 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/11-0000002a”, “0?disabletrunk,1”) in new stack
9100 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/11-0000002a”, “DIAL_NUMBER=0624287141”) in new stack
9101 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/11-0000002a”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
9102 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/11-0000002a”, “OUTBOUND_GROUP=OUT_2”) in new stack
9103 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/11-0000002a”, “DIAL_TRUNK_OPTIONS=T”) in new stack
9104 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/11-0000002a”, “1?nomax”) in new stack
9105 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
9106 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/11-0000002a”, “0?skipoutcid”) in new stack
9107 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/11-0000002a”, “outbound-callerid,2”) in new stack
9108 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/11-0000002a”, “11”) in new stack
9109 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/11-0000002a”, “”) in new stack
9110 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/11-0000002a”, “off”) in new stack
9111 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(name-pres)=)”) in new stack
9112 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(num-pres)=)”) in new stack
9113 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“PJSIP/11-0000002a”, “HOTDESCKCHAN=11-0000002a”) in new stack
9114 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“PJSIP/11-0000002a”, “HOTDESKEXTEN=11”) in new stack
9115 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“PJSIP/11-0000002a”, “HOTDESKCALL=0”) in new stack
9116 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/11-0000002a”, “0?Set(HOTDESKCALL=1)”) in new stack
9117 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(name)=)”) in new stack
9118 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“PJSIP/11-0000002a”, “ALLOWTHISROUTE=NO”) in new stack
9119 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/11-0000002a”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
9120 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/11-0000002a”, “0?Hangup()”) in new stack
9121 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/11-0000002a”, “0?Set(REALCALLERIDNUM=11)”) in new stack
9122 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/11-0000002a”, “0?Set(AMPUSER=11)”) in new stack
9123 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/11-0000002a”, “1?normcid”) in new stack
9124 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
9125 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“PJSIP/11-0000002a”, “USEROUTCID=”) in new stack
9126 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“PJSIP/11-0000002a”, “EMERGENCYCID=”) in new stack
9127 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/11-0000002a”, “0?Set(SCDEXT=YES)”) in new stack
9128 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“PJSIP/11-0000002a”, “0?Set(EMERGENCYCID=)”) in new stack
9129 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(name)=)”) in new stack
9130 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:25] ExecIf(“PJSIP/11-0000002a”, “0?Set(EMERGENCYCID=)”) in new stack
9131 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:26] Set(“PJSIP/11-0000002a”, “TRUNKOUTCID=0974980963”) in new stack
9132 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:27] GotoIf(“PJSIP/11-0000002a”, “1?trunkcid”) in new stack
9133 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-outbound-callerid,s,33)
9134 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/11-0000002a”, “1?Set(CALLERID(all)=0974980963)”) in new stack
9135 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:34] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(all)=)”) in new stack
9136 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(all)=)”) in new stack
9137 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(all)=11)”) in new stack
9138 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(all)=11)”) in new stack
9139 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:38] Set(“PJSIP/11-0000002a”, “TIOHIDE=no”) in new stack
9140 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
9141 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:40] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
9142 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:41] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
9143 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:42] ExecIf(“PJSIP/11-0000002a”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
9144 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:43] Set(“PJSIP/11-0000002a”, “CDR(outbound_cnum)=0974980963”) in new stack
9145 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-outbound-callerid:44] Set(“PJSIP/11-0000002a”, “CDR(outbound_cnam)=”) in new stack
9146 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/11-0000002a”, “0?sub-flp-2,s,1()”) in new stack
9147 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/11-0000002a”, “OUTNUM=0624287141”) in new stack
9148 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“PJSIP/11-0000002a”, “custom=PJSIP”) in new stack
9149 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/11-0000002a”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
9150 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/11-0000002a”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
9151 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:19] GotoIf(“PJSIP/11-0000002a”, “1?gocall”) in new stack
9152 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-dialout-trunk,s,21)
9153 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:21] Macro(“PJSIP/11-0000002a”, “dialout-trunk-predial-hook,”) in new stack
9154 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/11-0000002a”, “”) in new stack
9155 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:22] GotoIf(“PJSIP/11-0000002a”, “0?skipcrm”) in new stack
9156 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:23] Set(“PJSIP/11-0000002a”, “__CRM_DIRECTION=OUTBOUND”) in new stack
9157 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:24] Set(“PJSIP/11-0000002a”, “__CRM_DESTINATION=0624287141”) in new stack
9158 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“PJSIP/11-0000002a”, “__CRM_SOURCE=11”) in new stack
9159 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:26] AGI(“PJSIP/11-0000002a”, “agi://127.0.0.1/sangomacrm.agi”) in new stack
9160 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] res_agi.c: <PJSIP/11-0000002a>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
9161 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:27] Set(“PJSIP/11-0000002a”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
9162 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:28] NoOp(“PJSIP/11-0000002a”, “CRM Finished”) in new stack
9163 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:29] GotoIf(“PJSIP/11-0000002a”, “0?bypass,1”) in new stack
9164 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf(“PJSIP/11-0000002a”, “1?Set(CONNECTEDLINE(num,i)=0624287141)”) in new stack
9165 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:31] ExecIf(“PJSIP/11-0000002a”, “1?Set(CONNECTEDLINE(name,i)=CID:0974980963)”) in new stack
9166 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf(“PJSIP/11-0000002a”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)0974980963)”) in new stack
9167 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:33] GotoIf(“PJSIP/11-0000002a”, “0?customtrunk”) in new stack
9168 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:34] ExecIf(“PJSIP/11-0000002a”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
9169 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:35] Set(“PJSIP/11-0000002a”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
9170 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:36] Dial(“PJSIP/11-0000002a”, “PJSIP/0624287141@Free_Pro,300,Tb(func-apply-sipheaders^s^1,(2))U(sub-send-obroute-email^0624287141^0624287141^2^1679070480^^0974980963)”) in new stack
9171 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] app_stack.c: PJSIP/Free_Pro-0000002b Internal Gosub(func-apply-sipheaders,s,1(2)) start
9172 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“PJSIP/Free_Pro-0000002b”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
9173 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“PJSIP/Free_Pro-0000002b”, “Applying SIP Headers to channel PJSIP/Free_Pro-0000002b”) in new stack
9174 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“PJSIP/Free_Pro-0000002b”, “TECH=PJSIP”) in new stack
9175 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:4] Set(“PJSIP/Free_Pro-0000002b”, “SIPHEADERKEYS=Alert-Info”) in new stack
9176 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:5] While(“PJSIP/Free_Pro-0000002b”, “1”) in new stack
9177 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:6] Set(“PJSIP/Free_Pro-0000002b”, “sipheader=unset”) in new stack
9178 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf(“PJSIP/Free_Pro-0000002b”, “1?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
9179 [2023-03-17 17:28:00] ERROR[17946] res_pjsip_header_funcs.c: No headers had been previously added to this session.
9180 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf(“PJSIP/Free_Pro-0000002b”, “0?Set(sipheader= info=unset)”) in new stack
9181 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf(“PJSIP/Free_Pro-0000002b”, “0?Set(sipheader=>unset)”) in new stack
9182 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf(“PJSIP/Free_Pro-0000002b”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
9183 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:11] EndWhile(“PJSIP/Free_Pro-0000002b”, “”) in new stack
9184 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:5] While(“PJSIP/Free_Pro-0000002b”, “0”) in new stack
9185 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@func-apply-sipheaders:12] Return(“PJSIP/Free_Pro-0000002b”, “”) in new stack
9186 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] app_stack.c: Spawn extension (from-pstn, 0624287141, 1) exited non-zero on ‘PJSIP/Free_Pro-0000002b’
9187 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] app_stack.c: PJSIP/Free_Pro-0000002b Internal Gosub(func-apply-sipheaders,s,1(2)) complete GOSUB_RETVAL=
9188 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] app_dial.c: Called PJSIP/0624287141@Free_Pro
9189 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
9190 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:37] NoOp(“PJSIP/11-0000002a”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21”) in new stack
9191 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s@macro-dialout-trunk:38] GotoIf(“PJSIP/11-0000002a”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
9192 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
9193 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“PJSIP/11-0000002a”, “RC=21”) in new stack
9194 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“PJSIP/11-0000002a”, “21,1”) in new stack
9195 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-dialout-trunk,21,1)
9196 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [21@macro-dialout-trunk:1] Goto(“PJSIP/11-0000002a”, “continue,1”) in new stack
9197 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
9198 [2023-03-17 17:28:00] VERBOSE[2197][C-00000014] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“PJSIP/11-0000002a”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks”) in new stack

This is all complete log

I think you will need “pjsip set logger on”, as well. I’m not completely sure whether it the remote side has rejected the call, or the OPTIONS test (qualify) has previously failed.

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