[asterisk-bugs] [JIRA] (ASTERISK-25131) chan_pjsip: In-dialog authentication not handled.
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Tue May 26 12:48:33 CDT 2015
Richard Mudgett created ASTERISK-25131:
------------------------------------------
Summary: chan_pjsip: In-dialog authentication not handled.
Key: ASTERISK-25131
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25131
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_pjsip, Resources/res_pjsip_session
Affects Versions: 13.3.2
Reporter: Richard Mudgett
When the remote peer requires authentication for in-dialog requests then re-INVITEs to the peer cause the call to be disconnected and other in-dialog requests to the peer like MESSAGE just don't go through.
Example scenarios:
Re-INVITE causes disconnect on incoming call because authentication is not handled.
{noformat}
Asterisk --- Peer
<-- INVITE
200 OK -->
<-- ACK
INVITE -->
<-- 401 Unauthorized
ACK -->
BYE -->
<-- 200 OK
{noformat}
In-dialog MESSAGE during incoming call fails.
{noformat}
Asterisk --- Peer
<-- INVITE
200 OK -->
<-- ACK
MESSAGE -->
<-- 401 Unauthorized
The in-dialog message is no longer tried.
{noformat}
Re-INVITE causes disconnect on outbound call because authentication is not handled.
{noformat}
Asterisk --- Peer
INVITE -->
<-- 401 Unauthorized
ACK -->
INVITE/w auth -->
<-- 200 OK
ACK -->
INVITE -->
<-- 401 Unauthorized
ACK -->
BYE -->
<-- 200 OK
{noformat}
In-dialog MESSAGE during outgoing call actually succeeds.
{noformat}
Asterisk --- Peer
INVITE -->
<-- 401 Unauthorized
ACK -->
INVITE/w auth -->
<-- 200 OK
ACK -->
MESSAGE -->
<-- 401 Unauthorized
MESSAGE/w auth -->
<-- 200 OK
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list