Summary: | ASTERISK-22935: [patch] Infinity retransmission SIP packet loop when no response from far end | ||
Reporter: | Igor Nikolaev (microlana) | Labels: | patch |
Date Opened: | 2013-12-03 02:50:35.000-0600 | Date Closed: | |
Priority: | Minor | Regression? | No |
Status: | Open/New | Components: | Channels/chan_sip/General |
Versions: | 11.6.0 13.18.4 | Frequency of Occurrence | Occasional |
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-chan_sip-fix-xmit-retry.patch | |
Description: | In some cases SIP channels infinity retransmit packets when it not receive a response from remote side.
Examples of sip show history on looped channels (channel marked as 'for dead'): {noformat} * SIP Call 1. Rx INVITE / 102 INVITE / sip:4952010100@89.107.124.29 2. AuthChal Auth challenge sent for - nc 0 3. TxRespRel SIP/2.0 / 102 INVITE - 401 Unauthorized 4. SchedDestroy 6400 ms 5. ReTx 200 SIP/2.0 401 Unauthorized 6. ReTx 400 SIP/2.0 401 Unauthorized 7. ReTx 800 SIP/2.0 401 Unauthorized 8. ReTx 1600 SIP/2.0 401 Unauthorized 9. Rx ACK / 102 ACK / sip:4952010100@89.107.124.29 10. Rx INVITE / 103 INVITE / sip:4952010100@89.107.124.29 11. CancelDestroy 12. Invite New call: 5e8b903719fefb7824b52f587053b8e3@89.107.124.15:5060 13. AuthOK Auth challenge successful for 001000 14. NewChan Channel SIP/001000-0000079c - from 5e8b903719fefb7824b52f587053 15. TxResp SIP/2.0 / 103 INVITE - 100 Trying 16. TxRespRel SIP/2.0 / 103 INVITE - 503 Service Unavailable 17. Hangup Cause Temporary failure 18. NeedDestroy Setting needdestroy because hangup 19. ReTx 4000 SIP/2.0 503 Service Unavailable 20. ReTx 4000 SIP/2.0 503 Service Unavailable 21. ReTx 4000 SIP/2.0 503 Service Unavailable 22. ReTx 4000 SIP/2.0 503 Service Unavailable 23. ReTx 4000 SIP/2.0 503 Service Unavailable 24. ReTx 4000 SIP/2.0 503 Service Unavailable 25. ReTx 4000 SIP/2.0 503 Service Unavailable 26. ReTx 4000 SIP/2.0 503 Service Unavailable 27. ReTx 4000 SIP/2.0 503 Service Unavailable 28. ReTx 4000 SIP/2.0 503 Service Unavailable 29. ReTx 4000 SIP/2.0 503 Service Unavailable 30. ReTx 4000 SIP/2.0 503 Service Unavailable 31. ReTx 4000 SIP/2.0 503 Service Unavailable 32. ReTx 4000 SIP/2.0 503 Service Unavailable 33. ReTx 4000 SIP/2.0 503 Service Unavailable 34. ReTx 4000 SIP/2.0 503 Service Unavailable 35. ReTx 4000 SIP/2.0 503 Service Unavailable 36. ReTx 4000 SIP/2.0 503 Service Unavailable 37. ReTx 4000 SIP/2.0 503 Service Unavailable 38. ReTx -716177408 SIP/2.0 503 Service Unavailable {noformat} Channel not marked as 'for dead': * SIP Call {noformat} 1. Rx INVITE / 102 INVITE / sip:4952010100@89.107.124.29 2. AuthChal Auth challenge sent for - nc 0 3. TxRespRel SIP/2.0 / 102 INVITE - 401 Unauthorized 4. SchedDestroy 131072 ms 5. ReTx 4000 SIP/2.0 401 Unauthorized 6. Rx INVITE / 102 INVITE / sip:4952010100@89.107.124.29 7. ReTx 4000 SIP/2.0 401 Unauthorized 8. ReTx 4000 SIP/2.0 401 Unauthorized 9. ReTx 4000 SIP/2.0 401 Unauthorized 10. ReTx 4000 SIP/2.0 401 Unauthorized 11. ReTx 4000 SIP/2.0 401 Unauthorized 12. ReTx 4000 SIP/2.0 401 Unauthorized 13. ReTx 4000 SIP/2.0 401 Unauthorized 14. ReTx 4000 SIP/2.0 401 Unauthorized 15. ReTx 4000 SIP/2.0 401 Unauthorized 16. ReTx 4000 SIP/2.0 401 Unauthorized 17. ReTx 4000 SIP/2.0 401 Unauthorized 18. ReTx 4000 SIP/2.0 401 Unauthorized 19. ReTx 4000 SIP/2.0 401 Unauthorized 20. ReTx 4000 SIP/2.0 401 Unauthorized 21. ReTx 4000 SIP/2.0 401 Unauthorized 22. ReTx 4000 SIP/2.0 401 Unauthorized 23. ReTx 4000 SIP/2.0 401 Unauthorized 24. ReTx 4000 SIP/2.0 401 Unauthorized 25. ReTx -2147483648 SIP/2.0 401 Unauthorized 26. ReliableXmit timeout 27. ReliableXmit timeout {noformat} | ||
Comments: | By: Igor Nikolaev (microlana) 2013-12-03 02:53:38.752-0600 Fix infinity packet retransmission patch |