Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
harry at vangberg.name
Guest





PostPosted: Tue Sep 01, 2009 6:25 am    Post subject: [Freeswitch-users] Bind_meta_app and second-degree bridge (. Reply with quote

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
Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Sep 01, 2009 1:08 pm    Post subject: [Freeswitch-users] Bind_meta_app and second-degree bridge (. Reply with quote

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 (harry@vangberg.name)> wrote:
Quote:
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 (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 (unknown@129.142.224.250) [BREAK]

Any ideas?

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
harry at vangberg.name
Guest





PostPosted: Wed Sep 02, 2009 5:07 am    Post subject: [Freeswitch-users] Bind_meta_app and second-degree bridge (. Reply with quote

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>:
Quote:
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:
Quote:

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
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Sep 02, 2009 10:32 am    Post subject: [Freeswitch-users] Bind_meta_app and second-degree bridge (. Reply with quote

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 (harry@vangberg.name)> wrote:
Quote:
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 (anthony.minessale@gmail.com)>:

Quote:
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 (harry@vangberg.name)> wrote:
Quote:

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 (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 (unknown@129.142.224.250) [BREAK]

Any ideas?

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
harry at vangberg.name
Guest





PostPosted: Wed Sep 02, 2009 10:47 am    Post subject: [Freeswitch-users] Bind_meta_app and second-degree bridge (. Reply with quote

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>:
Quote:
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:
Quote:

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>:
Quote:
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:
Quote:

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



_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services