[OpenSIPS-Users] NOTIFY authentication for UACs

Matt Hamilton mistral9999 at hotmail.com
Wed Feb 15 16:07:04 CET 2012


Thanks Olle. The following works in Asterisk 1.8.7.2.

secret=
remotesecret=password

does authorization for outbound only.

Matt



> From: oej at edvina.net
> Date: Tue, 14 Feb 2012 17:49:29 +0100
> To: users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] NOTIFY authentication for UACs
> 
> 
> 14 feb 2012 kl. 17:40 skrev Matt Hamilton:
> 
> > Hi,
> > 
> > I'm using Opensips to authenticate/authorize REGISTER and SUBSCRIBE messages for UACs before relaying them to Asterisk. "secret" field for sip peers is empty so Asterisk doesn't require authentication again for those. This works fine, but the lack of password in Asterisk seems to create a problem when I send NOTIFY messages to UACs which require authentication for NOTIFY.
> > 
> > Is it possible to intercept Asterisk's reply and change the authorization header in Opensips before sending it to the UAC- maybe via uac_auth()?
> 
> New version of Asteirsk has the "remotesecret" option to separate inbound and outbound auth.
> 
> /O
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120215/75f42365/attachment.htm>


More information about the Users mailing list