<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><div>"dk"</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">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 class="h5"><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">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>