[Freeswitch-users] att_xfer and Loopback

Peter P GMX Prometheus001 at gmx.net
Wed Nov 11 14:27:09 PST 2009


Hello,

I have some problems with attended transfer and loopback

Scenario how id <does> work
- A calls B
- B enters *4 gets an announcement and enter digits for C (A get MOH)
- C is called
- As soon as C picks up the call, A and C are connected and B is dropped

How it <should> work until here:
- A calls B
- B enters *4 gets an announcement and enter digits for C (A get MOH)
- C is called
- As soon as C picks up the call, B and C are connected (A still MOH)

The dial string for C is dynamic and dependent on certain parameters,
therefore C must be called via Loopback in our scenario.


Here are the configs:
In dialplan for calling B:
<anti-action application="bind_meta_app" data="4 b b
execute_extension::attended_xfer XML default"/>

Dialplan for executing the att_xfer:
<extension name="attended_xfer">
    <condition field="destination_number" expression="^attended_xfer$">
      <action application="set" data="continue_on_fail=true"/>
      <action application="read" data="3 4 ivr/ivr-enter_ext.wav
attxfer_callthis 30000 #"/>
      <action application="set" data="origination_cancel_key=#"/>
      <action application="att_xfer" data="loopback/${attxfer_callthis}"/>
    </condition>
</extension>

So this is pretty standard, except the loopback. SVN is 15322.

Anybody has a solution for this?


Best regards
Peter






More information about the FreeSWITCH-users mailing list