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