[OpenSER-Users] OpenSER as SIP Proxy for PSTN Gateway

Iñaki Baz Castillo ibc at aliax.net
Thu Dec 13 21:30:26 CET 2007


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




More information about the Users mailing list