by mflorell » Sat Aug 26, 2017 12:01 am
When VICIdial first did in-group transfers, it did them a similar way with direct dialplan transfers. I looked up when this changed, and it was way back in 2008(svn revision 959).
This change to using an IAX loop to pass in-group transfers through was actually done to prevent issues on higher-load systems where sometimes in-group transferred calls would error and hangup during the redirect. This problem was eliminated with the use of the IAX loop. The byproduct of this was the loss of the same uniqueid.
To undo that change, you can actually just make a change in a single line of the extensions.conf file as well, but you need to understand that this change can result in calls being lost.
change this line:
exten => _90009.,2,Dial(${TRUNKloop}/9${EXTEN},,to)
to this:
exten => _90009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1)
I am actually working on more thorough logging within the vicidial_xfer_log table to store both the original uniqueid and the current uniqueid, which should help make tracing multi-transferred calls easier.