<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'>
<br>I'm a little confused about Opensips doing the registrations for Asterisk.<br><br>I integrated Opensips with Asterisk Realtime (Asterisk sipusers/peers point to Opensips subscribe table via a view). Opensips does the authorization and saves the location. However, when a call comes in (INVITE is routed to Asterisk), it seems like Asterisk doesn't know about the user (or sees the users as not authorized), so can't create the SIP channel.<br><br>If I route the REGISTER to Asterisk after authorizing in Opensips (and doing a consume_credentials()), Asterisk does the Authorization again from scratch. In that case call goes through, but I end up duplicating the authorization process. If I don't use consume_credentials(), Asterisk's authorization challenge doesn't match with Opensips, the user is not authenticated.<br><br>I was hoping to take the load of handling registrations from Asterisk.&nbsp; I'm fairly new to both Asterisk and Opensips - what am I missing?<br><br>Thanks,<br>Matt<br><br><br><br>                                               </div></body>
</html>