Forums Read-only archive

Trixbox, Brekeke PBX, Speech Server

11 posts · Brekeke PBX Forum

hbravo Original post
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.
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
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
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
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
Thanks for your help, but it didn't worked.

Do you have any other idea?
Harold
Are you sure the above rule is used?
Check the priority of DialPlan rules.
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
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
Unfortunately, it didn't worked.

Somebody has been successful integrating Brekeke, Trixbox and Speech Server 2007?
james
Ask Brekeke's partner. They can look at your settings.