Author |
Message |
kgyula Brekeke Newbie
Joined: 17 Mar 2007 Posts: 4
|
Posted: Mon Mar 26, 2007 6:38 am Post subject: $auth=false - how it works? |
|
|
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/networkpatterns.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. |
|
Back to top |
|
mexsip Brekeke Talented
Joined: 26 Apr 2005 Posts: 92
Location: Mexico
|
Posted: Tue Apr 10, 2007 8:22 pm Post subject: |
|
|
Hello,
why not keep it simple:
Matching Patterns | $request = ^INVITE $registered = true
|
Deploy Patterns | $auth = false $continue = on (if necesary)
|
hope it works,
Pablo. |
|
Back to top |
|
kgyula Brekeke Newbie
Joined: 17 Mar 2007 Posts: 4
|
Posted: Mon Apr 16, 2007 3:49 pm Post subject: |
|
|
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 |
|
Back to top |
|
|