[sr-dev] git:master:1001e9e1: mohqueue: use ptime
Henning Westerholt
hw at skalatan.de
Wed Mar 24 20:22:54 CET 2021
Hi Robert,
the commit message is probably from the previous commit. 😉
I think this change is probably related to the fix for the TM API.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
-----Original Message-----
From: sr-dev <sr-dev-bounces at lists.kamailio.org> On Behalf Of Robert Boisvert
Sent: Wednesday, March 24, 2021 5:18 PM
To: sr-dev at lists.kamailio.org
Subject: [sr-dev] git:master:1001e9e1: mohqueue: use ptime
Module: kamailio
Branch: master
Commit: 1001e9e1dbfdec525f4a5f96f7dd3fcc22e51888
URL: https://github.com/kamailio/kamailio/commit/1001e9e1dbfdec525f4a5f96f7dd3fcc22e51888
Author: Robert Boisvert <rdboisvert at gmail.com>
Committer: Robert Boisvert <rdboisvert at gmail.com>
Date: 2021-03-24T12:17:20-04:00
mohqueue: use ptime
- version 1.7
- match ptime of incoming call; otherwise, default to 20ms
- update copyright dates
---
Modified: src/modules/mohqueue/mohq_funcs.c
---
Diff: https://github.com/kamailio/kamailio/commit/1001e9e1dbfdec525f4a5f96f7dd3fcc22e51888.diff
Patch: https://github.com/kamailio/kamailio/commit/1001e9e1dbfdec525f4a5f96f7dd3fcc22e51888.patch
---
diff --git a/src/modules/mohqueue/mohq_funcs.c b/src/modules/mohqueue/mohq_funcs.c
index c9c8d6704e..dd9f105bfc 100644
--- a/src/modules/mohqueue/mohq_funcs.c
+++ b/src/modules/mohqueue/mohq_funcs.c
@@ -222,7 +222,7 @@ else
return;
}
}
- if (ptm->t_release (ptcell) < 0)
+ if (ptm->t_release_transaction (ptcell) < 0)
{
LM_ERR ("%sRelease transaction failed for call (%s)!\n",
pfncname, pcall->call_from);
@@ -2160,7 +2160,7 @@ int nsession;
sdp_session_cell_t *psession;
char pflagbuf [5];
strcpy (pflagbuf, "z20");
-fparam_t pzflag [1] = {0, FPARAM_STRING, {pflagbuf}, 0};
+fparam_t pzflag [1] = {"", FPARAM_STRING, {pflagbuf}, 0};
for (nsession = 0; (psession = get_sdp_session (pmsg, nsession)); nsession++)
{
int nstream;
_______________________________________________
Kamailio (SER) - Development Mailing List sr-dev at lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
More information about the sr-dev
mailing list