Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
SIP not working #662
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mke208
Jul 7, 2017
It works fine for me on copperheados-nougat-mr2-release built from source.
Android native SIP client is quite dumb (cannot choose codecs, it does not seem to support SIP SRV records, etc) but integration is nice ... Have you tried Linphone sip client ?
mke208
commented
Jul 7, 2017
•
|
It works fine for me on copperheados-nougat-mr2-release built from source. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mke208
Jul 7, 2017
My device is Pixel XL, you said you have the issue on N5X. Different devices might experience different issues ...
mke208
commented
Jul 7, 2017
|
My device is Pixel XL, you said you have the issue on N5X. Different devices might experience different issues ... |
thestinger
added
Type: bug
Device: Nexus 5X
unconfirmed
labels
Jul 7, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
greatuser2
Jul 8, 2017
I have tested it again.
I tried to use Linphone with a Linphone SIP account. It worked with TLS transport. However, with TCP or UDP transport, I had a "failed to register error". I had the same result with another UDP-only account.
greatuser2
commented
Jul 8, 2017
•
|
I have tested it again. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mke208
Jul 8, 2017
In Linphone you can go to Settings - Network and toggle 'use random ports'.
If it uses port 5060 it conflicts with the native SIP client ...
mke208
commented
Jul 8, 2017
•
|
In Linphone you can go to Settings - Network and toggle 'use random ports'. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
greatuser2
commented
Jul 8, 2017
|
This option was already enabled. Disabling it didn't make things better. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Jul 8, 2017
Contributor
If you have a VPN enabled (including a non-VPN app based on intercepting traffic / DNS via VPN service), try turning it off.
|
If you have a VPN enabled (including a non-VPN app based on intercepting traffic / DNS via VPN service), try turning it off. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mke208
commented
Jul 8, 2017
|
So the SIP client registers with the server, but you cannot call ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
greatuser2
Jul 9, 2017
I have no VPN or similar app enabled.
As far as I know, the default phone app doesn't indicate if it is registered (I think that it registers only when calling). Linphone and Ring don't register.
greatuser2
commented
Jul 9, 2017
•
|
I have no VPN or similar app enabled. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mke208
Jul 9, 2017
It does register if you enable "Receive incoming calls". When you enable this option and go to "Sip Accounts",it should say "Receiving calls" under the account if registered, or some error if not.
Does your SIP provider by any chance use SIP SRV records, and did you try to put the SIP server's IP address instead of domain name under the account settings ?
mke208
commented
Jul 9, 2017
|
It does register if you enable "Receive incoming calls". When you enable this option and go to "Sip Accounts",it should say "Receiving calls" under the account if registered, or some error if not. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
greatuser2
Jul 9, 2017
I have enabled "Receive incoming calls" and it registered successfully and I could even make and receive calls! It still doesn't work without incoming calls enabled.
For some reason, Linphone now registers with the Linphone sip account but not on the other one whose server has no domain name but only an ip address.
greatuser2
commented
Jul 9, 2017
|
I have enabled "Receive incoming calls" and it registered successfully and I could even make and receive calls! It still doesn't work without incoming calls enabled. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Jul 9, 2017
Contributor
I don't think this is a CopperheadOS issue. It would need to be confirmed that this doesn't occur for you on a fresh install of stock Android but does on a fresh install of CopperheadOS.
|
I don't think this is a CopperheadOS issue. It would need to be confirmed that this doesn't occur for you on a fresh install of stock Android but does on a fresh install of CopperheadOS. |
thestinger
closed this
Jul 9, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mke208
Jul 10, 2017
Correct, it might be an issue with the OP's sip server or setup. SIP takes into account a lot of things, like router/firewall set-up, different authentication schemes, some providers blocking it, etc. Maybe at some point Google will improve Android's native sip calling to add SRV, ZRTP and other features, but that's beyond the scope of this project.
mke208
commented
Jul 10, 2017
•
|
Correct, it might be an issue with the OP's sip server or setup. SIP takes into account a lot of things, like router/firewall set-up, different authentication schemes, some providers blocking it, etc. Maybe at some point Google will improve Android's native sip calling to add SRV, ZRTP and other features, but that's beyond the scope of this project. |
greatuser2 commentedJul 7, 2017
•
edited
Edited 1 time
-
greatuser2
edited Jul 8, 2017
I tried sip calling in the default phone app and in ring over udp on Nexus 5x. The phone app gives me a "Server error. Try again later." error when calling and Ring can't register (with sip). I used a sip account that works great on my computer and other computers. I first experienced this issue on June the 9th (it may have appeared earlier) and sip was working on previous versions of Copperhead os.