2010/10/16 Rouskol Andrey <anry-dev(a)yandex.ru>ru>:
if($hu=~"^/xcap-root/")
{
# xcap ops
$xcapuri(u=>data) = $hu;
if($xcapuri(u=>xuid)=~"^sip:.+@.+")
$var(uri) = $xcapuri(u=>xuid);
else if($xcapuri(u=>xuid)=~".+@.+")
$var(uri) = "sip:"+ $xcapuri(u=>xuid);
else
$var(uri) = "sip:"+ $xcapuri(u=>xuid) + "@"
+ $Ri;
Doesn't the module automatically parse the URL's auid, xui, document,
document path and so?
--
Iñaki Baz Castillo
<ibc(a)aliax.net>