[SR-Users] About xcap xuid in kamailio

Min Wang ser.basis at gmail.com
Tue Jun 12 11:28:58 CEST 2012


Hi
     I am trying to use kamailio xcap server, saw the sample code:


      if($xcapuri(u=>xuid)=~"^sip:.+ at .+")
             $var(uri) = $xcapuri(u=>xuid);
         else
             $var(uri) = "sip:"+ $xcapuri(u=>xuid) + "@" + $Ri;


     why should the xuid  have sip:xx at domain.com format?

     The xcap standard seems does not enforce the format on the xui part?

    http://xcap.example.com/root/resource-lists/users/joe
    |-------------v-------------||------v------||---v---|
           document root               AUID        XUI




thanks.


min



More information about the sr-users mailing list