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 544209 - Codec negotiation problem
Codec negotiation problem
Status: RESOLVED DUPLICATE of bug 341518
Product: ekiga
Classification: Applications
Component: Engine
GIT master
Other Linux
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-22 17:53 UTC by Alexander Hunziker
Modified: 2008-09-15 18:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Attempt to connect to 500@ekiga.net with all codecs enabled (84.36 KB, application/octet-stream)
2008-08-09 18:44 UTC, Alexander Hunziker
Details
Attempt to connect to 500@ekiga.net with all audio codecs enabled (87.68 KB, application/octet-stream)
2008-08-09 18:49 UTC, Alexander Hunziker
Details

Description Alexander Hunziker 2008-07-22 17:53:14 UTC
With all audio and video codecs enabled, I cannot call 500@ekiga.net. It says: "Could not connect to the remote host"

If I select only PCMA, iLBC, and h261 codecs, a call is successfully established.
Comment 1 Damien Sandras 2008-07-22 19:06:58 UTC
The problem is that with all codecs selected, the PDU is too large to be sent over UDP.

What can we do? :(
Comment 2 Snark 2008-07-22 19:27:53 UTC
1) limit the number of codec ;
2) push the PDU in several payloads.
Comment 3 Damien Sandras 2008-07-22 19:43:08 UTC
2) is impossible
Comment 4 Yannick 2008-07-24 11:25:17 UTC
3) http://www.ietf.org/rfc/rfc5049.txt ???
Comment 5 Yannick 2008-07-24 16:04:35 UTC
Hello,

I'm not sure the problem is too much codecs: I can not reproduce. (using today SVN)

I've 10 sip audio codecs (+ ms-gsm, but it is only for h323, i checked it also)
and 5 video codecs.

With this setup i can call 500...

Regards,
Yannick
Comment 6 Damien Sandras 2008-07-24 18:05:33 UTC
It probably depends on the network conditions. On a LAN it will work, for example.
Comment 7 Alexander Hunziker 2008-07-25 08:27:32 UTC
I can confirm that with the latest nightly build I can establish a testcall to 500@ekiga.net with all audio and video codecs selected. That's true for two different networks (home and university)
Comment 8 Snark 2008-07-25 10:35:58 UTC
Well, is it FIXED then ?
Comment 9 Alexander Hunziker 2008-07-26 08:19:47 UTC
No, with the version from July 25, again, the problem persists as described. Maybe Damien is right and it depends on some network conditions? I'll check again from the university network and report back.
Comment 10 Matthias Schneider 2008-07-29 20:59:16 UTC
can you provide a ekiga -d 4 output?
I think we should not run in the too many codecs problem since the uncompressed RFC 4175 codecs have been blacklisted (they had quite some fmtp lines)...
Comment 11 Fabrice Alphonso 2008-07-30 20:32:00 UTC
just after a full recompilation of ptlib/opal/ekiga with respective versions 20641/20641/6540 I had three successfull connections wih 500@ekiga.net with all audio and video codecs enabled.
Comment 12 Matthias Schneider 2008-08-07 16:27:28 UTC
any update? any log output to analyse?
Comment 13 Matthias Schneider 2008-08-07 16:28:38 UTC
-d 4 would be nice
Comment 14 Alexander Hunziker 2008-08-09 18:44:24 UTC
Created attachment 116256 [details]
Attempt to connect to 500@ekiga.net with all codecs enabled
Comment 15 Alexander Hunziker 2008-08-09 18:45:10 UTC
Comment on attachment 116256 [details]
Attempt to connect to 500@ekiga.net with all codecs enabled

This is a debug log for starting ekiga, trying to call 500@ekiga.net, and then quitting ekiga again.
Comment 16 Alexander Hunziker 2008-08-09 18:49:34 UTC
Created attachment 116257 [details]
Attempt to connect to 500@ekiga.net with all audio codecs enabled

Same as above, except that while all audio codecs are enabled, h261 is the only video codec enabled with all other disabled.
Comment 17 Alexander Hunziker 2008-08-09 18:50:54 UTC
Depending on which codecs I enable, I get two different error messages:

* All audio and video codecs enabled, ekiga complains "Could not connect to remote host", the debug log for this is attachment id 116256.

* All audio codecs enabled, h261 enabled as only video codec, ekiga says "Local user cleard the call" directly after clicking on call. the debug log for this is attachment id 116257

HTH
Comment 18 Eugen Dedu 2008-08-11 12:33:08 UTC
According to rfc 3261, section 18.1, the first 4 paragraphs:

"If a request is within 200 bytes of the path MTU, or if it is larger than 1300 bytes and the path MTU is unknown, the request MUST be sent using an RFC 2914 [43] congestion controlled transport protocol, such as TCP."

So TCP must be used in this case...  opal/src/sip/sippdu.cxx:1974 (year of my birth :o)

This is related to bug http://bugzilla.gnome.org/show_bug.cgi?id=341518 (TCP support for SIP) and partially to http://bugzilla.gnome.org/show_bug.cgi?id=537155 .
Comment 19 michel.memeteau 2008-08-11 22:48:10 UTC
I've been trying with a 800 MTU , it actually fails. 

Maybe the best way would be to test the MTU and not send some rare codecs ? 
Comment 20 Damien Sandras 2008-09-15 18:16:22 UTC
When there are too many codecs, with switch to the compressed headers form of SIP.

There is nothing more we can do :(

There is already another bug report to implement TCP support. Marking this one as DUP. 

*** This bug has been marked as a duplicate of 341518 ***