[Freeswitch-users] Does early attended transfer execute application set on the transferred channel?

mayamatakeshi mayamatakeshi at gmail.com
Sat Mar 23 13:37:57 UTC 2019


Hi,
I am testing early attended transfer scenario (REFER with Replaces before
transfer target answers).

Scenario is like this:
  1) PSTN call arrives
  2) dialplan sends call to user1
  3) user1 answers the call
  4) user1 puts PSTN call on-hold
  5) user1 makes call to user2
  6) FS executes a dialplan that sets some variables (like user1 DB ID) and
executes application bridge to user2
  7) before user2 answers user1 requests attended transfer
  8) it seems in this case FS executes the 'set' applications from step 6
in the PSTN channel and changes the ownership of the ongoing bridge
application to it.

Can someone confirm this is indeed what happens?
(I checked XML CDR, the variable mentioned by application 'set' is assigned
but the app_log doesn't show application 'set' was executed).
And if this is indeed the case, is there some way to ask FS to refuse early
attended transfer as it is causing wrong CDR to be written (PSTN channel is
marked as being a user channel)?
I don't want to refuse neither blind transfer nor consultative transfer
(transfer after answer). I just need to prevent early attended transfer (or
maybe someone has some idea about how to deal with this scenario).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190323/c262a29c/attachment.html>


More information about the FreeSWITCH-users mailing list