Bind_meta_app and second-degree bridge (.. this is a bad title.)
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@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@129.142.224.250 [BREAK] Any ideas?
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@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@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@129.142.224.250 [BREAK]
Any ideas?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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@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@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@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@129.142.224.250 [BREAK]
Any ideas?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
instead of bridge or att_xfer then use transfer to transfer to an extension that does the bridge. or transfer to the inline dialplan. On Wed, Sep 2, 2009 at 5:00 AM, Harry Vangberg <harry@vangberg.name> wrote:
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@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@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@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@129.142.224.250 [BREAK]
Any ideas?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
That's what I ended up with earlier today. Transfering to another extension that does the att_xfer/bridge and rebinds meta app. I think it works. Unfortunately my third phone is out of power, so haven't had much chance to test it. 2009/9/2 Anthony Minessale <anthony.minessale@gmail.com>:
instead of bridge or att_xfer then use transfer to transfer to an extension that does the bridge. or transfer to the inline dialplan.
On Wed, Sep 2, 2009 at 5:00 AM, Harry Vangberg <harry@vangberg.name> wrote:
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@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@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@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@129.142.224.250 [BREAK]
Any ideas?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Anthony Minessale
-
Harry Vangberg