[sr-dev] git:master:80f7ac2b: Merge pull request #709 from athonet-open/fix_vendor_id_on_auth_session

GitHub noreply at github.com
Thu Jul 14 09:15:29 CEST 2016


Module: kamailio
Branch: master
Commit: 80f7ac2b85bb10f72ce088dd406b9011866d9fef
URL: https://github.com/kamailio/kamailio/commit/80f7ac2b85bb10f72ce088dd406b9011866d9fef

Author: jaybeepee <jason.penton at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2016-07-14T09:15:19+02:00

Merge pull request #709 from athonet-open/fix_vendor_id_on_auth_session

ims_qos: Store vendor_id on auth session

---

Modified: modules/ims_qos/mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/80f7ac2b85bb10f72ce088dd406b9011866d9fef.diff
Patch: https://github.com/kamailio/kamailio/commit/80f7ac2b85bb10f72ce088dd406b9011866d9fef.patch

---

diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c
index 1021672..6cf9ae3 100644
--- a/modules/ims_qos/mod.c
+++ b/modules/ims_qos/mod.c
@@ -1055,6 +1055,7 @@ static int w_rx_aar(struct sip_msg *msg, char *route, char* dir, char *c_id, int
 						dlgb.set_dlg_var(&callid, &ftag, &ttag,
 								&term_session_key, &auth_session->id);
 				}
+				auth_session->vendor_id = IMS_vendor_id_3GPP;
 				LM_DBG("Attached CDP auth session [%.*s] for Rx to dialog in %s mode\n", auth_session->id.len, auth_session->id.s, direction);
 		} else {
 				LM_DBG("Update AAR session for this dialog in mode %s\n", direction);
@@ -1333,6 +1334,7 @@ static int w_rx_aar_register(struct sip_msg *msg, char* route, char* str1, char*
 														goto error;
 												}
 												auth->u.auth.class = AUTH_CLASS_RXREG;
+												auth->vendor_id = IMS_vendor_id_3GPP;
 										}
 
 										//we are ready to send the AAR async. lets save the local data data




More information about the sr-dev mailing list