[asterisk-bugs] [JIRA] Closed: (ASTERISK-20060) fix suggested for a misleading warning when getting a 408
Digium Subversion (JIRA)
noreply at issues.asterisk.org
Wed Sep 26 16:22:27 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Digium Subversion closed ASTERISK-20060.
----------------------------------------
Resolution: Fixed
> 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
>
> {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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list