Forums Read-only archive

Can't receive calls from PSTN

8 posts · Brekeke PBX Forum

damatta Original post
1. Brekeke Product Name and version: OnDO PBX SmallOffice Ed. 1.5.3.0

2. Java version: 1.5.0 (build 1.5.0_11-b03)

3. OS type and the version: Windows XP (SP2)

4. UA (phone), gateway or other hardware/software involved: Grandstream BT-200

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

6. Your problem: followed instructions of how to setup a DID at your interoperability section but no success on receiving calls from PSTN. Checked PBX logs and error code 407 found.
janP
I think you need to add a dialplan to accept a call from the PSTN.

Which provider are you using?
damatta
I am using our own ITSP. I already put a dialplan before 'To PBX' default one like this:

Matching Patterns
$addr=^69\.1\.229\.
$request=^INVITE
to=(.*)

Deploy Patterns
$target=localhost:15060
To=%1
$auth=off
janP
Do you have any other dialplan rules before the above dialplan?
If so, please disable them.

Are you sure 69.1.229.x is the ITSP's IP address?
damatta
Here is the thing: if we register at our main proxy (abroad) it works fine but, if we register at a nearer one (BSS 2.1 acting as a RTP media relay server for the the main proxy) , it doesn't. Even if we change IP address at the dialplan above. Any suggestion?
semensato
Hey! I was using above Dial Plan with PBX version 2.2.6.2 for DID incoming calls without hassles. After upgrading to 2.2.7.8 it stops working :( . I also noticed that newer version has a new Dial Plan called 'To PBX From ITSP'. I tried to disable it without success. Any idea what is happening?
Haddas
See http://wiki.brekeke.com/wiki/BPBX_History

It said the following at 2.2.7.8.
- Default values of authentication for REGISTER and INVITE are "on"

So you need to disable authentication at config settings.
-OR-
Set $auth=off at the DialPlan for ITSP.


See http://wiki.brekeke.com/wiki/Security for more details.
james
You need to create new ARS that has both of IN/OUT pattens with empty fields .