[asterisk-bugs] [JIRA] (ASTERISK-20060) fix suggested for a misleading warning when getting a 408
Birger "WIMPy" Harzenetter (JIRA)
noreply at issues.asterisk.org
Wed Nov 7 00:52:21 CST 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199312#comment-199312 ]
Birger "WIMPy" Harzenetter commented on ASTERISK-20060:
-------------------------------------------------------
I'm not the SIP guy, but that is exactly the message I found when I had random disconnects at session-timer intervals.
> fix suggested for a misleading warning when getting a 408
> ---------------------------------------------------------
>
> Key: ASTERISK-20060
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20060
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/Interoperability
> Affects Versions: 10.7.0
> Reporter: Walter Doekes
> Severity: Trivial
> Target Release: 1.8.18.0, 10.10.0
>
>
> {code}
> .
> case 408: /* Request timeout */
> case 481: /* Call leg does not exist */
> /* Could be REFER caused INVITE with replaces */
> ast_log(LOG_WARNING, "Re-invite to non-existing call leg on other UA. SIP dialog '%s'. Giving up.\n", p->callid);
> xmitres = transmit_request(p, SIP_ACK, seqno, XMIT_UNRELIABLE, FALSE);
> if (p->owner) {
> ast_queue_hangup_with_cause(p->owner, AST_CAUSE_CONGESTION);
> }
> break;
> {code}
> (1) A 408 will likely be on initial invite, not a re-invite.
> (2) It has nothing to do with existing call legs.
> Fix: move the 408 to here:
> {code}
> .
> case 405: /* Not allowed */
> case 501: /* Not implemented */
> xmitres = transmit_request(p, SIP_ACK, seqno, XMIT_UNRELIABLE, FALSE);
> if (p->owner) {
> ast_queue_hangup_with_cause(p->owner, AST_CAUSE_CONGESTION);
> }
> break;
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list