I think the parser is probably supposed to barf on consecutive < chars but it doesn't. I learned that the hard way when I left the closing tag off of an action in the dp. Consider this dp snippet:
<action application="log" data="INFO Now you see me"
<action application="log" data="INFO Now you don't"/>
<action application="log" data="INFO Now you see me"/>
The above works but the 2nd log does not display. Just an FYI.
-MC
Hmm, it seems to work on a copy of trunk from a few days ago. :) Both
in the dialplan and the gateway config.
But I could see how that might cause a problem with the xml.
-Dale
On Jul 16, 2009, at 3:27 PM, Brian West wrote:
> Not sure how you were able to set the variable with < and > in it at
> all thats not been possible cuz the XML parser will barf on it
> usually.
>
> /b
>
> On Jul 16, 2009, at 2:20 PM, David Knell wrote:
>
>> Really? That line (+/- the IP address) came directly out of a
>> working
>> dialplan. To be fair, the box is running a faintly prehistoric
>> FreeSWITCH - you crazy cats haven't been chewing on the tail of my
>> cherished mouse of backwards compatibility again, have you?!
>>
>> What has been incorrect in this discussion is the name of the header:
>> it's P-Asserted-Identity, not P-Asserted-ID. The fact that it's
>> usually
>> shortened to PAID doesn't help; nor does the fact that Remote-Party-
>> ID
>> (which is deprecated, but still widely used for the same job as
>> P-Asserted-Identity) is about as well.
>>
>> --Dave
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org