401 Unauthorized vs 407 Proxy Authentication Required

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
bsotet
Posts: 8
Joined: Mon Mar 17, 2014 5:36 am

401 Unauthorized vs 407 Proxy Authentication Required

Post by bsotet »

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?
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

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

Code: Select all

rescode.407 = 401
bsotet
Posts: 8
Joined: Mon Mar 17, 2014 5:36 am

Post by bsotet »

Thank you for your prompt reply. May i use this in dial plan?
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

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.
Post Reply