aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/0001-mohqueue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/kamailio/0001-mohqueue.patch')
-rw-r--r--main/kamailio/0001-mohqueue.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/kamailio/0001-mohqueue.patch b/main/kamailio/0001-mohqueue.patch
new file mode 100644
index 0000000000..72ca36b12b
--- /dev/null
+++ b/main/kamailio/0001-mohqueue.patch
@@ -0,0 +1,17 @@
+--- a/src/modules/mohqueue/mohq_funcs.c
++++ b/src/modules/mohqueue/mohq_funcs.c
+@@ -1405,9 +1405,12 @@
+
+ {
+ call_lst *pcall = (call_lst *)*pcbp->param;
++if (pcall->call_state >= CLSTA_INQUEUE)
++ { return; }
++LM_ERR ("invite_cb: INVITE failed for call (%s), code=%x, callstate=%x!\n",
++ pcall->call_from, ntype, pcall->call_state);
+ if (ntype == TMCB_DESTROY)
+ { pcall->call_hash = pcall->call_label = 0; }
+-LM_ERR ("invite_cb: INVITE failed for call (%s)!\n", pcall->call_from);
+ delete_call (pcall);
+ return;
+ }
+