After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 328340 - SIP account setup procedure
SIP account setup procedure
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: general
GIT master
Other All
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
: 328876 330764 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-23 20:22 UTC by Hendrik Scholz
Modified: 2006-03-08 18:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Hendrik Scholz 2006-01-23 20:22:14 UTC
Please describe the problem:
The Edit -> Accounts -> Add menu does not allow SIP accounts to be configured in
all ways seen in the wild.
First of all let me explain how things could work:

A) The DNS based approach

If an ISP offers SIP it's supposed to add a DNS SRV record to its domain which
points to the SIP server/registrar, i.e.
  $ dig _sip._udp.freenet.de srv +short
  0 0 5060 iphone.freenet.de.
  $

for the UDP SIP server for freenet.de. The DNS response might already yield an
IP for iphone.freenet. If not the client is supposed to do an A record lookup
and eventually gains a port (5060 in this case) and an IP to connect to.

On the GUI setup side all you have to fill in is a 'SIP domain' and the client
could then try to lookup information.

B) manual approach

You could enter a SIP domain/REGISTRAR plus an outbound proxy. The SIP
domain/REGISTRAR should be used for authentication and usernames whereas the
outbound proxy should not appear within signaling. It's only your outbound proxy.

So what's wrong with Ekiga?

First the SIP outbound proxy setting is not on a per-account basis which it
should be.
Secondly Ekiga does an A DNS lookup to determine the SIP server IP address.
For freenet.de (and many other ISPs!) this fails since the A record is usually
the IP the webserver is running on but not necessarily the SIP server.

Steps to reproduce:
1. Set up an account within the freenet.de domain
2. use tcpdump or ngrep (ngrep -W byline port 5060) to watch SIP traffic
3. activate account and observe Ekiga connecting to 62.104.23.42 (which is
'freenet.de') but not 194.97.54.97 (as in 'iphone.freenet.de').
4. no SIP message is received on the SIP server side.


Actual results:
SIP messages don't make it to the SIP server/registrar

Expected results:
Proper DNS SRV lookup

Does this happen every time?
yes

Other information:
Feel free to contact me via ICQ (92246415) for more in-depth information.
Comment 1 Damien Sandras 2006-01-23 22:24:21 UTC
About the DNS SRV: yes, it is a known limitation.

About the outbound proxy, yes and no. You are not the first one to request this, so I'm thinking about implementing it. But I think that you should have one outbound proxy for your LAN/company network, allowing all accounts to go through it. Not one outbound proxy per account. Am I wrong?
Comment 2 Damien Sandras 2006-01-29 10:56:06 UTC
*** Bug 328876 has been marked as a duplicate of this bug. ***
Comment 3 Damien Sandras 2006-02-08 12:47:26 UTC
*** Bug 330388 has been marked as a duplicate of this bug. ***
Comment 4 Damien Sandras 2006-02-11 11:43:22 UTC
*** Bug 330764 has been marked as a duplicate of this bug. ***
Comment 5 Damien Sandras 2006-03-08 18:46:46 UTC
Fixed in CVS. The "per account" SIP outbound proxy will be implemented in 2.2, but DNS SRV lookup is now in CVS.