Since UPG to 2.1.6.6 no incoming calls 407

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
wayne106
Posts: 34
Joined: Fri Jan 25, 2008 4:50 am

Since UPG to 2.1.6.6 no incoming calls 407

Post by wayne106 »

1. Brekeke Product Name and version: BSS 2.1.6.6

2. Java version: 1.5.6

3. OS type and the version: W2k3 web edition

6. Your problem:

Since I upgraded to 2.1.6.6 to fix the external DB issue, I now have a problem with incoming calls, my dial plan is this:-

$addr=^a\.b\.c\.d
$request=^INVITE
To=(.*)

$target=localhost:5060
To=%1
$auth=off

When I try a call from a.b.c.d the call hits BSS but fails to 407 proxy authentication required.

I have sniffed the packets using ethereal, and the IP is definitely correct, if I turn off Authentication > Invite > On (set to off)
It works as the Invite from that IP does not need to be authenticated and is allowed through, I have tried various different arrangements to no avail, the call is written to the call log and looks fine, except it fails to 407, internal calls to the same number are ok

Does anyone know where I can start looking as to why BSS is rejecting the call? is there any tracing or logging for this?

Any help appreciated.

Regards

Wayne
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

try the following dial plan

Matching Patterns
--------------------------
$request=^INVITE
$addr=a\.b\.c\.d

Deploy Patterns
---------------------------
$auth=off
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

Wayne.

Why did you set "$target=localhost:5060" in the Deploy Patterns ??
If so, the session will be looped..
wayne106
Posts: 34
Joined: Fri Jan 25, 2008 4:50 am

Working

Post by wayne106 »

Hi,
I did set it to localhost:5060 as I assumed that the call would then represent itself from its own IP and be allowed, I copied my original config from the ITSP examples, and it used to work with the older version, although I think I was using localhost:15060 - I'm not sure why this worked either as I wasn't aware BSS was listening on 15060.

I have now changed my config to what Hope has suggested and its working, so its all good, thanks for your help.

Wayne
Mohney
Posts: 79
Joined: Tue Nov 20, 2007 12:05 pm

Post by Mohney »

>> I'm not sure why this worked either as I wasn't aware BSS was listening on 15060.

Brekeke PBX is listening on 15060 :-).
Post Reply