Ticket #1985 (closed defect: fixed)
Escape '@' in the Replaces parameter of REFER request
|Reported by:||ming||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
In the example of the RFC 3515:
Refer-To: <sip:email@example.com?Replaces=12345%40192.168.118.3%3B to-tag%3D12345%3Bfrom-tag%3D5FFE-3994>
The character @ in the Replaces parameter of Refer-To header in a Refer request is escaped, so we also wish to do the same in order to avoid interoperability issues (it's reported that some servers reject unescaped @).
Thanks to Dan Feryance for the patch.
Thanks to Eize Slange as well for reporting and providing a patch in PJSIP mailing list.