Bug#784155: connects to wrong host

Emmanuel Lepage emmanuel.lepage at savoirfairelinux.com
Mon May 4 15:23:25 UTC 2015


Hello,

(SFLphone/Ring developer here)

Can you try with our latest version?

http://gpl.savoirfairelinux.net/ring-download/debian_8/ring-daemon-nightly.deb
http://gpl.savoirfairelinux.net/ring-download/debian_8/ring-gnome-nightly.deb

(please note, this is still experimental)

the security settings are not yet available in the GUI. They should be there
in the next few days. You can set them directly in the dring.yml file (same
syntax and keys are sflphone.yml, you can also copy the file over as.
dring.yml)

If the bug is fixed there, then enjoy, if it isn't we will make it happen ;)

Feel free to open a bug in our bug tracker
https://projects.savoirfairelinux.com/projects/ring-daemon/issues

Thanks for reporting this issue
----- Original Message -----
From: "Daniel Pocock" <daniel at pocock.pro>
To: submit at bugs.debian.org
Sent: Sunday, May 3, 2015 11:36:50 AM
Subject: Bug#784155: connects to wrong host

Package: sflphone-gnome
Version: 1.4.1-0.1+b1
Severity: important

Set up a SIP account using the following settings:

Alias: Daniel
Host: debian.org    (as the SIP address is pocock at debian.org)
Username: pocock
Password:  (the rtc.debian.org password set through SSO)

Proxy: I tried three values:
- leaving this blank
- vogler.debian.org
- vogler.debian.org:5061

On the Security tab:
- change the "Authentication name" from pocock to pocock at debian.org
- click "Use TLS"
- click the "Edit" button next to TLS
  - on the TLS dialog box, choose "TLS protocol method" SSLv23

In the Accounts list, it just says
    Server returned "Service Unavailable" (503)

Looking at tcpdump, I see no sign that sflphone made any attempt to
contact the server

Running the sflphoned daemon manually in debug mode:

  /usr/lib/sflphone/sflphoned -d -c -p

I found this in the logs:

siptransport.cpp:294:0x99c0: Get new tls transport/listener from
transport manager to 200.17.202.197:5061
siptransport.cpp:259:0x99c0: Creating Listener on 0.0.0.0:5061...
siptransport.cpp:260:0x99c0: CRT file : /etc/ssl/certs/ca-certificates.crt
siptransport.cpp:261:0x99c0: PEM file :
managerimpl.cpp:1310:0x99c0: Saving Configuration to XDG directory
/home/daniel/.config/sflphone/sflphoned.yml
sipvoiplink.cpp:2185:0x99c0: SIP registration failed, status=503
(Connection refused)


It is trying to connect to 200.17.202.197 - that is not the SIP proxy

It appears that there are two problems here:

a) when the "Proxy" field is blank, it is looking up the A record for
debian.org instead of the SRV record for _sips._tcp.debian.org

b) when the "Proxy" field is set, it appears to completely ignore it, so
it is not possible to override the first problem by manually setting the
proxy address

_______________________________________________
Pkg-voip-maintainers mailing list
Pkg-voip-maintainers at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-voip-maintainers



More information about the Pkg-voip-maintainers mailing list