Hi everyone,
I’m trying to allow a member of a group to set up an inconditional forward from his phone effective on this group. The user is dialing *21, the number, and validate :
The option Enable Transfer by DTMF is checked on the user.
On the group i put a member on a softphone and my user as pilot extension, but when i call the external number which is set up on this group the call is hanged up :
And here is the log of the call :
[2021-12-27 16:17:06.0629] == Using SIP RTP Audio CoS mark 5
[2021-12-27 16:17:06.0639] -- Executing [s@from-extern:1] NoOp("PJSIP/TrunkOVH-000064bb", "") in new stack
[2021-12-27 16:17:06.0639] -- Executing [s@from-extern:2] GotoIf("PJSIP/TrunkOVH-000064bb", "1?:not-pjsip") in new stack
[2021-12-27 16:17:06.0639] -- Executing [s@from-extern:3] GotoIf("PJSIP/TrunkOVH-000064bb", "1?:error-loop") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@from-extern:4] Set("PJSIP/TrunkOVH-000064bb", "XIVO_DID_NEXT_EXTEN=0CALLEDNBR") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@from-extern:5] Set("PJSIP/TrunkOVH-000064bb", "XIVO_FROM_S=1") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@from-extern:6] Goto("PJSIP/TrunkOVH-000064bb", "from-extern,0CALLEDNBR,1") in new stack
[2021-12-27 16:17:06.0660] -- Goto (from-extern,0CALLEDNBR,1)
[2021-12-27 16:17:06.0660] -- Executing [0CALLEDNBR@from-extern:1] Set("PJSIP/TrunkOVH-000064bb", "__XIVO_BASE_CONTEXT=from-extern") in new stack
[2021-12-27 16:17:06.0660] -- Executing [0CALLEDNBR@from-extern:2] Set("PJSIP/TrunkOVH-000064bb", "__XIVO_BASE_EXTEN=0CALLEDNBR") in new stack
[2021-12-27 16:17:06.0660] -- Executing [0CALLEDNBR@from-extern:3] Gosub("PJSIP/TrunkOVH-000064bb", "contextlib,entry-exten-context,1") in new stack
[2021-12-27 16:17:06.0660] -- Executing [entry-exten-context@contextlib:1] NoOp("PJSIP/TrunkOVH-000064bb", "Saving entry context/exten") in new stack
[2021-12-27 16:17:06.0660] -- Executing [entry-exten-context@contextlib:2] GotoIf("PJSIP/TrunkOVH-000064bb", "0?return:") in new stack
[2021-12-27 16:17:06.0660] -- Executing [entry-exten-context@contextlib:3] Set("PJSIP/TrunkOVH-000064bb", "__WAZO_ENTRY_CONTEXT=from-extern") in new stack
[2021-12-27 16:17:06.0660] -- Executing [entry-exten-context@contextlib:4] Set("PJSIP/TrunkOVH-000064bb", "__WAZO_ENTRY_EXTEN=0CALLEDNBR") in new stack
[2021-12-27 16:17:06.0660] -- Executing [entry-exten-context@contextlib:5] Return("PJSIP/TrunkOVH-000064bb", "") in new stack
[2021-12-27 16:17:06.0660] -- Executing [0CALLEDNBR@from-extern:4] Set("PJSIP/TrunkOVH-000064bb", "__WAZO_TENANT_UUID=45b35cb8-2505-4745-bff3-81263ce17bf2") in new stack
[2021-12-27 16:17:06.0660] -- Executing [0CALLEDNBR@from-extern:5] GotoIf("PJSIP/TrunkOVH-000064bb", "1?:action") in new stack
[2021-12-27 16:17:06.0660] -- Executing [0CALLEDNBR@from-extern:6] CELGenUserEvent("PJSIP/TrunkOVH-000064bb", "XIVO_FROM_S") in new stack
[2021-12-27 16:17:06.0660] -- Executing [0CALLEDNBR@from-extern:7] Gosub("PJSIP/TrunkOVH-000064bb", "did,s,1(18,)") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@did:1] Set("PJSIP/TrunkOVH-000064bb", "XIVO_DSTNUM=0CALLEDNBR") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@did:2] Set("PJSIP/TrunkOVH-000064bb", "XIVO_CONTEXT=from-extern") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@did:3] Set("PJSIP/TrunkOVH-000064bb", "XIVO_PRESUBR_GLOBAL_NAME=DID") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@did:4] Set("PJSIP/TrunkOVH-000064bb", "XIVO_INCALL_ID=18") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@did:5] Set("PJSIP/TrunkOVH-000064bb", "__XIVO_CALLORIGIN=extern") in new stack
[2021-12-27 16:17:06.0660] -- Executing [s@did:6] AGI("PJSIP/TrunkOVH-000064bb", "agi://localhost/callerid_extend") in new stack
[2021-12-27 16:17:06.0660] AGI Tx >> agi_network: yes
[2021-12-27 16:17:06.0660] AGI Tx >> agi_network_script: callerid_extend
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_request: agi://localhost/callerid_extend
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_channel: PJSIP/TrunkOVH-000064bb
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_language: en_US
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_type: PJSIP
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_uniqueid: 1640618226.61225
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_version: 18.8.0
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callerid: 06CALLERNBR
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_calleridname: +336CALLERNBR
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingpres: 0
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingani2: 0
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callington: 0
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingtns: 0
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_dnid: s
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_rdnis: unknown
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_context: did
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_extension: s
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_priority: 6
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_enhanced: 0.0
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_accountcode:
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_threadid: 140537144129280
[2021-12-27 16:17:06.0661] <PJSIP/TrunkOVH-000064bb>AGI Tx >>
[2021-12-27 16:17:06.0802] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_SRCTON" "0"
[2021-12-27 16:17:06.0802] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0814] <PJSIP/TrunkOVH-000064bb>AGI Rx << VERBOSE "AGI handler 'callerid_extend' successfully executed" 1
[2021-12-27 16:17:06.0814] agi://localhost/callerid_extend: AGI handler 'callerid_extend' successfully executed
[2021-12-27 16:17:06.0814] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0822] -- <PJSIP/TrunkOVH-000064bb>AGI Script agi://localhost/callerid_extend completed, returning 0
[2021-12-27 16:17:06.0822] -- Executing [s@did:7] AGI("PJSIP/TrunkOVH-000064bb", "agi://localhost/in_callerid") in new stack
[2021-12-27 16:17:06.0822] AGI Tx >> agi_network: yes
[2021-12-27 16:17:06.0823] AGI Tx >> agi_network_script: in_callerid
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_request: agi://localhost/in_callerid
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_channel: PJSIP/TrunkOVH-000064bb
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_language: en_US
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_type: PJSIP
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_uniqueid: 1640618226.61225
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_version: 18.8.0
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callerid: 06CALLERNBR
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_calleridname: +336CALLERNBR
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingpres: 0
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingani2: 0
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callington: 0
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingtns: 0
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_dnid: s
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_rdnis: unknown
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_context: did
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_extension: s
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_priority: 7
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_enhanced: 0.0
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_accountcode:
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_threadid: 140537144129280
[2021-12-27 16:17:06.0823] <PJSIP/TrunkOVH-000064bb>AGI Tx >>
[2021-12-27 16:17:06.0872] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "CALLERID(num)" "06CALLERNBR"
[2021-12-27 16:17:06.0872] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0881] <PJSIP/TrunkOVH-000064bb>AGI Rx << VERBOSE "AGI handler 'in_callerid' successfully executed" 1
[2021-12-27 16:17:06.0881] agi://localhost/in_callerid: AGI handler 'in_callerid' successfully executed
[2021-12-27 16:17:06.0881] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0890] -- <PJSIP/TrunkOVH-000064bb>AGI Script agi://localhost/in_callerid completed, returning 0
[2021-12-27 16:17:06.0890] -- Executing [s@did:8] AGI("PJSIP/TrunkOVH-000064bb", "agi://localhost/callerid_forphones") in new stack
[2021-12-27 16:17:06.0890] AGI Tx >> agi_network: yes
[2021-12-27 16:17:06.0890] AGI Tx >> agi_network_script: callerid_forphones
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_request: agi://localhost/callerid_forphones
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_channel: PJSIP/TrunkOVH-000064bb
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_language: en_US
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_type: PJSIP
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_uniqueid: 1640618226.61225
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_version: 18.8.0
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callerid: 06CALLERNBR
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_calleridname: +336CALLERNBR
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingpres: 0
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingani2: 0
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callington: 0
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingtns: 0
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_dnid: s
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_rdnis: unknown
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_context: did
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_extension: s
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_priority: 8
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_enhanced: 0.0
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_accountcode:
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_threadid: 140537144129280
[2021-12-27 16:17:06.0890] <PJSIP/TrunkOVH-000064bb>AGI Tx >>
[2021-12-27 16:17:06.0908] <PJSIP/TrunkOVH-000064bb>AGI Rx << VERBOSE "AGI handler 'callerid_forphones' successfully executed" 1
[2021-12-27 16:17:06.0908] agi://localhost/callerid_forphones: AGI handler 'callerid_forphones' successfully executed
[2021-12-27 16:17:06.0908] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0926] -- <PJSIP/TrunkOVH-000064bb>AGI Script agi://localhost/callerid_forphones completed, returning 0
[2021-12-27 16:17:06.0926] -- Executing [s@did:9] UserEvent("PJSIP/TrunkOVH-000064bb", "ReverseLookup,CHANNEL: PJSIP/TrunkOVH-000064bb") in new stack
[2021-12-27 16:17:06.0926] -- Executing [s@did:10] Set("PJSIP/TrunkOVH-000064bb", "XIVO_SRCNUM=06CALLERNBR") in new stack
[2021-12-27 16:17:06.0927] -- Executing [s@did:11] AGI("PJSIP/TrunkOVH-000064bb", "agi://localhost/incoming_did_set_features") in new stack
[2021-12-27 16:17:06.0927] AGI Tx >> agi_network: yes
[2021-12-27 16:17:06.0927] AGI Tx >> agi_network_script: incoming_did_set_features
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_request: agi://localhost/incoming_did_set_features
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_channel: PJSIP/TrunkOVH-000064bb
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_language: en_US
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_type: PJSIP
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_uniqueid: 1640618226.61225
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_version: 18.8.0
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callerid: 06CALLERNBR
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_calleridname: +336CALLERNBR
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingpres: 0
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingani2: 0
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callington: 0
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingtns: 0
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_dnid: s
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_rdnis: unknown
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_context: did
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_extension: s
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_priority: 11
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_enhanced: 0.0
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_accountcode:
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_threadid: 140537144129280
[2021-12-27 16:17:06.0927] <PJSIP/TrunkOVH-000064bb>AGI Tx >>
[2021-12-27 16:17:06.0956] <PJSIP/TrunkOVH-000064bb>AGI Rx << GET VARIABLE "XIVO_INCALL_ID"
[2021-12-27 16:17:06.0956] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1 (18)
[2021-12-27 16:17:06.0965] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_DIDPREPROCESS_SUBROUTINE" ""
[2021-12-27 16:17:06.0965] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0970] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_EXTENPATTERN" "0CALLEDNBR"
[2021-12-27 16:17:06.0970] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0974] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_PATH" "incall"
[2021-12-27 16:17:06.0974] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0978] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_PATH_ID" "18"
[2021-12-27 16:17:06.0978] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0987] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_REAL_CONTEXT" "from-extern"
[2021-12-27 16:17:06.0987] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0990] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_REAL_NUMBER" "0CALLEDNBR"
[2021-12-27 16:17:06.0990] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0993] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "WAZO_GREETING_SOUND" ""
[2021-12-27 16:17:06.0993] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.0999] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_FWD_INCALL_ANSWER_ACTION" "endcall:hangup"
[2021-12-27 16:17:06.0999] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1002] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_FWD_INCALL_ANSWER_ISDA" "1"
[2021-12-27 16:17:06.1002] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1005] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_FWD_INCALL_ANSWER_ACTIONARG1" ""
[2021-12-27 16:17:06.1005] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1008] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_FWD_INCALL_ANSWER_ACTIONARG2" ""
[2021-12-27 16:17:06.1008] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1016] <PJSIP/TrunkOVH-000064bb>AGI Rx << VERBOSE "AGI handler 'incoming_did_set_features' successfully executed" 1
[2021-12-27 16:17:06.1016] agi://localhost/incoming_did_set_features: AGI handler 'incoming_did_set_features' successfully executed
[2021-12-27 16:17:06.1016] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1032] -- <PJSIP/TrunkOVH-000064bb>AGI Script agi://localhost/incoming_did_set_features completed, returning 0
[2021-12-27 16:17:06.1032] -- Executing [s@did:12] UserEvent("PJSIP/TrunkOVH-000064bb", "Did,XIVO_SRCNUM: 06CALLERNBR,XIVO_SRCNAME: +336CALLERNBR,XIVO_EXTENPATTERN: 0CALLEDNBR,CHANNEL: PJSIP/TrunkOVH-000064bb,XIVO_SRCTON: 0,XIVO_SRCRDNIS: ") in new stack
[2021-12-27 16:17:06.1032] -- Executing [s@did:13] CELGenUserEvent("PJSIP/TrunkOVH-000064bb", "XIVO_INCALL,45b35cb8-2505-4745-bff3-81263ce17bf2") in new stack
[2021-12-27 16:17:06.1032] -- Executing [s@did:14] AGI("PJSIP/TrunkOVH-000064bb", "agi://localhost/check_schedule") in new stack
[2021-12-27 16:17:06.1033] AGI Tx >> agi_network: yes
[2021-12-27 16:17:06.1033] AGI Tx >> agi_network_script: check_schedule
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_request: agi://localhost/check_schedule
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_channel: PJSIP/TrunkOVH-000064bb
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_language: en_US
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_type: PJSIP
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_uniqueid: 1640618226.61225
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_version: 18.8.0
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callerid: 06CALLERNBR
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_calleridname: +336CALLERNBR
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingpres: 0
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingani2: 0
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callington: 0
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_callingtns: 0
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_dnid: s
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_rdnis: unknown
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_context: did
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_extension: s
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_priority: 14
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_enhanced: 0.0
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_accountcode:
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >> agi_threadid: 140537144129280
[2021-12-27 16:17:06.1033] <PJSIP/TrunkOVH-000064bb>AGI Tx >>
[2021-12-27 16:17:06.1074] <PJSIP/TrunkOVH-000064bb>AGI Rx << GET VARIABLE "XIVO_PATH"
[2021-12-27 16:17:06.1074] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1 (incall)
[2021-12-27 16:17:06.1076] <PJSIP/TrunkOVH-000064bb>AGI Rx << GET VARIABLE "XIVO_PATH_ID"
[2021-12-27 16:17:06.1076] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1 (18)
[2021-12-27 16:17:06.1085] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_SCHEDULE_STATUS" "opened"
[2021-12-27 16:17:06.1085] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1089] <PJSIP/TrunkOVH-000064bb>AGI Rx << SET VARIABLE "XIVO_PATH" ""
[2021-12-27 16:17:06.1089] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1215] <PJSIP/TrunkOVH-000064bb>AGI Rx << VERBOSE "AGI handler 'check_schedule' successfully executed" 1
[2021-12-27 16:17:06.1215] agi://localhost/check_schedule: AGI handler 'check_schedule' successfully executed
[2021-12-27 16:17:06.1215] <PJSIP/TrunkOVH-000064bb>AGI Tx >> 200 result=1
[2021-12-27 16:17:06.1249] -- <PJSIP/TrunkOVH-000064bb>AGI Script agi://localhost/check_schedule completed, returning 0
[2021-12-27 16:17:06.1249] -- Executing [s@did:15] GotoIf("PJSIP/TrunkOVH-000064bb", "0?CLOSED,1") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@did:16] Gosub("PJSIP/TrunkOVH-000064bb", "xivo-subroutine,s,1()") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@xivo-subroutine:1] GotoIf("PJSIP/TrunkOVH-000064bb", "?:nosubroutine") in new stack
[2021-12-27 16:17:06.1249] -- Goto (xivo-subroutine,s,4)
[2021-12-27 16:17:06.1249] -- Executing [s@xivo-subroutine:4] Return("PJSIP/TrunkOVH-000064bb", "") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@did:17] Gosub("PJSIP/TrunkOVH-000064bb", "xivo-global-subroutine,s,1") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@xivo-global-subroutine:1] GotoIf("PJSIP/TrunkOVH-000064bb", "1?:return") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@xivo-global-subroutine:2] GotoIf("PJSIP/TrunkOVH-000064bb", "DID?:return") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@xivo-global-subroutine:3] GotoIf("PJSIP/TrunkOVH-000064bb", "xivo-subrgbl-did?:return") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@xivo-global-subroutine:4] GotoIf("PJSIP/TrunkOVH-000064bb", "0?:return") in new stack
[2021-12-27 16:17:06.1249] -- Goto (xivo-global-subroutine,s,6)
[2021-12-27 16:17:06.1249] -- Executing [s@xivo-global-subroutine:6] Return("PJSIP/TrunkOVH-000064bb", "") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@did:18] GotoIf("PJSIP/TrunkOVH-000064bb", "?:nogreeting") in new stack
[2021-12-27 16:17:06.1249] -- Goto (did,s,20)
[2021-12-27 16:17:06.1249] -- Executing [s@did:20] Gosub("PJSIP/TrunkOVH-000064bb", "forward,s,1(endcall:hangup,,)") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:1] Set("PJSIP/TrunkOVH-000064bb", "XIVO_FWD_ACTION=endcall:hangup") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:2] GotoIf("PJSIP/TrunkOVH-000064bb", "endcall:hangup?:error,1") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:3] Set("PJSIP/TrunkOVH-000064bb", "XIVO_FWD_ACTIONARG1=") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:4] Set("PJSIP/TrunkOVH-000064bb", "XIVO_FWD_ACTIONARG2=") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:5] Set("PJSIP/TrunkOVH-000064bb", "__XIVO_FROMGROUP=0") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:6] Set("PJSIP/TrunkOVH-000064bb", "__XIVO_FROMQUEUE=0") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:7] Set("PJSIP/TrunkOVH-000064bb", "CALLCOMPLETION(cc_agent_policy)=never") in new stack
[2021-12-27 16:17:06.1249] -- Executing [s@forward:8] Goto("PJSIP/TrunkOVH-000064bb", "endcall:hangup,1") in new stack
[2021-12-27 16:17:06.1250] -- Goto (forward,endcall:hangup,1)
[2021-12-27 16:17:06.1250] -- Executing [endcall:hangup@forward:1] Hangup("PJSIP/TrunkOVH-000064bb", "") in new stack
[2021-12-27 16:17:06.1250] == Spawn extension (forward, endcall:hangup, 1) exited non-zero on 'PJSIP/TrunkOVH-000064bb'
I don’t even see the number of the unconditional forward appear. Can anybody help ?
thank you by advance