Hi
I have a solution with WEBRTC and PJSIP with asterisk 16, everything works fine, incoming, outgoing, normal transfers, IVR menu, queues, etc. But now I have been trying to do attended transfers using external_replaces but it doesn’t work
here my dialplan
[from-internal]
exten => _5590359777,1,Dial(PJSIP/1060)
exten => _XXXXXXXXXX,1,Dial(PJSIP/${EXTEN}@enlace_mcm)
exten => _X.,1,NoOp(${EXTEN})
exten => _X.,n,Dial(PJSIP/${EXTEN},60,Ttw)
exten => external_replaces,1,NoOp()
same => n,Dial(PJSIP/outgoing/${SIPREFERTOHDR})
and this is the result with pjsip logger off and “core set debug off”
-- Executing [1060@from-internal:1] NoOp("PJSIP/1061-00000021", "1060") in new stack
-- Executing [1060@from-internal:2] Dial("PJSIP/1061-00000021", "PJSIP/1060,60,Ttw") in new stack
-- Called PJSIP/1060
== DTLS ECDH initialized (automatic), faster PFS enabled
-- PJSIP/1060-00000022 is ringing
-- PJSIP/1060-00000022 answered PJSIP/1061-00000021
-- Channel PJSIP/1060-00000022 joined 'simple_bridge' basic-bridge <850b4e1a-a720-43e3-bf9d-f17aa1e13c3b>
-- Channel PJSIP/1061-00000021 joined 'simple_bridge' basic-bridge <850b4e1a-a720-43e3-bf9d-f17aa1e13c3b>
-- Started music on hold, class 'default', on channel 'PJSIP/1061-00000021'
== DTLS ECDH initialized (automatic), faster PFS enabled
-- Executing [11719@from-internal:1] NoOp("PJSIP/1060-00000023", "11719") in new stack
-- Executing [11719@from-internal:2] Dial("PJSIP/1060-00000023", "PJSIP/11719,60,Ttw") in new stack
-- Called PJSIP/11719
== DTLS ECDH initialized (automatic), faster PFS enabled
-- PJSIP/11719-00000024 is ringing
-- PJSIP/11719-00000024 answered PJSIP/1060-00000023
-- Channel PJSIP/11719-00000024 joined 'simple_bridge' basic-bridge <14afeb69-bcf0-474a-a71e-ee023bff14f6>
-- Channel PJSIP/1060-00000023 joined 'simple_bridge' basic-bridge <14afeb69-bcf0-474a-a71e-ee023bff14f6>
-- Channel PJSIP/1060-00000023 left 'simple_bridge' basic-bridge <14afeb69-bcf0-474a-a71e-ee023bff14f6>
-- Channel PJSIP/11719-00000024 left 'simple_bridge' basic-bridge <14afeb69-bcf0-474a-a71e-ee023bff14f6>
== Spawn extension (from-internal, 11719, 2) exited non-zero on 'PJSIP/1060-00000023'
-- Executing [external_replaces@from-internal:1] NoOp("PJSIP/11719-00000024", "") in new stack
-- Executing [external_replaces@from-internal:2] Dial("PJSIP/11719-00000024", "PJSIP/outgoing/sip:1061@asteriskpbx-sandbox") in new stack
-- Called PJSIP/outgoing/sip:1061@asteriskpbx-sandbox
== Everyone is busy/congested at this time (1:0/1/0)
-- Auto fallthrough, channel 'PJSIP/11719-00000024' status is 'CONGESTION'