<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,<br><br>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.<br><br>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()?<br><br>Thanks,<br>Matt<br>                                            </div></body>
</html>