[OpenSIPS-Users] opensips - asterisk registrations

Sammy Govind govoiper at gmail.com
Mon Dec 5 16:24:31 CET 2011


Hi,
You can add a OpenSIPS peer in you asterisk sip.conf without any username
and password with param "insecure=invite,port" that way your asterisk would
not worry about asking for credentials on incoming INVITES from opensips.

Regards,
Sammy.

On Sun, Dec 4, 2011 at 9:28 PM, Matt Hamilton <mistral9999 at hotmail.com>wrote:

>
> I'm a little confused about Opensips doing the registrations for Asterisk.
>
> 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.
>
> 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.
>
> I was hoping to take the load of handling registrations from Asterisk.
> I'm fairly new to both Asterisk and Opensips - what am I missing?
>
> Thanks,
> Matt
>
>
>
>
> _______________________________________________
> 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/20111205/30333eaa/attachment-0001.htm>


More information about the Users mailing list