Android SIP Client not working with Brekeke PBX

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
BBetti
Posts: 5
Joined: Fri Sep 13, 2013 1:16 pm

Android SIP Client not working with Brekeke PBX

Post by BBetti »

1. Brekeke Product Name and Version:
Brekeke PBX
3.2.3.6/365

2. Java version:
7

3. OS type and the version:
Windows Server 2008

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

5. Your problem:
The Linphone(also sipdroid) is not able to register to Brekeke PBX. I tried this UA with Brekeke SIP Server and it worked. On iPhone the Linphone is able to register to Brekek PBX while on Android not.

What could be wrong?
janP
Posts: 336
Joined: Sun Nov 25, 2007 2:55 pm

Post by janP »

Do you find the Linphone's IP address under the [Block List]->[Blocked IP Address] page?
BBetti
Posts: 5
Joined: Fri Sep 13, 2013 1:16 pm

Post by BBetti »

First it appeared under Blocked IP Address, but now it is woking. The bad new is if I make a call from one Linphone to an another one the voice is not working either from one side or from the other one.
janP
Posts: 336
Joined: Sun Nov 25, 2007 2:55 pm

Post by janP »

It seems there is NAT issue. Let you enable the RTP-relay=on in the SIP server.

And make sure you need to remove Linphone's IP address from the BLock List page.

Does the Linphone use the same IP address always?
Is it connected to the SIP server via wifi?
BBetti
Posts: 5
Joined: Fri Sep 13, 2013 1:16 pm

Post by BBetti »

Hi janP!

The RTP relay was on, but finally I managed to solve this. I swotched the Port mapping under SIP Server Admin/RTP from source port to sdp.
The Brekeke PBX and the Linphones on an android phone and on an iPhone are connected to the same WIFI router (the server connected with cable of course).

Thanks for your help!
BBetti
Posts: 5
Joined: Fri Sep 13, 2013 1:16 pm

Post by BBetti »

During new test I found the following:

The system:

- android phone 1
- android phone 2
- iPhone

all running LinPhone and connecting to the same wifi router through wifi. The Brekeke PBX connects to this router with cable.

When I make call between the iPhone and any android phone the voice is ok, but when I try to make call between android phones the voice is not working. The setup is the same for both android LinPhone. All codecs are enabled.

Any idea?
janP
Posts: 336
Joined: Sun Nov 25, 2007 2:55 pm

Post by janP »

Are all of phones and SIP server located in the same network segment without NAT?
Generally you don't have to use the RTP-relay if there is no NAT.

Let you check Linphone settings and disable STUN or ICE (or any other global IP address detection).
Such a feature is designed for traversing NAT.
BBetti
Posts: 5
Joined: Fri Sep 13, 2013 1:16 pm

Post by BBetti »

You were right, there was a STUN configured by default.
There is no NAT between them. No it is working.

Thank you very much! You helped me a lot.
Post Reply