Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Android SIP Client not working with Brekeke PBX
Author Message
BBetti
Brekeke Junior Member


Joined: 13 Sep 2013
Posts: 5

PostPosted: Fri Sep 13, 2013 1:21 pm    Post subject: Android SIP Client not working with Brekeke PBX Reply with quote

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


Joined: 25 Nov 2007
Posts: 336

PostPosted: Fri Sep 13, 2013 9:26 pm    Post subject: Reply with quote

Do you find the Linphone's IP address under the [Block List]->[Blocked IP Address] page?
Back to top
View user's profile
BBetti
Brekeke Junior Member


Joined: 13 Sep 2013
Posts: 5

PostPosted: Sat Sep 14, 2013 1:00 am    Post subject: Reply with quote

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


Joined: 25 Nov 2007
Posts: 336

PostPosted: Sat Sep 14, 2013 12:24 pm    Post subject: Reply with quote

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


Joined: 13 Sep 2013
Posts: 5

PostPosted: Sun Sep 15, 2013 2:17 am    Post subject: Reply with quote

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


Joined: 13 Sep 2013
Posts: 5

PostPosted: Sun Sep 15, 2013 4:13 am    Post subject: Reply with quote

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


Joined: 25 Nov 2007
Posts: 336

PostPosted: Sun Sep 15, 2013 12:21 pm    Post subject: Reply with quote

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


Joined: 13 Sep 2013
Posts: 5

PostPosted: Sun Sep 15, 2013 1:22 pm    Post subject: Reply with quote

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