[Users] Sending Authorisation Credentials

Douglas Garstang dgarstang at oneeighty.com
Wed Nov 30 20:58:44 CET 2005

I have user agents registering with OpenSER. I wanted to 'copy' the registration to an Asterisk server, so I modified a standard openser.cfg as such:

                if (method=="REGISTER") {

                        # Uncomment this if you want to use digest authentication
                        if (!www_authorize("voip.com", "subscriber")) {
                                www_challenge("voip.com", "0");

                        t_replicate("","5060"); # Added this line...

I just stuck the t_replicate() call in there. OpenSER sends the REGISTER packet to the Asterisk box who requests credentials. How can I get OpenSER to send credentials (ie act as a UAC) for a given user, to a UAS?


More information about the Users mailing list