Web Callback - Bug?

Another round, another bug, this time it is related to webcallback

  1. If you enter as value 0 in Number Prepend it is saved, but not displayed when you open the tab for a change.

  2. The destination is an IVR but for the audio part it shows this error

[2025-06-18 16:35:40] WARNING[126100][C-0000002b]: file.c:825 ast_openstream_full: File custom/01_Benvenuto_2021 does not exist in any format

[2025-06-18 16:35:40] WARNING[126100][C-0000002b]: file.c:1322 ast_streamfile: Unable to open custom/01_Benvenuto_2021 (format (slin)): No such file or directory

[2025-06-18 16:35:40] WARNING[126100][C-0000002b]: pbx_builtins.c:1261 pbx_builtin_background: ast_streamfile failed on Local/123456@webcallback-1-00000051;1 for custom/01_Benvenuto_2021

Too bad that if I call the IVR directly from another number, the audio is correctly played

That exact same audio file? This is saying the file doesn’t exist in any format (.wav, .slin, .g722, .ulaw, etc).

Yes
for the destination of the web callback I use the same one already active in Inbound Routes, and this one works.

  • Web Callback → Destination → IVR
  • Inbound Route → Did 0123456 .—> IVR

IVR audio files are not played when switching from webcallback

audio files are in

/var/lib/asterisk/sounds/it/custom

but I think that for some reason, webcallback goes to look for the audio files in

/var/lib/asterisk/sounds/custom

Then you need to post a debug of this happening. We need to see if the callback module is setting a variable that ends up being used in the IVR. Because this happens in the IVR.

hello

console debug is on

– PJSIP/NV_9876543210-00000005 answered Local/11122334455@from-internal-00000002;2
– PJSIP/NV_9876543210-00000005 Internal Gosub(sub-send-obroute-email,s,1(1122334455,1,1750322362,0766098002,)) start
– Executing [s@sub-send-obroute-email:1] GosubIf(“PJSIP/NV_9876543210-00000005”, “0?macro-setmusic,s,1()”) in new stack
– Executing [s@sub-send-obroute-email:2] GotoIf(“PJSIP/NV_9876543210-00000005”, “0?gosubconfirm:normal”) in new stack
– Goto (sub-send-obroute-email,s,4)
– Executing [s@sub-send-obroute-email:4] GotoIf(“PJSIP/NV_9876543210-00000005”, “0?sendEmail”) in new stack
– Executing [s@sub-send-obroute-email:5] NoOp(“PJSIP/NV_9876543210-00000005”, “email notifications disabled..exiting.”) in new stack
– Executing [s@sub-send-obroute-email:6] Return(“PJSIP/NV_9876543210-00000005”, “”) in new stack
== Spawn extension (from-pstn, , 1) exited non-zero on ‘PJSIP/NV_9876543210-00000005’
– PJSIP/NV_9876543210-00000005 Internal Gosub(sub-send-obroute-email,s,1(1122334455,1,1750322362,0766098002,)) complete GOSUB_RETVAL=
– Local/11122334455@from-internal-00000002;1 answered Local/1122334455@webcallback-1-00000001;2
– Local/1122334455@webcallback-1-00000001;1 answered
– Executing [s@ivr-3:1] Set(“Local/1122334455@webcallback-1-00000001;1”, “TIMEOUT_LOOPCOUNT=0”) in new stack
– Executing [s@ivr-3:2] Set(“Local/1122334455@webcallback-1-00000001;1”, “INVALID_LOOPCOUNT=0”) in new stack
– Executing [s@ivr-3:3] Set(“Local/1122334455@webcallback-1-00000001;1”, “_IVR_CONTEXT_ivr-3=”) in new stack
– Executing [s@ivr-3:4] Set(“Local/1122334455@webcallback-1-00000001;1”, “_IVR_CONTEXT=ivr-3”) in new stack
– Executing [s@ivr-3:5] Set(“Local/1122334455@webcallback-1-00000001;1”, “__IVR_RETVM=”) in new stack
– Executing [s@ivr-3:6] Set(“Local/1122334455@webcallback-1-00000001;1”, “__IVR_ACCEPT_POUND=0”) in new stack
– Channel Local/11122334455@from-internal-00000002;1 joined ‘simple_bridge’ basic-bridge <54eb9abf-f985-482a-a22a-85fdc0c33ac2>
– Executing [s@ivr-3:7] GotoIf(“Local/1122334455@webcallback-1-00000001;1”, “1?skip”) in new stack
– Goto (ivr-3,s,9)
– Executing [s@ivr-3:9] Set(“Local/1122334455@webcallback-1-00000001;1”, “IVR_MSG=custom/01_Benvenuto_2021”) in new stack
– Channel Local/1122334455@webcallback-1-00000001;2 joined ‘simple_bridge’ basic-bridge <54eb9abf-f985-482a-a22a-85fdc0c33ac2>
– Executing [s@ivr-3:10] Set(“Local/1122334455@webcallback-1-00000001;1”, “TIMEOUT(digit)=3”) in new stack
– Digit timeout set to 3.000
– Channel PJSIP/NV_9876543210-00000005 joined ‘simple_bridge’ basic-bridge <7b406ed9-21c1-437a-9765-fabd73628ee1>
– Executing [s@ivr-3:11] ExecIf(“Local/1122334455@webcallback-1-00000001;1”, “1?Background(custom/01_Benvenuto_2021)”) in new stack
– Channel Local/11122334455@from-internal-00000002;2 joined ‘simple_bridge’ basic-bridge <7b406ed9-21c1-437a-9765-fabd73628ee1>
[2025-06-19 10:39:29] WARNING[22892][C-00000005]: file.c:825 ast_openstream_full: File custom/01_Benvenuto_2021 does not exist in any format
[2025-06-19 10:39:29] WARNING[22892][C-00000005]: file.c:1322 ast_streamfile: Unable to open custom/01_Benvenuto_2021 (format (slin)): No such file or directory
[2025-06-19 10:39:29] WARNING[22892][C-00000005]: pbx_builtins.c:1261 pbx_builtin_background: ast_streamfile failed on Local/1122334455@webcallback-1-00000001;1 for custom/01_Benvenuto_2021
– Executing [s@ivr-3:12] WaitExten(“Local/1122334455@webcallback-1-00000001;1”, “5,”) in new stack
> Move-swap optimizing Local/11122334455@from-internal-00000002;1 ← PJSIP/NV_9876543210-00000005.
– Channel PJSIP/NV_9876543210-00000005 left ‘simple_bridge’ basic-bridge <7b406ed9-21c1-437a-9765-fabd73628ee1>
– Channel Local/11122334455@from-internal-00000002;1 left ‘simple_bridge’ basic-bridge <54eb9abf-f985-482a-a22a-85fdc0c33ac2>
– Channel PJSIP/NV_9876543210-00000005 swapped with Local/11122334455@from-internal-00000002;1 into ‘simple_bridge’ basic-bridge <54eb9abf-f985-482a-a22a-85fdc0c33ac2>
– Channel Local/11122334455@from-internal-00000002;2 left ‘simple_bridge’ basic-bridge <7b406ed9-21c1-437a-9765-fabd73628ee1>
== Spawn extension (trunk-dial-with-exten, 1122334455, 1) exited non-zero on ‘Local/11122334455@from-internal-00000002;2’
– Executing [h@trunk-dial-with-exten:1] Gosub(“Local/11122334455@from-internal-00000002;2”, “macro-hangupcall,s,1()”) in new stack
– Executing [s@macro-hangupcall:1] Set(“Local/11122334455@from-internal-00000002;2”, “__MCVMSTATUS=”) in new stack
– Executing [s@macro-hangupcall:2] Gosub(“Local/11122334455@from-internal-00000002;2”, “app-missedcall-hangup,s,1()”) in new stack
– Executing [s@app-missedcall-hangup:1] NoOp(“Local/11122334455@from-internal-00000002;2”, “Dialed: s”) in new stack
– Executing [s@app-missedcall-hangup:2] NoOp(“Local/11122334455@from-internal-00000002;2”, "Caller: ") in new stack
– Executing [s@app-missedcall-hangup:3] GotoIf(“Local/11122334455@from-internal-00000002;2”, “1?exit”) in new stack
– Goto (app-missedcall-hangup,s,8)
– Executing [s@app-missedcall-hangup:8] Return(“Local/11122334455@from-internal-00000002;2”, “”) in new stack
– Executing [s@macro-hangupcall:3] UserEvent(“Local/11122334455@from-internal-00000002;2”, “MES,RTPAUDIOQOSMESBRIDGED:,RTPAUDIOQOSMES:”) in new stack
– Executing [s@macro-hangupcall:4] GotoIf(“Local/11122334455@from-internal-00000002;2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] ExecIf(“Local/11122334455@from-internal-00000002;2”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:7] ExecIf(“Local/11122334455@from-internal-00000002;2”, “0?AGI(pbxmfa.agi,noanswer)”) in new stack
– Executing [s@macro-hangupcall:8] Hangup(“Local/11122334455@from-internal-00000002;2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 8) exited non-zero on ‘Local/11122334455@from-internal-00000002;2’
– Local/11122334455@from-internal-00000002;2 Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“Local/11122334455@from-internal-00000002;2”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“Local/11122334455@from-internal-00000002;2”, “HANGUP CAUSE: 16”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“Local/11122334455@from-internal-00000002;2”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“Local/11122334455@from-internal-00000002;2”, “MASTER CHANNEL: 1750322362.17 = 1750322362.14”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“Local/11122334455@from-internal-00000002;2”, “1?return”) in new stack
– Goto (crm-hangup,s,8)
– Executing [s@crm-hangup:8] Return(“Local/11122334455@from-internal-00000002;2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 8) exited non-zero on ‘Local/11122334455@from-internal-00000002;2’
– Local/11122334455@from-internal-00000002;2 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
– Remote UNIX connection
– Remote UNIX connection disconnected
– Timeout on Local/1122334455@webcallback-1-00000001;1, going to ‘t’
– Executing [t@ivr-3:1] Set(“Local/1122334455@webcallback-1-00000001;1”, “TIMEOUT_LOOPCOUNT=1”) in new stack
– Executing [t@ivr-3:2] GotoIf(“Local/1122334455@webcallback-1-00000001;1”, “0?final”) in new stack
– Executing [t@ivr-3:3] Set(“Local/1122334455@webcallback-1-00000001;1”, “IVR_MSG=custom/01_Benvenuto_2021&custom/01_Benvenuto_2021”) in new stack
– Executing [t@ivr-3:4] Goto(“Local/1122334455@webcallback-1-00000001;1”, “s,start”) in new stack
– Goto (ivr-3,s,10)
– Executing [s@ivr-3:10] Set(“Local/1122334455@webcallback-1-00000001;1”, “TIMEOUT(digit)=3”) in new stack
– Digit timeout set to 3.000
– Executing [s@ivr-3:11] ExecIf(“Local/1122334455@webcallback-1-00000001;1”, “1?Background(custom/01_Benvenuto_2021&custom/01_Benvenuto_2021)”) in new stack
[2025-06-19 10:39:34] WARNING[22892][C-00000005]: file.c:825 ast_openstream_full: File custom/01_Benvenuto_2021 does not exist in any format
[2025-06-19 10:39:34] WARNING[22892][C-00000005]: file.c:1322 ast_streamfile: Unable to open custom/01_Benvenuto_2021 (format (slin)): No such file or directory
[2025-06-19 10:39:34] WARNING[22892][C-00000005]: pbx_builtins.c:1261 pbx_builtin_background: ast_streamfile failed on Local/1122334455@webcallback-1-00000001;1 for custom/01_Benvenuto_2021&custom/01_Benvenuto_2021

This isn’t the entire call. Now show a call straight to that IVR.

This is a call straight to that IVR.
as you can see I can listen to the same audio file that instead passing through web callback is not played because the application says it cannot find it

-- Executing [s@ivr-3:9] Set("PJSIP/989919989-0000000d", "IVR_MSG=custom/01_Benvenuto_2021") in new stack

this is entire call

  • Executing [0123456@from-internal:1] Gosub(“PJSIP/989919989-0000000d”, “macro-user-callerid,s,1()”) in new stack
    – Executing [s@macro-user-callerid:1] Set(“PJSIP/989919989-0000000d”, “TOUCH_MONITOR=1750339264.108”) in new stack
    – Executing [s@macro-user-callerid:2] Set(“PJSIP/989919989-0000000d”, “CHANCONTEXT=”) in new stack
    – Executing [s@macro-user-callerid:3] Set(“PJSIP/989919989-0000000d”, “CHANCONTEXT=”) in new stack
    – Executing [s@macro-user-callerid:4] Set(“PJSIP/989919989-0000000d”, “CHANEXTENCONTEXT=989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:5] Set(“PJSIP/989919989-0000000d”, “CHANEXTEN=989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:6] Set(“PJSIP/989919989-0000000d”, “CALLERID(number)=9919989”) in new stack
    – Executing [s@macro-user-callerid:7] Set(“PJSIP/989919989-0000000d”, “AMPUSER=9919989”) in new stack
    – Executing [s@macro-user-callerid:8] Set(“PJSIP/989919989-0000000d”, “HOTDESCKCHAN=989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:9] Set(“PJSIP/989919989-0000000d”, “HOTDESKEXTEN=989919989”) in new stack
    – Executing [s@macro-user-callerid:10] Set(“PJSIP/989919989-0000000d”, “HOTDESKCALL=0”) in new stack
    – Executing [s@macro-user-callerid:11] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(HOTDESKCALL=1)”) in new stack
    – Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(CALLERID(name)=)”) in new stack
    – Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/989919989-0000000d”, “0?report”) in new stack
    – Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/989919989-0000000d”, “1?Set(REALCALLERIDNUM=9919989)”) in new stack
    – Executing [s@macro-user-callerid:15] Set(“PJSIP/989919989-0000000d”, “AMPUSER=9919989”) in new stack
    – Executing [s@macro-user-callerid:16] GotoIf(“PJSIP/989919989-0000000d”, “0?limit”) in new stack
    – Executing [s@macro-user-callerid:17] Set(“PJSIP/989919989-0000000d”, “AMPUSERCIDNAME=MMM”) in new stack
    – Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
    – Executing [s@macro-user-callerid:19] GotoIf(“PJSIP/989919989-0000000d”, “0?report”) in new stack
    – Executing [s@macro-user-callerid:20] Set(“PJSIP/989919989-0000000d”, “AMPUSERCID=9919989”) in new stack
    – Executing [s@macro-user-callerid:21] Set(“PJSIP/989919989-0000000d”, “__DIAL_OPTIONS=HhTtr”) in new stack
    – Executing [s@macro-user-callerid:22] Set(“PJSIP/989919989-0000000d”, “CALLERID(all)=“MMM” <9919989>”) in new stack
    – Executing [s@macro-user-callerid:23] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(CUSDIAL=)”) in new stack
    – Executing [s@macro-user-callerid:24] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(CALLERID(all)=“MMM” <9919989>)”) in new stack
    – Executing [s@macro-user-callerid:25] GotoIf(“PJSIP/989919989-0000000d”, “0?limit”) in new stack
    – Executing [s@macro-user-callerid:26] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(GROUP(concurrency_limit)=9919989)”) in new stack
    – Executing [s@macro-user-callerid:27] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(CHANNEL(language)=)”) in new stack
    – Executing [s@macro-user-callerid:28] NoOp(“PJSIP/989919989-0000000d”, “Macro depricated!! To keep the same line numbers”) in new stack
    – Executing [s@macro-user-callerid:29] NoOp(“PJSIP/989919989-0000000d”, “Macro depricated !! To keep the same line numbers”) in new stack
    – Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/989919989-0000000d”, “0?continue”) in new stack
    – Executing [s@macro-user-callerid:31] ExecIf(“PJSIP/989919989-0000000d”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
    – Executing [s@macro-user-callerid:32] Set(“PJSIP/989919989-0000000d”, “__TTL=64”) in new stack
    – Executing [s@macro-user-callerid:33] GotoIf(“PJSIP/989919989-0000000d”, “1?continue”) in new stack
    – Goto (macro-user-callerid,s,49)
    – Executing [s@macro-user-callerid:49] Set(“PJSIP/989919989-0000000d”, “CALLERID(number)=9919989”) in new stack
    – Executing [s@macro-user-callerid:50] Set(“PJSIP/989919989-0000000d”, “CALLERID(name)=MMM”) in new stack
    – Executing [s@macro-user-callerid:51] GotoIf(“PJSIP/989919989-0000000d”, “0?cnum”) in new stack
    – Executing [s@macro-user-callerid:52] Set(“PJSIP/989919989-0000000d”, “__MCNUM=9919989”) in new stack
    – Executing [s@macro-user-callerid:53] Set(“PJSIP/989919989-0000000d”, “__MCNAME=MMM”) in new stack
    – Executing [s@macro-user-callerid:54] Set(“PJSIP/989919989-0000000d”, “__MCEXTEN=9919989”) in new stack
    – Executing [s@macro-user-callerid:55] Set(“PJSIP/989919989-0000000d”, “__MCORGCHAN=PJSIP/989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:56] Set(“PJSIP/989919989-0000000d”, “CDR(cnam)=MMM”) in new stack
    – Executing [s@macro-user-callerid:57] Set(“PJSIP/989919989-0000000d”, “CDR(cnum)=9919989”) in new stack
    – Executing [s@macro-user-callerid:58] GosubIf(“PJSIP/989919989-0000000d”, “0?app-check-classofservce,s,1()”) in new stack
    – Executing [s@macro-user-callerid:59] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [00123951@from-internal:2] NoOp(“PJSIP/989919989-0000000d”, “TROVAMI-NEL-LOG”) in new stack
    – Executing [00123951@from-internal:3] Set(“PJSIP/989919989-0000000d”, “CHANNEL(accountcode)=genio”) in new stack
    – Executing [00123951@from-internal:4] Goto(“PJSIP/989919989-0000000d”, “from-trunk,0123951,1”) in new stack
    – Goto (from-trunk,0123951,1)
    – Executing [0123951@from-trunk:1] Set(“PJSIP/989919989-0000000d”, “__DIRECTION=INBOUND”) in new stack
    – Executing [0123951@from-trunk:2] Gosub(“PJSIP/989919989-0000000d”, “sub-record-check,s,1(in,0123951,dontcare)”) in new stack
    – Executing [s@sub-record-check:1] GotoIf(“PJSIP/989919989-0000000d”, “0?initialized”) in new stack
    – Executing [s@sub-record-check:2] Set(“PJSIP/989919989-0000000d”, “__REC_STATUS=INITIALIZED”) in new stack
    – Executing [s@sub-record-check:3] Set(“PJSIP/989919989-0000000d”, “NOW=1750339264”) in new stack
    – Executing [s@sub-record-check:4] Set(“PJSIP/989919989-0000000d”, “__DAY=19”) in new stack
    – Executing [s@sub-record-check:5] Set(“PJSIP/989919989-0000000d”, “__MONTH=06”) in new stack
    – Executing [s@sub-record-check:6] Set(“PJSIP/989919989-0000000d”, “__YEAR=2025”) in new stack
    – Executing [s@sub-record-check:7] Set(“PJSIP/989919989-0000000d”, “__TIMESTR=20250619-152104”) in new stack
    – Executing [s@sub-record-check:8] Set(“PJSIP/989919989-0000000d”, “__FROMEXTEN=9919989”) in new stack
    – Executing [s@sub-record-check:9] Set(“PJSIP/989919989-0000000d”, “__MON_FMT=wav”) in new stack
    – Executing [s@sub-record-check:10] NoOp(“PJSIP/989919989-0000000d”, “Recordings initialized”) in new stack
    – Executing [s@sub-record-check:11] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(ARG3=dontcare)”) in new stack
    – Executing [s@sub-record-check:12] Set(“PJSIP/989919989-0000000d”, “REC_POLICY_MODE_SAVE=”) in new stack
    – Executing [s@sub-record-check:13] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(REC_STATUS=NO)”) in new stack
    – Executing [s@sub-record-check:14] GotoIf(“PJSIP/989919989-0000000d”, “2?checkaction”) in new stack
    – Goto (sub-record-check,s,17)
    – Executing [s@sub-record-check:17] GotoIf(“PJSIP/989919989-0000000d”, “1?sub-record-check,in,1”) in new stack
    – Goto (sub-record-check,in,1)
    – Executing [in@sub-record-check:1] NoOp(“PJSIP/989919989-0000000d”, “Inbound Recording Check to 0123951”) in new stack
    – Executing [in@sub-record-check:2] Set(“PJSIP/989919989-0000000d”, “FROMEXTEN=unknown”) in new stack
    – Executing [in@sub-record-check:3] ExecIf(“PJSIP/989919989-0000000d”, “7?Set(FROMEXTEN=9919989)”) in new stack
    – Executing [in@sub-record-check:4] Gosub(“PJSIP/989919989-0000000d”, “recordcheck,1(dontcare,in,0123951)”) in new stack
    – Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/989919989-0000000d”, “Starting recording check against dontcare”) in new stack
    – Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/989919989-0000000d”, “dontcare”) in new stack
    – Goto (sub-record-check,recordcheck,3)
    – Executing [recordcheck@sub-record-check:3] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [in@sub-record-check:5] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [0123951@from-trunk:3] Set(“PJSIP/989919989-0000000d”, “CHANNEL(tonezone)=it”) in new stack
    – Executing [0123951@from-trunk:4] Set(“PJSIP/989919989-0000000d”, “__FROM_DID=0123951”) in new stack
    – Executing [0123951@from-trunk:5] Set(“PJSIP/989919989-0000000d”, “returnhere=1”) in new stack
    – Executing [0123951@from-trunk:6] Gosub(“PJSIP/989919989-0000000d”, “app-blacklist-check,s,1()”) in new stack
    – Executing [s@app-blacklist-check:1] GotoIf(“PJSIP/989919989-0000000d”, “0?blacklisted”) in new stack
    – Executing [s@app-blacklist-check:2] Set(“PJSIP/989919989-0000000d”, “CALLED_BLACKLIST=1”) in new stack
    – Executing [s@app-blacklist-check:3] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [0123951@from-trunk:7] Set(“PJSIP/989919989-0000000d”, “CDR(did)=0123951”) in new stack
    – Executing [0123951@from-trunk:8] GotoIf(“PJSIP/989919989-0000000d”, “0?”) in new stack
    – Executing [0123951@from-trunk:9] ExecIf(“PJSIP/989919989-0000000d”, “0 ?Set(CALLERID(name)=9919989)”) in new stack
    – Executing [0123951@from-trunk:10] Set(“PJSIP/989919989-0000000d”, “__MOHCLASS=”) in new stack
    – Executing [0123951@from-trunk:11] Set(“PJSIP/989919989-0000000d”, “__REVERSAL_REJECT=FALSE”) in new stack
    – Executing [0123951@from-trunk:12] GotoIf(“PJSIP/989919989-0000000d”, “1?post-reverse-charge”) in new stack
    – Goto (from-trunk,0123951,14)
    – Executing [0123951@from-trunk:14] NoOp(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [0123951@from-trunk:15] Set(“PJSIP/989919989-0000000d”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
    – Executing [0123951@from-trunk:16] Set(“PJSIP/989919989-0000000d”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
    – Executing [0123951@from-trunk:17] Set(“PJSIP/989919989-0000000d”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
    – Executing [0123951@from-trunk:18] Set(“PJSIP/989919989-0000000d”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
    – Executing [0123951@from-trunk:19] NoOp(“PJSIP/989919989-0000000d”, “CallerID Entry Point”) in new stack
    – Executing [0123951@from-trunk:20] Set(“PJSIP/989919989-0000000d”, “__CRM_DIRECTION=INBOUND”) in new stack
    – Executing [0123951@from-trunk:21] Set(“PJSIP/989919989-0000000d”, “__CRM_SOURCE=9919989”) in new stack
    – Executing [0123951@from-trunk:22] Set(“PJSIP/989919989-0000000d”, “__CRM_LINKEDID=1750339264.108”) in new stack
    – Executing [0123951@from-trunk:23] AGI(“PJSIP/989919989-0000000d”, “agi://127.0.0.1/sangomacrm.agi,true”) in new stack
    agi://127.0.0.1/sangomacrm.agi,true: LINKEDID: 1750339264.108
    agi://127.0.0.1/sangomacrm.agi,true: SOURCE: 9919989
    agi://127.0.0.1/sangomacrm.agi,true: DESTINATION:
    agi://127.0.0.1/sangomacrm.agi,true: DIRECTION: INBOUND
    agi://127.0.0.1/sangomacrm.agi,true: EXTTOCALL:
    agi://127.0.0.1/sangomacrm.agi,true: START
    agi://127.0.0.1/sangomacrm.agi,true: SCRIPT: php /var/www/html/admin/modules/sangomacrm/importOne.php ‘eyJ1dWlkIjoiMTc1MDMzOTI2NC4xMDgiLCJzb3VyY2UiOiI5OTE5OTg5IiwiZGVzdGluYXRpb24iOiIiLCJkaXJlY3Rpb24iOiJJTkJPVU5EIiwidHlwZSI6IlNUQVJUIiwienVsdV9yYXdfdHlwZSI6IiIsInp1bHVfdHlwZSI6IiIsInp1bHVfdXJsIjoiIiwiZXh0dG9jYWxsIjoiIiwiY251bSI6Ijk5MTk5ODkiLCJjbmFtIjoiTWF1cm8gUGllcmluaSIsImNhbGxwb3AiOnRydWUsInZvaWNlbWFpbCI6IiIsImZyb21fZGlkIjoiMDc2NjU4NDk1MSJ9’ > /dev/null 2>&1 &
    – <PJSIP/989919989-0000000d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
    – Executing [0123951@from-trunk:24] ExecIf(“PJSIP/989919989-0000000d”, “1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
    – Executing [0123951@from-trunk:25] Goto(“PJSIP/989919989-0000000d”, “tempo-numero-verde,s,1”) in new stack
    – Goto (tempo-numero-verde,s,1)
    – Executing [s@tempo-numero-verde:1] GotoIfTime(“PJSIP/989919989-0000000d”, “00:01-09:59||1-1|nov?custom-notte-lun-sab-9-20-dom-10-20,s,1") in new stack
    – Executing [s@tempo-numero-verde:2] GotoIfTime(“PJSIP/989919989-0000000d”, "00:01-09:59|
    |8-8|dec?custom-notte-lun-sab-9-20-dom-10-20,s,1”) in new stack
    – Executing [s@tempo-numero-verde:3] GotoIfTime(“PJSIP/989919989-0000000d”, “00:01-23:59||24-24|dec?custom-notte-lun-sab-9-20-dom-10-20,s,1") in new stack
    – Executing [s@tempo-numero-verde:4] GotoIfTime(“PJSIP/989919989-0000000d”, "00:01-23:59|
    |25-26|dec?custom-notte-lun-sab-9-20-dom-10-20,s,1”) in new stack
    – Executing [s@tempo-numero-verde:5] GotoIfTime(“PJSIP/989919989-0000000d”, “00:01-23:59||31-31|dec?custom-notte-lun-sab-9-20-dom-10-20,s,1") in new stack
    – Executing [s@tempo-numero-verde:6] GotoIfTime(“PJSIP/989919989-0000000d”, "00:01-23:59|
    |1-1|jan?custom-notte-lun-sab-9-20-dom-10-20,s,1”) in new stack
    – Executing [s@tempo-numero-verde:7] GotoIfTime(“PJSIP/989919989-0000000d”, “08:00-09:59||6-6|jan?custom-notte-lun-sab-9-20-dom-10-20,s,1") in new stack
    – Executing [s@tempo-numero-verde:8] GotoIfTime(“PJSIP/989919989-0000000d”, "00:01-23:59|
    |20-20|apr?custom-notte-lun-sab-9-20-dom-10-20,s,1”) in new stack
    – Executing [s@tempo-numero-verde:9] GotoIfTime(“PJSIP/989919989-0000000d”, “00:01-23:59||21-21|apr?custom-notte-lun-sab-9-20-dom-10-20,s,1") in new stack
    – Executing [s@tempo-numero-verde:10] GotoIfTime(“PJSIP/989919989-0000000d”, "00:01-09:59|
    |25-25|apr?custom-notte-lun-sab-9-20-dom-10-20,s,1”) in new stack
    – Executing [s@tempo-numero-verde:11] GotoIfTime(“PJSIP/989919989-0000000d”, “00:01-23:59||1-1|may?custom-notte-lun-sab-9-20-dom-10-20,s,1") in new stack
    – Executing [s@tempo-numero-verde:12] GotoIfTime(“PJSIP/989919989-0000000d”, "00:01-09:59|
    |2-2|jun?custom-notte-lun-sab-9-20-dom-10-20,s,1”) in new stack
    – Executing [s@tempo-numero-verde:13] GotoIfTime(“PJSIP/989919989-0000000d”, “00:01-23:59||15-15|aug?custom-notte-lun-sab-9-20-dom-10-20,s,1") in new stack
    – Executing [s@tempo-numero-verde:14] GotoIfTime(“PJSIP/989919989-0000000d”, "19:59-23:59|
    |8-8|dec?custom-notte-lun-sab-9-20-dom-10-20,s,1”) in new stack
    – Executing [s@tempo-numero-verde:15] GotoIfTime(“PJSIP/989919989-0000000d”, “09:00-19:59|mon-sat||?scaletta-ivr-2021,s,1”) in new stack
    – Goto (scaletta-ivr-2021,s,1)
    – Executing [s@scaletta-ivr-2021:1] Ringing(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [s@scaletta-ivr-2021:2] Wait(“PJSIP/989919989-0000000d”, “1”) in new stack
    – Executing [s@scaletta-ivr-2021:3] Answer(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [s@scaletta-ivr-2021:4] Wait(“PJSIP/989919989-0000000d”, “1”) in new stack
    – Executing [s@scaletta-ivr-2021:5] Goto(“PJSIP/989919989-0000000d”, “ivr-3,s,1”) in new stack
    – Goto (ivr-3,s,1)
    – Executing [s@ivr-3:1] Set(“PJSIP/989919989-0000000d”, “TIMEOUT_LOOPCOUNT=0”) in new stack
    – Executing [s@ivr-3:2] Set(“PJSIP/989919989-0000000d”, “INVALID_LOOPCOUNT=0”) in new stack
    – Executing [s@ivr-3:3] Set(“PJSIP/989919989-0000000d”, “_IVR_CONTEXT_ivr-3=”) in new stack
    – Executing [s@ivr-3:4] Set(“PJSIP/989919989-0000000d”, “_IVR_CONTEXT=ivr-3”) in new stack
    – Executing [s@ivr-3:5] Set(“PJSIP/989919989-0000000d”, “__IVR_RETVM=”) in new stack
    – Executing [s@ivr-3:6] Set(“PJSIP/989919989-0000000d”, “__IVR_ACCEPT_POUND=0”) in new stack
    – Executing [s@ivr-3:7] GotoIf(“PJSIP/989919989-0000000d”, “1?skip”) in new stack
    – Goto (ivr-3,s,9)
    – Executing [s@ivr-3:9] Set(“PJSIP/989919989-0000000d”, “IVR_MSG=custom/01_Benvenuto_2021”) in new stack
    – Executing [s@ivr-3:10] Set(“PJSIP/989919989-0000000d”, “TIMEOUT(digit)=3”) in new stack
    – Digit timeout set to 3.000
    – Executing [s@ivr-3:11] ExecIf(“PJSIP/989919989-0000000d”, “1?Background(custom/01_Benvenuto_2021)”) in new stack
    – <PJSIP/989919989-0000000d> Playing ‘custom/01_Benvenuto_2021.alaw’ (language ‘it’)
    – Remote UNIX connection
    – Remote UNIX connection disconnected
    – Remote UNIX connection
    – Remote UNIX connection disconnected
    – Remote UNIX connection
    – Remote UNIX connection disconnected
    – Executing [1@ivr-3:1] Set(“PJSIP/989919989-0000000d”, “__ivrreturn=0”) in new stack
    – Executing [1@ivr-3:2] Goto(“PJSIP/989919989-0000000d”, “ext-queues,800,1”) in new stack
    – Goto (ext-queues,800,1)
    – Executing [800@ext-queues:1] Gosub(“PJSIP/989919989-0000000d”, “macro-user-callerid,s,1()”) in new stack
    – Executing [s@macro-user-callerid:1] Set(“PJSIP/989919989-0000000d”, “TOUCH_MONITOR=1750339264.108”) in new stack
    – Executing [s@macro-user-callerid:2] Set(“PJSIP/989919989-0000000d”, “CHANCONTEXT=”) in new stack
    – Executing [s@macro-user-callerid:3] Set(“PJSIP/989919989-0000000d”, “CHANCONTEXT=”) in new stack
    – Executing [s@macro-user-callerid:4] Set(“PJSIP/989919989-0000000d”, “CHANEXTENCONTEXT=989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:5] Set(“PJSIP/989919989-0000000d”, “CHANEXTEN=989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:6] Set(“PJSIP/989919989-0000000d”, “CALLERID(number)=9919989”) in new stack
    – Executing [s@macro-user-callerid:7] Set(“PJSIP/989919989-0000000d”, “AMPUSER=9919989”) in new stack
    – Executing [s@macro-user-callerid:8] Set(“PJSIP/989919989-0000000d”, “HOTDESCKCHAN=989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:9] Set(“PJSIP/989919989-0000000d”, “HOTDESKEXTEN=989919989”) in new stack
    – Executing [s@macro-user-callerid:10] Set(“PJSIP/989919989-0000000d”, “HOTDESKCALL=0”) in new stack
    – Executing [s@macro-user-callerid:11] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(HOTDESKCALL=1)”) in new stack
    – Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(CALLERID(name)=)”) in new stack
    – Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/989919989-0000000d”, “13?report”) in new stack
    – Goto (macro-user-callerid,s,28)
    – Executing [s@macro-user-callerid:28] NoOp(“PJSIP/989919989-0000000d”, “Macro depricated!! To keep the same line numbers”) in new stack
    – Executing [s@macro-user-callerid:29] NoOp(“PJSIP/989919989-0000000d”, “Macro depricated !! To keep the same line numbers”) in new stack
    – Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/989919989-0000000d”, “0?continue”) in new stack
    – Executing [s@macro-user-callerid:31] ExecIf(“PJSIP/989919989-0000000d”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
    – Executing [s@macro-user-callerid:32] Set(“PJSIP/989919989-0000000d”, “__TTL=63”) in new stack
    – Executing [s@macro-user-callerid:33] GotoIf(“PJSIP/989919989-0000000d”, “1?continue”) in new stack
    – Goto (macro-user-callerid,s,49)
    – Executing [s@macro-user-callerid:49] Set(“PJSIP/989919989-0000000d”, “CALLERID(number)=9919989”) in new stack
    – Executing [s@macro-user-callerid:50] Set(“PJSIP/989919989-0000000d”, “CALLERID(name)=MMM”) in new stack
    – Executing [s@macro-user-callerid:51] GotoIf(“PJSIP/989919989-0000000d”, “0?cnum”) in new stack
    – Executing [s@macro-user-callerid:52] Set(“PJSIP/989919989-0000000d”, “__MCNUM=9919989”) in new stack
    – Executing [s@macro-user-callerid:53] Set(“PJSIP/989919989-0000000d”, “__MCNAME=MMM”) in new stack
    – Executing [s@macro-user-callerid:54] Set(“PJSIP/989919989-0000000d”, “__MCEXTEN=9919989”) in new stack
    – Executing [s@macro-user-callerid:55] Set(“PJSIP/989919989-0000000d”, “__MCORGCHAN=PJSIP/989919989-0000000d”) in new stack
    – Executing [s@macro-user-callerid:56] Set(“PJSIP/989919989-0000000d”, “CDR(cnam)=MMM”) in new stack
    – Executing [s@macro-user-callerid:57] Set(“PJSIP/989919989-0000000d”, “CDR(cnum)=9919989”) in new stack
    – Executing [s@macro-user-callerid:58] GosubIf(“PJSIP/989919989-0000000d”, “0?app-check-classofservce,s,1()”) in new stack
    – Executing [s@macro-user-callerid:59] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [800@ext-queues:2] Set(“PJSIP/989919989-0000000d”, “__MCQUEUE=800”) in new stack
    – Executing [800@ext-queues:3] Answer(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [800@ext-queues:4] Set(“PJSIP/989919989-0000000d”, “__FROMQUEUEEXTEN=9919989”) in new stack
    – Executing [800@ext-queues:5] Gosub(“PJSIP/989919989-0000000d”, “macro-blkvm-set,s,1(reset)”) in new stack
    – Executing [s@macro-blkvm-set:1] ExecIf(“PJSIP/989919989-0000000d”, “1?Set(__BLKVM_CHANNEL=PJSIP/989919989-0000000d)”) in new stack
    – Executing [s@macro-blkvm-set:2] Set(“PJSIP/989919989-0000000d”, “SHARED(BLKVM,PJSIP/989919989-0000000d)=TRUE”) in new stack
    – Executing [s@macro-blkvm-set:3] Set(“PJSIP/989919989-0000000d”, “GOSUB_RETVAL=TRUE”) in new stack
    – Executing [s@macro-blkvm-set:4] Return(“PJSIP/989919989-0000000d”, “TRUE”) in new stack
    – Executing [800@ext-queues:6] ExecIf(“PJSIP/989919989-0000000d”, “1?Set(_DIAL_OPTIONS=HhTtrU(macro-auto-blkvm))”) in new stack
    – Executing [800@ext-queues:7] Set(“PJSIP/989919989-0000000d”, “__NODEST=800”) in new stack
    – Executing [800@ext-queues:8] Set(“PJSIP/989919989-0000000d”, “__QCONTEXT=0”) in new stack
    – Executing [800@ext-queues:9] Set(“PJSIP/989919989-0000000d”, “QCIDPP=Deviata:”) in new stack
    – Executing [800@ext-queues:10] Set(“PJSIP/989919989-0000000d”, “VQ_CIDPP=”) in new stack
    – Executing [800@ext-queues:11] ExecIf(“PJSIP/989919989-0000000d”, “1?Gosub(macro-prepend-cid,s,1(Deviata:))”) in new stack
    – Executing [s@macro-prepend-cid:1] GotoIf(“PJSIP/989919989-0000000d”, “1?REPCID”) in new stack
    – Goto (macro-prepend-cid,s,5)
    – Executing [s@macro-prepend-cid:5] Set(“PJSIP/989919989-0000000d”, “_RGPREFIX=Deviata:”) in new stack
    – Executing [s@macro-prepend-cid:6] Set(“PJSIP/989919989-0000000d”, “CALLERID(name)=Deviata:MMM”) in new stack
    – Executing [s@macro-prepend-cid:7] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [800@ext-queues:12] Set(“PJSIP/989919989-0000000d”, “QAINFO=”) in new stack
    – Executing [800@ext-queues:13] Set(“PJSIP/989919989-0000000d”, “VQ_AINFO=”) in new stack
    – Executing [800@ext-queues:14] Set(“PJSIP/989919989-0000000d”, “__RVOL_MODE=dontcare”) in new stack
    – Executing [800@ext-queues:15] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(__ALERT_INFO=)”) in new stack
    – Executing [800@ext-queues:16] Set(“PJSIP/989919989-0000000d”, “QJOINMSG=”) in new stack
    – Executing [800@ext-queues:17] Set(“PJSIP/989919989-0000000d”, “VQ_JOINMSG=”) in new stack
    – Executing [800@ext-queues:18] Set(“PJSIP/989919989-0000000d”, “QCANCELMISSED=”) in new stack
    – Executing [800@ext-queues:19] Set(“PJSIP/989919989-0000000d”, “QRINGOPTS=r”) in new stack
    – Executing [800@ext-queues:20] Set(“PJSIP/989919989-0000000d”, “QRETRY=”) in new stack
    – Executing [800@ext-queues:21] Set(“PJSIP/989919989-0000000d”, “VQ_RETRY=”) in new stack
    – Executing [800@ext-queues:22] Set(“PJSIP/989919989-0000000d”, “QOPTIONS=tr”) in new stack
    – Executing [800@ext-queues:23] Set(“PJSIP/989919989-0000000d”, “VQ_OPTIONS=”) in new stack
    – Executing [800@ext-queues:24] Set(“PJSIP/989919989-0000000d”, “QGOSUB=”) in new stack
    – Executing [800@ext-queues:25] Set(“PJSIP/989919989-0000000d”, “VQ_GOSUB=”) in new stack
    – Executing [800@ext-queues:26] Set(“PJSIP/989919989-0000000d”, “QAGI=”) in new stack
    – Executing [800@ext-queues:27] Set(“PJSIP/989919989-0000000d”, “VQ_AGI=”) in new stack
    – Executing [800@ext-queues:28] Set(“PJSIP/989919989-0000000d”, “QRULE=0”) in new stack
    – Executing [800@ext-queues:29] Set(“PJSIP/989919989-0000000d”, “QRULE=0”) in new stack
    – Executing [800@ext-queues:30] Set(“PJSIP/989919989-0000000d”, “VQ_RULE=”) in new stack
    – Executing [800@ext-queues:31] Set(“PJSIP/989919989-0000000d”, “QPOSITION=”) in new stack
    – Executing [800@ext-queues:32] Set(“PJSIP/989919989-0000000d”, “VQ_POSITION=”) in new stack
    – Executing [800@ext-queues:33] Gosub(“PJSIP/989919989-0000000d”, “sub-record-check,s,1(q,800,dontcare)”) in new stack
    – Executing [s@sub-record-check:1] GotoIf(“PJSIP/989919989-0000000d”, “7?initialized”) in new stack
    – Goto (sub-record-check,s,10)
    – Executing [s@sub-record-check:10] NoOp(“PJSIP/989919989-0000000d”, “Recordings initialized”) in new stack
    – Executing [s@sub-record-check:11] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(ARG3=dontcare)”) in new stack
    – Executing [s@sub-record-check:12] Set(“PJSIP/989919989-0000000d”, “REC_POLICY_MODE_SAVE=”) in new stack
    – Executing [s@sub-record-check:13] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(REC_STATUS=NO)”) in new stack
    – Executing [s@sub-record-check:14] GotoIf(“PJSIP/989919989-0000000d”, “1?checkaction”) in new stack
    – Goto (sub-record-check,s,17)
    – Executing [s@sub-record-check:17] GotoIf(“PJSIP/989919989-0000000d”, “0?sub-record-check,q,1”) in new stack
    – Executing [s@sub-record-check:18] NoOp(“PJSIP/989919989-0000000d”, “Generic q Recording Check - 9919989 800”) in new stack
    – Executing [s@sub-record-check:19] Gosub(“PJSIP/989919989-0000000d”, “recordcheck,1(dontcare,q,800)”) in new stack
    – Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/989919989-0000000d”, “Starting recording check against dontcare”) in new stack
    – Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/989919989-0000000d”, “dontcare”) in new stack
    – Goto (sub-record-check,recordcheck,3)
    – Executing [recordcheck@sub-record-check:3] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [s@sub-record-check:20] Return(“PJSIP/989919989-0000000d”, “”) in new stack
    – Executing [800@ext-queues:34] Set(“PJSIP/989919989-0000000d”, “__CWIGNORE=TRUE”) in new stack
    – Executing [800@ext-queues:35] Set(“PJSIP/989919989-0000000d”, “__SIGNORE=TRUE”) in new stack
    – Executing [800@ext-queues:36] Set(“PJSIP/989919989-0000000d”, “__QC_CONFIRM=0”) in new stack
    – Executing [800@ext-queues:37] GotoIf(“PJSIP/989919989-0000000d”, “0?QVQANNOUNCE:NOQVQANNOUNCE”) in new stack
    – Goto (ext-queues,800,42)
    – Executing [800@ext-queues:42] Set(“PJSIP/989919989-0000000d”, “VQ_CONFIRMMSG=”) in new stack
    – Executing [800@ext-queues:43] ExecIf(“PJSIP/989919989-0000000d”, “0?Playback(, )”) in new stack
    – Executing [800@ext-queues:44] QueueLog(“PJSIP/989919989-0000000d”, “800,1750339264.108,NONE,DID,0123951”) in new stack
    – Executing [800@ext-queues:45] Set(“PJSIP/989919989-0000000d”, “QAANNOUNCE=”) in new stack
    – Executing [800@ext-queues:46] Set(“PJSIP/989919989-0000000d”, “VQ_AANNOUNCE=”) in new stack
    – Executing [800@ext-queues:47] Set(“PJSIP/989919989-0000000d”, “QMOH=”) in new stack
    – Executing [800@ext-queues:48] Set(“PJSIP/989919989-0000000d”, “VQ_MOH=”) in new stack
    – Executing [800@ext-queues:49] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(__MOHCLASS=)”) in new stack
    – Executing [800@ext-queues:50] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(CHANNEL(musicclass)=)”) in new stack
    – Executing [800@ext-queues:51] Set(“PJSIP/989919989-0000000d”, “QMAXWAIT=”) in new stack
    – Executing [800@ext-queues:52] Set(“PJSIP/989919989-0000000d”, “VQ_MAXWAIT=”) in new stack
    – Executing [800@ext-queues:53] Set(“PJSIP/989919989-0000000d”, “QUEUENUM=800”) in new stack
    – Executing [800@ext-queues:54] Set(“PJSIP/989919989-0000000d”, “QUEUEJOINTIME=1750339290”) in new stack
    – Executing [800@ext-queues:55] Set(“PJSIP/989919989-0000000d”, “QMIN_PENALTY=”) in new stack
    – Executing [800@ext-queues:56] Set(“PJSIP/989919989-0000000d”, “VQ_MIN_PENALTY=”) in new stack
    – Executing [800@ext-queues:57] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(QUEUE_MIN_PENALTY=)”) in new stack
    – Executing [800@ext-queues:58] Set(“PJSIP/989919989-0000000d”, “QMAX_PENALTY=”) in new stack
    – Executing [800@ext-queues:59] Set(“PJSIP/989919989-0000000d”, “VQ_MAX_PENALTY=”) in new stack
    – Executing [800@ext-queues:60] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(QUEUE_MAX_PENALTY=)”) in new stack
    – Executing [800@ext-queues:61] Set(“PJSIP/989919989-0000000d”, “QRAISE_PENALTY=”) in new stack
    – Executing [800@ext-queues:62] Set(“PJSIP/989919989-0000000d”, “VQ_RAISE_PENALTY=”) in new stack
    – Executing [800@ext-queues:63] ExecIf(“PJSIP/989919989-0000000d”, “0?Set(QUEUE_RAISE_PENALTY=)”) in new stack
    – Executing [800@ext-queues:64] Set(“PJSIP/989919989-0000000d”, “_CALLER_DEST=”) in new stack
    – Executing [800@ext-queues:65] Set(“PJSIP/989919989-0000000d”, “VQ_CDEST=”) in new stack
    – Executing [800@ext-queues:66] Set(“PJSIP/989919989-0000000d”, “_AGENT_DEST=”) in new stack
    – Executing [800@ext-queues:67] Set(“PJSIP/989919989-0000000d”, “VQ_ADEST=”) in new stack
    – Executing [800@ext-queues:68] Set(“PJSIP/989919989-0000000d”, “CHANNEL(hangup_handler_push)=queueCall-hangup,s,1(800,1750339264.108,PJSIP/989919989-0000000d)”) in new stack
    – Executing [800@ext-queues:69] Queue(“PJSIP/989919989-0000000d”, “800,tr,0,”) in new stack
    – Executing [00691515@from-queue:1] Set(“Local/00691515@from-queue-00000014;2”, “QAGENT=00691515”) in new stack
    – Called Local/00691515@from-queue/n
    – Executing [00691515@from-queue:2] Set(“Local/00691515@from-queue-00000014;2”, “__FROMQ=true”) in new stack
    – Executing [00691515@from-queue:3] UserEvent(“Local/00691515@from-queue-00000014;2”, “QueueMemberCallDial,QAGENT:00691515,UNIQ:1750339290.110,Queue:800,LinkedID:”) in new stack
    – Executing [00691515@from-queue:4] Set(“Local/00691515@from-queue-00000014;2”, “CHANNEL(hangup_handler_push)=queueMemberCall-hangup,s,1(00691515,1750339290.110,800)”) in new stack
    – Executing [00691515@from-queue:5] GotoIf(“Local/00691515@from-queue-00000014;2”, “0?hangup”) in new stack
    – Executing [00691515@from-queue:6] GotoIf(“Local/00691515@from-queue-00000014;2”, “1?800,1:hangup”) in new stack
    – Goto (from-queue,800,1)

You need to show the entire web call back call from the start. I’m guessing you have the default language of the system set to IT for Italian? This may be an issue of the language being set wrong during the web call back.

The language is set to Italian and there are no problems playing the music on hold, announcements and so on, everything is correctly played in Italian.

This is the entire webcall back call:


-- Executing [0123951@webcallback-1:1] NoOp("Local/0123951@webcallback-1-00000025;2", "WEBCALLBACK call from ") in new stack
-- Executing [0123951@webcallback-1:2] Dial("Local/0123951@webcallback-1-00000025;2", "Local/0123951@from-internal,,tr") in new stack
-- Called 0123951@webcallback-1
-- Called Local/0123951@from-internal
-- Local/0123951@webcallback-1-00000025;1 is ringing
-- Executing [0123951@from-internal:1] Gosub("Local/0123951@from-internal-00000026;2", "macro-user-callerid,s,1(LIMIT)") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/0123951@from-internal-00000026;2", "TOUCH_MONITOR=1750344992.337") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/0123951@from-internal-00000026;2", "CHANCONTEXT=from-internal-00000026;2") in new stack
-- Executing [s@macro-user-callerid:3] Set("Local/0123951@from-internal-00000026;2", "CHANCONTEXT=from") in new stack
-- Executing [s@macro-user-callerid:4] Set("Local/0123951@from-internal-00000026;2", "CHANEXTENCONTEXT=0123951@from-internal-00000026;2") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/0123951@from-internal-00000026;2", "CHANEXTEN=0123951") in new stack
-- Executing [s@macro-user-callerid:6] Set("Local/0123951@from-internal-00000026;2", "CALLERID(number)=0123951") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/0123951@from-internal-00000026;2", "AMPUSER=0123951") in new stack
-- Executing [s@macro-user-callerid:8] Set("Local/0123951@from-internal-00000026;2", "HOTDESCKCHAN=0123951@from-internal-00000026;2") in new stack
-- Executing [s@macro-user-callerid:9] Set("Local/0123951@from-internal-00000026;2", "HOTDESKEXTEN=0123951@from") in new stack
-- Executing [s@macro-user-callerid:10] Set("Local/0123951@from-internal-00000026;2", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("Local/0123951@from-internal-00000026;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("Local/0123951@from-internal-00000026;2", "1?Set(REALCALLERIDNUM=0123951)") in new stack
-- Executing [s@macro-user-callerid:15] Set("Local/0123951@from-internal-00000026;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("Local/0123951@from-internal-00000026;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:17] Set("Local/0123951@from-internal-00000026;2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:18] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("Local/0123951@from-internal-00000026;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] NoOp("Local/0123951@from-internal-00000026;2", "Macro depricated!! To keep the same line numbers") in new stack
-- Executing [s@macro-user-callerid:29] NoOp("Local/0123951@from-internal-00000026;2", "Macro depricated !!  To keep the same line numbers") in new stack
-- Executing [s@macro-user-callerid:30] GotoIf("Local/0123951@from-internal-00000026;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,49)
-- Executing [s@macro-user-callerid:49] Set("Local/0123951@from-internal-00000026;2", "CALLERID(number)=0123951") in new stack
-- Executing [s@macro-user-callerid:50] Set("Local/0123951@from-internal-00000026;2", "CALLERID(name)=web:") in new stack
-- Executing [s@macro-user-callerid:51] GotoIf("Local/0123951@from-internal-00000026;2", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:52] Set("Local/0123951@from-internal-00000026;2", "__MCNUM=0123951") in new stack
-- Executing [s@macro-user-callerid:53] Set("Local/0123951@from-internal-00000026;2", "__MCNAME=web:") in new stack
-- Executing [s@macro-user-callerid:54] Set("Local/0123951@from-internal-00000026;2", "__MCEXTEN=") in new stack
-- Executing [s@macro-user-callerid:55] Set("Local/0123951@from-internal-00000026;2", "__MCORGCHAN=Local/0123951@from-internal-00000026;2") in new stack
-- Executing [s@macro-user-callerid:56] Set("Local/0123951@from-internal-00000026;2", "CDR(cnam)=web:") in new stack
-- Executing [s@macro-user-callerid:57] Set("Local/0123951@from-internal-00000026;2", "CDR(cnum)=0123951") in new stack
-- Executing [s@macro-user-callerid:58] GosubIf("Local/0123951@from-internal-00000026;2", "0?app-check-classofservce,s,1()") in new stack
-- Executing [s@macro-user-callerid:59] Return("Local/0123951@from-internal-00000026;2", "") in new stack
-- Executing [0123951@from-internal:2] Set("Local/0123951@from-internal-00000026;2", "ROUTEUSER=") in new stack
-- Executing [0123951@from-internal:3] Set("Local/0123951@from-internal-00000026;2", "ROUTEUSER=") in new stack
-- Executing [0123951@from-internal:4] GotoIf("Local/0123951@from-internal-00000026;2", "1?notblind") in new stack
-- Goto (from-internal,0123951,7)
-- Executing [0123951@from-internal:7] GotoIf("Local/0123951@from-internal-00000026;2", "0?,0123951,2:outbound-allroutes,0123951,2") in new stack
-- Goto (outbound-allroutes,0123951,2)
-- Executing [0123951@outbound-allroutes:2] Gosub("Local/0123951@from-internal-00000026;2", "sub-record-check,s,1(out,0123951,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("Local/0123951@from-internal-00000026;2", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("Local/0123951@from-internal-00000026;2", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("Local/0123951@from-internal-00000026;2", "NOW=1750344992") in new stack
-- Executing [s@sub-record-check:4] Set("Local/0123951@from-internal-00000026;2", "__DAY=19") in new stack
-- Executing [s@sub-record-check:5] Set("Local/0123951@from-internal-00000026;2", "__MONTH=06") in new stack
-- Executing [s@sub-record-check:6] Set("Local/0123951@from-internal-00000026;2", "__YEAR=2025") in new stack
-- Executing [s@sub-record-check:7] Set("Local/0123951@from-internal-00000026;2", "__TIMESTR=20250619-165632") in new stack
-- Executing [s@sub-record-check:8] Set("Local/0123951@from-internal-00000026;2", "__FROMEXTEN=0123951") in new stack
-- Executing [s@sub-record-check:9] Set("Local/0123951@from-internal-00000026;2", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("Local/0123951@from-internal-00000026;2", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("Local/0123951@from-internal-00000026;2", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("Local/0123951@from-internal-00000026;2", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("Local/0123951@from-internal-00000026;2", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("Local/0123951@from-internal-00000026;2", "Outbound Recording Check from 0123951 to 0123951") in new stack
-- Executing [out@sub-record-check:2] Set("Local/0123951@from-internal-00000026;2", "RECMODE=") in new stack
-- Executing [out@sub-record-check:3] ExecIf("Local/0123951@from-internal-00000026;2", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("Local/0123951@from-internal-00000026;2", "recordcheck,1(dontcare,out,0123951)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("Local/0123951@from-internal-00000026;2", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("Local/0123951@from-internal-00000026;2", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("Local/0123951@from-internal-00000026;2", "") in new stack
-- Executing [out@sub-record-check:8] Return("Local/0123951@from-internal-00000026;2", "") in new stack
-- Executing [0123951@outbound-allroutes:3] ExecIf("Local/0123951@from-internal-00000026;2", "0 ?Set(CHANNEL(accountcode)=)") in new stack
-- Executing [0123951@outbound-allroutes:4] Set("Local/0123951@from-internal-00000026;2", "_ROUTEID=7") in new stack
-- Executing [0123951@outbound-allroutes:5] Set("Local/0123951@from-internal-00000026;2", "_ROUTENAME=NV | Esterna-Web Callback") in new stack
-- Executing [0123951@outbound-allroutes:6] Set("Local/0123951@from-internal-00000026;2", "MOHCLASS=default") in new stack
-- Executing [0123951@outbound-allroutes:7] Set("Local/0123951@from-internal-00000026;2", "_CALLERIDNAMEINTERNAL=web:") in new stack
-- Executing [0123951@outbound-allroutes:8] Set("Local/0123951@from-internal-00000026;2", "_CALLERIDNUMINTERNAL=0123951") in new stack
-- Executing [0123951@outbound-allroutes:9] Set("Local/0123951@from-internal-00000026;2", "_EMAILNOTIFICATION=FALSE") in new stack
-- Executing [0123951@outbound-allroutes:10] Set("Local/0123951@from-internal-00000026;2", "_NODEST=") in new stack
-- Executing [0123951@outbound-allroutes:11] Gosub("Local/0123951@from-internal-00000026;2", "macro-dialout-trunk,s,1(1,0123951,,off)") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/0123951@from-internal-00000026;2", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
-- Executing [s@macro-dialout-trunk:3] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(DIAL_OPTIONS=HhTr)") in new stack
-- Executing [s@macro-dialout-trunk:4] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
-- Executing [s@macro-dialout-trunk:5] GosubIf("Local/0123951@from-internal-00000026;2", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:6] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(num)=)") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/0123951@from-internal-00000026;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Local/0123951@from-internal-00000026;2", "DIAL_NUMBER=0123951") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Local/0123951@from-internal-00000026;2", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/0123951@from-internal-00000026;2", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:11] Set("Local/0123951@from-internal-00000026;2", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
-- Executing [s@macro-dialout-trunk:13] GotoIf("Local/0123951@from-internal-00000026;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,15)
-- Executing [s@macro-dialout-trunk:15] GotoIf("Local/0123951@from-internal-00000026;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:16] Gosub("Local/0123951@from-internal-00000026;2", "macro-outbound-callerid,s,1(1)") in new stack
-- Executing [s@macro-outbound-callerid:1] NoOp("Local/0123951@from-internal-00000026;2", "0123951") in new stack
-- Executing [s@macro-outbound-callerid:2] NoOp("Local/0123951@from-internal-00000026;2", "") in new stack
-- Executing [s@macro-outbound-callerid:3] NoOp("Local/0123951@from-internal-00000026;2", "all") in new stack
-- Executing [s@macro-outbound-callerid:4] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:5] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:6] Set("Local/0123951@from-internal-00000026;2", "HOTDESCKCHAN=0123951@from-internal-00000026;2") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("Local/0123951@from-internal-00000026;2", "HOTDESKEXTEN=0123951@from") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/0123951@from-internal-00000026;2", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-outbound-callerid:9] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-outbound-callerid:10] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Local/0123951@from-internal-00000026;2", "ALLOWTHISROUTE=NO") in new stack
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(ALLOWTHISROUTE=YES)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/0123951@from-internal-00000026;2", "0?Hangup()") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(REALCALLERIDNUM=0123951)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(AMPUSER=0123951)") in new stack
-- Executing [s@macro-outbound-callerid:16] GotoIf("Local/0123951@from-internal-00000026;2", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,20)
-- Executing [s@macro-outbound-callerid:20] Set("Local/0123951@from-internal-00000026;2", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("Local/0123951@from-internal-00000026;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:22] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(SCDEXT=YES)") in new stack
-- Executing [s@macro-outbound-callerid:23] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [s@macro-outbound-callerid:24] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-outbound-callerid:25] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [s@macro-outbound-callerid:26] Set("Local/0123951@from-internal-00000026;2", "TRUNKOUTCID=0766098002") in new stack
-- Executing [s@macro-outbound-callerid:27] GotoIf("Local/0123951@from-internal-00000026;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,33)
-- Executing [s@macro-outbound-callerid:33] ExecIf("Local/0123951@from-internal-00000026;2", "1?Set(CALLERID(all)=0766098002)") in new stack
-- Executing [s@macro-outbound-callerid:34] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:35] ExecIf("Local/0123951@from-internal-00000026;2", "1?Set(CALLERID(all)=0766098002)") in new stack
-- Executing [s@macro-outbound-callerid:36] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(all)=0123951)") in new stack
-- Executing [s@macro-outbound-callerid:37] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(all)=0123951)") in new stack
-- Executing [s@macro-outbound-callerid:38] Set("Local/0123951@from-internal-00000026;2", "TIOHIDE=no") in new stack
-- Executing [s@macro-outbound-callerid:39] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:40] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:41] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:42] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:43] Set("Local/0123951@from-internal-00000026;2", "CDR(outbound_cnum)=0766098002") in new stack
-- Executing [s@macro-outbound-callerid:44] Set("Local/0123951@from-internal-00000026;2", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-outbound-callerid:45] Return("Local/0123951@from-internal-00000026;2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GosubIf("Local/0123951@from-internal-00000026;2", "0?sub-flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:18] Set("Local/0123951@from-internal-00000026;2", "OUTNUM=0123951") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Local/0123951@from-internal-00000026;2", "custom=PJSIP") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(DIAL_TRUNK_MOH=default)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(DIAL_TRUNK_OPTIONS=TU(macro-confirm))") in new stack
-- Executing [s@macro-dialout-trunk:22] Gosub("Local/0123951@from-internal-00000026;2", "macro-dialout-trunk-predial-hook,s,1()") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] Return("Local/0123951@from-internal-00000026;2", "") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Local/0123951@from-internal-00000026;2", "0?skipcrm") in new stack
-- Executing [s@macro-dialout-trunk:24] Set("Local/0123951@from-internal-00000026;2", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [s@macro-dialout-trunk:25] Set("Local/0123951@from-internal-00000026;2", "__CRM_DESTINATION=0123951") in new stack
-- Executing [s@macro-dialout-trunk:26] Set("Local/0123951@from-internal-00000026;2", "__CRM_SOURCE=") in new stack
-- Executing [s@macro-dialout-trunk:27] AGI("Local/0123951@from-internal-00000026;2", "agi://127.0.0.1/sangomacrm.agi") in new stack
part 2
---


agi://127.0.0.1/sangomacrm.agi: LINKEDID: 1750344992.334
agi://127.0.0.1/sangomacrm.agi: SOURCE:
agi://127.0.0.1/sangomacrm.agi: DESTINATION: 0123951
agi://127.0.0.1/sangomacrm.agi: DIRECTION: OUTBOUND
agi://127.0.0.1/sangomacrm.agi: EXTTOCALL:
agi://127.0.0.1/sangomacrm.agi: START
agi://127.0.0.1/sangomacrm.agi: SCRIPT: php /var/www/html/admin/modules/sangomacrm/importOne.php 'eyJ1dWlkIjoiMTc1MDM0NDk5Mi4zMzQiLCJzb3VyY2UiOiIiLCJkZXN0aW5hdGlvbiI6IjM0ODUyNTEwMDIiLCJkaXJlY3Rpb24iOiJPVVRCT1VORCIsInR5cGUiOiJTVEFSVCIsInp1bHVfcmF3X3R5cGUiOiIiLCJ6dWx1X3R5cGUiOiIiLCJ6dWx1X3VybCI6IiIsImV4dHRvY2FsbCI6IiIsImNudW0iOiIwNzY2MDk4MDAyIiwiY25hbSI6IiIsImNhbGxwb3AiOmZhbHNlLCJ2b2ljZW1haWwiOiIiLCJmcm9tX2RpZCI6IiJ9' > /dev/null 2>&1 &
    -- <Local/0123951@from-internal-00000026;2>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
    -- Executing [s@macro-dialout-trunk:28] Set("Local/0123951@from-internal-00000026;2", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:29] NoOp("Local/0123951@from-internal-00000026;2", "CRM Finished") in new stack
    -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/0123951@from-internal-00000026;2", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:31] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CONNECTEDLINE(num,i)=0123951)") in new stack
    -- Executing [s@macro-dialout-trunk:32] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CONNECTEDLINE(name,i)=CID:0766098002)") in new stack
    -- Executing [s@macro-dialout-trunk:33] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)0766098002)") in new stack
    -- Executing [s@macro-dialout-trunk:34] GotoIf("Local/0123951@from-internal-00000026;2", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:35] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
    -- Executing [s@macro-dialout-trunk:36] Set("Local/0123951@from-internal-00000026;2", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
    -- Executing [s@macro-dialout-trunk:37] Gosub("Local/0123951@from-internal-00000026;2", "trunk-dial-with-exten,0123951,1()") in new stack
    -- Executing [0123951@trunk-dial-with-exten:1] Dial("Local/0123951@from-internal-00000026;2", "PJSIP/0123951@NV_0123456,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^0123951^^1^1750344992^^0766098002,^)") in new stack
    -- PJSIP/NV_0123456-0000005d Internal Gosub(func-apply-sipheaders,s,1(1)) start
    -- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/NV_0123456-0000005d", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
    -- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/NV_0123456-0000005d", "Applying SIP Headers to channel PJSIP/NV_0123456-0000005d") in new stack
    -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/NV_0123456-0000005d", "localchan=NV_0123456-0000005d") in new stack
    -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/NV_0123456-0000005d", "DialMCEXT=NV_0123456") in new stack
    -- Executing [s@func-apply-sipheaders:5] Set("PJSIP/NV_0123456-0000005d", "CHANNEL(hangup_handler_push)=app-missedcall-hangup,NV_0123456,1") in new stack
    -- Executing [s@func-apply-sipheaders:6] Set("PJSIP/NV_0123456-0000005d", "Dchan=NV_0123456-0000005d") in new stack
    -- Executing [s@func-apply-sipheaders:7] Set("PJSIP/NV_0123456-0000005d", "TECH=PJSIP") in new stack
    -- Executing [s@func-apply-sipheaders:8] Set("PJSIP/NV_0123456-0000005d", "SIPHEADERKEYS=Alert-Info") in new stack
    -- Executing [s@func-apply-sipheaders:9] While("PJSIP/NV_0123456-0000005d", "1") in new stack
    -- Executing [s@func-apply-sipheaders:10] Set("PJSIP/NV_0123456-0000005d", "sipheader=unset") in new stack
    -- Executing [s@func-apply-sipheaders:11] ExecIf("PJSIP/NV_0123456-0000005d", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
[2025-06-19 16:56:32] ERROR[213218]: res_pjsip_header_funcs.c:739 remove_header: No headers had been previously added to this session.
    -- Executing [s@func-apply-sipheaders:12] ExecIf("PJSIP/NV_0123456-0000005d", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
    -- Executing [s@func-apply-sipheaders:13] ExecIf("PJSIP/NV_0123456-0000005d", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
    -- Executing [s@func-apply-sipheaders:14] ExecIf("PJSIP/NV_0123456-0000005d", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
    -- Executing [s@func-apply-sipheaders:15] EndWhile("PJSIP/NV_0123456-0000005d", "") in new stack
    -- Executing [s@func-apply-sipheaders:9] While("PJSIP/NV_0123456-0000005d", "0") in new stack
    -- Executing [s@func-apply-sipheaders:16] Return("PJSIP/NV_0123456-0000005d", "") in new stack
  == Spawn extension (from-pstn, 0123951, 1) exited non-zero on 'PJSIP/NV_0123456-0000005d'
    -- PJSIP/NV_0123456-0000005d Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
    -- Called PJSIP/0123951@NV_0123456
    -- PJSIP/NV_0123456-0000005d is making progress passing it to Local/0123951@from-internal-00000026;2
    -- Local/0123951@from-internal-00000026;1 is making progress passing it to Local/0123951@webcallback-1-00000025;2
    -- PJSIP/NV_0123456-0000005d is ringing
    -- Local/0123951@from-internal-00000026;1 is ringing
    -- Local/0123951@webcallback-1-00000025;1 is ringing
    -- PJSIP/NV_0123456-0000005d is ringing
    -- PJSIP/NV_0123456-0000005d answered Local/0123951@from-internal-00000026;2
    -- PJSIP/NV_0123456-0000005d Internal Gosub(sub-send-obroute-email,s,1(0123951,,1,1750344992,,0766098002,,)) start
    -- Executing [s@sub-send-obroute-email:1] GosubIf("PJSIP/NV_0123456-0000005d", "0?macro-setmusic,s,1()") in new stack
    -- Executing [s@sub-send-obroute-email:2] GotoIf("PJSIP/NV_0123456-0000005d", "0?gosubconfirm:normal") in new stack
    -- Goto (sub-send-obroute-email,s,4)
    -- Executing [s@sub-send-obroute-email:4] GotoIf("PJSIP/NV_0123456-0000005d", "0?sendEmail") in new stack
    -- Executing [s@sub-send-obroute-email:5] NoOp("PJSIP/NV_0123456-0000005d", "email notifications disabled..exiting.") in new stack
    -- Executing [s@sub-send-obroute-email:6] Return("PJSIP/NV_0123456-0000005d", "") in new stack
  == Spawn extension (from-pstn, , 1) exited non-zero on 'PJSIP/NV_0123456-0000005d'
    -- PJSIP/NV_0123456-0000005d Internal Gosub(sub-send-obroute-email,s,1(0123951,,1,1750344992,,0766098002,,)) complete GOSUB_RETVAL=
    -- Local/0123951@from-internal-00000026;1 answered Local/0123951@webcallback-1-00000025;2
    -- Local/0123951@webcallback-1-00000025;1 answered
    -- Channel PJSIP/NV_0123456-0000005d joined 'simple_bridge' basic-bridge <2eca23ac-6f03-424c-98f4-117af05b2686>
    -- Executing [s@ivr-3:1] Set("Local/0123951@webcallback-1-00000025;1", "TIMEOUT_LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-3:2] Set("Local/0123951@webcallback-1-00000025;1", "INVALID_LOOPCOUNT=0") in new stack
    -- Channel Local/0123951@from-internal-00000026;2 joined 'simple_bridge' basic-bridge <2eca23ac-6f03-424c-98f4-117af05b2686>
    -- Executing [s@ivr-3:3] Set("Local/0123951@webcallback-1-00000025;1", "_IVR_CONTEXT_ivr-3=") in new stack
    -- Executing [s@ivr-3:4] Set("Local/0123951@webcallback-1-00000025;1", "_IVR_CONTEXT=ivr-3") in new stack
    -- Executing [s@ivr-3:5] Set("Local/0123951@webcallback-1-00000025;1", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-3:6] Set("Local/0123951@webcallback-1-00000025;1", "__IVR_ACCEPT_POUND=0") in new stack
    -- Executing [s@ivr-3:7] GotoIf("Local/0123951@webcallback-1-00000025;1", "1?skip") in new stack
    -- Goto (ivr-3,s,9)
    -- Executing [s@ivr-3:9] Set("Local/0123951@webcallback-1-00000025;1", "IVR_MSG=custom/01_Benvenuto_2021") in new stack
    -- Executing [s@ivr-3:10] Set("Local/0123951@webcallback-1-00000025;1", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-3:11] ExecIf("Local/0123951@webcallback-1-00000025;1", "1?Background(custom/01_Benvenuto_2021)") in new stack
[2025-06-19 16:56:38] WARNING[239634][C-00000083]: file.c:825 ast_openstream_full: File custom/01_Benvenuto_2021 does not exist in any format
[2025-06-19 16:56:38] WARNING[239634][C-00000083]: file.c:1322 ast_streamfile: Unable to open custom/01_Benvenuto_2021 (format (slin)): No such file or directory
[2025-06-19 16:56:38] WARNING[239634][C-00000083]: pbx_builtins.c:1261 pbx_builtin_background: ast_streamfile failed on Local/0123951@webcallback-1-00000025;1 for custom/01_Benvenuto_2021
    -- Executing [s@ivr-3:12] WaitExten("Local/0123951@webcallback-1-00000025;1", "5,") in new stack
    -- Channel Local/0123951@from-internal-00000026;1 joined 'simple_bridge' basic-bridge <1172afe6-9415-4efa-a5b3-829d3b2a38cc>
    -- Channel Local/0123951@webcallback-1-00000025;2 joined 'simple_bridge' basic-bridge <1172afe6-9415-4efa-a5b3-829d3b2a38cc>
       > Move-swap optimizing Local/0123951@from-internal-00000026;1 <-- PJSIP/NV_0123456-0000005d.
    -- Channel PJSIP/NV_0123456-0000005d left 'simple_bridge' basic-bridge <2eca23ac-6f03-424c-98f4-117af05b2686>
    -- Channel Local/0123951@from-internal-00000026;1 left 'simple_bridge' basic-bridge <1172afe6-9415-4efa-a5b3-829d3b2a38cc>
    -- Channel PJSIP/NV_0123456-0000005d swapped with Local/0123951@from-internal-00000026;1 into 'simple_bridge' basic-bridge <1172afe6-9415-4efa-a5b3-829d3b2a38cc>
    -- Channel Local/0123951@from-internal-00000026;2 left 'simple_bridge' basic-bridge <2eca23ac-6f03-424c-98f4-117af05b2686>
  == Spawn extension (trunk-dial-with-exten, 0123951, 1) exited non-zero on 'Local/0123951@from-internal-00000026;2'
    -- Executing [h@trunk-dial-with-exten:1] Gosub("Local/0123951@from-internal-00000026;2", "macro-hangupcall,s,1()") in new stack
    -- Executing [s@macro-hangupcall:1] Set("Local/0123951@from-internal-00000026;2", "__MCVMSTATUS=") in new stack
    -- Executing [s@macro-hangupcall:2] Gosub("Local/0123951@from-internal-00000026;2", "app-missedcall-hangup,s,1()") in new stack
    -- Executing [s@app-missedcall-hangup:1] NoOp("Local/0123951@from-internal-00000026;2", "Dialed: s") in new stack
    -- Executing [s@app-missedcall-hangup:2] NoOp("Local/0123951@from-internal-00000026;2", "Caller: ") in new stack
    -- Executing [s@app-missedcall-hangup:3] GotoIf("Local/0123951@from-internal-00000026;2", "1?exit") in new stack
    -- Goto (app-missedcall-hangup,s,8)
    -- Executing [s@app-missedcall-hangup:8] Return("Local/0123951@from-internal-00000026;2", "") in new stack
    -- Executing [s@macro-hangupcall:3] UserEvent("Local/0123951@from-internal-00000026;2", "MES,RTPAUDIOQOSMESBRIDGED:,RTPAUDIOQOSMES:") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("Local/0123951@from-internal-00000026;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:7] ExecIf("Local/0123951@from-internal-00000026;2", "0?AGI(pbxmfa.agi,noanswer)") in new stack
    -- Executing [s@macro-hangupcall:8] Hangup("Local/0123951@from-internal-00000026;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 8) exited non-zero on 'Local/0123951@from-internal-00000026;2'
    -- Local/0123951@from-internal-00000026;2 Internal Gosub(crm-hangup,s,1) start
    -- Executing [s@crm-hangup:1] NoOp("Local/0123951@from-internal-00000026;2", "Sending Hangup to CRM") in new stack
    -- Executing [s@crm-hangup:2] NoOp("Local/0123951@from-internal-00000026;2", "HANGUP CAUSE: 16") in new stack
    -- Executing [s@crm-hangup:3] ExecIf("Local/0123951@from-internal-00000026;2", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [s@crm-hangup:4] NoOp("Local/0123951@from-internal-00000026;2", "MASTER CHANNEL: 1750344992.337 = 1750344992.334") in new stack
    -- Executing [s@crm-hangup:5] GotoIf("Local/0123951@from-internal-00000026;2", "1?return") in new stack
    -- Goto (crm-hangup,s,8)
    -- Executing [s@crm-hangup:8] Return("Local/0123951@from-internal-00000026;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 8) exited non-zero on 'Local/0123951@from-internal-00000026;2'
    -- Local/0123951@from-internal-00000026;2 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Timeout on Local/0123951@webcallback-1-00000025;1, going to 't'
    -- Executing [t@ivr-3:1] Set("Local/0123951@webcallback-1-00000025;1", "TIMEOUT_LOOPCOUNT=1") in new stack
    -- Executing [t@ivr-3:2] GotoIf("Local/0123951@webcallback-1-00000025;1", "0?final") in new stack
    -- Executing [t@ivr-3:3] Set("Local/0123951@webcallback-1-00000025;1", "IVR_MSG=custom/01_Benvenuto_2021&custom/01_Benvenuto_2021") in new stack
    -- Executing [t@ivr-3:4] Goto("Local/0123951@webcallback-1-00000025;1", "s,start") in new stack
    -- Goto (ivr-3,s,10)
    -- Executing [s@ivr-3:10] Set("Local/0123951@webcallback-1-00000025;1", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-3:11] ExecIf("Local/0123951@webcallback-1-00000025;1", "1?Background(custom/01_Benvenuto_2021&custom/01_Benvenuto_2021)") in new stack
[2025-06-19 16:56:43] WARNING[239634][C-00000083]: file.c:825 ast_openstream_full: File custom/01_Benvenuto_2021 does not exist in any format
[2025-06-19 16:56:43] WARNING[239634][C-00000083]: file.c:1322 ast_streamfile: Unable to open custom/01_Benvenuto_2021 (format (slin)): No such file or directory
[2025-06-19 16:56:43] WARNING[239634][C-00000083]: pbx_builtins.c:1261 pbx_builtin_background: ast_streamfile failed on Local/0123951@webcallback-1-00000025;1 for custom/01_Benvenuto_2021&custom/01_Benvenuto_2021
    -- Executing [s@ivr-3:12] WaitExten("Local/0123951@webcallback-1-00000025;1", "5,") in new stack
    -- Channel PJSIP/NV_0123456-0000005d left 'simple_bridge' basic-bridge <1172afe6-9415-4efa-a5b3-829d3b2a38cc>
    -- Channel Local/0123951@webcallback-1-00000025;2 left 'simple_bridge' basic-bridge <1172afe6-9415-4efa-a5b3-829d3b2a38cc>
    -- PJSIP/NV_0123456-0000005d Internal Gosub(app-missedcall-hangup,NV_0123456,1) start
    -- Executing [NV_0123456@app-missedcall-hangup:1] NoOp("PJSIP/NV_0123456-0000005d", "Dialed: NV_0123456") in new stack
    -- Executing [NV_0123456@app-missedcall-hangup:2] NoOp("PJSIP/NV_0123456-0000005d", "Caller: ") in new stack
    -- Executing [NV_0123456@app-missedcall-hangup:3] GotoIf("PJSIP/NV_0123456-0000005d", "0?exit") in new stack
  == Spawn extension (webcallback-1, 0123951, 2) exited non-zero on 'Local/0123951@webcallback-1-00000025;2'
    -- Executing [NV_0123456@app-missedcall-hangup:4] Set("PJSIP/NV_0123456-0000005d", "EXTENNUM=NV_0123456") in new stack
    -- Executing [NV_0123456@app-missedcall-hangup:5] Set("PJSIP/NV_0123456-0000005d", "FEXTENNUM=NV_0123456") in new stack
    -- Executing [NV_0123456@app-missedcall-hangup:6] GotoIf("PJSIP/NV_0123456-0000005d", "0?exit") in new stack
    -- Executing [NV_0123456@app-missedcall-hangup:7] AGI("PJSIP/NV_0123456-0000005d", "agi://127.0.0.1/missedcallnotify.php,NV_0123456,,NV_0123456,0,,PJSIP/NV_0123456-0000005d,,,,") in new stack
  == Spawn extension (ivr-3, s, 12) exited non-zero on 'Local/0123951@webcallback-1-00000025;1'
    -- Executing [h@ivr-3:1] Hangup("Local/0123951@webcallback-1-00000025;1", "") in new stack
  == Spawn extension (ivr-3, h, 1) exited non-zero on 'Local/0123951@webcallback-1-00000025;1'
    -- <PJSIP/NV_0123456-0000005d>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
    -- Executing [NV_0123456@app-missedcall-hangup:8] Return("PJSIP/NV_0123456-0000005d", "") in new stack
  == Spawn extension (from-pstn, , 1) exited non-zero on 'PJSIP/NV_0123456-0000005d'
    -- PJSIP/NV_0123456-0000005d Internal Gosub(app-missedcall-hangup,NV_0123456,1) complete GOSUB_RETVAL=

OK SSH into the system and do this:

asterisk -rx "core show settings" and provide that output.

PBX Core settings

Version: 22.3.0
ABI related Build Options: OPTIONAL_API
All Build Options: DONT_OPTIMIZE, COMPILE_DOUBLE, OPTIONAL_API
Maximum calls: Not set
Maximum open file handles: 1048576
Root console verbosity: 3
Current console verbosity: 0
Debug level: 0
Trace level: 0
Dump core on crash: Yes
Core dump file: core
Maximum load average: 0.000000
Minimum free memory: 0 MB
Startup time: 10:18:08
Last reload time: 17:10:13
System: Linux/6.1.0-26-amd64 built by jenkins on x86_64 2025-04-08 09:21:18 UTC
System name:
Entity ID: 42:01:0a:c6:00:0a
PBX UUID: fcae2047-132f-4304-a7b5-fbbf5543d54f
Default language: en
Language prefix: Enabled
User name and group: /
Running directory: /tmp
Executable includes: Disabled
Transcode via SLIN: Enabled
Transmit silence during rec: Disabled
Generic PLC: Enabled
Generic PLC on equal codecs: Disabled
Hide Msg Chan AMI events: Disabled
Sounds search custom dir: Disabled
Min DTMF duration:: 80
Cache media frames: Enabled
RTP use dynamic payloads: 1
RTP dynamic payload types: 35-63,96-127

  • Subsystems

    Manager (AMI): Enabled
    Web Manager (AMI/HTTP): Disabled
    Call data records: Enabled
    Realtime Architecture (ARA): Enabled

  • Directories

    Configuration file: /etc/asterisk/asterisk.conf
    Configuration directory: /etc/asterisk
    Module directory: /lib/x86_64-linux-gnu/asterisk/modules
    Spool directory: /var/spool/asterisk
    Log directory: /var/log/asterisk
    Run/Sockets directory: /var/run/asterisk
    PID file: /var/run/asterisk/asterisk.pid
    VarLib directory: /var/lib/asterisk
    Data directory: /var/lib/asterisk
    ASTDB: /var/lib/asterisk/astdb
    IAX2 Keys directory: /var/lib/asterisk/keys
    AGI Scripts directory: /var/lib/asterisk/agi-bin
    Cache directory: /var/cache/asterisk

Asterisk actual default language is English. The Sound Language(s) are set on endpoint configs and channel settings in the dialplan not as a global/general. The web callback is initiating a local channel that is going to use the default language set in Asterisk unless it is changed in the dialplan/action or however the local channel is spawned.

Go put these sounds files for the IVR in the en/custom folder on the system and test again. I bet they’ll playback.

Hi

yes as I supposed, I copied the files from /var/lib/asterisk/sounds/it/custom to /var/lib/asterisk/sounds/custom and it works and this is valid for every destination that calls the loaded audio files, at this point it is a bug of the commercial module that ignores the regional settings