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">&lt;<a href="mailto:dougblackstone@gmail.com">dougblackstone@gmail.com</a>&gt;</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.&nbsp; 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.&nbsp; 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.&nbsp; 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.&nbsp; <br>

<br>Here is the dialplan:<br>&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>&lt;section name=&quot;dialplan&quot; description=&quot;voicemail dialplan&quot;&gt;<br>&lt;context name=&quot;public&quot;&gt;<br>&lt;extension name=&quot;test9&quot;&gt;<br>

&lt;condition field=&quot;destination_number&quot; expression=&quot;^(.*)$&quot;&gt;<br>&nbsp;&lt;action application=&quot;export&quot; data=&quot;hold_music=silence&quot; /&gt;<br>&nbsp;&lt;action application=&quot;set&quot; data=&quot;call_timeout=120&quot; /&gt;<br>

&nbsp;&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot; /&gt;<br>&nbsp;&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot; /&gt;<br>&nbsp;&lt;action application=&quot;set&quot; data=&quot;ringback=$${us-ring}&quot; /&gt;<br>

&lt;action application=&quot;bind_meta_app&quot; data=&quot;1 ab s&nbsp; execute_extension::record XML features&quot;/&gt;<br>&lt;action application=&quot;bind_meta_app&quot; data=&quot;2 ab s&nbsp; execute_extension::stoprecord XML features&quot;/&gt;<br>

&lt;action application=&quot;bind_meta_app&quot; data=&quot;3 ab s&nbsp; execute_extension::att_xfer XML features&quot;/&gt;<br>&nbsp;&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/openser/1000&quot; /&gt;<br>&lt;action application=&quot;execute_extension&quot; data=&quot;rule XML public&quot;/&gt;<br>

&lt;/condition&gt;<br>&lt;/extension&gt;<br>&lt;/context&gt;<br>&nbsp;&nbsp;&nbsp; &lt;context name=&quot;features&quot;&gt;<br>&lt;extension name=&quot;features&quot;&gt;<br>&lt;condition field=&quot;destination_number&quot; expression=&quot;^att_xfer&quot; break=&quot;on-true&quot;&gt;<br>

&lt;action application=&quot;read&quot; data=&quot;1 20 &#39;tone_stream://%(10000,0,350,440)&#39; digits 30000 #&quot;/&gt;<br>&lt;action application=&quot;att_xfer&quot; data=&quot;sofia/default/${digits}&quot;/&gt;<br>

&lt;action application=&quot;set&quot; data=&quot;action=att-xfer&quot; /&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;execute_extension&quot; data=&quot;att${digits} XML public&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>

&lt;/condition&gt;<br>&lt;condition field=&quot;destination_number&quot; expression=&quot;^record&quot; break=&quot;on-true&quot;&gt;<br>&nbsp;&lt;action application=&quot;set&quot; data=&quot;action=recording&quot; /&gt;<br>
&lt;action application=&quot;execute_extension&quot; data=&quot;rule XML public&quot;/&gt;<br>
&lt;/condition&gt;<br>&lt;condition field=&quot;destination_number&quot; expression=&quot;stoprecord&quot; break=&quot;on-true&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;action application=&quot;gentones&quot; data=&quot;%(500,0,800)&quot; /&gt;<br>

&nbsp; &lt;action application=&quot;stop_record_session&quot; data=&quot;null&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&lt;action application=&quot;set&quot; data=&quot;record_file=&quot; /&gt; <br>&lt;/condition&gt;<br>&lt;/extension&gt;<br>

&nbsp;&nbsp;&nbsp; &lt;/context&gt;<br>&lt;/section&gt;<br>&lt;/document&gt;<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-&gt;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>