The problem seems to be this memset line at call.cpp:2196 (or 
thereabouts):
        memset(my_auth_pass,0,KEYWORD_SIZE);
        key = getKeywordParam(src, "password=", my_auth_pass);

If you remove that line, the authentication from the command line should 
be used.

Charles

[EMAIL PROTECTED] wrote on 01/09/2007 05:25:34 AM:

> Hi Jason!
> 
> I had the same problem with snapshot 2007-01-02. Using [authentication 
> username=foo password=bar] works, but the command line parameters didi 
> not worked.
> 
> regards
> klaus
> 
> Jason Wever wrote:
> > Hi All,
> > 
> > Seeing some interesting behavior in the SIPp 2007-01-03 snapshot on 
Linux 
> > and wondering if anyone else has seen this.
> > 
> > I have a REGISTER scenario that simply registers a user and then logs 
out. 
> > Originally, I had the scenario checking for receipt of a 401 with 
> > auth="true" and then sending another registration with the 
authentication 
> > information.  I had setup SIPp so that the authentication line in the 
> > scenario looked like [authentication username=foo] and was passing the 

> > password via the command line.
> > 
> > This worked in the 2006-08-29 snapshot, but using later snapshots 
(like 
> > 2006-12-08 or 2007-01-03) caused a 401 to be received to the second 
> > register rather than a 200 OK.  However, I did notice if I put the 
> > password information in the authentication keyword (for example 
> > [authentication username=foo password=bar] that the newer SIPp 
snapshots 
> > can now register like the 2006-08-29 snapshot did.
> > 
> > As the password option on the SIPp command line still shows up in help 

> > (sipp -h), is it still being honored or might this be a bug?
> > 
> > Is anyone else seeing this?
> > 
> > Thanks,
> 
> 
> -- 
> Klaus Darilion
> nic.at
> 
> 
> 
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
> opinions on IT & business topics through brief surveys - and earn cash
> 
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to