[Users] Sending Authorisation Credentials

Douglas Garstang dgarstang at oneeighty.com
Wed Nov 30 23:18:59 CET 2005


I don't think this will work.

That means not only would the Asterisk box need to let REGISTER requests through without authentication, it would also need to let every other type of request through (INVITES come from OpenSER as well). You can't drill down to that level of detail in Asterisk and tell it to not authenticate for REGISTERs from OpenSER, but to authenticate for INVITE requests.

Doug

-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists at pernau.at]
Sent: Wednesday, November 30, 2005 2:54 PM
To: Douglas Garstang
Cc: users at openser.org
Subject: Re: [Users] Sending Authorisation Credentials


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 Users mailing list