Are URLs supposed to have angle brackets, or are they optional?

I am seeing this string: 
  entity=\"sip:m...@panther.pingtel.com:512;transport=tcp\"
converted to 
  entity="<sip:m...@panther.pingtel.com:512>;transport=tcp"
during the trip through SipDialogEvent, which converts the entity string
to a Url when it does buildBody.

These angle brackets cause problems because they are themselves part of
an xml dialog-info message, and are not being escaped properly.  This
shows up in the SAA feature and Nortel 1220 phones in particular (see
http://track.sipfoundry.org/browse/XX-7549)

I think the correct thing to do is to unescape and escape when parsing
and generating the entity field - correct?  But I wonder why these
brackets are being inserted when they weren't there originally.

Carolyn

_______________________________________________
sipx-dev mailing list sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to