Problems with ARS to a specific carrier

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
farndt
Posts: 13
Joined: Wed Jun 12, 2013 5:19 am

Problems with ARS to a specific carrier

Post by farndt »

1. Brekeke Product Name and Version: PBX 3.2.3.6
2. Java version:
Open JDk 7

3. OS type and the version:
Ubuntu

4. UA (phone), gateway or other hardware/software involved:
Cisco or Huawai SBC
5. Your problem:
the PBX sends all registers to itself if I use the uri: sip:username@carrier.sip

It ignores the hostfile.

is there a workaround so It doesn't try to register to itself when i use a internal domain instead of an IP-address
Mcgee
Posts: 18
Joined: Thu Mar 27, 2008 12:21 pm

Post by Mcgee »

Try Oracle JDK instead of OpenJDK.
Make sure you uninstall OpenJDK completely.
farndt
Posts: 13
Joined: Wed Jun 12, 2013 5:19 am

Post by farndt »

Sorry but I don't think that this is a openJDK Problem.
The logs show any java errors.

If this is carrier class software It should support the more stable version of java for linux systems. ;)

Sun Java makes always more problems than it solves.

Is there a possibility to give brekeke a host list?

Edit: the pbx seems to not resolve a dns name. I captured a lot of packets only if I wok with IP-Addresses the pbx starts sending packets via LAN port
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

can you ping to this internal domain name from command line?
what IP is shown from the above ping result?
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

Have you restarted the PBX after you edited the hosts file?

In my experience, combination of Ubuntu and OpenJDK bring some problems.
For example, OpenJDK/Ubuntu has the bug in TLS handling.
https://bugs.launchpad.net/ubuntu/+sour ... bug/948875

Also, Brekeke recommends Oracle JDK.
http://wiki.brekeke.com/wiki/Brekeke-SI ... ew-install

If you want to provide a stabler service, stop using OpenJDK.
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

farndt,

Have you defined the ARS like the following?
-----------
[Register URI] = sip:&v1@carrier.sip
[Proxy Address] = 1.2.3.4 (let you put the actual IP address)
-----------
farndt
Posts: 13
Joined: Wed Jun 12, 2013 5:19 am

Post by farndt »

Hello,

It works with the IP-address after, the carrier changed the sbc configuration. I don't have problems with other providers.

If you use a linux operatingsystem you use openJDK, because oracle Java issn't in the packet repository.

I use Brekeke PBX and Sip-server with no visible problems with openJDK. I could recommend it. Woks stable till 15.000 active sessions.

Oracle java is a pain with debian, sorry.

Most company's didn`t support openJDK because the have to test twice and there are no windows binary. If you sell a server product so make a installer and bunde everything or make it work with both.


Sorry for the post, sip-server and pbx are great products but to only support oracle java isn't state of the art.
;)
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

Hi farndt, Thank you for the reply.
I will try OpenJDK for Brekeke!
Post Reply