Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Problems with ARS to a specific carrier
Author Message
farndt
Brekeke Member


Joined: 12 Jun 2013
Posts: 13

PostPosted: Wed Sep 11, 2013 4:36 am    Post subject: Problems with ARS to a specific carrier Reply with quote

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
Back to top
View user's profile
Mcgee
Brekeke Member


Joined: 27 Mar 2008
Posts: 18

PostPosted: Wed Sep 11, 2013 10:17 am    Post subject: Reply with quote

Try Oracle JDK instead of OpenJDK.
Make sure you uninstall OpenJDK completely.
Back to top
View user's profile
farndt
Brekeke Member


Joined: 12 Jun 2013
Posts: 13

PostPosted: Thu Sep 12, 2013 4:58 am    Post subject: Reply with quote

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. Wink

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
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu Sep 12, 2013 2:36 pm    Post subject: Reply with quote

can you ping to this internal domain name from command line?
what IP is shown from the above ping result?
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Thu Sep 12, 2013 3:14 pm    Post subject: Reply with quote

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/+source/openjdk-6/+bug/948875

Also, Brekeke recommends Oracle JDK.
http://wiki.brekeke.com/wiki/Brekeke-SIP-Server-new-install

If you want to provide a stabler service, stop using OpenJDK.
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Thu Sep 12, 2013 3:22 pm    Post subject: Reply with quote

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)
-----------
Back to top
View user's profile
farndt
Brekeke Member


Joined: 12 Jun 2013
Posts: 13

PostPosted: Wed Oct 23, 2013 8:51 am    Post subject: Reply with quote

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.
Wink
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Wed Oct 23, 2013 10:29 am    Post subject: Reply with quote

Hi farndt, Thank you for the reply.
I will try OpenJDK for Brekeke!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1