Trixbox, Brekeke PBX, Speech Server

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
hbravo
Posts: 9
Joined: Thu Apr 17, 2008 7:40 pm
Location: Guatemala

Trixbox, Brekeke PBX, Speech Server

Post by hbravo »

1. Brekeke Product Name and version:
Brekeke PBX 2.2 Beta

2. Java version:
1.6

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

4. UA (phone), gateway or other hardware/software involved:
Trixbox 2.6, OCS Speech Server 2007

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

6. Your problem:

SpeechServer -> Brekeke PBX -> Trixbox Working good
Trixbox -> Brekeke PBX -> SpeechServer Not working

When trying to call a Speech Server 2007 application I always
got: 603 declined. Using x-lite (ice disabled) as a softphone.

I created a trunk in Trixbox to forward calls to Brekeke PBX for extensions with prefix 7. Then a dial plan in Brekeke PBX to forward calls to Speech Server.

Please, any help will be appreciated.
Hector Bravo
NewTech
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Hi hbravo,

>> Then a dial plan in Brekeke PBX to forward calls to Speech Server.

Paste the above Dialplan here. I can look at it.

Also can you make a call from x-lite to the SpeechServer?
hbravo
Posts: 9
Joined: Thu Apr 17, 2008 7:40 pm
Location: Guatemala

Post by hbravo »

Here is the dial plan:

Matching Patterns
$addr=10.1.0.4
$request=^INVITE
$registered=false
To=(.+)@

Deploy Patterns
To=sip:%1@10.1.0.3:6060
$transport=TCP
$auth=false

Where Trixbox is 10.1.0.4
Speech Server 2007 is 10.1.0.3 port 6060
Brekeke PBX is installed on 10.1.0.3
Hector Bravo
NewTech
hbravo
Posts: 9
Joined: Thu Apr 17, 2008 7:40 pm
Location: Guatemala

Post by hbravo »

I also tried with:

Matching Patterns
$port = 15062
$registered = false
$outbound = false
$request = ^INVITE
To = (.+)@

Deploy Patterns
$transport = TCP
$auth = false
&net.sip.transport.follow.request = true
To = sip:%1@10.1.0.3:6060

The result is the same: 603 Declined
Hector Bravo
NewTech
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Your DialPlan has a syntax problem..

Try this.
---------------------------------------------
Matching Patterns
$port = 15062
$registered = false
$request = ^INVITE
To = sip:(.+)@

Deploy Patterns
$transport = TCP
$auth = false
&net.sip.transport.follow.request = true
To = sip:%1@10.1.0.3:6060
---------------------------------------------
hbravo
Posts: 9
Joined: Thu Apr 17, 2008 7:40 pm
Location: Guatemala

Post by hbravo »

Thanks for your help, but it didn't worked.

Do you have any other idea?
Hector Bravo
NewTech
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

Are you sure the above rule is used?
Check the priority of DialPlan rules.
hbravo
Posts: 9
Joined: Thu Apr 17, 2008 7:40 pm
Location: Guatemala

Post by hbravo »

Actually, I disabled default rules.

I have just two rules enabled:
1) TrixboxToSpeech (not working)
2) SpeechToTrixbox (working)

I made a port scanning using nmap to the server where Brekeke PBX is running, but port 15062/udp appears to be closed. Just port 5060/tcp/udp appears open. I'm using Brekeke PBX 2.2 Beta.

When I use port 5060, the call is transfered to Brekeke PBX (SIP Server) but I got another error: 302 Moved temporarily.

This is the trunk configuration in Trixbox:

[Brekeke_Out]
type=peer
insecure=invite
canreinvite=no
host=10.1.0.3
port=15062
context=from-internal
disallow=all
allow=ulaw&alaw

This trunk is working...
[Brekeke_In]
type=user
insecure=invite
canreinvite=no
host=10.1.0.3
context=from-trunk
disallow=all
allow=ulaw&alaw
Hector Bravo
NewTech
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

I see...

The "$port = 15062" in the DialPlan means accepting of packets from the Brekeke PBX.

So...
If you disabled all of default DialPlan rules, you should modify the rule "TrixboxToSpeech" like below.
---------------------------------------------
Matching Patterns
$addr = 10.1.0.4
$registered = false
$request = ^INVITE
To = sip:(.+)@

Deploy Patterns
$transport = TCP
$auth = false
&net.sip.transport.follow.request = true
To = sip:%1@10.1.0.3:6060
---------------------------------------------

Also, in the Trixbox, set "port=5060" in [Brekeke_Out] .


I wonder..
Why are you using Trixbox instead of Brekeke PBX?
hbravo
Posts: 9
Joined: Thu Apr 17, 2008 7:40 pm
Location: Guatemala

Post by hbravo »

Unfortunately, it didn't worked.

Somebody has been successful integrating Brekeke, Trixbox and Speech Server 2007?
Hector Bravo
NewTech
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Ask Brekeke's partner. They can look at your settings.
Post Reply