vitalpbx wombat dialer

Hi

Anyone ever try wombat dialer with vitalpbx?

Is it working?

Thanks

Remember VitalPBX uses PHP 7 and MariaDB 10, so you should check if Wombat can run in VitalPBX’s Env.

Hi @miguel

Yes, Wombat Dialer using mariadb 5.5, but we can install wombat on different server.

I just try to integrated with vitalpbx but there is issue about call report (call status), in vitalpbx call status as number, in normal status maybe “TERMINATE”, NO_ANSWER,BUSY,etc

If your team have time may be try to explore , wombat dialer + vitalpbx and using vitxi webrtc as phone.

I think all report (sonata wallboard/monitoring, etc) can replace Queue Metric report and queue metric agent page

Thanks

1 Like

In wombat dialer can also be set multiple attributes as variables and will be sent to asterisk, all these variables can be captured in the queue metric agent page. When the agent clicks a “link popup” all the attributes/variables will appear. It would be great if vitxi could do the same when popup -url

1 Like

Check the field “disposition” on the CDR.

Hi @miguel

I’ll explain the results of a vitalpbx experiment with a dialer wombat

Here’s the configuration/setting for testing

In picture 1, trunk definition,
picture 2, End Point (when the call is connected will be forwarded to queue (Q800).
picture 3, List Prospect to be called by the WD engine

I add custom dialpan on file extensions__20-baseplan.conf

[telco-provider]
exten => _[-+*#0-9a-zA-Z].,1,NoOp(Class of Services Trunk: All Permissions)
same => n,Set(CALLERID(all)=${CALLERID})
same => n,Noop(CUSTOMER_DATA=${CUSTOMER_DATA} WOMBAT_HOPPER_ID=${WOMBAT_HOPPER_ID} WOMBAT_DIALING_LIST=${WOMBAT_DIALING_LIST})
same => n,Goto(cos-all,${EXTEN},1)

WD engine running-> call prospect → pickup /answer → queue → ringing on agent → pickup/answer → hangup.

But why on “sub-local-dialing” it go to “failed@cos-all”

Executing [failed@cos-all:1] NoOp("OutgoingSpoolFailed", "More than on digit pattern") in new stack

And cdr report we also find status “FAILED”

My Question : How to disable go to “failed@cos-all” ? it make cdr invalid and result report on wombat dialer status “RS_NUMBER”, in normal state on WD it should be “TERMITATED”

Here is log detail asterisk

cc*CLI>
    -- Called 081287264002@telco-provider
    -- Executing [081287264002@telco-provider:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Class of Services Trunk: All Permissions") in new stack
    -- Executing [081287264002@telco-provider:2] Set("Local/081287264002@telco-provider-00000027;2", "CALLERID(all)=081287264002") in new stack
    -- Executing [081287264002@telco-provider:3] NoOp("Local/081287264002@telco-provider-00000027;2", "CUSTOMER_DATA=c_081287264002 WOMBAT_HOPPER_ID=796268265 WOMBAT_DIALING_LIST=ListMobile") in new stack
    -- Executing [081287264002@telco-provider:4] Goto("Local/081287264002@telco-provider-00000027;2", "cos-all,081287264002,1") in new stack
    -- Goto (cos-all,081287264002,1)
    -- Executing [081287264002@cos-all:1] NoOp("Local/081287264002@telco-provider-00000027;2", "More than on digit pattern") in new stack
    -- Executing [081287264002@cos-all:2] Gosub("Local/081287264002@telco-provider-00000027;2", "s,1(081287264002)") in new stack
    -- Executing [s@cos-all:1] Set("Local/081287264002@telco-provider-00000027;2", "EXTENSION=081287264002") in new stack
    -- Executing [s@cos-all:2] NoOp("Local/081287264002@telco-provider-00000027;2", "Dialing 081287264002 from 081287264002") in new stack
    -- Executing [s@cos-all:3] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-set-global-vars,s,1(b4cdfdbfe12da3e5,081287264002,parking-1)") in new stack
    -- Executing [s@sub-set-global-vars:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Setting Global Vars") in new stack
    -- Executing [s@sub-set-global-vars:2] Set("Local/081287264002@telco-provider-00000027;2", "TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-global-vars:3] Set("Local/081287264002@telco-provider-00000027;2", "PREFIX=") in new stack
    -- Executing [s@sub-set-global-vars:4] Set("Local/081287264002@telco-provider-00000027;2", "__PICKUPMARK=081287264002") in new stack
    -- Executing [s@sub-set-global-vars:5] Set("Local/081287264002@telco-provider-00000027;2", "__PARKINGLOT=parking-1") in new stack
    -- Executing [s@sub-set-global-vars:6] Set("Local/081287264002@telco-provider-00000027;2", "__DYNAMIC_FEATURES=custom-features") in new stack
    -- Executing [s@sub-set-global-vars:7] Set("Local/081287264002@telco-provider-00000027;2", "ICALL=no") in new stack
    -- Executing [s@sub-set-global-vars:8] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@cos-all:4] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-set-call-vars,s,1(b4cdfdbfe12da3e5,081287264002,1,cos-all,ARS-all)") in new stack
    -- Executing [s@sub-set-call-vars:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Setting Call Vars") in new stack
    -- Executing [s@sub-set-call-vars:2] Set("Local/081287264002@telco-provider-00000027;2", "_TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-call-vars:3] Set("Local/081287264002@telco-provider-00000027;2", "_CALL_DESTINATION=081287264002") in new stack
    -- Executing [s@sub-set-call-vars:4] Set("Local/081287264002@telco-provider-00000027;2", "_COS_ID=1") in new stack
    -- Executing [s@sub-set-call-vars:5] Set("Local/081287264002@telco-provider-00000027;2", "_COS_NAME=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:6] Set("Local/081287264002@telco-provider-00000027;2", "__TRANSFER_CONTEXT=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:7] Set("Local/081287264002@telco-provider-00000027;2", "_ARS=ARS-all") in new stack
    -- Executing [s@sub-set-call-vars:8] Set("Local/081287264002@telco-provider-00000027;2", "CDR(tenant)=vitalpbx") in new stack
    -- Executing [s@sub-set-call-vars:9] Set("Local/081287264002@telco-provider-00000027;2", "CDR(destination)=081287264002") in new stack
    -- Executing [s@sub-set-call-vars:10] Set("Local/081287264002@telco-provider-00000027;2", "CDR(trunk)=") in new stack
    -- Executing [s@sub-set-call-vars:11] Set("Local/081287264002@telco-provider-00000027;2", "CDR(did)=") in new stack
    -- Executing [s@sub-set-call-vars:12] Set("Local/081287264002@telco-provider-00000027;2", "__CALLID=1635490803.214") in new stack
    -- Executing [s@sub-set-call-vars:13] ExecIf("Local/081287264002@telco-provider-00000027;2", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@sub-set-call-vars:14] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@cos-all:5] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-construct-cid,s,1") in new stack
    -- Executing [s@sub-construct-cid:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Building CID") in new stack
    -- Executing [s@sub-construct-cid:2] Set("Local/081287264002@telco-provider-00000027;2", "_CALL_SOURCE=081287264002") in new stack
    -- Executing [s@sub-construct-cid:3] Set("Local/081287264002@telco-provider-00000027;2", "_CS=081287264002") in new stack
    -- Executing [s@sub-construct-cid:4] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?return") in new stack
    -- Executing [s@sub-construct-cid:5] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-get-device-tree,s,1") in new stack
    -- Executing [s@sub-get-device-tree:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Configuring Device Tree") in new stack
    -- Executing [s@sub-get-device-tree:2] Set("Local/081287264002@telco-provider-00000027;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s@sub-get-device-tree:3] GosubIf("Local/081287264002@telco-provider-00000027;2", "1?s-local,1") in new stack
    -- Executing [s-local@sub-get-device-tree:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Try to determianate caller technology 081287264002") in new stack
    -- Executing [s-local@sub-get-device-tree:2] Set("Local/081287264002@telco-provider-00000027;2", "TECH_DETERMINATED=no") in new stack
[2021-10-29 14:00:03] WARNING[30522][C-00000027]: func_channel.c:463 func_channel_read: Unknown or unavailable item requested: 'dahdi_channel'
    -- Executing [s-local@sub-get-device-tree:3] Set("Local/081287264002@telco-provider-00000027;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:4] Set("Local/081287264002@telco-provider-00000027;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:5] Set("Local/081287264002@telco-provider-00000027;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:6] Set("Local/081287264002@telco-provider-00000027;2", "TECH_DETERMINATED=no") in new stack
    -- Executing [s-local@sub-get-device-tree:7] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@sub-get-device-tree:4] GotoIf("Local/081287264002@telco-provider-00000027;2", "1?return") in new stack
    -- Goto (sub-get-device-tree,s,15)
    -- Executing [s@sub-get-device-tree:15] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@sub-construct-cid:6] GotoIf("Local/081287264002@telco-provider-00000027;2", "1?return") in new stack
    -- Goto (sub-construct-cid,s,11)
    -- Executing [s@sub-construct-cid:11] NoOp("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@sub-construct-cid:12] Set("Local/081287264002@telco-provider-00000027;2", "CDR(source)=081287264002") in new stack
    -- Executing [s@sub-construct-cid:13] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@cos-all:6] Gosub("Local/081287264002@telco-provider-00000027;2", "set-global-tenant-vars,s,1") in new stack
    -- Executing [s@set-global-tenant-vars:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Setting Global Vars for vitalpbx Tenant") in new stack
    -- Executing [s@set-global-tenant-vars:2] Set("Local/081287264002@telco-provider-00000027;2", "__TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@set-global-tenant-vars:3] Set("Local/081287264002@telco-provider-00000027;2", "__TENANT_PREFIX=") in new stack
    -- Executing [s@set-global-tenant-vars:4] Set("Local/081287264002@telco-provider-00000027;2", "__QUEUE_AGENTS_CONTEXT=queue-call-to-agents") in new stack
    -- Executing [s@set-global-tenant-vars:5] Set("Local/081287264002@telco-provider-00000027;2", "__FOLLOWME_CONTEXT=ext-followme") in new stack
    -- Executing [s@set-global-tenant-vars:6] Set("Local/081287264002@telco-provider-00000027;2", "__HINTS_CONTEXT=extension-hints") in new stack
    -- Executing [s@set-global-tenant-vars:7] Set("Local/081287264002@telco-provider-00000027;2", "__DEFAULT_COS=cos-all") in new stack
    -- Executing [s@set-global-tenant-vars:8] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@cos-all:7] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?local-dialing") in new stack
    -- Executing [s@cos-all:8] NoOp("Local/081287264002@telco-provider-00000027;2", "Check if is an Emergency Call") in new stack
    -- Executing [s@cos-all:9] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?emergency-calls,081287264002,1") in new stack
    -- Executing [s@cos-all:10] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-lockphone-check,s,1") in new stack
    -- Executing [s@sub-lockphone-check:1] NoOp("Local/081287264002@telco-provider-00000027;2", "SUB: LOCK PHONE CHECK") in new stack
    -- Executing [s@sub-lockphone-check:2] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:3] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:4] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:5] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:6] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:unlock") in new stack
    -- Goto (sub-lockphone-check,s,12)
    -- Executing [s@sub-lockphone-check:12] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@cos-all:11] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-local-dialing,s,1") in new stack
    -- Executing [s@sub-local-dialing:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Trying to determine if is a local extension") in new stack
    -- Executing [s@sub-local-dialing:2] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:return") in new stack
    -- Goto (sub-local-dialing,s,5)
    -- Executing [s@sub-local-dialing:5] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@cos-all:12] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?end-call") in new stack
    -- Executing [s@cos-all:13] Goto("Local/081287264002@telco-provider-00000027;2", "cos-all-post,081287264002,1") in new stack
    -- Goto (cos-all-post,081287264002,1)
    -- Executing [081287264002@cos-all-post:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Outbound Route: OC") in new stack
    -- Executing [081287264002@cos-all-post:2] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-setup-call-type,s,1(outgoing)") in new stack
    -- Executing [s@sub-setup-call-type:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Determinating Call Type") in new stack
    -- Executing [s@sub-setup-call-type:2] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?return") in new stack
    -- Executing [s@sub-setup-call-type:3] Gosub("Local/081287264002@telco-provider-00000027;2", "s-outgoing,1()") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Outgoing Call") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:2] Set("Local/081287264002@telco-provider-00000027;2", "__CALL_TYPE=3") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:3] Set("Local/081287264002@telco-provider-00000027;2", "__CALL_TYPE_LABEL=OUT") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:4] GosubIf("Local/081287264002@telco-provider-00000027;2", "0?s-transit,1") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:5] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@sub-setup-call-type:4] Set("Local/081287264002@telco-provider-00000027;2", "__CALL_TYPE_CONFIGURED=yes") in new stack
    -- Executing [s@sub-setup-call-type:5] Set("Local/081287264002@telco-provider-00000027;2", "CDR(calltype)=3") in new stack
    -- Executing [s@sub-setup-call-type:6] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [081287264002@cos-all-post:3] NoOp("Local/081287264002@telco-provider-00000027;2", "Start to Dial Trunks") in new stack
    -- Executing [081287264002@cos-all-post:4] Set("Local/081287264002@telco-provider-00000027;2", "DNID=081287264002") in new stack
    -- Executing [081287264002@cos-all-post:5] Goto("Local/081287264002@telco-provider-00000027;2", "s-1,1") in new stack
    -- Goto (cos-all-post,s-1,1)
    -- Executing [s-1@cos-all-post:1] Set("Local/081287264002@telco-provider-00000027;2", "__CONFIGURED_BY_TENANT=yes") in new stack
    -- Executing [s-1@cos-all-post:2] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-construct-cid,s-external,1") in new stack
    -- Executing [s-external@sub-construct-cid:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Setting External CID") in new stack
    -- Executing [s-external@sub-construct-cid:2] Set("Local/081287264002@telco-provider-00000027;2", "EXTENSION_NUMBER=081287264002") in new stack
    -- Executing [s-external@sub-construct-cid:3] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?return") in new stack
    -- Executing [s-external@sub-construct-cid:4] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?return") in new stack
    -- Executing [s-external@sub-construct-cid:5] Set("Local/081287264002@telco-provider-00000027;2", "EMERGENCY_CALL=no") in new stack
    -- Executing [s-external@sub-construct-cid:6] Set("Local/081287264002@telco-provider-00000027;2", "EXTENSION_EMERGENCY_CID=") in new stack
    -- Executing [s-external@sub-construct-cid:7] Set("Local/081287264002@telco-provider-00000027;2", "DYNAMIC_EXTERNAL_CID=no") in new stack
    -- Executing [s-external@sub-construct-cid:8] ExecIf("Local/081287264002@telco-provider-00000027;2", "0?Set(EXTENSION_EMERGENCY_CID=)") in new stack
    -- Executing [s-external@sub-construct-cid:9] ExecIf("Local/081287264002@telco-provider-00000027;2", "0?Set(DYNAMIC_EXTERNAL_CID=)") in new stack
    -- Executing [s-external@sub-construct-cid:10] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?check-emergency") in new stack
    -- Executing [s-external@sub-construct-cid:11] Set("Local/081287264002@telco-provider-00000027;2", "EXTENSION_EXTERNAL_CID=") in new stack
    -- Executing [s-external@sub-construct-cid:12] ExecIf("Local/081287264002@telco-provider-00000027;2", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s-external@sub-construct-cid:13] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:check-emergency") in new stack
    -- Goto (sub-construct-cid,s-external,16)
    -- Executing [s-external@sub-construct-cid:16] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:info") in new stack
    -- Goto (sub-construct-cid,s-external,24)
    -- Executing [s-external@sub-construct-cid:24] NoOp("Local/081287264002@telco-provider-00000027;2", "CID Name: , CID Number: 081287264002") in new stack
    -- Executing [s-external@sub-construct-cid:25] Set("Local/081287264002@telco-provider-00000027;2", "SEND_CID=") in new stack
    -- Executing [s-external@sub-construct-cid:26] ExecIf("Local/081287264002@telco-provider-00000027;2", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s-external@sub-construct-cid:27] ExecIf("Local/081287264002@telco-provider-00000027;2", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s-external@sub-construct-cid:28] Set("Local/081287264002@telco-provider-00000027;2", "__EXT_CID_CONSTRUCTED=yes") in new stack
    -- Executing [s-external@sub-construct-cid:29] Set("Local/081287264002@telco-provider-00000027;2", "CDR(source)=081287264002") in new stack
    -- Executing [s-external@sub-construct-cid:30] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s-1@cos-all-post:3] Gosub("Local/081287264002@telco-provider-00000027;2", "trk-1,081287264002,1(from-trk-grp)") in new stack
    -- Executing [081287264002@trk-1:1] Set("Local/081287264002@telco-provider-00000027;2", "_NTD=081287264002") in new stack
    -- Executing [081287264002@trk-1:2] Gosub("Local/081287264002@telco-provider-00000027;2", "trk-1-dial,081287264002,1(from-trk-grp)") in new stack
    -- Executing [081287264002@trk-1-dial:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Trunk: TO_TELCO") in new stack
    -- Executing [081287264002@trk-1-dial:2] NoOp("Local/081287264002@telco-provider-00000027;2", "Dialing: 081287264002") in new stack
    -- Executing [081287264002@trk-1-dial:3] Set("Local/081287264002@telco-provider-00000027;2", "CDR(trunk)=1") in new stack
    -- Executing [081287264002@trk-1-dial:4] Set("Local/081287264002@telco-provider-00000027;2", "SKIP_HANGUP_AUDIOS=no") in new stack
    -- Executing [081287264002@trk-1-dial:5] Gosub("Local/081287264002@telco-provider-00000027;2", "sub-setup-call-type,s,1(outgoing,no)") in new stack
    -- Executing [s@sub-setup-call-type:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Determinating Call Type") in new stack
    -- Executing [s@sub-setup-call-type:2] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?return") in new stack
    -- Executing [s@sub-setup-call-type:3] Gosub("Local/081287264002@telco-provider-00000027;2", "s-outgoing,1(no)") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Outgoing Call") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:2] Set("Local/081287264002@telco-provider-00000027;2", "__CALL_TYPE=3") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:3] Set("Local/081287264002@telco-provider-00000027;2", "__CALL_TYPE_LABEL=OUT") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:4] GosubIf("Local/081287264002@telco-provider-00000027;2", "0?s-transit,1") in new stack
    -- Executing [s-outgoing@sub-setup-call-type:5] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [s@sub-setup-call-type:4] Set("Local/081287264002@telco-provider-00000027;2", "__CALL_TYPE_CONFIGURED=yes") in new stack
    -- Executing [s@sub-setup-call-type:5] Set("Local/081287264002@telco-provider-00000027;2", "CDR(calltype)=3") in new stack
    -- Executing [s@sub-setup-call-type:6] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [081287264002@trk-1-dial:6] ExecIf("Local/081287264002@telco-provider-00000027;2", "0?Set(CALLERID(all)=):") in new stack
    -- Executing [081287264002@trk-1-dial:7] GotoIf("Local/081287264002@telco-provider-00000027;2", "1?:after-val-sim-calls") in new stack
    -- Executing [081287264002@trk-1-dial:8] Set("Local/081287264002@telco-provider-00000027;2", "MAX_TENANT_CALLS=0") in new stack
    -- Executing [081287264002@trk-1-dial:9] Set("Local/081287264002@telco-provider-00000027;2", "TENANT_NAME=vitalpbx") in new stack
    -- Executing [081287264002@trk-1-dial:10] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:after-val-sim-calls") in new stack
    -- Goto (trk-1-dial,081287264002,18)
    -- Executing [081287264002@trk-1-dial:18] NoOp("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [081287264002@trk-1-dial:19] Set("Local/081287264002@telco-provider-00000027;2", "MAX_CALLS=10") in new stack
    -- Executing [081287264002@trk-1-dial:20] NoOp("Local/081287264002@telco-provider-00000027;2", "Allowed Outgoing Simultaneous Calls: 10") in new stack
    -- Executing [081287264002@trk-1-dial:21] Set("Local/081287264002@telco-provider-00000027;2", "GROUP()=trk-1") in new stack
    -- Executing [081287264002@trk-1-dial:22] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:trk-conf") in new stack
    -- Goto (trk-1-dial,081287264002,26)
    -- Executing [081287264002@trk-1-dial:26] NoOp("Local/081287264002@telco-provider-00000027;2", "Configuring Trunk Parameters") in new stack
    -- Executing [081287264002@trk-1-dial:27] ExecIf("Local/081287264002@telco-provider-00000027;2", "1?Set(CHANNEL(musicclass)=default):") in new stack
    -- Executing [081287264002@trk-1-dial:28] Set("Local/081287264002@telco-provider-00000027;2", "__TRUNK_MOH_SET=yes") in new stack
    -- Executing [081287264002@trk-1-dial:29] Set("Local/081287264002@telco-provider-00000027;2", "__TRKDIALOPTIONS=kKt") in new stack
    -- Executing [081287264002@trk-1-dial:30] Set("Local/081287264002@telco-provider-00000027;2", "ORIGINATOR=081287264002") in new stack
    -- Executing [081287264002@trk-1-dial:31] Set("Local/081287264002@telco-provider-00000027;2", "RING_TIME=90") in new stack
    -- Executing [081287264002@trk-1-dial:32] Set("Local/081287264002@telco-provider-00000027;2", "CALLED=081287264002") in new stack
    -- Executing [081287264002@trk-1-dial:33] Set("Local/081287264002@telco-provider-00000027;2", "TRUNK_ENDPOINT=QUIROS") in new stack
    -- Executing [081287264002@trk-1-dial:34] Set("Local/081287264002@telco-provider-00000027;2", "__CIDNUM=081287264002") in new stack
    -- Executing [081287264002@trk-1-dial:35] Set("Local/081287264002@telco-provider-00000027;2", "__CIDNAME=") in new stack
    -- Executing [081287264002@trk-1-dial:36] Set("Local/081287264002@telco-provider-00000027;2", "FORCE_RECORDING=no") in new stack
    -- Executing [081287264002@trk-1-dial:37] Set("Local/081287264002@telco-provider-00000027;2", "FILTERED_NUMBER=081287264002") in new stack
    -- Executing [081287264002@trk-1-dial:38] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:post-fax") in new stack
    -- Goto (trk-1-dial,081287264002,41)
    -- Executing [081287264002@trk-1-dial:41] NoOp("Local/081287264002@telco-provider-00000027;2", "End Fax Section") in new stack
    -- Executing [081287264002@trk-1-dial:42] Dial("Local/081287264002@telco-provider-00000027;2", "PJSIP/081287264002@QUIROS,90,kKtU(sub-call-recording^b4cdfdbfe12da3e5^081287264002^081287264002^no)") in new stack
    -- Called PJSIP/081287264002@QUIROS
       > 0x7f81f42a6c90 -- Strict RTP learning after remote address set to: 147.139.137.197:13274
    -- PJSIP/QUIROS-0000001c is making progress passing it to Local/081287264002@telco-provider-00000027;2
    -- Local/081287264002@telco-provider-00000027;1 is making progress
       > 0x7f81f42a6c90 -- Strict RTP switching to RTP target address 147.139.137.197:13274 as source
       > 0x7f81f42a6c90 -- Strict RTP learning complete - Locking on source address 147.139.137.197:13274
    -- PJSIP/QUIROS-0000001c answered Local/081287264002@telco-provider-00000027;2
    -- PJSIP/QUIROS-0000001c Internal Gosub(sub-call-recording,s,1(b4cdfdbfe12da3e5,081287264002,081287264002,no)) start
    -- Executing [s@sub-call-recording:1] NoOp("PJSIP/QUIROS-0000001c", "Check if call will be recorded on tenant b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-call-recording:2] NoOp("PJSIP/QUIROS-0000001c", "Call Type: 3 ") in new stack
    -- Executing [s@sub-call-recording:3] Set("PJSIP/QUIROS-0000001c", "TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-call-recording:4] Set("PJSIP/QUIROS-0000001c", "CALLER=081287264002") in new stack
    -- Executing [s@sub-call-recording:5] Set("PJSIP/QUIROS-0000001c", "CALLEE=081287264002") in new stack
    -- Executing [s@sub-call-recording:6] Set("PJSIP/QUIROS-0000001c", "APP_FORCE=no") in new stack
    -- Executing [s@sub-call-recording:7] GotoIf("PJSIP/QUIROS-0000001c", "1?:rec_no_available") in new stack
    -- Executing [s@sub-call-recording:8] GotoIf("PJSIP/QUIROS-0000001c", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:9] GotoIf("PJSIP/QUIROS-0000001c", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:10] GotoIf("PJSIP/QUIROS-0000001c", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:11] GotoIf("PJSIP/QUIROS-0000001c", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:12] GotoIf("PJSIP/QUIROS-0000001c", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:13] Goto("PJSIP/QUIROS-0000001c", "return") in new stack
    -- Goto (sub-call-recording,s,17)
    -- Executing [s@sub-call-recording:17] Return("PJSIP/QUIROS-0000001c", "") in new stack
  == Spawn extension (trk-1-in, , 1) exited non-zero on 'PJSIP/QUIROS-0000001c'
    -- PJSIP/QUIROS-0000001c Internal Gosub(sub-call-recording,s,1(b4cdfdbfe12da3e5,081287264002,081287264002,no)) complete GOSUB_RETVAL=
    -- Local/081287264002@telco-provider-00000027;1 answered
    -- Executing [800@cos-all:1] NoOp("Local/081287264002@telco-provider-00000027;1", "More than on digit pattern") in new stack
    -- Executing [800@cos-all:2] Gosub("Local/081287264002@telco-provider-00000027;1", "s,1(800)") in new stack
    -- Executing [s@cos-all:1] Set("Local/081287264002@telco-provider-00000027;1", "EXTENSION=800") in new stack
    -- Executing [s@cos-all:2] NoOp("Local/081287264002@telco-provider-00000027;1", "Dialing 800 from 081287264002") in new stack
    -- Executing [s@cos-all:3] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-set-global-vars,s,1(b4cdfdbfe12da3e5,800,parking-1)") in new stack
    -- Executing [s@sub-set-global-vars:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Setting Global Vars") in new stack
    -- Executing [s@sub-set-global-vars:2] Set("Local/081287264002@telco-provider-00000027;1", "TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-global-vars:3] Set("Local/081287264002@telco-provider-00000027;1", "PREFIX=") in new stack
    -- Executing [s@sub-set-global-vars:4] Set("Local/081287264002@telco-provider-00000027;1", "__PICKUPMARK=800") in new stack
    -- Executing [s@sub-set-global-vars:5] Set("Local/081287264002@telco-provider-00000027;1", "__PARKINGLOT=parking-1") in new stack
    -- Executing [s@sub-set-global-vars:6] Set("Local/081287264002@telco-provider-00000027;1", "__DYNAMIC_FEATURES=custom-features") in new stack
    -- Executing [s@sub-set-global-vars:7] Set("Local/081287264002@telco-provider-00000027;1", "ICALL=no") in new stack
    -- Executing [s@sub-set-global-vars:8] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@cos-all:4] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-set-call-vars,s,1(b4cdfdbfe12da3e5,800,1,cos-all,ARS-all)") in new stack
    -- Executing [s@sub-set-call-vars:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Setting Call Vars") in new stack
    -- Executing [s@sub-set-call-vars:2] Set("Local/081287264002@telco-provider-00000027;1", "_TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-call-vars:3] Set("Local/081287264002@telco-provider-00000027;1", "_CALL_DESTINATION=800") in new stack
    -- Executing [s@sub-set-call-vars:4] Set("Local/081287264002@telco-provider-00000027;1", "_COS_ID=1") in new stack
    -- Executing [s@sub-set-call-vars:5] Set("Local/081287264002@telco-provider-00000027;1", "_COS_NAME=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:6] Set("Local/081287264002@telco-provider-00000027;1", "__TRANSFER_CONTEXT=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:7] Set("Local/081287264002@telco-provider-00000027;1", "_ARS=ARS-all") in new stack
    -- Executing [s@sub-set-call-vars:8] Set("Local/081287264002@telco-provider-00000027;1", "CDR(tenant)=vitalpbx") in new stack
    -- Executing [s@sub-set-call-vars:9] Set("Local/081287264002@telco-provider-00000027;1", "CDR(destination)=800") in new stack
    -- Executing [s@sub-set-call-vars:10] Set("Local/081287264002@telco-provider-00000027;1", "CDR(trunk)=") in new stack
    -- Executing [s@sub-set-call-vars:11] Set("Local/081287264002@telco-provider-00000027;1", "CDR(did)=") in new stack
    -- Executing [s@sub-set-call-vars:12] Set("Local/081287264002@telco-provider-00000027;1", "__CALLID=1635490803.213") in new stack
    -- Executing [s@sub-set-call-vars:13] ExecIf("Local/081287264002@telco-provider-00000027;1", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@sub-set-call-vars:14] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@cos-all:5] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-construct-cid,s,1") in new stack
    -- Executing [s@sub-construct-cid:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Building CID") in new stack
    -- Executing [s@sub-construct-cid:2] Set("Local/081287264002@telco-provider-00000027;1", "_CALL_SOURCE=081287264002") in new stack
    -- Executing [s@sub-construct-cid:3] Set("Local/081287264002@telco-provider-00000027;1", "_CS=081287264002") in new stack
    -- Executing [s@sub-construct-cid:4] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?return") in new stack
    -- Executing [s@sub-construct-cid:5] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-get-device-tree,s,1") in new stack
    -- Executing [s@sub-get-device-tree:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Configuring Device Tree") in new stack
    -- Executing [s@sub-get-device-tree:2] Set("Local/081287264002@telco-provider-00000027;1", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s@sub-get-device-tree:3] GosubIf("Local/081287264002@telco-provider-00000027;1", "1?s-local,1") in new stack
    -- Executing [s-local@sub-get-device-tree:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Try to determianate caller technology 081287264002") in new stack
    -- Executing [s-local@sub-get-device-tree:2] Set("Local/081287264002@telco-provider-00000027;1", "TECH_DETERMINATED=no") in new stack
[2021-10-29 14:00:13] WARNING[30521][C-00000028]: func_channel.c:463 func_channel_read: Unknown or unavailable item requested: 'dahdi_channel'
    -- Executing [s-local@sub-get-device-tree:3] Set("Local/081287264002@telco-provider-00000027;1", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:4] Set("Local/081287264002@telco-provider-00000027;1", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:5] Set("Local/081287264002@telco-provider-00000027;1", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:6] Set("Local/081287264002@telco-provider-00000027;1", "TECH_DETERMINATED=no") in new stack
    -- Executing [s-local@sub-get-device-tree:7] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@sub-get-device-tree:4] GotoIf("Local/081287264002@telco-provider-00000027;1", "1?return") in new stack
    -- Goto (sub-get-device-tree,s,15)
    -- Executing [s@sub-get-device-tree:15] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@sub-construct-cid:6] GotoIf("Local/081287264002@telco-provider-00000027;1", "1?return") in new stack
    -- Goto (sub-construct-cid,s,11)
    -- Executing [s@sub-construct-cid:11] NoOp("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@sub-construct-cid:12] Set("Local/081287264002@telco-provider-00000027;1", "CDR(source)=081287264002") in new stack
    -- Executing [s@sub-construct-cid:13] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@cos-all:6] Gosub("Local/081287264002@telco-provider-00000027;1", "set-global-tenant-vars,s,1") in new stack
    -- Executing [s@set-global-tenant-vars:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Setting Global Vars for vitalpbx Tenant") in new stack
    -- Executing [s@set-global-tenant-vars:2] Set("Local/081287264002@telco-provider-00000027;1", "__TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@set-global-tenant-vars:3] Set("Local/081287264002@telco-provider-00000027;1", "__TENANT_PREFIX=") in new stack
    -- Executing [s@set-global-tenant-vars:4] Set("Local/081287264002@telco-provider-00000027;1", "__QUEUE_AGENTS_CONTEXT=queue-call-to-agents") in new stack
    -- Executing [s@set-global-tenant-vars:5] Set("Local/081287264002@telco-provider-00000027;1", "__FOLLOWME_CONTEXT=ext-followme") in new stack
    -- Executing [s@set-global-tenant-vars:6] Set("Local/081287264002@telco-provider-00000027;1", "__HINTS_CONTEXT=extension-hints") in new stack
    -- Executing [s@set-global-tenant-vars:7] Set("Local/081287264002@telco-provider-00000027;1", "__DEFAULT_COS=cos-all") in new stack
    -- Executing [s@set-global-tenant-vars:8] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@cos-all:7] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?local-dialing") in new stack
    -- Executing [s@cos-all:8] NoOp("Local/081287264002@telco-provider-00000027;1", "Check if is an Emergency Call") in new stack
    -- Executing [s@cos-all:9] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?emergency-calls,800,1") in new stack
    -- Executing [s@cos-all:10] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-lockphone-check,s,1") in new stack
    -- Executing [s@sub-lockphone-check:1] NoOp("Local/081287264002@telco-provider-00000027;1", "SUB: LOCK PHONE CHECK") in new stack
    -- Executing [s@sub-lockphone-check:2] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:3] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:4] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:5] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:6] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?:unlock") in new stack
    -- Goto (sub-lockphone-check,s,12)
    -- Executing [s@sub-lockphone-check:12] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@cos-all:11] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-local-dialing,s,1") in new stack
    -- Executing [s@sub-local-dialing:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Trying to determine if is a local extension") in new stack
    -- Executing [s@sub-local-dialing:2] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?:return") in new stack
    -- Goto (sub-local-dialing,s,5)
    -- Executing [s@sub-local-dialing:5] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [s@cos-all:12] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?end-call") in new stack
    -- Executing [s@cos-all:13] Goto("Local/081287264002@telco-provider-00000027;1", "cos-all-post,800,1") in new stack
    -- Goto (cos-all-post,800,1)
    -- Executing [800@cos-all-post:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Queue: team800") in new stack
    -- Executing [800@cos-all-post:2] Set("Local/081287264002@telco-provider-00000027;1", "__QUEUE_UID=1635490803.213") in new stack
    -- Executing [800@cos-all-post:3] Set("Local/081287264002@telco-provider-00000027;1", "__QUEUE_CALL=TRUE") in new stack
    -- Executing [800@cos-all-post:4] Set("Local/081287264002@telco-provider-00000027;1", "__SKIP_AA=TRUE") in new stack
    -- Executing [800@cos-all-post:5] Set("Local/081287264002@telco-provider-00000027;1", "__FROM_QUEUE_ID=1") in new stack
    -- Executing [800@cos-all-post:6] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-set-moh,s,1(default,YES)") in new stack
    -- Executing [s@sub-set-moh:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Configuring MoH Class") in new stack
    -- Executing [s@sub-set-moh:2] Set("Local/081287264002@telco-provider-00000027;1", "MOH_CLASS=default") in new stack
    -- Executing [s@sub-set-moh:3] Set("Local/081287264002@telco-provider-00000027;1", "MOH_FORCE=YES") in new stack
    -- Executing [s@sub-set-moh:4] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?end") in new stack
    -- Executing [s@sub-set-moh:5] GotoIf("Local/081287264002@telco-provider-00000027;1", "1?:end") in new stack
    -- Executing [s@sub-set-moh:6] Set("Local/081287264002@telco-provider-00000027;1", "CHANNEL(musicclass)=default") in new stack
    -- Executing [s@sub-set-moh:7] Set("Local/081287264002@telco-provider-00000027;1", "__MOH_SET=YES") in new stack
    -- Executing [s@sub-set-moh:8] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [800@cos-all-post:7] Set("Local/081287264002@telco-provider-00000027;1", "__QUEUE_NUMBER=800") in new stack
    -- Executing [800@cos-all-post:8] Set("Local/081287264002@telco-provider-00000027;1", "__QUEUE_NAME=Q800") in new stack
    -- Executing [800@cos-all-post:9] Gosub("Local/081287264002@telco-provider-00000027;1", "sub-set-call-vars,app-incoming,1") in new stack
    -- Executing [app-incoming@sub-set-call-vars:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Incoming Call App CDR") in new stack
    -- Executing [app-incoming@sub-set-call-vars:2] GotoIf("Local/081287264002@telco-provider-00000027;1", "0?:return") in new stack
    -- Goto (sub-set-call-vars,app-incoming,6)
    -- Executing [app-incoming@sub-set-call-vars:6] Return("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [800@cos-all-post:10] NoOp("Local/081287264002@telco-provider-00000027;1", "Connecting to Queue") in new stack
    -- Executing [800@cos-all-post:11] Set("Local/081287264002@telco-provider-00000027;1", "ANSWER_CHANNEL=yes") in new stack
    -- Executing [800@cos-all-post:12] ExecIf("Local/081287264002@telco-provider-00000027;1", "0?Set(QUEUE_PRIO=):") in new stack
    -- Executing [800@cos-all-post:13] ExecIf("Local/081287264002@telco-provider-00000027;1", "0?Progress():Answer()") in new stack
    -- Executing [800@cos-all-post:14] NoCDR("Local/081287264002@telco-provider-00000027;1", "") in new stack
    -- Executing [800@cos-all-post:15] Queue("Local/081287264002@telco-provider-00000027;1", "Q800,c,,,360") in new stack
    -- Started music on hold, class 'default', on channel 'Local/081287264002@telco-provider-00000027;1'
    -- Called Local/103@queue-call-to-agents/n
[2021-10-29 14:00:13] WARNING[30536][C-00000027]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel PJSIP/QUIROS-0000001c.
    -- Channel PJSIP/QUIROS-0000001c joined 'simple_bridge' basic-bridge <556eae9e-140d-48e5-b025-011bbd7e13f4>
[2021-10-29 14:00:13] WARNING[30522][C-00000027]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/081287264002@telco-provider-00000027;2.
    -- Channel Local/081287264002@telco-provider-00000027;2 joined 'simple_bridge' basic-bridge <556eae9e-140d-48e5-b025-011bbd7e13f4>
    -- Executing [103@queue-call-to-agents:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "More than on digit pattern") in new stack
    -- Executing [103@queue-call-to-agents:2] Gosub("Local/103@queue-call-to-agents-00000028;2", "s,1(103)") in new stack
    -- Executing [s@queue-call-to-agents:1] Set("Local/103@queue-call-to-agents-00000028;2", "EXTENSION=103") in new stack
    -- Executing [s@queue-call-to-agents:2] Set("Local/103@queue-call-to-agents-00000028;2", "TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@queue-call-to-agents:3] Set("Local/103@queue-call-to-agents-00000028;2", "__SRC_APP=Q800") in new stack
    -- Executing [s@queue-call-to-agents:4] Set("Local/103@queue-call-to-agents-00000028;2", "COS=cos-all") in new stack
    -- Executing [s@queue-call-to-agents:5] NoOp("Local/103@queue-call-to-agents-00000028;2", "Dialing Agent 103 from 081287264002") in new stack
    -- Executing [s@queue-call-to-agents:6] Set("Local/103@queue-call-to-agents-00000028;2", "__DISABLE_CF_AA=TRUE") in new stack
    -- Executing [s@queue-call-to-agents:7] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?end") in new stack
    -- Executing [s@queue-call-to-agents:8] Gosub("Local/103@queue-call-to-agents-00000028;2", "cos-all,103,1") in new stack
    -- Executing [103@cos-all:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "More than on digit pattern") in new stack
    -- Executing [103@cos-all:2] Gosub("Local/103@queue-call-to-agents-00000028;2", "s,1(103)") in new stack
    -- Executing [s@cos-all:1] Set("Local/103@queue-call-to-agents-00000028;2", "EXTENSION=103") in new stack
    -- Executing [s@cos-all:2] NoOp("Local/103@queue-call-to-agents-00000028;2", "Dialing 103 from 081287264002") in new stack
    -- Executing [s@cos-all:3] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-set-global-vars,s,1(b4cdfdbfe12da3e5,103,parking-1)") in new stack
    -- Executing [s@sub-set-global-vars:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Setting Global Vars") in new stack
    -- Executing [s@sub-set-global-vars:2] Set("Local/103@queue-call-to-agents-00000028;2", "TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-global-vars:3] Set("Local/103@queue-call-to-agents-00000028;2", "PREFIX=") in new stack
    -- Executing [s@sub-set-global-vars:4] Set("Local/103@queue-call-to-agents-00000028;2", "__PICKUPMARK=103") in new stack
    -- Executing [s@sub-set-global-vars:5] Set("Local/103@queue-call-to-agents-00000028;2", "__PARKINGLOT=parking-1") in new stack
    -- Executing [s@sub-set-global-vars:6] Set("Local/103@queue-call-to-agents-00000028;2", "__DYNAMIC_FEATURES=custom-features") in new stack
    -- Executing [s@sub-set-global-vars:7] Set("Local/103@queue-call-to-agents-00000028;2", "ICALL=no") in new stack
    -- Executing [s@sub-set-global-vars:8] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@cos-all:4] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-set-call-vars,s,1(b4cdfdbfe12da3e5,103,1,cos-all,ARS-all)") in new stack
    -- Executing [s@sub-set-call-vars:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Setting Call Vars") in new stack
    -- Executing [s@sub-set-call-vars:2] Set("Local/103@queue-call-to-agents-00000028;2", "_TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-call-vars:3] Set("Local/103@queue-call-to-agents-00000028;2", "_CALL_DESTINATION=103") in new stack
    -- Executing [s@sub-set-call-vars:4] Set("Local/103@queue-call-to-agents-00000028;2", "_COS_ID=1") in new stack
    -- Executing [s@sub-set-call-vars:5] Set("Local/103@queue-call-to-agents-00000028;2", "_COS_NAME=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:6] Set("Local/103@queue-call-to-agents-00000028;2", "__TRANSFER_CONTEXT=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:7] Set("Local/103@queue-call-to-agents-00000028;2", "_ARS=ARS-all") in new stack
    -- Executing [s@sub-set-call-vars:8] Set("Local/103@queue-call-to-agents-00000028;2", "CDR(tenant)=vitalpbx") in new stack
    -- Executing [s@sub-set-call-vars:9] Set("Local/103@queue-call-to-agents-00000028;2", "CDR(destination)=103") in new stack
    -- Executing [s@sub-set-call-vars:10] Set("Local/103@queue-call-to-agents-00000028;2", "CDR(trunk)=") in new stack
    -- Executing [s@sub-set-call-vars:11] Set("Local/103@queue-call-to-agents-00000028;2", "CDR(did)=") in new stack
    -- Executing [s@sub-set-call-vars:12] Set("Local/103@queue-call-to-agents-00000028;2", "__CALLID=1635490813.217") in new stack
    -- Executing [s@sub-set-call-vars:13] ExecIf("Local/103@queue-call-to-agents-00000028;2", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@sub-set-call-vars:14] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@cos-all:5] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-construct-cid,s,1") in new stack
    -- Executing [s@sub-construct-cid:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Building CID") in new stack
    -- Executing [s@sub-construct-cid:2] Set("Local/103@queue-call-to-agents-00000028;2", "_CALL_SOURCE=081287264002") in new stack
    -- Executing [s@sub-construct-cid:3] Set("Local/103@queue-call-to-agents-00000028;2", "_CS=081287264002") in new stack
    -- Executing [s@sub-construct-cid:4] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?return") in new stack
    -- Executing [s@sub-construct-cid:5] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-get-device-tree,s,1") in new stack
    -- Executing [s@sub-get-device-tree:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Configuring Device Tree") in new stack
    -- Executing [s@sub-get-device-tree:2] Set("Local/103@queue-call-to-agents-00000028;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s@sub-get-device-tree:3] GosubIf("Local/103@queue-call-to-agents-00000028;2", "1?s-local,1") in new stack
    -- Executing [s-local@sub-get-device-tree:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Try to determianate caller technology 081287264002") in new stack
    -- Executing [s-local@sub-get-device-tree:2] Set("Local/103@queue-call-to-agents-00000028;2", "TECH_DETERMINATED=no") in new stack
[2021-10-29 14:00:13] WARNING[30537][C-00000028]: func_channel.c:463 func_channel_read: Unknown or unavailable item requested: 'dahdi_channel'
    -- Executing [s-local@sub-get-device-tree:3] Set("Local/103@queue-call-to-agents-00000028;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:4] Set("Local/103@queue-call-to-agents-00000028;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:5] Set("Local/103@queue-call-to-agents-00000028;2", "DEV_TECHNOLOGY=Local") in new stack
    -- Executing [s-local@sub-get-device-tree:6] Set("Local/103@queue-call-to-agents-00000028;2", "TECH_DETERMINATED=no") in new stack
    -- Executing [s-local@sub-get-device-tree:7] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@sub-get-device-tree:4] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?return") in new stack
    -- Goto (sub-get-device-tree,s,15)
    -- Executing [s@sub-get-device-tree:15] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@sub-construct-cid:6] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?return") in new stack
    -- Goto (sub-construct-cid,s,11)
    -- Executing [s@sub-construct-cid:11] NoOp("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@sub-construct-cid:12] Set("Local/103@queue-call-to-agents-00000028;2", "CDR(source)=081287264002") in new stack
    -- Executing [s@sub-construct-cid:13] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@cos-all:6] Gosub("Local/103@queue-call-to-agents-00000028;2", "set-global-tenant-vars,s,1") in new stack
    -- Executing [s@set-global-tenant-vars:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Setting Global Vars for vitalpbx Tenant") in new stack
    -- Executing [s@set-global-tenant-vars:2] Set("Local/103@queue-call-to-agents-00000028;2", "__TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@set-global-tenant-vars:3] Set("Local/103@queue-call-to-agents-00000028;2", "__TENANT_PREFIX=") in new stack
    -- Executing [s@set-global-tenant-vars:4] Set("Local/103@queue-call-to-agents-00000028;2", "__QUEUE_AGENTS_CONTEXT=queue-call-to-agents") in new stack
    -- Executing [s@set-global-tenant-vars:5] Set("Local/103@queue-call-to-agents-00000028;2", "__FOLLOWME_CONTEXT=ext-followme") in new stack
    -- Executing [s@set-global-tenant-vars:6] Set("Local/103@queue-call-to-agents-00000028;2", "__HINTS_CONTEXT=extension-hints") in new stack
    -- Executing [s@set-global-tenant-vars:7] Set("Local/103@queue-call-to-agents-00000028;2", "__DEFAULT_COS=cos-all") in new stack
    -- Executing [s@set-global-tenant-vars:8] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@cos-all:7] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?local-dialing") in new stack
    -- Executing [s@cos-all:8] NoOp("Local/103@queue-call-to-agents-00000028;2", "Check if is an Emergency Call") in new stack
    -- Executing [s@cos-all:9] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?emergency-calls,103,1") in new stack
    -- Executing [s@cos-all:10] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-lockphone-check,s,1") in new stack
    -- Executing [s@sub-lockphone-check:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "SUB: LOCK PHONE CHECK") in new stack
    -- Executing [s@sub-lockphone-check:2] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:3] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:4] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:5] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:6] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?:unlock") in new stack
    -- Goto (sub-lockphone-check,s,12)
    -- Executing [s@sub-lockphone-check:12] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@cos-all:11] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-local-dialing,s,1") in new stack
    -- Executing [s@sub-local-dialing:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Trying to determine if is a local extension") in new stack
    -- Executing [s@sub-local-dialing:2] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?:return") in new stack
    -- Executing [s@sub-local-dialing:3] Set("Local/103@queue-call-to-agents-00000028;2", "EXTENSION_TO_DIAL=103") in new stack
    -- Executing [s@sub-local-dialing:4] Goto("Local/103@queue-call-to-agents-00000028;2", "103,1") in new stack
    -- Goto (sub-local-dialing,103,1)
    -- Executing [103@sub-local-dialing:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Dialing Local Extension") in new stack
    -- Executing [103@sub-local-dialing:2] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-setup-call-type,s,1(internal)") in new stack
    -- Executing [s@sub-setup-call-type:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Determinating Call Type") in new stack
    -- Executing [s@sub-setup-call-type:2] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?return") in new stack
    -- Executing [s@sub-setup-call-type:3] Gosub("Local/103@queue-call-to-agents-00000028;2", "s-internal,1()") in new stack
    -- Executing [s-internal@sub-setup-call-type:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Internal Call") in new stack
    -- Executing [s-internal@sub-setup-call-type:2] Set("Local/103@queue-call-to-agents-00000028;2", "__CALL_TYPE=1") in new stack
    -- Executing [s-internal@sub-setup-call-type:3] Set("Local/103@queue-call-to-agents-00000028;2", "__CALL_TYPE_LABEL=LOCAL") in new stack
    -- Executing [s-internal@sub-setup-call-type:4] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@sub-setup-call-type:4] Set("Local/103@queue-call-to-agents-00000028;2", "__CALL_TYPE_CONFIGURED=yes") in new stack
    -- Executing [s@sub-setup-call-type:5] Set("Local/103@queue-call-to-agents-00000028;2", "CDR(calltype)=1") in new stack
    -- Executing [s@sub-setup-call-type:6] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [103@sub-local-dialing:3] Set("Local/103@queue-call-to-agents-00000028;2", "_DESTINATION_STATE=NOT_INUSE") in new stack
    -- Executing [103@sub-local-dialing:4] Set("Local/103@queue-call-to-agents-00000028;2", "_DESTINATION_NUMBER=103") in new stack
    -- Executing [103@sub-local-dialing:5] Set("Local/103@queue-call-to-agents-00000028;2", "_DESTINATION_COS_NAME=cos-all") in new stack
    -- Executing [103@sub-local-dialing:6] Gosub("Local/103@queue-call-to-agents-00000028;2", "sub-check-cos-privacy,s,1(cos-all,1,cos-all)") in new stack
    -- Executing [s@sub-check-cos-privacy:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Checking Privacy of CoS: cos-all") in new stack
    -- Executing [s@sub-check-cos-privacy:2] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?:no_local") in new stack
    -- Executing [s@sub-check-cos-privacy:3] Set("Local/103@queue-call-to-agents-00000028;2", "CALLER_COS_ID=1") in new stack
    -- Executing [s@sub-check-cos-privacy:4] Set("Local/103@queue-call-to-agents-00000028;2", "CALLER_COS_NAME=cos-all") in new stack
    -- Executing [s@sub-check-cos-privacy:5] Set("Local/103@queue-call-to-agents-00000028;2", "CALLED_COS_ID=1") in new stack
    -- Executing [s@sub-check-cos-privacy:6] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?same_cos") in new stack
    -- Goto (sub-check-cos-privacy,s,17)
    -- Executing [s@sub-check-cos-privacy:17] NoOp("Local/103@queue-call-to-agents-00000028;2", "The caller CoS and Callee CoS are the same") in new stack
    -- Executing [s@sub-check-cos-privacy:18] Goto("Local/103@queue-call-to-agents-00000028;2", "return") in new stack
    -- Goto (sub-check-cos-privacy,s,22)
    -- Executing [s@sub-check-cos-privacy:22] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [103@sub-local-dialing:7] Set("Local/103@queue-call-to-agents-00000028;2", "DIAL_STRING=PJSIP/103") in new stack
    -- Executing [103@sub-local-dialing:8] Set("Local/103@queue-call-to-agents-00000028;2", "DB(b4cdfdbfe12da3e5/LASTCALLER/103)=081287264002") in new stack
    -- Executing [103@sub-local-dialing:9] Set("Local/103@queue-call-to-agents-00000028;2", "IGNORE_DIVERSIONS=") in new stack
    -- Executing [103@sub-local-dialing:10] Set("Local/103@queue-call-to-agents-00000028;2", "QUEUE_CALL=TRUE") in new stack
    -- Executing [103@sub-local-dialing:11] GosubIf("Local/103@queue-call-to-agents-00000028;2", "1?sub-queue-members,s,1") in new stack
    -- Executing [s@sub-queue-members:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Queue Member 103") in new stack
    -- Executing [s@sub-queue-members:2] Set("Local/103@queue-call-to-agents-00000028;2", "QUEUE_PREFIX=") in new stack
    -- Executing [s@sub-queue-members:3] Set("Local/103@queue-call-to-agents-00000028;2", "CID_NAME_PREFIX=") in new stack
    -- Executing [s@sub-queue-members:4] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?:set_prefix") in new stack
    -- Goto (sub-queue-members,s,6)
    -- Executing [s@sub-queue-members:6] Set("Local/103@queue-call-to-agents-00000028;2", "CALLERID(name)=") in new stack
    -- Executing [s@sub-queue-members:7] Set("Local/103@queue-call-to-agents-00000028;2", "ALLOW_DIVERSIONS=no") in new stack
    -- Executing [s@sub-queue-members:8] ExecIf("Local/103@queue-call-to-agents-00000028;2", "1?Set(_IGNORE_DIVERSIONS=yes)") in new stack
    -- Executing [s@sub-queue-members:9] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [103@sub-local-dialing:12] GosubIf("Local/103@queue-call-to-agents-00000028;2", "1?:sub-check-diversions,s,1(predialing)") in new stack
    -- Executing [103@sub-local-dialing:13] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?post-dial") in new stack
    -- Executing [103@sub-local-dialing:14] Gosub("Local/103@queue-call-to-agents-00000028;2", "parse-dial-string,s,1") in new stack
    -- Executing [s@parse-dial-string:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Parsing dial string: PJSIP/103") in new stack
    -- Executing [s@parse-dial-string:2] Set("Local/103@queue-call-to-agents-00000028;2", "NEW_DIAL_STRING=") in new stack
    -- Executing [s@parse-dial-string:3] Set("Local/103@queue-call-to-agents-00000028;2", "COUNTER=1") in new stack
    -- Executing [s@parse-dial-string:4] Set("Local/103@queue-call-to-agents-00000028;2", "CURRENT_DEVICE=PJSIP/103") in new stack
    -- Executing [s@parse-dial-string:5] While("Local/103@queue-call-to-agents-00000028;2", "1") in new stack
    -- Executing [s@parse-dial-string:6] Set("Local/103@queue-call-to-agents-00000028;2", "TECHNOLOGY=PJSIP") in new stack
    -- Executing [s@parse-dial-string:7] Set("Local/103@queue-call-to-agents-00000028;2", "USER=103") in new stack
    -- Executing [s@parse-dial-string:8] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?:regular") in new stack
    -- Executing [s@parse-dial-string:9] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?:regular-pjsip") in new stack
    -- Executing [s@parse-dial-string:10] Set("Local/103@queue-call-to-agents-00000028;2", "PARSED_DEV=Local/103@pjsip-push") in new stack
    -- Executing [s@parse-dial-string:11] Goto("Local/103@queue-call-to-agents-00000028;2", "append") in new stack
    -- Goto (parse-dial-string,s,16)
    -- Executing [s@parse-dial-string:16] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?:concatenate") in new stack
    -- Executing [s@parse-dial-string:17] Set("Local/103@queue-call-to-agents-00000028;2", "NEW_DIAL_STRING=Local/103@pjsip-push") in new stack
    -- Executing [s@parse-dial-string:18] Goto("Local/103@queue-call-to-agents-00000028;2", "next") in new stack
    -- Goto (parse-dial-string,s,21)
    -- Executing [s@parse-dial-string:21] Set("Local/103@queue-call-to-agents-00000028;2", "COUNTER=2") in new stack
    -- Executing [s@parse-dial-string:22] Set("Local/103@queue-call-to-agents-00000028;2", "CURRENT_DEVICE=") in new stack
    -- Executing [s@parse-dial-string:23] EndWhile("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [s@parse-dial-string:5] While("Local/103@queue-call-to-agents-00000028;2", "0") in new stack
    -- Executing [s@parse-dial-string:24] NoOp("Local/103@queue-call-to-agents-00000028;2", "New dialstring: Local/103@pjsip-push") in new stack
    -- Executing [s@parse-dial-string:25] Set("Local/103@queue-call-to-agents-00000028;2", "DIAL_STRING=Local/103@pjsip-push") in new stack
    -- Executing [s@parse-dial-string:26] Return("Local/103@queue-call-to-agents-00000028;2", "") in new stack
    -- Executing [103@sub-local-dialing:15] NoOp("Local/103@queue-call-to-agents-00000028;2", "Configuring Dial Settings") in new stack
    -- Executing [103@sub-local-dialing:16] Set("Local/103@queue-call-to-agents-00000028;2", "RING_TIME=30") in new stack
    -- Executing [103@sub-local-dialing:17] Set("Local/103@queue-call-to-agents-00000028;2", "RING_TIME=30") in new stack
    -- Executing [103@sub-local-dialing:18] Set("Local/103@queue-call-to-agents-00000028;2", "RING_TIME=30") in new stack
    -- Executing [103@sub-local-dialing:19] Set("Local/103@queue-call-to-agents-00000028;2", "DIAL_OPTIONS=kKt") in new stack
    -- Executing [103@sub-local-dialing:20] Set("Local/103@queue-call-to-agents-00000028;2", "DIAL_OPTIONS=kKt") in new stack
    -- Executing [103@sub-local-dialing:21] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?:answermode") in new stack
    -- Goto (sub-local-dialing,103,25)
    -- Executing [103@sub-local-dialing:25] Set("Local/103@queue-call-to-agents-00000028;2", "ANSWER_MODE=disable") in new stack
    -- Executing [103@sub-local-dialing:26] Set("Local/103@queue-call-to-agents-00000028;2", "ANSWER_MODE=disable") in new stack
    -- Executing [103@sub-local-dialing:27] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?check-hd") in new stack
    -- Goto (sub-local-dialing,103,29)
    -- Executing [103@sub-local-dialing:29] Set("Local/103@queue-call-to-agents-00000028;2", "IS_HOT_DESK=no") in new stack
    -- Executing [103@sub-local-dialing:30] Set("Local/103@queue-call-to-agents-00000028;2", "MOH_CLASS=default") in new stack
    -- Executing [103@sub-local-dialing:31] GosubIf("Local/103@queue-call-to-agents-00000028;2", "0?sub-set-moh,s,1(default)") in new stack
    -- Executing [103@sub-local-dialing:32] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?busy-here") in new stack
    -- Executing [103@sub-local-dialing:33] Set("Local/103@queue-call-to-agents-00000028;2", "FORCE_RECORDING=no") in new stack
    -- Executing [103@sub-local-dialing:34] Set("Local/103@queue-call-to-agents-00000028;2", "DIAL_OPTIONS=kKtb(before-connecting-call^s^1(b4cdfdbfe12da3e5^081287264002^103^^))") in new stack
    -- Executing [103@sub-local-dialing:35] Set("Local/103@queue-call-to-agents-00000028;2", "DIAL_OPTIONS=kKtb(before-connecting-call^s^1(b4cdfdbfe12da3e5^081287264002^103^^))U(sub-call-recording^b4cdfdbfe12da3e5^081287264002^103^no)") in new stack
    -- Executing [103@sub-local-dialing:36] Set("Local/103@queue-call-to-agents-00000028;2", "__TRANSFERED_CALL=TRUE") in new stack
    -- Executing [103@sub-local-dialing:37] NoOp("Local/103@queue-call-to-agents-00000028;2", "Enable Follow-Me Ring Time If needed") in new stack
    -- Executing [103@sub-local-dialing:38] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?:check-rt") in new stack
    -- Goto (sub-local-dialing,103,45)
    -- Executing [103@sub-local-dialing:45] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?post-dial") in new stack
    -- Executing [103@sub-local-dialing:46] GotoIf("Local/103@queue-call-to-agents-00000028;2", "0?end_call") in new stack
    -- Executing [103@sub-local-dialing:47] Dial("Local/103@queue-call-to-agents-00000028;2", "Local/103@pjsip-push,30,kKtb(before-connecting-call^s^1(b4cdfdbfe12da3e5^081287264002^103^^))U(sub-call-recording^b4cdfdbfe12da3e5^081287264002^103^no)") in new stack
    -- Local/103@pjsip-push-00000029;1 Internal Gosub(before-connecting-call,s,1(b4cdfdbfe12da3e5,081287264002,103,,)) start
    -- Executing [s@before-connecting-call:1] NoOp("Local/103@pjsip-push-00000029;1", "Executing routines in the newly created channel before initiaing the call") in new stack
    -- Executing [s@before-connecting-call:2] Set("Local/103@pjsip-push-00000029;1", "TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@before-connecting-call:3] Set("Local/103@pjsip-push-00000029;1", "CALLER=081287264002") in new stack
    -- Executing [s@before-connecting-call:4] Set("Local/103@pjsip-push-00000029;1", "CALLEE=103") in new stack
    -- Executing [s@before-connecting-call:5] Set("Local/103@pjsip-push-00000029;1", "EXEC_AA=") in new stack
    -- Executing [s@before-connecting-call:6] Set("Local/103@pjsip-push-00000029;1", "CUSTOM_ALERT_INFO=") in new stack
    -- Executing [s@before-connecting-call:7] Set("Local/103@pjsip-push-00000029;1", "APP_TYPE=Q800") in new stack
    -- Executing [s@before-connecting-call:8] GosubIf("Local/103@pjsip-push-00000029;1", "0?sub-auto-answer,s,1") in new stack
    -- Executing [s@before-connecting-call:9] GosubIf("Local/103@pjsip-push-00000029;1", "0?sub-set-custom-header,s,1(Alert-Info,)") in new stack
    -- Executing [s@before-connecting-call:10] GosubIf("Local/103@pjsip-push-00000029;1", "0?sub-set-custom-header,s,1(Call-Info,)") in new stack
    -- Executing [s@before-connecting-call:11] Gosub("Local/103@pjsip-push-00000029;1", "sub-set-custom-header,s,1(CALL-TYPE,LOCAL)") in new stack
    -- Executing [s@sub-set-custom-header:1] NoOp("Local/103@pjsip-push-00000029;1", "Setting up custom header") in new stack
    -- Executing [s@sub-set-custom-header:2] GotoIf("Local/103@pjsip-push-00000029;1", "0?set-sip") in new stack
    -- Executing [s@sub-set-custom-header:3] NoOp("Local/103@pjsip-push-00000029;1", "Add PJSIP Headers") in new stack
    -- Executing [s@sub-set-custom-header:4] Set("Local/103@pjsip-push-00000029;1", "PJSIP_HEADER(add,CALL-TYPE)=LOCAL") in new stack
[2021-10-29 14:00:13] ERROR[30537][C-00000028]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
    -- Executing [s@sub-set-custom-header:5] Goto("Local/103@pjsip-push-00000029;1", "end") in new stack
    -- Goto (sub-set-custom-header,s,8)
    -- Executing [s@sub-set-custom-header:8] Return("Local/103@pjsip-push-00000029;1", "") in new stack
    -- Executing [s@before-connecting-call:12] Gosub("Local/103@pjsip-push-00000029;1", "sub-set-custom-header,s,1(APPLICATION,Q800)") in new stack
    -- Executing [s@sub-set-custom-header:1] NoOp("Local/103@pjsip-push-00000029;1", "Setting up custom header") in new stack
    -- Executing [s@sub-set-custom-header:2] GotoIf("Local/103@pjsip-push-00000029;1", "0?set-sip") in new stack
    -- Executing [s@sub-set-custom-header:3] NoOp("Local/103@pjsip-push-00000029;1", "Add PJSIP Headers") in new stack
    -- Executing [s@sub-set-custom-header:4] Set("Local/103@pjsip-push-00000029;1", "PJSIP_HEADER(add,APPLICATION)=Q800") in new stack
[2021-10-29 14:00:13] ERROR[30537][C-00000028]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
    -- Executing [s@sub-set-custom-header:5] Goto("Local/103@pjsip-push-00000029;1", "end") in new stack
    -- Goto (sub-set-custom-header,s,8)
    -- Executing [s@sub-set-custom-header:8] Return("Local/103@pjsip-push-00000029;1", "") in new stack
    -- Executing [s@before-connecting-call:13] GosubIf("Local/103@pjsip-push-00000029;1", "1?sub-set-custom-header,s,1(QUEUE-NAME,Q800)") in new stack
    -- Executing [s@sub-set-custom-header:1] NoOp("Local/103@pjsip-push-00000029;1", "Setting up custom header") in new stack
    -- Executing [s@sub-set-custom-header:2] GotoIf("Local/103@pjsip-push-00000029;1", "0?set-sip") in new stack
    -- Executing [s@sub-set-custom-header:3] NoOp("Local/103@pjsip-push-00000029;1", "Add PJSIP Headers") in new stack
    -- Executing [s@sub-set-custom-header:4] Set("Local/103@pjsip-push-00000029;1", "PJSIP_HEADER(add,QUEUE-NAME)=Q800") in new stack
[2021-10-29 14:00:13] ERROR[30537][C-00000028]: res_pjsip_header_funcs.c:513 func_write_header: This function requires a PJSIP channel.
    -- Executing [s@sub-set-custom-header:5] Goto("Local/103@pjsip-push-00000029;1", "end") in new stack
    -- Goto (sub-set-custom-header,s,8)
    -- Executing [s@sub-set-custom-header:8] Return("Local/103@pjsip-push-00000029;1", "") in new stack
    -- Executing [s@before-connecting-call:14] GosubIf("Local/103@pjsip-push-00000029;1", "0?before-connecting-call-hook,s,1") in new stack
    -- Executing [s@before-connecting-call:15] Return("Local/103@pjsip-push-00000029;1", "") in new stack
  == Spawn extension (pjsip-push, 103, 1) exited non-zero on 'Local/103@pjsip-push-00000029;1'
    -- Local/103@pjsip-push-00000029;1 Internal Gosub(before-connecting-call,s,1(b4cdfdbfe12da3e5,081287264002,103,,)) complete GOSUB_RETVAL=
[2021-10-29 14:00:13] WARNING[24687]: logger: ***: Log queue threshold (1000) exceeded.  Discarding new messages.
[2021-10-29 14:00:13] WARNING[24612]: logger: ***: Logging resumed.  421 messages discarded.
    -- Called Local/103@pjsip-push
    -- Executing [103@pjsip-push:1] NoOp("Local/103@pjsip-push-00000029;2", "Doing PJSIP PUSH") in new stack
    -- Executing [103@pjsip-push:2] Gosub("Local/103@pjsip-push-00000029;2", "send-mobile-push,s,1(103,PJSIP)") in new stack
    -- Executing [s@send-mobile-push:1] NoOp("Local/103@pjsip-push-00000029;2", "Sending push notifications for mobile devices") in new stack
    -- Executing [s@send-mobile-push:2] Set("Local/103@pjsip-push-00000029;2", "DEVICE=103") in new stack
    -- Executing [s@send-mobile-push:3] Set("Local/103@pjsip-push-00000029;2", "TECH=PJSIP") in new stack
    -- Executing [s@send-mobile-push:4] Set("Local/103@pjsip-push-00000029;2", "MAX_TRIES=10") in new stack
    -- Executing [s@send-mobile-push:5] Set("Local/103@pjsip-push-00000029;2", "TRY=1") in new stack
    -- Executing [s@send-mobile-push:6] Set("Local/103@pjsip-push-00000029;2", "DEVICE_STATUS=NOT_INUSE") in new stack
    -- Executing [s@send-mobile-push:7] GotoIf("Local/103@pjsip-push-00000029;2", "1?dial") in new stack
    -- Goto (send-mobile-push,s,16)
    -- Executing [s@send-mobile-push:16] NoOp("Local/103@pjsip-push-00000029;2", "Dialing the device") in new stack
    -- Executing [s@send-mobile-push:17] Set("Local/103@pjsip-push-00000029;2", "DIALING_STRING=PJSIP/103") in new stack
    -- Executing [s@send-mobile-push:18] GotoIf("Local/103@pjsip-push-00000029;2", "1?:do-dial") in new stack
    -- Executing [s@send-mobile-push:19] Set("Local/103@pjsip-push-00000029;2", "DIALING_STRING=PJSIP/103/sip:149.110.4.149:63068;transport=ws") in new stack
    -- Executing [s@send-mobile-push:20] Dial("Local/103@pjsip-push-00000029;2", "PJSIP/103/sip:149.110.4.149:63068;transport=ws") in new stack
    -- Called PJSIP/103/sip:149.110.4.149:63068;transport=ws
  == DTLS ECDH initialized (automatic), faster PFS enabled
    -- Local/103@queue-call-to-agents-00000028;1 connected line has changed. Saving it until answer for Local/081287264002@telco-provider-00000027;1
    -- PJSIP/103-0000001d is ringing
    -- Local/103@pjsip-push-00000029;1 is ringing
    -- Local/103@queue-call-to-agents-00000028;1 is ringing
       > 0x7f81f42c1fd0 -- Strict RTP learning after remote address set to: 149.110.4.149:60271
    -- PJSIP/103-0000001d answered Local/103@pjsip-push-00000029;2
[2021-10-29 14:00:17] WARNING[30538][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/103@pjsip-push-00000029;2.
    -- Local/103@pjsip-push-00000029;1 answered Local/103@queue-call-to-agents-00000028;2
    -- Local/103@pjsip-push-00000029;1 Internal Gosub(sub-call-recording,s,1(b4cdfdbfe12da3e5,081287264002,103,no)) start
    -- Executing [s@sub-call-recording:1] NoOp("Local/103@pjsip-push-00000029;1", "Check if call will be recorded on tenant b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-call-recording:2] NoOp("Local/103@pjsip-push-00000029;1", "Call Type: 1 ") in new stack
    -- Executing [s@sub-call-recording:3] Set("Local/103@pjsip-push-00000029;1", "TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-call-recording:4] Set("Local/103@pjsip-push-00000029;1", "CALLER=081287264002") in new stack
    -- Executing [s@sub-call-recording:5] Set("Local/103@pjsip-push-00000029;1", "CALLEE=103") in new stack
    -- Executing [s@sub-call-recording:6] Set("Local/103@pjsip-push-00000029;1", "APP_FORCE=no") in new stack
    -- Executing [s@sub-call-recording:7] GotoIf("Local/103@pjsip-push-00000029;1", "1?:rec_no_available") in new stack
    -- Executing [s@sub-call-recording:8] GotoIf("Local/103@pjsip-push-00000029;1", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:9] GotoIf("Local/103@pjsip-push-00000029;1", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:10] GotoIf("Local/103@pjsip-push-00000029;1", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:11] GotoIf("Local/103@pjsip-push-00000029;1", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:12] GotoIf("Local/103@pjsip-push-00000029;1", "0?perform-recording") in new stack
    -- Executing [s@sub-call-recording:13] Goto("Local/103@pjsip-push-00000029;1", "return") in new stack
    -- Goto (sub-call-recording,s,17)
    -- Executing [s@sub-call-recording:17] Return("Local/103@pjsip-push-00000029;1", "") in new stack
  == Spawn extension (pjsip-push, , 1) exited non-zero on 'Local/103@pjsip-push-00000029;1'
    -- Local/103@pjsip-push-00000029;1 Internal Gosub(sub-call-recording,s,1(b4cdfdbfe12da3e5,081287264002,103,no)) complete GOSUB_RETVAL=
    -- Local/103@queue-call-to-agents-00000028;1 answered Local/081287264002@telco-provider-00000027;1
    -- Stopped music on hold on Local/081287264002@telco-provider-00000027;1
[2021-10-29 14:00:17] WARNING[30521][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/081287264002@telco-provider-00000027;1.
[2021-10-29 14:00:17] WARNING[30548][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/103@queue-call-to-agents-00000028;1.
    -- Channel Local/103@queue-call-to-agents-00000028;1 joined 'simple_bridge' basic-bridge <0bcccd28-77a5-42a2-a58a-be84b7adb22b>
[2021-10-29 14:00:17] WARNING[30521][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/081287264002@telco-provider-00000027;1.
    -- Channel Local/081287264002@telco-provider-00000027;1 joined 'simple_bridge' basic-bridge <0bcccd28-77a5-42a2-a58a-be84b7adb22b>
[2021-10-29 14:00:17] WARNING[30547][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/103@pjsip-push-00000029;1.
    -- Channel Local/103@pjsip-push-00000029;1 joined 'simple_bridge' basic-bridge <ac7db244-4e40-45ec-9674-db90af286602>
[2021-10-29 14:00:17] WARNING[30537][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/103@queue-call-to-agents-00000028;2.
    -- Channel Local/103@queue-call-to-agents-00000028;2 joined 'simple_bridge' basic-bridge <ac7db244-4e40-45ec-9674-db90af286602>
[2021-10-29 14:00:17] WARNING[30546][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel PJSIP/103-0000001d.
    -- Channel PJSIP/103-0000001d joined 'simple_bridge' basic-bridge <805f5383-1cce-458f-a769-36e7c4af731b>
[2021-10-29 14:00:17] WARNING[30538][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/103@pjsip-push-00000029;2.
    -- Channel Local/103@pjsip-push-00000029;2 joined 'simple_bridge' basic-bridge <805f5383-1cce-458f-a769-36e7c4af731b>
       > Move-swap optimizing Local/081287264002@telco-provider-00000027;1 <-- PJSIP/QUIROS-0000001c.
    -- Channel PJSIP/QUIROS-0000001c left 'simple_bridge' basic-bridge <556eae9e-140d-48e5-b025-011bbd7e13f4>
[2021-10-29 14:00:17] WARNING[30522][C-00000027]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel PJSIP/QUIROS-0000001c.
    -- Channel Local/081287264002@telco-provider-00000027;1 left 'simple_bridge' basic-bridge <0bcccd28-77a5-42a2-a58a-be84b7adb22b>
    -- Channel PJSIP/QUIROS-0000001c swapped with Local/081287264002@telco-provider-00000027;1 into 'simple_bridge' basic-bridge <0bcccd28-77a5-42a2-a58a-be84b7adb22b>
    -- Channel Local/081287264002@telco-provider-00000027;2 left 'simple_bridge' basic-bridge <556eae9e-140d-48e5-b025-011bbd7e13f4>
  == Spawn extension (trk-1-dial, 081287264002, 42) exited non-zero on 'Local/081287264002@telco-provider-00000027;2'
    -- Executing [h@trk-1-dial:1] Gosub("Local/081287264002@telco-provider-00000027;2", "dynamic-routing-out,s,1(081287264002,081287264002,ANSWER,1)") in new stack
    -- Executing [s@dynamic-routing-out:1] NoOp("Local/081287264002@telco-provider-00000027;2", "Test if save on dynamic routing list") in new stack
    -- Executing [s@dynamic-routing-out:2] Set("Local/081287264002@telco-provider-00000027;2", "CALLER=081287264002") in new stack
    -- Executing [s@dynamic-routing-out:3] Set("Local/081287264002@telco-provider-00000027;2", "CALLED=081287264002") in new stack
    -- Executing [s@dynamic-routing-out:4] Set("Local/081287264002@telco-provider-00000027;2", "STATUS=ANSWER") in new stack
    -- Executing [s@dynamic-routing-out:5] Set("Local/081287264002@telco-provider-00000027;2", "TRKID=1") in new stack
    -- Executing [s@dynamic-routing-out:6] Set("Local/081287264002@telco-provider-00000027;2", "ALLOW_DR=") in new stack
    -- Executing [s@dynamic-routing-out:7] Set("Local/081287264002@telco-provider-00000027;2", "DYNROUTING_OMC=yes") in new stack
    -- Executing [s@dynamic-routing-out:8] GotoIf("Local/081287264002@telco-provider-00000027;2", "0?:comeback") in new stack
    -- Goto (dynamic-routing-out,s,10)
    -- Executing [s@dynamic-routing-out:10] Return("Local/081287264002@telco-provider-00000027;2", "") in new stack
    -- Executing [h@trk-1-dial:2] Hangup("Local/081287264002@telco-provider-00000027;2", "") in new stack
  == Spawn extension (trk-1-dial, h, 2) exited non-zero on 'Local/081287264002@telco-provider-00000027;2'
    -- Executing [h@cos-all-post:1] NoOp("Local/081287264002@telco-provider-00000027;1", "Hanging Up the Call (Post)") in new stack
    -- Executing [h@cos-all-post:2] Hangup("Local/081287264002@telco-provider-00000027;1", "") in new stack
  == Spawn extension (cos-all-post, h, 2) exited non-zero on 'Local/081287264002@telco-provider-00000027;1'
       > Move-swap optimizing Local/103@pjsip-push-00000029;2 <-- Local/103@queue-call-to-agents-00000028;2.
    -- Channel Local/103@queue-call-to-agents-00000028;2 left 'simple_bridge' basic-bridge <ac7db244-4e40-45ec-9674-db90af286602>
[2021-10-29 14:00:17] WARNING[30547][C-00000028]: features_config.c:1366 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'custom-features' on channel Local/103@queue-call-to-agents-00000028;2.
    -- Channel Local/103@pjsip-push-00000029;2 left 'simple_bridge' basic-bridge <805f5383-1cce-458f-a769-36e7c4af731b>
    -- Channel Local/103@queue-call-to-agents-00000028;2 swapped with Local/103@pjsip-push-00000029;2 into 'simple_bridge' basic-bridge <805f5383-1cce-458f-a769-36e7c4af731b>
    -- Channel Local/103@pjsip-push-00000029;1 left 'simple_bridge' basic-bridge <ac7db244-4e40-45ec-9674-db90af286602>
  == Spawn extension (send-mobile-push, s, 20) exited non-zero on 'Local/103@pjsip-push-00000029;2'
       > 0x7f81f42c1fd0 -- Strict RTP learning after ICE completion
       > 0x7f81f42c1fd0 -- Strict RTP learning after remote address set to: 149.110.4.149:60271
       > 0x7f81f42c1fd0 -- Strict RTP switching to RTP target address 149.110.4.149:60271 as source
       > 0x7f81f42c1fd0 -- Strict RTP learning complete - Locking on source address 149.110.4.149:60271
    -- Channel PJSIP/QUIROS-0000001c left 'simple_bridge' basic-bridge <0bcccd28-77a5-42a2-a58a-be84b7adb22b>
    -- Channel Local/103@queue-call-to-agents-00000028;1 left 'simple_bridge' basic-bridge <0bcccd28-77a5-42a2-a58a-be84b7adb22b>
    -- Channel Local/103@queue-call-to-agents-00000028;2 left 'simple_bridge' basic-bridge <805f5383-1cce-458f-a769-36e7c4af731b>
  == Spawn extension (sub-local-dialing, 103, 47) exited non-zero on 'Local/103@queue-call-to-agents-00000028;2'
    -- Executing [h@sub-local-dialing:1] NoOp("Local/103@queue-call-to-agents-00000028;2", "Finishing the call") in new stack
    -- Executing [h@sub-local-dialing:2] GosubIf("Local/103@queue-call-to-agents-00000028;2", "0?dynamic-routing-connected,s,1(ANSWER,081287264002)") in new stack
    -- Executing [h@sub-local-dialing:3] GotoIf("Local/103@queue-call-to-agents-00000028;2", "1?call_ended") in new stack
    -- Goto (sub-local-dialing,h,6)
    -- Executing [h@sub-local-dialing:6] NoOp("Local/103@queue-call-to-agents-00000028;2", "Call ended") in new stack
    -- Executing [h@sub-local-dialing:7] Hangup("Local/103@queue-call-to-agents-00000028;2", "") in new stack
  == Spawn extension (sub-local-dialing, h, 7) exited non-zero on 'Local/103@queue-call-to-agents-00000028;2'
    -- Channel PJSIP/103-0000001d left 'simple_bridge' basic-bridge <805f5383-1cce-458f-a769-36e7c4af731b>
[2021-10-29 14:00:26] NOTICE[30568]: core_local.c:739 local_call: No such extension/context @telco-provider while calling Local channel
    -- Executing [failed@cos-all:1] NoOp("OutgoingSpoolFailed", "More than on digit pattern") in new stack
    -- Executing [failed@cos-all:2] Gosub("OutgoingSpoolFailed", "s,1(failed)") in new stack
    -- Executing [s@cos-all:1] Set("OutgoingSpoolFailed", "EXTENSION=failed") in new stack
    -- Executing [s@cos-all:2] NoOp("OutgoingSpoolFailed", "Dialing failed from ") in new stack
    -- Executing [s@cos-all:3] Gosub("OutgoingSpoolFailed", "sub-set-global-vars,s,1(b4cdfdbfe12da3e5,failed,parking-1)") in new stack
    -- Executing [s@sub-set-global-vars:1] NoOp("OutgoingSpoolFailed", "Setting Global Vars") in new stack
    -- Executing [s@sub-set-global-vars:2] Set("OutgoingSpoolFailed", "TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-global-vars:3] Set("OutgoingSpoolFailed", "PREFIX=") in new stack
    -- Executing [s@sub-set-global-vars:4] Set("OutgoingSpoolFailed", "__PICKUPMARK=failed") in new stack
    -- Executing [s@sub-set-global-vars:5] Set("OutgoingSpoolFailed", "__PARKINGLOT=parking-1") in new stack
    -- Executing [s@sub-set-global-vars:6] Set("OutgoingSpoolFailed", "__DYNAMIC_FEATURES=custom-features") in new stack
    -- Executing [s@sub-set-global-vars:7] Set("OutgoingSpoolFailed", "ICALL=no") in new stack
    -- Executing [s@sub-set-global-vars:8] Return("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@cos-all:4] Gosub("OutgoingSpoolFailed", "sub-set-call-vars,s,1(b4cdfdbfe12da3e5,failed,1,cos-all,ARS-all)") in new stack
    -- Executing [s@sub-set-call-vars:1] NoOp("OutgoingSpoolFailed", "Setting Call Vars") in new stack
    -- Executing [s@sub-set-call-vars:2] Set("OutgoingSpoolFailed", "_TENANT=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@sub-set-call-vars:3] Set("OutgoingSpoolFailed", "_CALL_DESTINATION=failed") in new stack
    -- Executing [s@sub-set-call-vars:4] Set("OutgoingSpoolFailed", "_COS_ID=1") in new stack
    -- Executing [s@sub-set-call-vars:5] Set("OutgoingSpoolFailed", "_COS_NAME=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:6] Set("OutgoingSpoolFailed", "__TRANSFER_CONTEXT=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:7] Set("OutgoingSpoolFailed", "_ARS=ARS-all") in new stack
    -- Executing [s@sub-set-call-vars:8] Set("OutgoingSpoolFailed", "CDR(tenant)=vitalpbx") in new stack
    -- Executing [s@sub-set-call-vars:9] Set("OutgoingSpoolFailed", "CDR(destination)=failed") in new stack
    -- Executing [s@sub-set-call-vars:10] Set("OutgoingSpoolFailed", "CDR(trunk)=") in new stack
    -- Executing [s@sub-set-call-vars:11] Set("OutgoingSpoolFailed", "CDR(did)=") in new stack
    -- Executing [s@sub-set-call-vars:12] Set("OutgoingSpoolFailed", "__CALLID=1635490826.228") in new stack
    -- Executing [s@sub-set-call-vars:13] ExecIf("OutgoingSpoolFailed", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@sub-set-call-vars:14] Return("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@cos-all:5] Gosub("OutgoingSpoolFailed", "sub-construct-cid,s,1") in new stack
    -- Executing [s@sub-construct-cid:1] NoOp("OutgoingSpoolFailed", "Building CID") in new stack
    -- Executing [s@sub-construct-cid:2] Set("OutgoingSpoolFailed", "_CALL_SOURCE=") in new stack
    -- Executing [s@sub-construct-cid:3] Set("OutgoingSpoolFailed", "_CS=") in new stack
    -- Executing [s@sub-construct-cid:4] GotoIf("OutgoingSpoolFailed", "0?return") in new stack
    -- Executing [s@sub-construct-cid:5] Gosub("OutgoingSpoolFailed", "sub-get-device-tree,s,1") in new stack
    -- Executing [s@sub-get-device-tree:1] NoOp("OutgoingSpoolFailed", "Configuring Device Tree") in new stack
    -- Executing [s@sub-get-device-tree:2] Set("OutgoingSpoolFailed", "DEV_TECHNOLOGY=NULL") in new stack
    -- Executing [s@sub-get-device-tree:3] GosubIf("OutgoingSpoolFailed", "0?s-local,1") in new stack
    -- Executing [s@sub-get-device-tree:4] GotoIf("OutgoingSpoolFailed", "0?return") in new stack
    -- Executing [s@sub-get-device-tree:5] GotoIf("OutgoingSpoolFailed", "0?pjsip") in new stack
    -- Executing [s@sub-get-device-tree:6] GotoIf("OutgoingSpoolFailed", "0?:digital") in new stack
    -- Goto (sub-get-device-tree,s,12)
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: func_channel.c:463 func_channel_read: Unknown or unavailable item requested: 'peername'
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: func_channel.c:463 func_channel_read: Unknown or unavailable item requested: 'peername'
    -- Executing [s@sub-get-device-tree:12] Set("OutgoingSpoolFailed", "DEV_USER=") in new stack
    -- Executing [s@sub-get-device-tree:13] Set("OutgoingSpoolFailed", "INTERFACE=NULL/") in new stack
    -- Executing [s@sub-get-device-tree:14] Set("OutgoingSpoolFailed", "DEV_TREE=devices/NULL/") in new stack
    -- Executing [s@sub-get-device-tree:15] Return("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@sub-construct-cid:6] GotoIf("OutgoingSpoolFailed", "0?return") in new stack
    -- Executing [s@sub-construct-cid:7] Set("OutgoingSpoolFailed", "_CALL_SOURCE=") in new stack
    -- Executing [s@sub-construct-cid:8] Set("OutgoingSpoolFailed", "_CS=") in new stack
    -- Executing [s@sub-construct-cid:9] ExecIf("OutgoingSpoolFailed", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@sub-construct-cid:10] Set("OutgoingSpoolFailed", "_CID_CONSTRUCTED=yes") in new stack
    -- Executing [s@sub-construct-cid:11] NoOp("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@sub-construct-cid:12] Set("OutgoingSpoolFailed", "CDR(source)=") in new stack
    -- Executing [s@sub-construct-cid:13] Return("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@cos-all:6] Gosub("OutgoingSpoolFailed", "set-global-tenant-vars,s,1") in new stack
    -- Executing [s@set-global-tenant-vars:1] NoOp("OutgoingSpoolFailed", "Setting Global Vars for vitalpbx Tenant") in new stack
    -- Executing [s@set-global-tenant-vars:2] Set("OutgoingSpoolFailed", "__TENANT_PATH=b4cdfdbfe12da3e5") in new stack
    -- Executing [s@set-global-tenant-vars:3] Set("OutgoingSpoolFailed", "__TENANT_PREFIX=") in new stack
    -- Executing [s@set-global-tenant-vars:4] Set("OutgoingSpoolFailed", "__QUEUE_AGENTS_CONTEXT=queue-call-to-agents") in new stack
    -- Executing [s@set-global-tenant-vars:5] Set("OutgoingSpoolFailed", "__FOLLOWME_CONTEXT=ext-followme") in new stack
    -- Executing [s@set-global-tenant-vars:6] Set("OutgoingSpoolFailed", "__HINTS_CONTEXT=extension-hints") in new stack
    -- Executing [s@set-global-tenant-vars:7] Set("OutgoingSpoolFailed", "__DEFAULT_COS=cos-all") in new stack
    -- Executing [s@set-global-tenant-vars:8] Return("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@cos-all:7] GotoIf("OutgoingSpoolFailed", "0?local-dialing") in new stack
    -- Executing [s@cos-all:8] NoOp("OutgoingSpoolFailed", "Check if is an Emergency Call") in new stack
    -- Executing [s@cos-all:9] GotoIf("OutgoingSpoolFailed", "0?emergency-calls,failed,1") in new stack
    -- Executing [s@cos-all:10] Gosub("OutgoingSpoolFailed", "sub-lockphone-check,s,1") in new stack
    -- Executing [s@sub-lockphone-check:1] NoOp("OutgoingSpoolFailed", "SUB: LOCK PHONE CHECK") in new stack
    -- Executing [s@sub-lockphone-check:2] GotoIf("OutgoingSpoolFailed", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:3] GotoIf("OutgoingSpoolFailed", "1?unlock") in new stack
    -- Goto (sub-lockphone-check,s,12)
    -- Executing [s@sub-lockphone-check:12] Return("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@cos-all:11] Gosub("OutgoingSpoolFailed", "sub-local-dialing,s,1") in new stack
    -- Executing [s@sub-local-dialing:1] NoOp("OutgoingSpoolFailed", "Trying to determine if is a local extension") in new stack
    -- Executing [s@sub-local-dialing:2] GotoIf("OutgoingSpoolFailed", "0?:return") in new stack
    -- Goto (sub-local-dialing,s,5)
    -- Executing [s@sub-local-dialing:5] Return("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@cos-all:12] GotoIf("OutgoingSpoolFailed", "0?end-call") in new stack
    -- Executing [s@cos-all:13] Goto("OutgoingSpoolFailed", "cos-all-post,failed,1") in new stack
    -- Goto (cos-all-post,failed,1)
    -- Channel 'OutgoingSpoolFailed' sent to invalid extension: context,exten,priority=cos-all-post,failed,1
    -- Executing [i@cos-all-post:1] NoOp("OutgoingSpoolFailed", "Invalid dial on post section") in new stack
    -- Executing [i@cos-all-post:2] ForkCDR("OutgoingSpoolFailed", "e") in new stack
    -- Executing [i@cos-all-post:3] ExecIf("OutgoingSpoolFailed", "0?Hangup():") in new stack
    -- Executing [i@cos-all-post:4] Goto("OutgoingSpoolFailed", "invalid-dest-cos,s,1") in new stack
    -- Goto (invalid-dest-cos,s,1)
    -- Executing [s@invalid-dest-cos:1] NoOp("OutgoingSpoolFailed", "Invalid Route Dialed in COS") in new stack
    -- Executing [s@invalid-dest-cos:2] GotoIf("OutgoingSpoolFailed", "0?end") in new stack
    -- Executing [s@invalid-dest-cos:3] GotoIf("OutgoingSpoolFailed", "0?end") in new stack
    -- Executing [s@invalid-dest-cos:4] Playback("OutgoingSpoolFailed", "silence/1&cannot-complete-as-dialed&check-number-dial-again") in new stack
[2021-10-29 14:00:26] ERROR[30567][C-00000029]: channel.c:5653 set_format: Unable to set format because channel OutgoingSpoolFailed supports no formats
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: file.c:1262 ast_streamfile: Unable to open silence/1 (format (none)): Function not implemented
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: app_playback.c:497 playback_exec: Playback failed on OutgoingSpoolFailed for silence/1&cannot-complete-as-dialed&check-number-dial-again
[2021-10-29 14:00:26] ERROR[30567][C-00000029]: channel.c:5653 set_format: Unable to set format because channel OutgoingSpoolFailed supports no formats
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: file.c:1262 ast_streamfile: Unable to open cannot-complete-as-dialed (format (none)): Function not implemented
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: app_playback.c:497 playback_exec: Playback failed on OutgoingSpoolFailed for silence/1&cannot-complete-as-dialed&check-number-dial-again
[2021-10-29 14:00:26] ERROR[30567][C-00000029]: channel.c:5653 set_format: Unable to set format because channel OutgoingSpoolFailed supports no formats
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: file.c:1262 ast_streamfile: Unable to open check-number-dial-again (format (none)): Function not implemented
[2021-10-29 14:00:26] WARNING[30567][C-00000029]: app_playback.c:497 playback_exec: Playback failed on OutgoingSpoolFailed for silence/1&cannot-complete-as-dialed&check-number-dial-again
    -- Executing [s@invalid-dest-cos:5] Hangup("OutgoingSpoolFailed", "") in new stack
  == Spawn extension (invalid-dest-cos, s, 5) exited non-zero on 'OutgoingSpoolFailed'

If I using Freepbx + WD , disposition on CDR and Report WD it normal

Thanks

VitalPBX is not and has nothing in common with FreePBX other than the fact that it is using Asterisk as it’s telephony engine. So please don’t compare them.

If you send a call to the cos-all context it will follow the cos-all logic.

Hi @PitzKey

I think as long as the engine is asterisk there must be similarities. It’s just that the GUI interface is different. There may be adjustments in the dialplan so that it produces the same output.

Your dialer is sending the call to the extension “OutgoingSpoolFailed,” which doesn’t exist on VitalPBX.

1 Like

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