diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-05 15:17:16 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-05 15:17:16 +0000 |
commit | 5e698ea1ac08397eef3280e0c30ae8d1853edf29 (patch) | |
tree | 2eeb9f8ad459294f26a38c6be262c40c28951fb4 /channels | |
parent | 8e1a7851aabb4e7f8682119cec0cafef06a50565 (diff) |
Correctly initialize retransid in SIP, and ensure that the warning when failing to delete a schedule entry can actually hit the log.
(closes issue #12140)
Reported by: slavon
Patches:
sch2.patch uploaded by slavon (license 288)
(Patch slightly modified by me)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@106015 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 994a4c964..48dc39e4a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2033,6 +2033,7 @@ static enum sip_result __sip_reliable_xmit(struct sip_pvt *p, int seqno, int res ast_set_flag(pkt, FLAG_RESPONSE); pkt->data[len] = '\0'; pkt->timer_t1 = p->timer_t1; /* Set SIP timer T1 */ + pkt->retransid = -1; if (fatal) ast_set_flag(pkt, FLAG_FATAL); if (pkt->timer_t1) |