try latest trunk i think we added it.<br><br><br><div class="gmail_quote">On Thu, Nov 13, 2008 at 1:16 AM, Doug Blacksone <span dir="ltr"><<a href="mailto:dougblackstone@gmail.com">dougblackstone@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>I just thought that I might be able to better explain my problem with an example. I am not sure if this is a solvable problem, and if not, then the meta-app function will not work at all.<br>
<br>Both a-leg and b-leg can execute record, stop_record, and attr meta_app. Even though I have included the feature context in the dialplan generated by my curl script, when *1 or *2 is pressed, Freeswitch would still go to webserver to get the dialplan for the features context. The problem is that in the xml request submitted by Freeswitch, there is nothing that mentions the name of the context it is looking for. <br>
<br>Here is the dialplan:<br><document type="freeswitch/xml"><br><section name="dialplan" description="voicemail dialplan"><br><context name="public"><br><extension name="test9"><br>
<condition field="destination_number" expression="^(.*)$"><br> <action application="export" data="hold_music=silence" /><br> <action application="set" data="call_timeout=120" /><br>
<action application="set" data="hangup_after_bridge=true" /><br> <action application="set" data="continue_on_fail=true" /><br> <action application="set" data="ringback=$${us-ring}" /><br>
<action application="bind_meta_app" data="1 ab s execute_extension::record XML features"/><br><action application="bind_meta_app" data="2 ab s execute_extension::stoprecord XML features"/><br>
<action application="bind_meta_app" data="3 ab s execute_extension::att_xfer XML features"/><br> <action application="bridge" data="sofia/gateway/openser/1000" /><br><action application="execute_extension" data="rule XML public"/><br>
</condition><br></extension><br></context><br> <context name="features"><br><extension name="features"><br><condition field="destination_number" expression="^att_xfer" break="on-true"><br>
<action application="read" data="1 20 'tone_stream://%(10000,0,350,440)' digits 30000 #"/><br><action application="att_xfer" data="sofia/default/${digits}"/><br>
<action application="set" data="action=att-xfer" /> <br> <action application="execute_extension" data="att${digits} XML public"/> <br>
</condition><br><condition field="destination_number" expression="^record" break="on-true"><br> <action application="set" data="action=recording" /><br>
<action application="execute_extension" data="rule XML public"/><br>
</condition><br><condition field="destination_number" expression="stoprecord" break="on-true"><br> <action application="gentones" data="%(500,0,800)" /><br>
<action application="stop_record_session" data="null"/> <br> <action application="set" data="record_file=" /> <br></condition><br></extension><br>
</context><br></section><br></document><br><br>Here is the xml doc Freeswitch sent out when *1 is pressed and it is shown that Freeswitch does not state the context that it is looking for:<br><br>name = Caller-Source value = mod_sofia<br>
name = key_name value = <br>name = Answer-State value = answered<br>name = variable_sip_h_P-hint value = inbound->inbound<br>name = Channel-State value = CS_EXCHANGE_MEDIA<br>name = Unique-ID value = 5ca4a3b8-21d0-4d4a-89ac-93c6c921b0ed<br>
name = Channel-Read-Codec-Rate value = 8000<br>name = Caller-Destination-Number value = 1000<br>name = Caller-Channel-Transfer-Time value = 0<br>name = variable_local_media_ip value = <a href="http://192.168.1.101" target="_blank">192.168.1.101</a><br>
name = key_value value = <br>name = Caller-Channel-Progress-Media-Time value = 0<br>name = Caller-Channel-Answered-Time value = 1226588459893881<br>name = Channel-Name value = sofia/external/1000<br>name = Other-Leg-Source value = mod_sofia<br>
name = variable_originator value = 57515855-62d3-445d-b174-7ccbca8f608f<br>name = variable_max_forwards value = 68<br>name = Caller-Unique-ID value = 5ca4a3b8-21d0-4d4a-89ac-93c6c921b0ed<br>name = Caller-Channel-Name value = sofia/external/1000<br>
name = Channel-Read-Codec-Name value = PCMU<br>name = Other-Leg-Dialplan value = XML<br>name = hostname value = localhost.localdomain<br>name = variable_switch_m_sdp value = v=0<br>o=- 1480481 1480481 IN IP4 <a href="http://192.168.1.100" target="_blank">192.168.1.100</a><br>
s=-<br>c=IN IP4 <a href="http://192.168.1.100" target="_blank">192.168.1.100</a><br>t=0 0<br>m=audio 16390 RTP/AVP 0 2 4 8 18 96 97 98 101<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:2 G726-32/8000<br>a=rtpmap:4 G723/8000<br>a=rtpmap:8 PCMA/8000<br>
a=rtpmap:18 G729a/8000<br>a=rtpmap:96 G726-40/8000<br>a=rtpmap:97 G726-24/8000<br>a=rtpmap:98 G726-16/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=ptime:30<br><br>name = variable_remote_media_port value = 13442<br>
name = variable_sip_gateway_name value = openser<br>name = tag_name value = <br>name = variable_originator_codec value = PCMU@8000h@30i<br>name = variable_current_application value = execute_extension<br>name = Caller-Caller-ID-Number value = 1001<br>
name = variable_write_codec value = PCMU<br>name = Other-Leg-Privacy-Hide-Name value = false<br>name = Channel-State-Number value = 5<br>name = variable_local_media_port value = 13442<br>name = variable_switch_r_sdp value = v=0<br>
o=- 9 2 IN IP4 <a href="http://192.168.1.102" target="_blank">192.168.1.102</a><br>s=CounterPath X-Lite 3.0<br>c=IN IP4 <a href="http://192.168.1.102" target="_blank">192.168.1.102</a><br>t=0 0<br>m=audio 13442 RTP/AVP 0 8 101<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br><br>name = variable_hold_music value = silence<br>name = Caller-Caller-ID-Name value = 1001<br>name = variable_remote_media_ip value = <a href="http://192.168.1.102" target="_blank">192.168.1.102</a><br>
name = variable_sip_call_id value = b68774cf-2c36-122c-778f-0022190e9476<br>
name = Caller-Dialplan value = XML<br>name = Other-Leg-Unique-ID value = 57515855-62d3-445d-b174-7ccbca8f608f<br>name = variable_read_rate value = 8000<br>name = variable_read_codec value = PCMU<br>name = Caller-Channel-Hangup-Time value = 0<br>
name = Caller-Profile-Index value = 1<br>name = variable_endpoint_disposition value = ANSWER<br>name = Other-Leg-Username value = 1001<br>name = Caller-Username value = 1001<br>name = Other-Leg-Privacy-Hide-Number value = false<br>
name = variable_bridge_channel value = sofia/internal/<a href="mailto:1001@192.168.1.101" target="_blank">1001@192.168.1.101</a><br>name = variable_sip_user_agent value = X-Lite release 1011s stamp 41150<br>name = Caller-Network-Addr value = <a href="http://192.168.1.101" target="_blank">192.168.1.101</a><br>
name = Other-Leg-Screen-Bit value = true<br>name = Other-Leg-Caller-ID-Name value = 1001<br>name = Channel-Write-Codec-Name value = PCMU<br>name = Other-Leg-Network-Addr value = <a href="http://192.168.1.101" target="_blank">192.168.1.101</a><br>
name = variable_signal_bond value = 57515855-62d3-445d-b174-7ccbca8f608f<br>name = Other-Leg-Caller-ID-Number value = 1001<br>name = Other-Leg-Context value = public<br>name = Call-Direction value = outbound<br>name = Caller-Screen-Bit value = true<br>
name = Caller-Privacy-Hide-Number value = false<br>name = section value = dialplan<br>name = Caller-Channel-Created-Time value = 1226588455328603<br>name = variable_sofia_profile_name value = external<br>name = Caller-Channel-Progress-Time value = 1226588455767736<br>
name = variable_bridge_uuid value = 57515855-62d3-445d-b174-7ccbca8f608f<br>name = Caller-Privacy-Hide-Name value = false<br>name = Other-Leg-Channel-Name value = sofia/internal/<a href="mailto:1001@192.168.1.101" target="_blank">1001@192.168.1.101</a><br>
name = Caller-Context value = public<br>name = Channel-Write-Codec-Rate value = 8000<br>name = Other-Leg-Destination-Number value = 001000<br>name = variable_channel_name value = sofia/external/1000<br>name = variable_bridge_to value = 57515855-62d3-445d-b174-7ccbca8f608f<br>
name = variable_write_rate value = 8000<br>name = Caller-Profile-Created-Time value = 1226588455328603<br>name = variable_sip_destination_url value = <a href="http://sip:1000@192.168.1.101:5060" target="_blank">sip:1000@192.168.1.101:5060</a><br>
<br><br>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>