[SR-Users] uac_auth()

Alex Balashov abalashov at evaristesys.com
Wed Jun 16 22:23:28 CEST 2010


On 06/16/2010 04:56 AM, Daniel-Constantin Mierla wrote:

> do you get any error message? The only case when is printed a dbg
> message is when no credentials for the realm in challenge are found.
> Test to see if uac_auth() returns false or true.

There was a realm mismatch;  I corrected this and Proxy-Authorization 
header is now being added.  Thanks.

> CSeq is not incremented is a know limitation:
> http://kamailio.org/docs/modules/stable/modules_k/uac.html#id2899892
>
> Tracking CSeq will require getting into b2bua-like since there can be
> many auth requests.

Doesn't this limitation make uac_auth() essentially useless, though? 
If the CSeq of the second INVITE is the same as the first, it will be 
dampened as a retransmission, which is happening with all 3 provider 
gateways (I suspect) that I have tested this with.  They work fine if 
some other UAC like Asterisk increments CSeq as normal when answering 
proxy challenges.

Any suggestions for what to do?

-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list