Forums Read-only archive

Dedicated SIP trunk and two NIC

2 posts · Brekeke PBX Forum

juniper Original post
1. Brekeke Product Name and version: 2.4.3.9

2. Java version: 1.5.0_09

3. OS type and the version: Windows 2003 R2 SP2

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:

Hello,

our provider gave as a dedicated SIP trunk. Its address is 10.222.0.98, the gateway IP is 10.222.0.97

In the server, there are two NIC: the internal card is 10.1.3.20/24, the external card is 10.222.0.98/30 (provided by the ISP)

We use only SIP rules, no PBX. In the SIP server, we set 10.1.3.20.
Outgoing calls works perfectly, but when incoming calls arrives, the error message 486 Busy Here (tested with xlite)

Here is the dial plan rule:

Matching pattern:

$request=^INVITE
$getUri( To )=sip:\18801(.+)

Deploy pattern:

$target=localhost:15060
$auth=false
$continue=true
To=sip:%1

If I examine the provider side network card (10.222.0.98) with wireshark

10.222.0.98 91.83.81.243 SIP Status: 100 Trying
10.222.0.98 91.83.81.243 SIP Status: 486 Busy Here
91.83.81.243 10.222.0.98 SIP Request: ACK sip:18801495@10.222.0.98:5060

Is can be routing problem between the two NIC?
hope
are you using brekeke pbx?
is there user 1495 created at pbx/users?
if no, create user 1495
and also create an ARS pattern-in like
matching pattern
To: sip:(.+)@

Depoly pattern
To: $1