[Home]

Summary:ASTERISK-03409: Realtime updating username feild to 's'
Reporter:delvar (delvar)Labels:
Date Opened:2005-02-01 09:11:45.000-0600Date Closed:2011-06-07 14:11:56
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:when another asterisk box registers to my realtime box i noticed the 'username' feild gets updated to 's', i figured it was teh register line
register => username:password@domain/extension
and when not giving an extension it defaults to 's'.

anyway it seems to work ok after the update but i thought the username feild was used for authentication, and if it is updated wouldn't this mess up?.  or have i got it compleatly wrong?

thanks.
Comments:By: Brian West (bkw918) 2005-02-01 09:40:49.000-0600

THis is not a bug.  If you do not specify a contact it has to default to something.  s is the logical choice.  

if (!contact || ast_strlen_zero(contact))
       contact = "s";

Thats if you do not specify one on the register line.