Module: kamailio Branch: 5.1 Commit: 63d328097c43a27f72e3f59143f1b5add563febe URL: https://github.com/kamailio/kamailio/commit/63d328097c43a27f72e3f59143f1b5ad...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-01-15T16:02:32+01:00
topos: update contact only for INVTE requests within dialog
(cherry picked from commit 914e56b4bdb553234eaa9a0025e1cdf0c84001b6)
---
Modified: src/modules/topos/tps_msg.c
---
Diff: https://github.com/kamailio/kamailio/commit/63d328097c43a27f72e3f59143f1b5ad... Patch: https://github.com/kamailio/kamailio/commit/63d328097c43a27f72e3f59143f1b5ad...
---
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: