[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");
exit;
};
save("location");
t_replicate("192.168.10.7","5060"); # Added this line...
exit;
};
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?
Thanks,
Doug
More information about the sr-users
mailing list