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....
tethereal -V port 5060 | grep username Authorization: Digest username="theusernamewashere",realm="ser1.manhattan.whatever.net",nonce= "43457703fa69c4dd5321a7229ea41102f2200390",uri="sip: 13143212222@ser1.manhattan.whatever.net",algorithm=MD5,response="fc57c2b 4897d3d7b8ad887a788bf07f6",qop=aut
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@ser1.manhattan.whatever.net mailto:13143212222@ser1.manhattan.whatever.net",algorithm=MD5,response="fc57c2b4897d3d7b8ad887a788bf07f6",qop=aut
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
on more thing:
consume_credentials() makes sense to be used after proxy_authorize(), for INVITEs for ex.; www_authorize ^^^^^ is used for REGISTER which is not further relayed.
regards, bogdan |
||| http://www.openser.org/docs/modules/0.10.x/auth.html#AEN137 Daniel-Constantin Mierla wrote:
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@ser1.manhattan.whatever.net mailto:13143212222@ser1.manhattan.whatever.net",algorithm=MD5,response="fc57c2b4897d3d7b8ad887a788bf07f6",qop=aut
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
On 10/07/05 12:57, Bogdan-Andrei Iancu wrote:
on more thing:
consume_credentials() makes sense to be used after proxy_authorize(), for INVITEs for ex.; www_authorize ^^^^^ is used for REGISTER which is not further relayed.
... except when you do replication, then the REGISTER is forwarded to replicated server.
Cheers, Daniel
regards, bogdan |
||| http://www.openser.org/docs/modules/0.10.x/auth.html#AEN137 Daniel-Constantin Mierla wrote:
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@ser1.manhattan.whatever.net mailto:13143212222@ser1.manhattan.whatever.net",algorithm=MD5,response="fc57c2b4897d3d7b8ad887a788bf07f6",qop=aut
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users