[Freeswitch-users] Bind_meta_app and second-degree bridge (.. this is a bad title.)
Harry Vangberg
harry at vangberg.name
Tue Sep 1 04:17:32 PDT 2009
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?
More information about the FreeSWITCH-users
mailing list