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.patchhttps://github.com/kamailio/kamailio/pull/238.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/238