How to get dtmf code while calling?

Dear everyone
to make calling webphone with mobile phone, I processed some tasks.
i created pjsip two accounts and created outbound route too.
and i did other parts too.
I tested call.
it works.
while calling, I checked asterisk CLI.
in here, I can see [outrt-1] ; outcall , [macro-dialout-trunk] other dialplan.
current to get dtmf code, I gonna add my code into these.
but I am not sure the location…
if someone know , please help me.
will share dialplan and CLI log.

[outrt-1] ; outcall
include => outrt-1-custom
exten => _0044X.,1,Macro(user-callerid,LIMIT,EXTERNAL,)
exten => _0044X.,n,Gosub(sub-record-check,s,1(out,${EXTEN},dontcare))
exten => _0044X.,n,ExecIf($[ “${CALLEE_ACCOUNCODE}” != “” ] ?Set(CDR(accountcode)=${CALLEE_ACCOUNCODE}))
exten => _0044X.,n,Set(_ROUTEID=1)
exten => _0044X.,n,Set(_ROUTENAME=outcall)
exten => _0044X.,n,Set(MOHCLASS=${IF($[“${MOHCLASS}”=“”]?HM5:${MOHCLASS})})
exten => _0044X.,n,Set(_CALLERIDNAMEINTERNAL=${CALLERID(name)})
exten => _0044X.,n,Set(_CALLERIDNUMINTERNAL=${CALLERID(num)})
exten => _0044X.,n,Set(_EMAILNOTIFICATION=FALSE)
exten => _0044X.,n,Set(_NODEST=)
exten => _0044X.,n,Macro(dialout-trunk,2,99904${EXTEN},off)
exten => _0044X.,n,Macro(dialout-trunk,1,99904${EXTEN},off)
exten => _0044X.,n,Macro(outisbusy,)

exten => _44X.,1,Macro(user-callerid,LIMIT,EXTERNAL,)
exten => _44X.,n,Gosub(sub-record-check,s,1(out,${EXTEN},dontcare))
exten => _44X.,n,ExecIf($[ “${CALLEE_ACCOUNCODE}” != “” ] ?Set(CDR(accountcode)=${CALLEE_ACCOUNCODE}))
exten => _44X.,n,Set(_ROUTEID=1)
exten => _44X.,n,Set(_ROUTENAME=outcall)
exten => _44X.,n,Set(MOHCLASS=${IF($[“${MOHCLASS}”=“”]?HM5:${MOHCLASS})})
exten => _44X.,n,Set(_CALLERIDNAMEINTERNAL=${CALLERID(name)})
exten => _44X.,n,Set(_CALLERIDNUMINTERNAL=${CALLERID(num)})
exten => _44X.,n,Set(_EMAILNOTIFICATION=FALSE)
exten => _44X.,n,Set(_NODEST=)
exten => _44X.,n,Macro(dialout-trunk,2,99904${EXTEN},off)
exten => _44X.,n,Macro(dialout-trunk,1,99904${EXTEN},off)
exten => _44X.,n,Macro(outisbusy,)

;–== end of [outrt-1] ==–;

[macro-dialout-trunk]
include => macro-dialout-trunk-custom
exten => s,1,Set(DIAL_TRUNK=${ARG1})
exten => s,n,ExecIf($[“${DIRECTION}” = “INBOUND”]?Set(DIAL_OPTIONS=${STRREPLACE(DIAL_OPTIONS,T)}))
exten => s,n,GosubIf($[$[“${ARG3}” != “”] & $[“${DB(AMPUSER/${AMPUSER}/pinless)}” != “NOPASSWD”]]?sub-pincheck,s,1())
exten => s,n,ExecIf($[“${INTRACOMPANYROUTE}” = “YES” & ${DB_EXISTS(AMPUSER/${AMPUSER}/cidnum)} & “${AMPUSER}” != “${DB(AMPUSER/${AMPUSER}/cidnum)}”]?Set(CALLERID(num)=${DB(AMPUSER/${AMPUSER}/cidnum)}))
exten => s,n,GotoIf($[“x${OUTDISABLE_${DIAL_TRUNK}}” = “xon”]?disabletrunk,1)
exten => s,n,Set(DIAL_NUMBER=${ARG2})
exten => s,n,Set(DIAL_TRUNK_OPTIONS=${DIAL_OPTIONS})
exten => s,n,Set(OUTBOUND_GROUP=OUT_${DIAL_TRUNK})
exten => s,n,Set(DIAL_TRUNK_OPTIONS=${IF($[“${DB_EXISTS(TRUNK/${DIAL_TRUNK}/dialopts)}” = “1”]?${DB_RESULT}:${TRUNK_OPTIONS})})
exten => s,n,GotoIf($[“${OUTMAXCHANS_${DIAL_TRUNK}}” = “”]?nomax)
exten => s,n,GotoIf($[ ${GROUP_COUNT(OUT_${DIAL_TRUNK})} >= ${OUTMAXCHANS_${DIAL_TRUNK}} ]?chanfull)
exten => s,n(nomax),GotoIf($[“${INTRACOMPANYROUTE}” = “YES”]?skipoutcid)
exten => s,n,Macro(outbound-callerid,${DIAL_TRUNK})
exten => s,n(skipoutcid),GosubIf($[“${PREFIX_TRUNK_${DIAL_TRUNK}}” != “”]?sub-flp-${DIAL_TRUNK},s,1())
exten => s,n,Set(OUTNUM=${OUTPREFIX_${DIAL_TRUNK}}${DIAL_NUMBER})
exten => s,n,Set(custom=${CUT(OUT_${DIAL_TRUNK},:,1)})
exten => s,n,ExecIf($[“${MOHCLASS}”!=“default” & “${MOHCLASS}”!=“” & “${FORCE_CONFIRM}”=“” ]?Set(DIAL_TRUNK_OPTIONS=M(setmusic^${MOHCLASS})${DIAL_TRUNK_OPTIONS}))
exten => s,n,ExecIf($[“${FORCE_CONFIRM}”!=“” ]?Set(DIAL_TRUNK_OPTIONS=${DIAL_TRUNK_OPTIONS}M(confirm)))
exten => s,n,GotoIf($[“${DB_EXISTS(allowlist/autoadd/${ROUTEID})}” = “0”]?gocall)
exten => s,n,AGI(agi://127.0.0.1/allowlist-autoadd.agi)
exten => s,n(gocall),Macro(dialout-trunk-predial-hook,)
exten => s,n,GotoIf($[“${CRM_DIRECTION}”!=“”]?skipcrm)
exten => s,n,Set(__CRM_DIRECTION=OUTBOUND)
exten => s,n,Set(__CRM_DESTINATION=${OUTNUM})
exten => s,n,Set(CRM_SOURCE=${AMPUSER})
exten => s,n,AGI(agi://127.0.0.1/sangomacrm.agi)
exten => s,n,Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)
exten => s,n(skipcrm),Noop(CRM Finished)
exten => s,n,GotoIf($[“${PREDIAL_HOOK_RET}” = “BYPASS”]?bypass,1)
exten => s,n,ExecIf($[“${DB(AMPUSER/${AMPUSER}/cidname)}” != “”]?Set(CONNECTEDLINE(num,i)=${DIAL_NUMBER}))
exten => s,n,ExecIf($[$[“${DB(AMPUSER/${AMPUSER}/cidname)}” != “”] & $[“${CALLERID(name)}”!=“hidden”]]?Set(CONNECTEDLINE(name,i)=CID:${CALLERID(number)}))
exten => s,n,ExecIf($[$[“${DB(AMPUSER/${AMPUSER}/cidname)}” != “”] & $[“${CALLERID(name)}”=“hidden”]]?Set(CONNECTEDLINE(name,i)=CID:(Hidden)${CALLERID(number)}))
exten => s,n,GotoIf($[“${custom}” = “AMP”]?customtrunk)
exten => s,n,ExecIf($[“${DIRECTION}” = “INBOUND”]?Set(DIAL_TRUNK_OPTIONS=${STRREPLACE(DIAL_TRUNK_OPTIONS,T)}))
exten => s,n,Set(HASH(SIPHEADERS,Alert-Info)=unset)
exten => s,n,Dial(${OUT
${DIAL_TRUNK}}/${OUTNUM}${OUT
${DIAL_TRUNK}SUFFIX},${TRUNK_RING_TIMER},${DIAL_TRUNK_OPTIONS}b(func-apply-sipheaders^s^1,(${DIAL_TRUNK}))U(sub-send-obroute-email^${DIAL_NUMBER}^${MACRO_EXTEN}^${DIAL_TRUNK}^${NOW}^${CALLERID(name)}^${CALLERID(number)}))
exten => s,n,Noop(Dial failed for some reason with DIALSTATUS = ${DIALSTATUS} and HANGUPCAUSE = ${HANGUPCAUSE})
exten => s,n,GotoIf($[“${ARG4}” = “on”]?continue,1:s-${DIALSTATUS},1)
exten => s,n(customtrunk),Set(pre_num=${CUT(OUT
${DIAL_TRUNK},$,1)})
exten => s,n,Set(the_num=${CUT(OUT
${DIAL_TRUNK},$,2)})
exten => s,n,Set(post_num=${CUT(OUT
${DIAL_TRUNK},$,3)})
exten => s,n,GotoIf($[“${the_num}” = “OUTNUM”]?outnum:skipoutnum)
exten => s,n(outnum),Set(the_num=${OUTNUM})
exten => s,n(skipoutnum),Dial(${pre_num:4}${the_num}${post_num},${TRUNK_RING_TIMER},${DIAL_TRUNK_OPTIONS})
exten => s,n,Noop(Dial failed for some reason with DIALSTATUS = ${DIALSTATUS} and HANGUPCAUSE = ${HANGUPCAUSE})
exten => s,n,GotoIf($[“${ARG4}” = “on”]?continue,1:s-${DIALSTATUS},1)
exten => s,n(chanfull),Noop(max channels used up)

exten => s-BUSY,1,Noop(Dial failed due to trunk reporting BUSY - giving up)
exten => s-BUSY,n,Playtones(busy)
exten => s-BUSY,n,Busy(20)

exten => s-ANSWER,1,Noop(Call successfully answered - Hanging up now)
exten => s-ANSWER,n,Macro(hangupcall,)

exten => s-NOANSWER,1,Noop(Dial failed due to trunk reporting NOANSWER - giving up)
exten => s-NOANSWER,n,Progress
exten => s-NOANSWER,n,Playback(number-not-answering,noanswer)
exten => s-NOANSWER,n,Congestion(20)

exten => s-INVALIDNMBR,1,Noop(Dial failed due to trunk reporting Address Incomplete - giving up)
exten => s-INVALIDNMBR,n,Progress
exten => s-INVALIDNMBR,n,Playback(ss-noservice,noanswer)
exten => s-INVALIDNMBR,n,Busy(20)

exten => s-CHANGED,1,Noop(Dial failed due to trunk reporting Number Changed - giving up)
exten => s-CHANGED,n,Playtones(busy)
exten => s-CHANGED,n,Busy(20)

exten => _s-.,1,Set(RC=${IF($[${ISNULL(${HANGUPCAUSE})}]?0:${HANGUPCAUSE})})
exten => _s-.,n,Goto(${RC},1)

exten => 17,1,Goto(s-BUSY,1)

exten => 18,1,Goto(s-NOANSWER,1)

exten => 22,1,Goto(s-CHANGED,1)

exten => 23,1,Goto(s-CHANGED,1)

exten => 1,1,Goto(s-INVALIDNMBR,1)

exten => 28,1,Goto(s-INVALIDNMBR,1)

exten => _X,1,Goto(continue,1)

exten => _X.,1,Goto(continue,1)

exten => continue,1(noreport),Noop(TRUNK Dial failed due to ${DIALSTATUS} HANGUPCAUSE: ${HANGUPCAUSE} - failing through to other trunks)
exten => continue,n,ExecIf($[“${AMPUSER}”!=“” ]?Set(CALLERID(number)=${AMPUSER}))

exten => disabletrunk,1,Noop(TRUNK: ${OUT_${DIAL_TRUNK}} DISABLED - falling through to next trunk)

exten => bypass,1,Noop(TRUNK: ${OUT_${DIAL_TRUNK}} BYPASSING because dialout-trunk-predial-hook)

exten => h,1,Macro(hangupcall,)

;–== end of [macro-dialout-trunk] ==–;

DTLS ECDH initialized (automatic), faster PFS enabled
– Executing [447XXXXXXXXX@from-internal:1] Macro(“PJSIP/377161-000000c7”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“PJSIP/377161-000000c7”, “TOUCH_MONITOR=1660147385.284”) in new stack
– Executing [s@macro-user-callerid:2] Set(“PJSIP/377161-000000c7”, “CHANCONTEXT=”) in new stack
– Executing [s@macro-user-callerid:3] Set(“PJSIP/377161-000000c7”, “CHANCONTEXT=”) in new stack
– Executing [s@macro-user-callerid:4] Set(“PJSIP/377161-000000c7”, “CHANEXTENCONTEXT=377161-000000c7”) in new stack
– Executing [s@macro-user-callerid:5] Set(“PJSIP/377161-000000c7”, “CHANEXTEN=377161-000000c7”) in new stack
– Executing [s@macro-user-callerid:6] Set(“PJSIP/377161-000000c7”, “CALLERID(number)=377161”) in new stack
– Executing [s@macro-user-callerid:7] Set(“PJSIP/377161-000000c7”, “AMPUSER=377161”) in new stack
– Executing [s@macro-user-callerid:8] Set(“PJSIP/377161-000000c7”, “HOTDESCKCHAN=377161-000000c7”) in new stack
– Executing [s@macro-user-callerid:9] Set(“PJSIP/377161-000000c7”, “HOTDESKEXTEN=377161”) in new stack
– Executing [s@macro-user-callerid:10] Set(“PJSIP/377161-000000c7”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:11] ExecIf(“PJSIP/377161-000000c7”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/377161-000000c7”, “0?report”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/377161-000000c7”, “1?Set(REALCALLERIDNUM=377161)”) in new stack
– Executing [s@macro-user-callerid:15] Set(“PJSIP/377161-000000c7”, “AMPUSER=377161”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“PJSIP/377161-000000c7”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:17] Set(“PJSIP/377161-000000c7”, “AMPUSERCIDNAME=377161”) in new stack
– Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/377161-000000c7”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:19] GotoIf(“PJSIP/377161-000000c7”, “0?report”) in new stack
– Executing [s@macro-user-callerid:20] Set(“PJSIP/377161-000000c7”, “AMPUSERCID=377161”) in new stack
– Executing [s@macro-user-callerid:21] Set(“PJSIP/377161-000000c7”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-user-callerid:22] Set(“PJSIP/377161-000000c7”, “CALLERID(all)=“377161” <377161>”) in new stack
– Executing [s@macro-user-callerid:23] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CUSDIAL=)”) in new stack
– Executing [s@macro-user-callerid:24] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERID(all)=“377161” <377161>)”) in new stack
– Executing [s@macro-user-callerid:25] GotoIf(“PJSIP/377161-000000c7”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:26] ExecIf(“PJSIP/377161-000000c7”, “1?Set(GROUP(concurrency_limit)=377161)”) in new stack
– Executing [s@macro-user-callerid:27] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:28] NoOp(“PJSIP/377161-000000c7”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:29] GotoIf(“PJSIP/377161-000000c7”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/377161-000000c7”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,49)
– Executing [s@macro-user-callerid:49] Set(“PJSIP/377161-000000c7”, “CALLERID(number)=377161”) in new stack
– Executing [s@macro-user-callerid:50] Set(“PJSIP/377161-000000c7”, “CALLERID(name)=377161”) in new stack
– Executing [s@macro-user-callerid:51] GotoIf(“PJSIP/377161-000000c7”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:52] Set(“PJSIP/377161-000000c7”, “CDR(cnam)=377161”) in new stack
– Executing [s@macro-user-callerid:53] Set(“PJSIP/377161-000000c7”, “CDR(cnum)=377161”) in new stack
– Executing [s@macro-user-callerid:54] Set(“PJSIP/377161-000000c7”, “CHANNEL(language)=en”) in new stack
– Executing [447XXXXXXXXX@from-internal:2] Gosub(“PJSIP/377161-000000c7”, “sub-record-check,s,1(out,447XXXXXXXXX,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“PJSIP/377161-000000c7”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“PJSIP/377161-000000c7”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“PJSIP/377161-000000c7”, “NOW=1660147385”) in new stack
– Executing [s@sub-record-check:4] Set(“PJSIP/377161-000000c7”, “__DAY=10”) in new stack
– Executing [s@sub-record-check:5] Set(“PJSIP/377161-000000c7”, “__MONTH=08”) in new stack
– Executing [s@sub-record-check:6] Set(“PJSIP/377161-000000c7”, “__YEAR=2022”) in new stack
– Executing [s@sub-record-check:7] Set(“PJSIP/377161-000000c7”, “__TIMESTR=20220810-160305”) in new stack
– Executing [s@sub-record-check:8] Set(“PJSIP/377161-000000c7”, “__FROMEXTEN=377161”) in new stack
– Executing [s@sub-record-check:9] Set(“PJSIP/377161-000000c7”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“PJSIP/377161-000000c7”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“PJSIP/377161-000000c7”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“PJSIP/377161-000000c7”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“PJSIP/377161-000000c7”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“PJSIP/377161-000000c7”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“PJSIP/377161-000000c7”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“PJSIP/377161-000000c7”, “Outbound Recording Check from 377161 to 447XXXXXXXXX”) in new stack
– Executing [out@sub-record-check:2] Set(“PJSIP/377161-000000c7”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“PJSIP/377161-000000c7”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“PJSIP/377161-000000c7”, “recordcheck,1(dontcare,out,447XXXXXXXXX)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/377161-000000c7”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/377161-000000c7”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“PJSIP/377161-000000c7”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“PJSIP/377161-000000c7”, “”) in new stack
– Executing [447XXXXXXXXX@from-internal:3] ExecIf(“PJSIP/377161-000000c7”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [447XXXXXXXXX@from-internal:4] Set(“PJSIP/377161-000000c7”, “_ROUTEID=1”) in new stack
– Executing [447XXXXXXXXX@from-internal:5] Set(“PJSIP/377161-000000c7”, “_ROUTENAME=outcall”) in new stack
– Executing [447XXXXXXXXX@from-internal:6] Set(“PJSIP/377161-000000c7”, “MOHCLASS=HM5”) in new stack
– Executing [447XXXXXXXXX@from-internal:7] Set(“PJSIP/377161-000000c7”, “_CALLERIDNAMEINTERNAL=377161”) in new stack
– Executing [447XXXXXXXXX@from-internal:8] Set(“PJSIP/377161-000000c7”, “_CALLERIDNUMINTERNAL=377161”) in new stack
– Executing [447XXXXXXXXX@from-internal:9] Set(“PJSIP/377161-000000c7”, “_EMAILNOTIFICATION=FALSE”) in new stack
– Executing [447XXXXXXXXX@from-internal:10] Set(“PJSIP/377161-000000c7”, “_NODEST=”) in new stack
– Executing [447XXXXXXXXX@from-internal:11] Macro(“PJSIP/377161-000000c7”, “dialout-trunk,2,99904447XXXXXXXXX,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“PJSIP/377161-000000c7”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/377161-000000c7”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/377161-000000c7”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERID(num)=377161)”) in new stack
– Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/377161-000000c7”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“PJSIP/377161-000000c7”, “DIAL_NUMBER=99904447XXXXXXXXX”) in new stack
– Executing [s@macro-dialout-trunk:7] Set(“PJSIP/377161-000000c7”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dialout-trunk:8] Set(“PJSIP/377161-000000c7”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:9] Set(“PJSIP/377161-000000c7”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/377161-000000c7”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,12)
– Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/377161-000000c7”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/377161-000000c7”, “outbound-callerid,2”) in new stack
– Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/377161-000000c7”, “377161”) in new stack
– Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/377161-000000c7”, “”) in new stack
– Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/377161-000000c7”, “off”) in new stack
– Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“PJSIP/377161-000000c7”, “HOTDESCKCHAN=377161-000000c7”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“PJSIP/377161-000000c7”, “HOTDESKEXTEN=377161”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“PJSIP/377161-000000c7”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/377161-000000c7”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“PJSIP/377161-000000c7”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/377161-000000c7”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/377161-000000c7”, “0?Hangup()”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/377161-000000c7”, “0?Set(REALCALLERIDNUM=377161)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/377161-000000c7”, “0?Set(AMPUSER=377161)”) in new stack
– Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/377161-000000c7”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,20)
– Executing [s@macro-outbound-callerid:20] Set(“PJSIP/377161-000000c7”, “USEROUTCID=8675XXXXXXXX”) in new stack
– Executing [s@macro-outbound-callerid:21] Set(“PJSIP/377161-000000c7”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/377161-000000c7”, “0?Set(EMERGENCYCID=)”) in new stack
– Executing [s@macro-outbound-callerid:23] Set(“PJSIP/377161-000000c7”, “TRUNKOUTCID=4479XXXXXXXX”) in new stack
– Executing [s@macro-outbound-callerid:24] GotoIf(“PJSIP/377161-000000c7”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,30)
– Executing [s@macro-outbound-callerid:30] ExecIf(“PJSIP/377161-000000c7”, “1?Set(CALLERID(all)=4479XXXXXXXX)”) in new stack
– Executing [s@macro-outbound-callerid:31] ExecIf(“PJSIP/377161-000000c7”, “1?Set(CALLERID(all)=8675XXXXXXXX)”) in new stack
– Executing [s@macro-outbound-callerid:32] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERID(all)=377161)”) in new stack
– Executing [s@macro-outbound-callerid:34] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERID(all)=377161)”) in new stack
– Executing [s@macro-outbound-callerid:35] Set(“PJSIP/377161-000000c7”, “TIOHIDE=no”) in new stack
– Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:38] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:39] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:40] Set(“PJSIP/377161-000000c7”, “CDR(outbound_cnum)=8675XXXXXXXX”) in new stack
– Executing [s@macro-outbound-callerid:41] Set(“PJSIP/377161-000000c7”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/377161-000000c7”, “0?sub-flp-2,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:15] Set(“PJSIP/377161-000000c7”, “OUTNUM=99904447XXXXXXXXX”) in new stack
– Executing [s@macro-dialout-trunk:16] Set(“PJSIP/377161-000000c7”, “custom=SIP/IDT”) in new stack
– Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/377161-000000c7”, “1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^HM5)T)”) in new stack
– Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/377161-000000c7”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^HM5)TM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:19] GotoIf(“PJSIP/377161-000000c7”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,21)
– Executing [s@macro-dialout-trunk:21] Macro(“PJSIP/377161-000000c7”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/377161-000000c7”, “”) in new stack
– Executing [s@macro-dialout-trunk:22] GotoIf(“PJSIP/377161-000000c7”, “0?skipcrm”) in new stack
– Executing [s@macro-dialout-trunk:23] Set(“PJSIP/377161-000000c7”, “__CRM_DIRECTION=OUTBOUND”) in new stack
– Executing [s@macro-dialout-trunk:24] Set(“PJSIP/377161-000000c7”, “__CRM_DESTINATION=99904447XXXXXXXXX”) in new stack
– Executing [s@macro-dialout-trunk:25] Set(“PJSIP/377161-000000c7”, “__CRM_SOURCE=377161”) in new stack
– Executing [s@macro-dialout-trunk:26] AGI(“PJSIP/377161-000000c7”, “agi://127.0.0.1/sangomacrm.agi”) in new stack
– <PJSIP/377161-000000c7>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
– Executing [s@macro-dialout-trunk:27] Set(“PJSIP/377161-000000c7”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
– Executing [s@macro-dialout-trunk:28] NoOp(“PJSIP/377161-000000c7”, “CRM Finished”) in new stack
– Executing [s@macro-dialout-trunk:29] GotoIf(“PJSIP/377161-000000c7”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:30] ExecIf(“PJSIP/377161-000000c7”, “1?Set(CONNECTEDLINE(num,i)=99904447XXXXXXXXX)”) in new stack
– Executing [s@macro-dialout-trunk:31] ExecIf(“PJSIP/377161-000000c7”, “1?Set(CONNECTEDLINE(name,i)=CID:8675XXXXXXXX)”) in new stack
– Executing [s@macro-dialout-trunk:32] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)8675XXXXXXXX)”) in new stack
– Executing [s@macro-dialout-trunk:33] GotoIf(“PJSIP/377161-000000c7”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:34] ExecIf(“PJSIP/377161-000000c7”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^HM5))”) in new stack
– Executing [s@macro-dialout-trunk:35] Set(“PJSIP/377161-000000c7”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
– Executing [s@macro-dialout-trunk:36] Dial(“PJSIP/377161-000000c7”, “SIP/IDT/99904447XXXXXXXXX,300,M(setmusic^HM5)Tb(func-apply-sipheaders^s^1,(2))U(sub-send-obroute-email^99904447XXXXXXXXX^447XXXXXXXXX^2^1660147385^^8675XXXXXXXX)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– SIP/IDT-00000055 Internal Gosub(func-apply-sipheaders,s,1(2)) start
– Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/IDT-00000055”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [s@func-apply-sipheaders:2] NoOp(“SIP/IDT-00000055”, “Applying SIP Headers to channel SIP/IDT-00000055”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“SIP/IDT-00000055”, “TECH=SIP”) in new stack
– Executing [s@func-apply-sipheaders:4] Set(“SIP/IDT-00000055”, “SIPHEADERKEYS=Alert-Info”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“SIP/IDT-00000055”, “1”) in new stack
– Executing [s@func-apply-sipheaders:6] Set(“SIP/IDT-00000055”, “sipheader=unset”) in new stack
– Executing [s@func-apply-sipheaders:7] ExecIf(“SIP/IDT-00000055”, “1?SIPRemoveHeader(Alert-Info:)”) in new stack
– Executing [s@func-apply-sipheaders:8] ExecIf(“SIP/IDT-00000055”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
– Executing [s@func-apply-sipheaders:9] ExecIf(“SIP/IDT-00000055”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
– Executing [s@func-apply-sipheaders:10] ExecIf(“SIP/IDT-00000055”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack
– Executing [s@func-apply-sipheaders:11] ExecIf(“SIP/IDT-00000055”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack
– Executing [s@func-apply-sipheaders:12] ExecIf(“SIP/IDT-00000055”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
– Executing [s@func-apply-sipheaders:13] EndWhile(“SIP/IDT-00000055”, “”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“SIP/IDT-00000055”, “0”) in new stack
– Executing [s@func-apply-sipheaders:14] Return(“SIP/IDT-00000055”, “”) in new stack
== Spawn extension (from-trunk, 447XXXXXXXXX, 1) exited non-zero on ‘SIP/IDT-00000055’
– SIP/IDT-00000055 Internal Gosub(func-apply-sipheaders,s,1(2)) complete GOSUB_RETVAL=
– Called SIP/IDT/99904447XXXXXXXXX
– SIP/IDT-00000055 is ringing
> 0x7fee10016630 – Strict RTP learning after remote address set to: 206.20.219.21:20760
– SIP/IDT-00000055 is making progress passing it to PJSIP/377161-000000c7
> 0x7feea414d130 – Strict RTP learning after remote address set to: 192.161.177.252:60423
> 0x7fee10016630 – Strict RTP switching to RTP target address 206.20.219.21:20760 as source
– SIP/IDT-00000055 is ringing
> 0x7feea414d130 – Strict RTP learning after ICE completion
> 0x7feea414d130 – Strict RTP learning after remote address set to: 119.50.8.156:60426
– PJSIP/377161-000000c7 requested media update control 26, passing it to SIP/IDT-00000055
> 0x7feea414d130 – Strict RTP switching to RTP target address 119.50.8.156:60426 as source
> 0x7fee10016630 – Strict RTP learning complete - Locking on source address 206.20.219.21:20760
> 0x7feea414d130 – Strict RTP learning complete - Locking on source address 119.50.8.156:60426
– SIP/IDT-00000055 answered PJSIP/377161-000000c7
– Executing [s@macro-setmusic:1] Set(“SIP/IDT-00000055”, “CHANNEL(musicclass)=HM5”) in new stack
– SIP/IDT-00000055 Internal Gosub(sub-send-obroute-email,s,1(99904447XXXXXXXXX,447XXXXXXXXX,2,1660147385,8675XXXXXXXX)) start
– Executing [s@sub-send-obroute-email:1] GotoIf(“SIP/IDT-00000055”, “0?sendEmail”) in new stack
– Executing [s@sub-send-obroute-email:2] NoOp(“SIP/IDT-00000055”, “email notifications disabled…exiting.”) in new stack
– Executing [s@sub-send-obroute-email:3] Return(“SIP/IDT-00000055”, “”) in new stack
== Spawn extension (macro-dialout-trunk, s, 1) exited non-zero on ‘SIP/IDT-00000055’
– SIP/IDT-00000055 Internal Gosub(sub-send-obroute-email,s,1(99904447XXXXXXXXX,447XXXXXXXXX,2,1660147385,8675XXXXXXXX)) complete GOSUB_RETVAL=
– Channel SIP/IDT-00000055 joined ‘simple_bridge’ basic-bridge <4ac99015-a00c-45e3-bf37-d68c6a419dba>
– Channel PJSIP/377161-000000c7 joined ‘simple_bridge’ basic-bridge <4ac99015-a00c-45e3-bf37-d68c6a419dba>
– Channel PJSIP/377161-000000c7 left ‘simple_bridge’ basic-bridge <4ac99015-a00c-45e3-bf37-d68c6a419dba>
– Channel SIP/IDT-00000055 left ‘simple_bridge’ basic-bridge <4ac99015-a00c-45e3-bf37-d68c6a419dba>
== Spawn extension (macro-dialout-trunk, s, 36) exited non-zero on ‘PJSIP/377161-000000c7’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 447XXXXXXXXX, 11) exited non-zero on ‘PJSIP/377161-000000c7’
– Executing [h@from-internal:1] Macro(“PJSIP/377161-000000c7”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/377161-000000c7”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/377161-000000c7”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“PJSIP/377161-000000c7”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘PJSIP/377161-000000c7’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/377161-000000c7’
– PJSIP/377161-000000c7 Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“PJSIP/377161-000000c7”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“PJSIP/377161-000000c7”, “HANGUP CAUSE: 16”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“PJSIP/377161-000000c7”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“PJSIP/377161-000000c7”, “MASTER CHANNEL: 1660147385.284 = 1660147385.284”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“PJSIP/377161-000000c7”, “0?return”) in new stack
– Executing [s@crm-hangup:6] Set(“PJSIP/377161-000000c7”, “__CRM_HANGUP=1”) in new stack
– Executing [s@crm-hangup:7] AGI(“PJSIP/377161-000000c7”, “agi://127.0.0.1/sangomacrm.agi”) in new stack
– <PJSIP/377161-000000c7>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
– Executing [s@crm-hangup:8] Return(“PJSIP/377161-000000c7”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/377161-000000c7’
– PJSIP/377161-000000c7 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

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