[SR-Users] Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

Rouskol Andrey anry-dev at yandex.ru
Tue Oct 5 14:50:16 CEST 2010


Daniel,

I've got your idea - sip communicator can not send user at domain when doing xcap requests. I've tested xcap with curl utility and my fault was to take it's behaviour as normal.

Regards,
Andrey.

05.10.10, 11:46, "Daniel-Constantin Mierla" <miconda at gmail.com>:

>   Hello,
>  
>  On 10/4/10 3:37 PM, Rouskol Andrey wrote:
>  > Daniel,
>  >
>  > 02.10.10, 12:37, "Daniel-Constantin Mierla":
>  >>   But here is like this because your client uses user at domain in username
>  >>   field for authentication, right?
>  > This is because www_authorize("xcap", "subscriber") requires me to use user at domain
>  > for authentication. I can not pass through it without domain. And I suppose that it becase of this:
>  > modparam("auth_db", "use_domain", MULTIDOMAIN).
>  the multidomain is for database query in order to do select based on 
>  domain field, otherwise is ignored.
>  
>  What sip phone do you use?
>  
>  Cheers,
>  Daniel
>  
>  >>
>  >>   However, in many cases, even in multi-domain environment, people still
>  >>   use only user part in username field and the domain is taken from R-URI
>  >>   or headers like From/To.
>  >>
>  >>   To make this complete for multi-domain, I think there must be a
>  >>   condition to check for domain in $aU and if missing, try to get it from
>  >>   other parts, right?
>  >>
>  > Daniel, you are the guru, not me. It was just an idea.
>  >
>  > Regards,
>  > Andrey.
>  >
>  > _______________________________________________
>  > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>  > sr-users at lists.sip-router.org
>  > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>  
>  



More information about the sr-users mailing list