Bug 156193 - SIP registration fails
SIP registration fails
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: linphone (Show other bugs)
3
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Ignacio Vazquez-Abrams
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-28 08:04 EDT by Tim Waugh
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-04 07:27:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
linphone log from 32-bit binary (works) (5.48 KB, text/plain)
2005-05-03 12:00 EDT, Tim Waugh
no flags Details
linphone log from 64-bit binary (doesn't work) (6.17 KB, text/plain)
2005-05-03 12:00 EDT, Tim Waugh
no flags Details

  None (edit)
Description Tim Waugh 2005-04-28 08:04:56 EDT
Description of problem:
On x86_64, SIP registration fails.  Using a 32-bit binary works fine.  Some
32-bit assumption somewhere.

Version-Release number of selected component (if applicable):
linphone-0.12.2-7
libosip-0.9.7-6

How reproducible:
100%

Steps to Reproduce:
1. Get an account at www.freeworlddialup.com
2. Start linphone, put the accounts settings into linphone
3. Close linphone
4. Start linphone
  
Actual results:
'Unauthorized' appears in the status bar

Expected results:
'Registration successful'

Additional info:
This might be a linphone bug or a libosip bug -- filing under linphone since
that seems to have the most likely looking warnings in the build log.
Comment 1 Ignacio Vazquez-Abrams 2005-04-28 09:30:32 EDT
The settings need to be as follows:

Your sip address: sip:<FWD Number>@fwd.pulver.com
Use sip registrar: Checked
Server address: sip:fwd.pulver.com
Your password: <password>
Address of record: sip:<FWD Number>@fwd.pulver.com

This worked under i386. Does it work under x86_64 as well?
Comment 2 Tim Waugh 2005-04-28 10:02:35 EDT
No, that's the problem.  The native x86_64 linphone says "Unauthorized", but
running a 32-bit one (linked, obviously, to a 32-bit libosip) successfully
registers.  The configuration is the same, since they are run as the same user.
Comment 3 Ignacio Vazquez-Abrams 2005-04-28 10:39:33 EDT
What's the difference between the console output for the two archs using the
same options (sorry, I don't have a x86_64 achine to test on)?
Comment 4 Tim Waugh 2005-05-03 12:00:04 EDT
Created attachment 113973 [details]
linphone log from 32-bit binary (works)
Comment 5 Tim Waugh 2005-05-03 12:00:46 EDT
Created attachment 113974 [details]
linphone log from 64-bit binary (doesn't work)
Comment 6 Ignacio Vazquez-Abrams 2005-05-03 14:11:16 EDT
Okay, it definitely looks like an issue with the hash routines in linphone
0.12.2. Rebuild linphone 1.0.1 from Extras Rawhide and give that a try.
Comment 7 Tim Waugh 2005-05-04 07:09:09 EDT
I grabbed and installed these prebuilt FE development packages:

linphone-1.0.1-2
ortp-0.7.0-2
ortp-devel-0.7.0-2
libosip2-devel-2.2.0-2
libosip2-2.2.0-2

and now registration succeeds.  So does making a call (yay!).
Comment 8 Ignacio Vazquez-Abrams 2005-05-04 07:27:14 EDT
Okay, in that case I'll go ahead and move 1.0.1 to the FC3 branch.

Note You need to log in before you can comment on or make changes to this bug.