zighouse / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

when register no auth username supply #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
some sip account the username is different with auth username, for example:
the getonsip sip account, the username is 'xxx', and it's auth username is 
'getonsip_xxx'

but the doubango don't supply the auth username, you always use impi (the 
username) to register, suggestion to add the auth username.

Original issue reported on code.google.com by idiottig...@gmail.com on 16 May 2012 at 2:20

GoogleCodeExporter commented 9 years ago
IMPI IS the auth username.
IMPI + IMPU covert all use cases.

Original comment by boss...@yahoo.fr on 16 May 2012 at 2:44

GoogleCodeExporter commented 9 years ago
no, i know the impi is the username, when register it send the impi to 
register, when receive the auth, it need use the auth username to auth, but it 
also use the impi to auth, actually the getonsip account NEED use the 
`getonsip_username` to auth.

Original comment by idiottig...@gmail.com on 16 May 2012 at 2:49

GoogleCodeExporter commented 9 years ago
No we don't use the IMPI to register. The register (To and From headers) 
contains the IMPU.
You should have:
IMPU: sip:username@example.com
IMPI: getonsip_username

Original comment by boss...@yahoo.fr on 16 May 2012 at 2:56

GoogleCodeExporter commented 9 years ago
Well, it's my fault, sorry, it works. -):

Original comment by idiottig...@gmail.com on 16 May 2012 at 3:29

GoogleCodeExporter commented 9 years ago
Just wanted to know: Are you working for "getonsip"? I've small issue.

Original comment by boss...@yahoo.fr on 16 May 2012 at 5:03

GoogleCodeExporter commented 9 years ago
no, just an android application need support more sip account -):

Original comment by idiottig...@gmail.com on 16 May 2012 at 5:44