On 10/19/10 10:58 AM, IƱaki Baz Castillo wrote:
2010/10/19 Daniel-Constantin Mierlamiconda@gmail.com:
The fact is that http uri does not contain domain part usually,
It should, at least if such devices want to "interoperate" (a word that doesn't exist in XCAP) with today's XCAP specifications.
it is just document/resource reference part. I have seen services asking the users to add the domain as mandatory to xcap uri. It is a reason why the xcap document path can be given as parameter, not taken implicit, so the admin can transform the one received to a normalized one
What do you mean with "document path given as parameter"? Could you show an example of what you mean please?
http://kamailio.org/docs/modules/stable/modules_k/xcap_server.html#id2751589
Second parameter can be any pseudo-variable. So instead of using the HTTP uri, you can overwrite it with new values. Otherwise, if you don't need to change it, you can give $hu, which is the HTTP uri.
Cheers, Daniel