[sr-dev] [kamailio] registrar: do make use of reg_xavp_cfg (c46a5f2)
Jayesh Nambiar
notifications at github.com
Wed Jan 13 11:36:52 CET 2016
after this commit one of my function to match the registered contact stopped working as expected. Here's the code snippet:
```
$xavp(reg=>match_callid) = $avp(callid);
#---match existing record based on callid---
if(registered("location", "$tu", 1)) {
xlog("L_INFO", "It is a Re-Register");
}
```
The above registered function returned true even when the callid of the new REGISTER request was different from the existing one. It seems like some side effect of the commit. When i went back to the commit earlier than this, it worked as before.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/c46a5f2792b8553ade871d98cfe892c5a48a3ff6#commitcomment-15420053
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160113/24147835/attachment.html>
More information about the sr-dev
mailing list