Forums Read-only archive

Forbidden and Proxy Authentication required

4 posts · Brekeke PBX Forum

juanmanuel Original post
1. Brekeke Product Name and version:PBX V.2.4.8.6

2. Java version:

3. OS type and the version:

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

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:

I want to know who returns the messages Forbidden and Proxy Authenticaction required, they occurs when the rule in brekeke sip server dial plan does not exist?, or when the ARS does not exist at Brekeke PBX?

Thanks
hope
when pbx/sip server auth is on for invite, if there is no dial plan for caller to set auth off or no user authentication account for caller, sip server will send 407 and 403
foneguy9
=== RCVD 192.168.120.87:5060 [493 bytes] ===
(seqNum[4927] - 7:04/04/2011 04:59:32pm) tSip: SIP_CAPTURE: SIP/2.0 407 Proxy Authentication Required
(seqNum[4928] - 7:04/04/2011 04:59:32pm) tSip: SIP_CAPTURE: Via: SIP/2.0/UDP 192.168.120.155:5060;branch=z9hG4bK-9a5b63-1c2e4


Then a bit later:

7:04/04/2011 04:59:32pm) tSip: SIP_CAPTURE: === RCVD 192.168.120.87:5060 [359 bytes] ===
(seqNum[4994] - 7:04/04/2011 04:59:32pm) tSip: SIP_CAPTURE: SIP/2.0 403 Forbidden
(seqNum[4995] - 7:04/04/2011 04:59:32pm) tSip: SIP_CAPTURE: Via: SIP/2.0/UDP 192.168.120.155:5060;branch=z9hG4bK-9a5b63-1c2e5

I'm using: Brekeke SIP Server rev.286.3 Evaluation

Do you have a template that can be applied for the dialplan with a generic setup?
juanmanuel
Hi

I have one Universal rule for Dial Plan at Sip Server:

Matching patterns:

$request=^INVITE

Deploy patterns:

Route=
$target=127.0.0.0:15060
$transport=udp
$b2bua=true
$auth=false

With this rulke it accepts any call from any caller, you can limite the origin ip adding at deploy patterns:

$addr=Origin_IP_addr