=?utf-8?Q?Re:=C2=A0=C2=A0[SR-Users]=C2=A0How=C2=A0to=C2=A0proxy/authentic?= Re:  [SR-Users] How to proxy/authenticate on thiRe:  [SR-User s] How to proxy/a =?utf-8?Q?Re:  [SR-Users] How to proxy/authenticRe:=C2=A0=C2=A0[SR-U?= sers] How to proxy/authenticate on thiRe:  [SR-Users] How =?utf-8?Q?Re:  [SR-Users] How to proxy/authenticRe:  [SR-Users]?= =?utf-8?Q?=C2=A0How=C2=A0to=C2=A0proxy/authenticate=C2=A0on=C2=A0thiRe:?= =?utf-8?Q?=C2=A0=C2=A0[SR-Users]=C2=A0How=C2=A0to=C2=A0proxy/authenticate?= =?utf-8?Q?=C2=A0on=C2=A0third=C2=A0party=C2=A0sip=C2=A0server=3F?=

intel at intrans.baku.az intel at intrans.baku.az
Tue Jul 10 14:09:16 CEST 2012


intel at intrans.baku.az said:
>
> Daniel-Constantin Mierla said:
>>
>> On 7/10/12 11:50 AM, intel at intrans.baku.az wrote:
>>> Daniel-Constantin Mierla said:
>>>> Hello,
>>>>
>>>> On 7/6/12 7:59 PM, intel at intrans.baku.az wrote:
>>>>> Can anybody help me with configuration kamailio to authenticate call
>>>>> on
>>>>> 3rd party server?
>>>>>
>>>>> I want to authenticate(and proxy) call's on other server.
>>>>>
>>>>> for example, user A have account on my server(let it be
>>>>> A at myserver.com)
>>>>> and account on other server (let it be AA at hisserver.com)
>>>>> myserver.com keeps A's credentials for AA at hisserver.com
>>>>> when A is registered on myserver.com, he make call to B at othersip.com
>>>>> (using myserver.com as a proxy)
>>>>> Kamailio on myserver authenticate itself on hisserver as
>>>>> AA at hisserver.com,
>>>>> makes call to destination, and connect it to A.
>>>>>
>>>>> How can I setup kamailio for such behavior?
>>>>> Which module should I use?
>>>>> UAC seems can authenticate on another server, but I don't sure that
>>>>> it
>>>>> do
>>>>> what I want. (I've tried it, but without much success)
>>>> indeed, the uac module is the one that can provide what you want, with
>>>> some limitations in regard to cseq incrementation. You have to set a
>>>> failure route and if the reply code is 407, the sent the
>>>> realm/username
>>>> and password to the avps specified by the appropriate module
>>>> parameters
>>>> -- the next tree at:
>>>>
>>>>    *
>>>> http://kamailio.org/docs/modules/stable/modules_k/uac.html#auth-realm-avp-id
>>>>
>>>> Then call uac_auth() and relay again.
>>> You mean, i need set auth_*_avp with credentials. set failure route,
>>> send
>>> request to auth_proxy (btw, how? ) and call uac_auth() in failure
>>> route,
>>> correct?
>> t_relay() is one of the functions to sent the request further.
>
> I mean how set next hop not to final destination, but to auth_proxy?

rewritehostport("hisserver.com:port"); in config enough or need additional
modifications of request?





-- 




More information about the sr-users mailing list