the conditions in the example of previous email were negated, so they should be:
if($hu=~"^/webrtc") {
# handle webrtc
}
if($hu=~"^/xcap-root") {
# handle xcap
}
Cheers,
Daniel
On 8/1/13 10:54 AM, Daniel-Constantin Mierla wrote:
Hello,
one way is to use different base uri for each service and decide based on it, for example:
if(! ($hu=~"^/webrtc")) {
# handle webrtc
}
if(! ($hu=~"^/xcap-root")) {
# handle xcap
}
Cheers,
Daniel
On 8/1/13 9:46 AM, Rupayan Dutta wrote:
Dear Sir,I have kamailio 4.0.2 installed with the websockets module and it is working fine.Now I want to enable presence with XCAP.How can I do that.I have gone through the steps defined in http://kb.asipto.com/kamailio:presence:k31-made-simple. But I am little bit confused because both websocket and XCAP route configuration is using event_route[xhttp:request].
Pls help to modify kamailio.cfg file
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users