[SR-Users] XCAP configuration

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 1 10:55:54 CEST 2013


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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130801/809dffa3/attachment-0001.html>


More information about the sr-users mailing list