Author |
Message |
bsotet Brekeke Junior Member
Joined: 17 Mar 2014 Posts: 8
|
Posted: Wed May 02, 2018 2:36 am Post subject: 401 Unauthorized vs 407 Proxy Authentication Required |
|
|
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 |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed May 02, 2018 11:46 am Post subject: |
|
|
Add the line below at [Configuration]->[Advanced] page, and restart the SIP Server.
|
|
Back to top |
|
bsotet Brekeke Junior Member
Joined: 17 Mar 2014 Posts: 8
|
Posted: Wed May 02, 2018 1:16 pm Post subject: |
|
|
Thank you for your prompt reply. May i use this in dial plan? |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed May 02, 2018 4:32 pm Post subject: |
|
|
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 |
|
|