[Freeswitch-users] Bind_meta_app and second-degree bridge (.. this is a bad title.)

Harry Vangberg harry at vangberg.name
Wed Sep 2 03:00:46 PDT 2009


Ah. att_xfer seems nice. But, it still doesn't allow C to eventually
rebridge A to B (or possibly D, E etc) at some point in the
conversation, where the caller needs to talk with somebody else.

2009/9/1 Anthony Minessale <anthony.minessale at gmail.com>:
> you probably don't want to call bridge from bind meta app, try using the
> att_xfer app instead
> it works like bridge but when you call C you can press # to hangup and
> bridge a to c or press 0 to conference call all 3.
>
>
> On Tue, Sep 1, 2009 at 6:17 AM, Harry Vangberg <harry at vangberg.name> wrote:
>>
>> My basic functionality is this: A calls in, is bridged to B (1111). I
>> use bind_meta_app to let B rebridge A to C (2222). After having been
>> rebridged to C, C should be able to rebridge A to B *again*, and so
>> on.
>>
>> This is the code I have:
>>
>>  <context name="public">
>>    <extension name="ff-ivr">
>>      <condition field="destination_number" expression="^(.*)$">
>>        <action application="set" data="bypass_media=false"/>
>>        <action application="answer"/>
>>        <action application="bind_meta_app" data="1 b a
>> bridge::sofia/gateway/gw1/1111"/>
>>        <action application="bind_meta_app" data="2 b a
>> bridge::sofia/gateway/gw1/2222"/>
>>        <action application="bridge" data="sofia/gateway/gw1/1111" />
>>      </condition>
>>    </extension>
>>  </context>
>>
>> The first bridge is fine, and B can press *2 to bridge to C/2222. But
>> if C presses *1, it seems to execute the bridge app, but nothing at
>> all happens:
>>
>> 2009-09-01 11:14:59.258325 [DEBUG] switch_rtp.c:2222 RTP RECV DTMF *:2000
>> 2009-09-01 11:15:00.118195 [DEBUG] switch_rtp.c:2222 RTP RECV DTMF 1:2000
>> 2009-09-01 11:15:00.118195 [DEBUG] switch_ivr_async.c:1725
>> sofia/external/unknown at 129.142.224.250 Processing meta digit '2'
>> [bridge::sofia/gateway/gw1/1111]
>> 2009-09-01 11:15:00.118195 [DEBUG] switch_core_session.c:813 Send
>> signal sofia/external/unknown at 129.142.224.250 [BREAK]
>>
>> Any ideas?
>>
>> _______________________________________________
>> 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
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> 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
>
>




More information about the FreeSWITCH-users mailing list