mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 10:28:32 +00:00
Fix build.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@205880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3085,7 +3085,7 @@ static int __sip_autodestruct(const void *data)
|
||||
append_history(p, "ReliableXmit", "timeout");
|
||||
if (sscanf(p->lastmsg, "Tx: %s", method_str) == 1 || sscanf(p->lastmsg, "Rx: %s", method_str) == 1) {
|
||||
if (method_match(SIP_CANCEL, method_str) || method_match(SIP_BYE, method_str)) {
|
||||
pvt_set_needdestroy(p, "autodestruct");
|
||||
p->needdestroy = 1;
|
||||
}
|
||||
}
|
||||
return 10000;
|
||||
@@ -5128,7 +5128,7 @@ static int sip_hangup(struct ast_channel *ast)
|
||||
/* stop retransmitting an INVITE that has not received a response */
|
||||
struct sip_pkt *cur;
|
||||
for (cur = p->packets; cur; cur = cur->next) {
|
||||
__sip_semi_ack(p, cur->seqno, cur->is_resp, cur->method ? cur->method : find_sip_method(cur->data->str));
|
||||
__sip_semi_ack(p, cur->seqno, cur->is_resp, cur->method ? cur->method : find_sip_method(cur->data));
|
||||
}
|
||||
|
||||
/* if we can't send right now, mark it pending */
|
||||
|
||||
Reference in New Issue
Block a user