[OpenSIPS-Users] opensips authentication

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sat Oct 24 18:50:21 CEST 2009


Hi Pacho,

yes, it is - OpenSIPS can perform UAC authentication to another SIP 
server. See the uac module, the uac_auth() function:
http://www.opensips.org/html/docs/modules/devel/uac.html#id269698

Static credentials can be defined via the "credentials" param:
http://www.opensips.org/html/docs/modules/devel/uac.html#id228163

or dynamic credentials can be set via AVPs. See:
http://www.opensips.org/html/docs/modules/devel/uac.html#auth-realm-avp-id
http://www.opensips.org/html/docs/modules/devel/uac.html#auth-username-avp-id
http://www.opensips.org/html/docs/modules/devel/uac.html#auth-password-avp-id

Regards,
Bogdan

Pacho Baratta [fabbricadigitale] wrote:
> Is there any way to do this?
>
> fabbricadigitale srl 
> Pacho Baratta | Senior Systems Engineer 
> Tecnhology Engineering
> ----------------------------- 
> Via A.Volta, 3 - 26041 – Casalmaggiore - CR
> Phone +39 0375 284600
> Fax +39 02 57760002
> mailto:p.baratta at fabbricadigitale.it
> www.fabbricadigitale.it 
>
>
> -----Original Message-----
> From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Pacho Baratta [fabbricadigitale]
> Sent: giovedì 22 ottobre 2009 11:15
> To: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] opensips authentication
>
> One for all should be ok.
> Thanks, pacho
>
> fabbricadigitale srl 
> Pacho Baratta | Senior Systems Engineer 
> Tecnhology Engineering
> ----------------------------- 
> Via A.Volta, 3 - 26041 – Casalmaggiore - CR
> Phone +39 0375 284600
> Fax +39 02 57760002
> mailto:p.baratta at fabbricadigitale.it
> www.fabbricadigitale.it 
>
>
> -----Original Message-----
> From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Uwe Kastens
> Sent: giovedì 22 ottobre 2009 10:07
> To: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] opensips authentication
>
> Ok,
>
> What kind of credentials do you have for opensips2? Individual for each
> account at PBX1 or one account for all?
>
> BR
>
> Uwe
>
>
> Pacho Baratta [fabbricadigitale] schrieb:
>   
>> Unfortunately not, i have no authority on Opensips2.
>>
>> fabbricadigitale srl 
>> Pacho Baratta | Senior Systems Engineer 
>> Tecnhology Engineering
>> ----------------------------- 
>> Via A.Volta, 3 - 26041 – Casalmaggiore - CR
>> Phone +39 0375 284600
>> Fax +39 02 57760002
>> mailto:p.baratta at fabbricadigitale.it
>> www.fabbricadigitale.it 
>>
>> -----Original Message-----
>> From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Uwe Kastens
>> Sent: giovedì 22 ottobre 2009 09:11
>> To: OpenSIPS users mailling list
>> Subject: Re: [OpenSIPS-Users] opensips authentication
>>
>> Hi,
>>
>> Are you controlling all servers? If so, you can implement a trust based
>> on IP Adresses in your script.
>>
>> BR
>>
>> Uwe
>>
>>
>> Pacho Baratta [fabbricadigitale] schrieb:
>>     
>>> Hi all,
>>>
>>> i’d like to know how should I do to place a call to an Opensips
>>> requesting authentication.
>>>
>>> This is the environment:
>>>
>>> PBX1 à Opensips1 à Opensips2 à PBX2
>>>
>>>  
>>>
>>> A user from the PBX1 wants to place a call to a user on the PBX2.
>>>
>>> The Opensips1 tries to place the call but the Opensips2 is asking for
>>> authorization.
>>>
>>> What should I do?
>>>
>>> Thanks all, Pacho
>>>
>>>  
>>>
>>> fabbrica*digitale* srl 
>>>
>>> *Pacho Baratta | Senior Systems Engineer *
>>>
>>> Tecnhology Engineering
>>>
>>> ----------------------------- 
>>>
>>> Via A.Volta, 3 - 26041 – Casalmaggiore - CR
>>>
>>> Phone +39 0375 284600
>>>
>>> Fax +39 02 5776000--2
>>>
>>> _mailto:p.baratta at fabbricadigitale.it
>>> _www.fabbricadigitale.it <http://www.fabbricadigitale.it/>_ _
>>>
>>>  
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>       
>>     
>
>
>   




More information about the Users mailing list