Thanks Rupa<div><br clear="all">d i n o k o r a h<br>Tel: +44 7956 66 52 83<br><br>
<br><br><div class="gmail_quote">On 23 June 2010 00:27, Rupa Schomaker <span dir="ltr"><<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>commit 2c830f84aa8e5a5b05c55c5f02ae0025c4986bd2</div><div>Author: Mathieu Rene <<a href="mailto:mrene@avgs.ca" target="_blank">mrene@avgs.ca</a>></div><div>Date: Wed Apr 7 15:02:00 2010 -0400</div><div><br></div>
<div> remove switch_channel_export_variable's nolocal argument, more confusing than anything else</div><div><div></div><div class="h5">
<div><br></div><br><div class="gmail_quote">On Tue, Jun 22, 2010 at 5:26 PM, Dino Korah <span dir="ltr"><<a href="mailto:dckorah@gmail.com" target="_blank">dckorah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Thanks Brian,</div><div><br></div><div>Then by the looks, there is something broken.</div><div><br></div><div>When a variable (say MyAppName) is exported as "nolocal", it appears in A leg CDR as "<nolocal:MyAppName>HelloWorldApp</nolocal:MyAppName>", which then breaks the XML (those strict parsers).</div>
<div><br></div><div>In the line I pointed earlier; as I understand, if the variable being exported from dial_plan is set "nolocal" should be ignored for A.</div><div><br></div><div>I can fix and checkin or send a patch; but not sure if it will break anything else.</div>
<div><br></div><font color="#888888"><div>"dk"</div></font><div><div></div><div><br>
<br><br><div class="gmail_quote">On 22 June 2010 17:25, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
nolocal is just like setting inside {} so its not on the A leg but only on the B leg.<br>
<br>
/b<br>
<div><div></div><div><br>
On Jun 16, 2010, at 4:49 AM, Dino Korah wrote:<br>
<br>
> Guys,<br>
><br>
> When I export a variable as nolocal, is it intended to prefix "nolocal:" for that variable on A, when that appears in the CDR?<br>
><br>
> Or is it a glitch?<br>
><br>
> Ref: src/mod/applications/mod_dptools/mod_dptools.c line 889<br>
><br>
> Here if you check, the export seems to ignore the local variable altogether.<br>
><br>
> I am quite new to freeswitch; any help much appreciated.<br>
><br>
> Many thanks,<br>
> "dk"<br>
<br>
<br>
</div></div>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">-Rupa<br>
</font><br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>