[OpenSIPS-Users] B2B/Proxy Authentication
Ovidiu Sas
osas at voipembedded.com
Wed May 23 15:47:04 CEST 2012
Hello Marwan,
You can implement the scenario that you want using b2b modules in "top
hiding" mode:
http://www.opensips.org/html/docs/modules/1.8.x/b2b_entities.html
http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html
You will need to load first the uac_auth module and provision there
all the credentials that you want to use:
http://www.opensips.org/html/docs/modules/1.8.x/uac_auth.html
There are some restrictions:
- if you need to add new credentials, you will need to restart the server
- authentication in this mode will work for REGISTER and INVITE only
(in dialog requests will not be authenticated AFAIR).
Regards,
Ovidiu Sas
--
VoIP Embedded, Inc.
http://www.voipembedded.com
On Wed, May 23, 2012 at 8:27 AM, Marwan El-Sadek
<marwan_sadek at hotmail.com> wrote:
> Hello,
>
> I'm trying to implement the following scenario (Attached REGISTER.TXT) using
> OpenSIPS. The UA needs to register with the core IMS and wait for a 200OK,
> it cannot respond to the 401 sent from the server. Therefore, I want to put
> OpenSIPS in the middle to handle the authentication part with the core IMS
> and once this is done, it will respond back to the UA. What is the best
> approach to do this? knowing that OpenSIPS needs to :
>
> 1) Add some P-Headers to the original REGISTER sent by UA.
> 2) Relay back to the UA some P-Headers received in the 200OK of the IMS
> server.
> 3) Further messages can be sent from UA to IMS and vice versa for the same
> dialog, e.g starting some services, etc.
>
> Should OpenSIPS be configured as a B2B? Proxy? or a combination of the two?
>
> Thank you in advance for your answers.
More information about the Users
mailing list