Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Trixbox and OSS
Author Message
sinlili2005
Brekeke Addict


Joined: 20 Sep 2006
Posts: 29

PostPosted: Tue Apr 03, 2007 3:01 am    Post subject: Trixbox and OSS Reply with quote

1. Brekeke Product Name and version: 1.5

2. Java version: 1.5

3. OS type and the version: Redhat Linux 9.0

4. UA (phone), gateway or other hardware/software involved:

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

6. Your problem:

Dear Support Team,

We have one OSS and Trixbox Freepbx. OSS is in the public and Freepbx is in the private network. The Freepbx was registered to the OSS and we can call the destination number from PBX to OSS successfully. However, When we called the destination number from the OSS to the PBX, we received the error code 404 (Not Found) in the OSS. Is it any special dialplain we need to set in OSS? Please advice.

Matching Patterns
$request = ^INVITE
To = sip:6(.+)@
$registeredaddr("8000") = (.*)
Deploy Patterns
To = %1@%2

Please noted: 8000 is our username in the pbx system.


Best Regards
Sin
03.04.2007
Back to top
View user's profile MSN Messenger
mexsip
Brekeke Talented


Joined: 26 Apr 2005
Posts: 92
Location: Mexico

PostPosted: Tue Apr 10, 2007 8:05 pm    Post subject: Reply with quote

Hello,

Quote:
Deploy Patterns
To=%1@%2


%1=(.+)
%2 = "8000"

I guess you want to have:
depoly pattern
To=%1@%3

maybe this helps.

Pablo.
Back to top
View user's profile Yahoo Messenger
sinlili2005
Brekeke Addict


Joined: 20 Sep 2006
Posts: 29

PostPosted: Sun Apr 15, 2007 8:15 am    Post subject: Trixbox and OSS Reply with quote

Hello Pablo,

Thank you for your advice.

Could you tell me the meaning of %1, %2, %3 in the deploy pattern.

Thanks & Best Regards
Sin
15.04.2007
Back to top
View user's profile MSN Messenger
mexsip
Brekeke Talented


Joined: 26 Apr 2005
Posts: 92
Location: Mexico

PostPosted: Sun Apr 15, 2007 10:43 am    Post subject: Reply with quote

Hello Sin,

the value between first () that appears in the matching pattern is %1
the value between the sec () that appears in the matching pattern is %2
ect...

Regards,

Pablo.
Back to top
View user's profile Yahoo Messenger
sinlili2005
Brekeke Addict


Joined: 20 Sep 2006
Posts: 29

PostPosted: Sun Apr 15, 2007 6:34 pm    Post subject: Trixbox and OSS Reply with quote

Hello Pablo,

Thank you for your information again.

I changed to the %3, but the problem could not be solved (Error code=403). Do you have another suggestion for me?

Thanks & Best Regards
Sin
16.04.2007
Back to top
View user's profile MSN Messenger
mexsip
Brekeke Talented


Joined: 26 Apr 2005
Posts: 92
Location: Mexico

PostPosted: Sun Apr 15, 2007 8:51 pm    Post subject: Reply with quote

Hello Sin,

let me see if I understand your problem:

you hace some sipdevices registered with OSS one of them is the trixbox. from trixbox you can call to a sipphone registered on oss.
using a sipphone calling 6xxxx gives you a 403 or 404 error in oss log, while this call should be routed to trixbox.

but your trixbox is behind a dyn. public ip address.

I would try to use this dialplan:

$request=^INVITE
To=sip:6(.+)@

Deploy Patterns
To = 8000@

there is a dialplan tutorial available which can give you some ideas:

http://www.brekeke-sip.com/download/bss/bss_tutorial_dialplan_en.pdf

use ethereal to make some traces on your oss to see if sip packets appear as expected.

good luck,

Pablo.
Back to top
View user's profile Yahoo Messenger
hoanguyen
Brekeke Guru


Joined: 01 May 2005
Posts: 139

PostPosted: Fri May 18, 2007 5:56 pm    Post subject: Reply with quote

Easy solution is:
- Create SIP User in OSS.
- Create SIP TRUNK from TRIXBOX.
- Create OUTBOUND ROUTES rule from TRIXBOX for outgoing call to OSS.
- Create INBOUND ROUTES rule from TRIXBOX for INCOMMING call from OSS.
- Create Dial plan for SIP user in OSS.

That's all.

_________________
Hoa Nguyen
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1