$auth=false - how it works?

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
kgyula
Posts: 4
Joined: Sat Mar 17, 2007 12:37 pm

$auth=false - how it works?

Post by kgyula »

1. Brekeke Product Name and version:
Brekeke SIP Server , Version 2.0.7.0 Personal

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'm using Brekeke SIP Server with Axon PBX on the same computer. Brekeke's users are upper registered (to server 127.0.0.1:5061).
In configuration panel authentification REGISTER and INVITE are set on.

For incoming calls I use the dial plan:

Matching patterns:
$request=^INVITE
$registered(To)=true
To=(.+)@+.

Deploy Patterns:
To=%1@127.0.0.1:5060
$auth=false

Incoming calls are rejected with: send response=407: authorization failed

Obs: If I set authentification INVITE off, everything is working OK. But is a problem in this case: last night appearad some strange INVITE requests, and I must to block them.
mexsip
Posts: 92
Joined: Tue Apr 26, 2005 4:50 pm
Location: Mexico

Post by mexsip »

Hello,

why not keep it simple:

Matching patterns:
$request=^INVITE
$registered=true


Deploy Patterns:
$auth=false
$continue=on (if necesary)

hope it works,

Pablo.
kgyula
Posts: 4
Joined: Sat Mar 17, 2007 12:37 pm

Post by kgyula »

mexsip wrote:Hello,

why not keep it simple:

Matching patterns:
$request=^INVITE
$registered=true


Deploy Patterns:
$auth=false
$continue=on (if necesary)

hope it works,

Pablo.
Yes, it works! Thanks Pablo!

Gyula
Post Reply