[Freeswitch-dev] nolocal exports from dial plan

Dino Korah dckorah at gmail.com
Tue Jun 22 15:26:35 PDT 2010


Thanks Brian,

Then by the looks, there is something broken.

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).

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.

I can fix and checkin or send a patch; but not sure if it will break
anything else.

"dk"



On 22 June 2010 17:25, Brian West <brian at freeswitch.org> wrote:

> nolocal is just like setting inside {} so its not on the A leg but only on
> the B leg.
>
> /b
>
> On Jun 16, 2010, at 4:49 AM, Dino Korah wrote:
>
> > Guys,
> >
> > When I export a variable as nolocal, is it intended to prefix "nolocal:"
> for that variable on A, when that appears in the CDR?
> >
> > Or is it a glitch?
> >
> > Ref: src/mod/applications/mod_dptools/mod_dptools.c line 889
> >
> > Here if you check, the export seems to ignore the local variable
> altogether.
> >
> > I am quite new to freeswitch; any help much appreciated.
> >
> > Many thanks,
> > "dk"
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100622/3afba52a/attachment.html 


More information about the FreeSWITCH-dev mailing list