Re: [SR-Users] Kamailio as a UAC

2010-05-18 Thread Ricardo Martinez
I'm using the exact same script.. I even have a log line in the uac_auth(). So is catching the 401. But Kamailio is not sending the new INVITE with the credentials.. What else I'm missing...?? I also have defined : modparam("uac","credential","username:domain:password") modparam("uac","auth_realm

Re: [SR-Users] Kamailio as a UAC

2010-05-17 Thread Alex Balashov
On 05/17/2010 06:30 PM, Ricardo Martinez wrote: I'm sending the INVITE to the asterisk box.. the asterisk responds a "SIP/2.0 401 Unauthorized." From where do I get the user/pass to authenticate the user? In your initial request route, arm a failure route and catch the 401 challenge: ro

Re: [SR-Users] Kamailio as a UAC

2010-05-17 Thread Ricardo Martinez
ara: sr-users@lists.sip-router.org Asunto: Re: [SR-Users] Kamailio as a UAC On 05/17/2010 04:10 PM, Ricardo Martinez wrote: > Is possible use some module in kamailio to authenticate against a > Asterisk Box for example?. What I need is to have a Sip Client > Registered in Kamailio, but when

Re: [SR-Users] Kamailio as a UAC

2010-05-17 Thread Alex Balashov
On 05/17/2010 04:10 PM, Ricardo Martinez wrote: Is possible use some module in kamailio to authenticate against a Asterisk Box for example?. What I need is to have a Sip Client Registered in Kamailio, but when this client is called I need to send the call to Asterisk which will ask for authentic