Ticket #135 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Invalid presence entity ID when URI is specified in name-addr format

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10.2
Component: pjsip Version: 0.5.10.1
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

In pjsua, when account ID is set to use name-addr format, it will cause the presence PIDF document to have "<" character in XML entity attribute, causing it to be rejected by server.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<presence entity="<sip:user@domain>">
 <tuple id="72e49cd62c4943108f05fa2666a95a96">
  <status>
   <basic>open</basic>
  </status>
 </tuple>
</presence>

Change History

comment:1 Changed 12 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from Invalid URI in presence PIDF document to Invalid presence entity ID when URI is specified in name-addr format

Fixed in r999.

Note: See TracTickets for help on using tickets.