Hello,

On 7/6/12 7:59 PM, in...@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...@myserver.com)
and account on other server (let it be a...@hisserver.com)
myserver.com keeps A's credentials for a...@hisserver.com
when A is registered on myserver.com, he make call to b...@othersip.com
(using myserver.com as a proxy)
Kamailio on myserver authenticate itself on hisserver as a...@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.

Cheers,
Daniel


--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - 
http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - 
http://asipto.com/u/kpw


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to