summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
authorJuha Heinanen <jh@tutpro.com>2017-05-08 13:35:04 +0300
committerJuha Heinanen <jh@tutpro.com>2017-05-08 13:35:04 +0300
commitd513794c2ea8f746277853638ab2e97be6ce7f95 (patch)
treec8e713a20bc92c22b38c30ba01fbc6062cf8f4ff /src/call.c
parentba5dbd08c57b97f6adfe4e1406b89200d1be0cf1 (diff)
modules/zrtp: aligned code with latest libzrtp from Freeswitch:
- zrtp_cache_set_verified is now zrtp_verified_set - local zid is not anymore included in zrtp_config and needs to be given as argument to zrtp_verified_set - zrtp_config.cache_file_cfg is now zrtp_config.def_cache_path call.c: update info message on received request (re-INVITE or INFO)
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/call.c b/src/call.c
index 15c8e8c..60231d9 100644
--- a/src/call.c
+++ b/src/call.c
@@ -1067,7 +1067,12 @@ static int sipsess_offer_handler(struct mbuf **descp,
MAGIC_CHECK(call);
- info("call: got re-INVITE%s\n", got_offer ? " (SDP Offer)" : "");
+ if (!pl_strcmp(&msg->met, "INVITE")) {
+ info("call: got re-INVITE%s\n",
+ got_offer ? " (SDP Offer)" : "");
+ } else {
+ info("call: got UPDATE%s\n", got_offer ? " (SDP Offer)" : "");
+ }
if (got_offer) {