El Thursday 13 December 2007 18:26:36 Andy Smith escribió:
>Register is used JUST to **RECEIVE** calls, not to
send calls.
>
>SIP uses http-digest autentication. This means: in **EVERY** INVITE a
> proxy wnat to authenticate the client (Asterisk) receives a challenge
> from the proxy and the client must generate a hash (a response) with its
> credentials and the nonce received.Ok, thanks for the reply Iñaki. So in
> the case of a configuration like mine what are other people doing to
> negate theneed to define all the users in both Asterisk and OpenSER? Are
> you authenticating the users on OpenSER basedon source IP?
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.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es