Displaying 2 results from an estimated 2 matches for "needdestroy".
Did you mean:
need_destroy
2003 Oct 20
3
Call Waiting on SIP phones
...*/
default:
ast_log(LOG_ERROR, "find_user(%s,%d) called with no
even
t!\n",u->name,event);
}
@@ -1086,6 +1091,12 @@
INVITE, but do set an autodestruct just
in ca
se. */
needdestroy = 0;
sip_scheddestroy(p, 15000);
+ /* channel still up - reverse dec of inuse
count
er */
+ if ( p->outgoing ) {
+ find_user(p, INC_OUT_USE);
+...
2004 Apr 21
0
SIP ACK // CSeq 0 => ZAP Channel hangup
...eq, "Content-Type"))) {
if (process_sdp(p, req))
return -1;
}
if (!p->lastinvite && !strlen(p->randdata))
^^^^^^^^^^^^^^
p->needdestroy = 1;
}
Could it be, that * hangs up while getting zero as p->lastresult (CSeq
== 0 )?
Also it looks like a bug in the grandstreamfirmware sending CSeq zero?
would something like this solve the Problem?
if (!p->lastinvite >= 0 && !strlen(p->randdata))...