Module: kamailio
Branch: master
Commit: 1001e9e1dbfdec525f4a5f96f7dd3fcc22e51888
URL:
https://github.com/kamailio/kamailio/commit/1001e9e1dbfdec525f4a5f96f7dd3fc…
Author: Robert Boisvert <rdboisvert(a)gmail.com>
Committer: Robert Boisvert <rdboisvert(a)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/1001e9e1dbfdec525f4a5f96f7dd3fc…
Patch:
https://github.com/kamailio/kamailio/commit/1001e9e1dbfdec525f4a5f96f7dd3fc…
---
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;