[OpenSIPS-Devel] [opensips] Error in the logs while looking for contact param when param missing (#228)

Ovidiu Sas notifications at github.com
Thu May 8 21:00:47 CEST 2014


The problem is depicted more clearly here:
<code>
xlog("L_NOTICE", "$$ct=[$ct]\n");
</code>
<code>
$var(ct_nameaddr_params) = $(ct{nameaddr.params});
</code>
<code>
xlog("L_NOTICE", "$$var(ct_nameaddr_params)=[$var(ct_nameaddr_params)]\n");
</code>

Leads to the following output:
<code>
$ct=["test" <sip:test at 192.168.2.113:53814;ob>;reg-id=1;+sip.instance="<urn:uuid:ed409b05-1872-36ee-8ba0-865cb642250b>"]
</code>
<code>
$var(ct_nameaddr_params)=[reg-id=1;+sip.instance="<urn:uuid:ed409b05-1872-36ee-8ba0-865cb642250b>]
</code>

The last <"> char is lost during the nameaddr.params transformation.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/228#issuecomment-42591197
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140508/9499504a/attachment.htm>


More information about the Devel mailing list