Bug#700045: linphone: account wizard rejects user names starting with a digit (required by sipgate)

Cyril Brulebois kibi at debian.org
Mon May 23 00:26:50 UTC 2016


Control: tag -1 patch pending

Michael Stapelberg <stapelberg at debian.org> (2016-01-11):
> Helmut Grohne <helmut at subdivi.de> writes:
> > Start linphone. Click "Options", select "Preferences". Select tab
> > "Manage SIP Accounts". Click the "Wizard" button. Click "Forward".
> > Select "I have already a sip account ...". Click "Forward". Enter
> > arbitray 6 digits into the username field. Enter an arbitrary non-empty
> > character sequence into the password field. Enter a valid domain (such
> > as "sipgate.com") into the domain field.
> >
> > Expected behaviour: The "Apply" button would be clickable.
> > Observed behaviour: The "Apply" button is not clickable.
> >
> > Further details. The acceptance of the input data seems to depend on the
> > value in the username field to start with a letter. This precludes
> > sipgate users from using linphone.
> 
> I also ran into this bug.

Yeah, getting this with Freephonie as well (all-digit usernames).

> A workaround is to prefix your sipgate username (e.g. 1234) with a
> letter (e.g. a1234). Login will fail, but linphone will allow you to add
> the account. Afterwards, choose Options → Preferences → Manage SIP
> Accounts, select the account in question, click the Edit button, remove
> the letter.
> 
> Upstream says this was fixed in 3.7.0:
> https://lists.gnu.org/archive/html/linphone-users/2015-01/msg00005.html

I've initially added a local patch to allow all-digits, and checked
phoning was OK. Then I switched to reporting, saw this bug report, and
looked upstream for their fix(es).

Applying the patch to relax username checks gave me a context error, so
I went a bit more in the past and grabbed another patch to relax domain
checks. I've checked it works fine in jessie.

You'll find attached the nmudiff for my upload to DELAYED/5, along with
the prospective patch for a jessie-pu upload.


KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linphone+nmu.diff
Type: text/x-diff
Size: 3447 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20160523/661b5adb/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linphone+pu.diff
Type: text/x-diff
Size: 3451 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20160523/661b5adb/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20160523/661b5adb/attachment.sig>


More information about the Pkg-voip-maintainers mailing list