Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
401 Unauthorized vs 407 Proxy Authentication Required
Author Message
bsotet
Brekeke Junior Member


Joined: 17 Mar 2014
Posts: 8

PostPosted: Wed May 02, 2018 2:36 am    Post subject: 401 Unauthorized vs 407 Proxy Authentication Required Reply with quote

1. Brekeke Product Name and Version: SIP Server Advanced

2. Java version: 8

3. OS type and the version: Linux

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

I have a PATTON SN4960 gateway connected with Brekeke SIP server. When the gateway sends an INVITE, sip server responds a 407 message, because authentication is on (it's correct). Unfortunately Patton don't understand the 407 message. It is possible to change in Brekeke config the 407 message to 401 Unauthorized?
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed May 02, 2018 11:46 am    Post subject: Reply with quote

Add the line below at [Configuration]->[Advanced] page, and restart the SIP Server.

Code:
rescode.407 = 401
Back to top
View user's profile
bsotet
Brekeke Junior Member


Joined: 17 Mar 2014
Posts: 8

PostPosted: Wed May 02, 2018 1:16 pm    Post subject: Reply with quote

Thank you for your prompt reply. May i use this in dial plan?
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed May 02, 2018 4:32 pm    Post subject: Reply with quote

Try like this.
Matching Patterns
$addr = <GATEWAY_IP_ADDR>
$request = ^INVITE
Deploy Patterns
$auth = false
&rescode.407 = 401
$target = localhost

Replace <GATEWAY_IP_ADDR> with the actual gateway's IP address.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1