[sr-dev] [kamailio] cdp: Fix cdp routing for Rx interface (#238)

Federico Favaro notifications at github.com
Wed Jul 8 16:00:28 CEST 2015


Avoid to force vendor_id variable to zero if AVP AVP_Auth_Application_Id or AVP_Acct_Application_Id does not exist on AAR message. 
In this case, if  Vendor_id AVP exists but AVP_Auth_Application_Id or AVP_Acct_Application_Id does not exist vendor_id is forced to zero, thus cdp is not able to route the requests correctly anymore.
vendor_id and app_id variables are updated only if both AVPs (vendor_id and Acct or vendor_id and Auth exist).
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/238

-- Commit Summary --

  * Fix cdp routing for Rx interface

-- File Changes --

    M modules/cdp/routing.c (10)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/238.patch
https://github.com/kamailio/kamailio/pull/238.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/238
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150708/8b40fab9/attachment.html>


More information about the sr-dev mailing list