[asterisk-bugs] [JIRA] (ASTERISK-25372) SIP/2.0 401 Unauthorized for incoming calls.

Agasthian P (JIRA) noreply at issues.asterisk.org
Thu Sep 3 23:23:32 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agasthian P updated ASTERISK-25372:
-----------------------------------

    Description: 
Running Freepbx on top of Asterisk 11.19.0.

SIP trunk between Cisco Call Manager and FreePbx Asterisk.

All the incoming calls from the Cisco Call Manager through SIP trunk are getting the error "SIP/2.0 401 Unauthorized". The Cisco Call Manager SIP trunks are treated as peer to peer and do not need any kind of registration.

Have checked all the settings required to not enable any kind of authentication, still it seems to be asking for authentication.

Tried the forums first, and have taken care of the following settings :-
1. insecure=invite,port
2.qualify=yes
3. type=friend
4. allow sip guests= yes
5. Allow Anonymous Inbound SIP Calls=yes

The sip logs and the sip configuration files are attached as files.

Call Flow :-

FreePBX(20.1.1.58) - CUCM(20.1.1.170)

2723 extension is in both the systems. And 2723(CUCM) is trying to call 2723(Asterisk).



  was:
Running Freepbx on top of Asterisk 11.19.0.

SIP trunk between Cisco Call Manager and FreePbx Asterisk.

All the incoming calls from the Cisco Call Manager through SIP trunk are getting the error "SIP/2.0 401 Unauthorized". The Cisco Call Manager SIP trunks are treated as peer to peer and do not need any kind of registration.

Have checked all the settings required to not enable any kind of authentication, still it seems to be asking for authentication.

Tried the forums first, and have taken care of the following settings :-
1. insecure=invite,port
2.qualify=yes
3. type=friend
4. allow sip guests= yes
5. Allow Anonymous Inbound SIP Calls=yes

The sip logs and the sip configuration files are attached as files.


> SIP/2.0 401 Unauthorized for incoming calls.
> --------------------------------------------
>
>                 Key: ASTERISK-25372
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25372
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.19.0
>         Environment: SHMZ release 6.5 (Final)
> Linux knaufsappdc 2.6.32-431.el6.x86_64 
> Running on a Virtual Environment. VMWare
>            Reporter: Agasthian P
>            Severity: Minor
>
> Running Freepbx on top of Asterisk 11.19.0.
> SIP trunk between Cisco Call Manager and FreePbx Asterisk.
> All the incoming calls from the Cisco Call Manager through SIP trunk are getting the error "SIP/2.0 401 Unauthorized". The Cisco Call Manager SIP trunks are treated as peer to peer and do not need any kind of registration.
> Have checked all the settings required to not enable any kind of authentication, still it seems to be asking for authentication.
> Tried the forums first, and have taken care of the following settings :-
> 1. insecure=invite,port
> 2.qualify=yes
> 3. type=friend
> 4. allow sip guests= yes
> 5. Allow Anonymous Inbound SIP Calls=yes
> The sip logs and the sip configuration files are attached as files.
> Call Flow :-
> FreePBX(20.1.1.58) - CUCM(20.1.1.170)
> 2723 extension is in both the systems. And 2723(CUCM) is trying to call 2723(Asterisk).



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list