[Users] Sending Authorisation Credentials

Klaus Darilion klaus.mailinglists at pernau.at
Wed Nov 30 22:54:22 CET 2005


configure asterisk to accept REGISTER without authentication, if it is 
received from your proxy (IP address)

klaus

Douglas Garstang wrote:
> 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
> 
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
> 
> 





More information about the sr-users mailing list