[Users] Openser not consuming the credentials

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Oct 7 11:49:38 CEST 2005


On 10/06/05 22:49, Brandon Price wrote:

> I have openser set up to remove previously authorized credentials from 
> the message being processed by the server, using consume_credentials. 
> Yet the authorization credentials are still being passed. Any help is 
> as always appreciated. Thank you. The related openser.cfg portions are 
> posted below...
>
> if (!www_authorize("", "subscriber")) {
>                                 www_challenge("", "1");
>                                 break;
>                         };
>                         consume_credentials();
>                         save("location");
>                         break;
> if I then restart openser, make a call and start tethereal I get....

Makes no sense to use consume_credentials() as above, because you do 
break afterwards and the request is dropped (only the reply is sent 
back). The result of consume_credentials() can be seen when the request 
is forwarded.

Cheers,
Daniel

>
> tethereal -V port 5060 | grep username
> Authorization: Digest 
> username="theusernamewashere",realm="ser1.manhattan.whatever.net",nonce="43457703fa69c4dd5321a7229ea41102f2200390",uri="sip:13143212222 at ser1.manhattan.whatever.net 
> <mailto:13143212222 at ser1.manhattan.whatever.net>",algorithm=MD5,response="fc57c2b4897d3d7b8ad887a788bf07f6",qop=aut
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>




More information about the Users mailing list