El Jueves, 13 de Diciembre de 2007, Andy Smith escribió: > >Yes, define a peer in sip.conf: > > > >[openser] > >host=XX.XX.XX.XX > >insecure=invite > > > >In this way Asterisk allow calls from OpenSer without forcing them to > >authenticate. Authenticacion had already place in OpenSer.So I guess this > > would function for calls coming from the PSTN gateway, what about for > > callsoriginating from SIP devices connected to Asterisk? Can I do some > > similar config on OpenSERso that calls authenticated on Asterisk dont > > require authentication for an INVITE on OpenSER?
Sure, you can do it detecting the source IP of the packet ($si) and not asking for auth in case that source IP is Asterisk. Or you can use "Permissions" module and functions as: allow_trusted() http://www.openser.org/docs/modules/1.3.x/permissions.html#AEN492 -- Iñaki Baz Castillo _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users