[sr-dev] git:master:914e56b4: topos: update contact only for INVTE requests within dialog
Daniel-Constantin Mierla
miconda at gmail.com
Sun Dec 24 08:55:22 CET 2017
Module: kamailio
Branch: master
Commit: 914e56b4bdb553234eaa9a0025e1cdf0c84001b6
URL: https://github.com/kamailio/kamailio/commit/914e56b4bdb553234eaa9a0025e1cdf0c84001b6
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-12-24T08:50:51+01:00
topos: update contact only for INVTE requests within dialog
---
Modified: src/modules/topos/tps_msg.c
---
Diff: https://github.com/kamailio/kamailio/commit/914e56b4bdb553234eaa9a0025e1cdf0c84001b6.diff
Patch: https://github.com/kamailio/kamailio/commit/914e56b4bdb553234eaa9a0025e1cdf0c84001b6.patch
---
diff --git a/src/modules/topos/tps_msg.c b/src/modules/topos/tps_msg.c
index 632d8119be..0027a08203 100644
--- a/src/modules/topos/tps_msg.c
+++ b/src/modules/topos/tps_msg.c
@@ -1002,9 +1002,9 @@ int tps_request_sent(sip_msg_t *msg, int dialog, int local)
if(dialog!=0) {
tps_storage_end_dialog(msg, &mtsd, ptsd);
- }
- if(tps_storage_update_dialog(msg, &mtsd, &stsd, TPS_DBU_CONTACT)<0) {
- goto error;
+ if(tps_storage_update_dialog(msg, &mtsd, &stsd, TPS_DBU_CONTACT)<0) {
+ goto error;
+ }
}
done:
More information about the sr-dev
mailing list