[asterisk-bugs] [JIRA] (ASTERISK-29059) Asterisk sends endless INVITE requests even call is ended
Ruslan Lazin (JIRA)
noreply at issues.asterisk.org
Tue Sep 1 04:55:43 CDT 2020
Ruslan Lazin created ASTERISK-29059:
---------------------------------------
Summary: Asterisk sends endless INVITE requests even call is ended
Key: ASTERISK-29059
URL: https://issues.asterisk.org/jira/browse/ASTERISK-29059
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: pjproject/pjsip
Affects Versions: 17.5.1, 16.11.1, 14.7.8
Environment: CentOS7
Reporter: Ruslan Lazin
Lets say we have proxy that always return "SIP/2.0 407 Proxy Authentication Required" and "nonce" is different in each answer.
Once we originate outgoing call to such server Asterisk falls to infinitive loop sending new INVITE after receiving 407 answer. It might be hundreds of thousands INVITE requests. Even when call is stopped ('core show channels' returns 0 active calls/channels) requests are still sending. Only Asterisk restart can stop INVITE sending.
To reproduce:
- Create a server that responses with "SIP/2.0 407 Proxy Authentication Required" and new nonce to every INVITE request. For test proposes you can use mine (sip.lazin.pp.ua:5060 - will be active till 31 Sep 2020) or use sipp (scenario attached)
- Make an outbound call to anything at your_proxy
- stop call in any way (e.g 'channel request hangup all' in cli.)
- run ngrep and see that asterisk still sends thousands of INVITE
- restart asterisk to stop INVITE requests.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list