how to get information in dialplan when EP are swapped in a bridged
channel? TRANSFERED_BY is empty, TRANSFER_CONTEXT in not taken in account.
I face a problem with bria softphone who is starting a new call on
attented transfer -different callID- and from there I’m unable to do
some stuff like setting variables.
I’m not too clear what you are trying to do, and there was a big change in the handling of masquerades after the version whose internal I know best. However, on the versions I’m familiar with channels can be accessed by their unique ID, as well as the channel name, and the channel name should be readable using the CHANNEL function.
An explanation of what your dialplan is trying to do might help, as I suspect most people find they don’t have to treat this case specially.
Calls are entering into queue and as soon as an agent take a call I have
to set the start time of the call to be able to calculate the total
communication time for the agent when call is ended. This works
perfectly if there is no transfer or a blind transfer: datas as stored
in DB using the callID as key.
Problem arise with attended transfer: a new callID is generated and
variable TRANSFERED_BY is empty. I tried with adding PJSIP headers or
using SHARED(myvar) but can’t get a solution. What I need is to get the
hand when EP are swapped after attended transfer so I can set the start
time for the new EP.
I’m not too clear what you are trying to do, and there was a big
change in the handling of masquerades after the version whose internal
I know best. However, on the versions I’m familiar with channels can
be accessed by their unique ID, as well as the channel name, and the
channel name should be readable using the CHANNEL function.
An explanation of what your dialplan is trying to do might help, as I
suspect most people find they don’t have to treat this case specially.