[Freeswitch-users] attended transfer to gateway

elijah elijah at crankenstein.com
Thu Apr 21 21:15:31 MSD 2011


Right. That's the example I used. My config looks like this:

        <action application="bind_meta_app" data="1 b s
execute_extension::ax XML callsdirect"/>

    <extension name="bind_receiver">
      <condition field="destination_number" expression="^ax$">
        <action application="answer"/>
        <action application="read" data="10 10
'tone_stream://%(10000,0,350,440)' attxfer_callthis 30000 *"/>
        <action application="execute_extension" data="attended_xfer XML
callsdirect"/>
      </condition>
    </extension>

    <extension name="attended_xfer">
      <condition field="destination_number" expression="^attended_xfer$"/>
      <condition field="${attxfer_callthis}" expression="^(\d+)$">
        <action application="set" data="continue_on_fail=true"/>
        <action application="set" data="origination_cancel_key=#"/>
        <action application="att_xfer"
data="sofia/gateway/onesource/${attxfer_callthis}"/>
        <anti-action application="eval" data="cancel transfer"/>
      </condition>
    </extension>


On Thu, Apr 21, 2011 at 7:06 AM, Brian West <brian at freeswitch.org> wrote:

> There is an example of using this in the default config in features.xml
>
> /b
>
> On Apr 20, 2011, at 9:13 PM, elijah wrote:
>
> Ok, here's the log: http://pastebin.freeswitch.org/16144
> <http://pastebin.freeswitch.org/16144>Any input would be great - I'm not
> seeing the condition that is causing 0 to drop the c-leg after an attended
> bridge.
>
> thanks,
> elijah
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110421/8dd34771/attachment.html 


More information about the FreeSWITCH-users mailing list