Re: [OpenSIPS-Users] appending a ws branch

2015-11-09 Thread Răzvan Crainea
Hi, Tito! So basically you need two branches, one should go over WS and one over TCP or UDP? You can use the append_branch() function[1] to do that. Note that you will need a WS listener that also has WS client support, and that's only available in OpenSIPS 2.2. [1] http://www.opensips.org/Do

[OpenSIPS-Users] appending a ws branch

2015-11-04 Thread Tito Cumpen
group, I am attempting to append a branch that will route to another opensips server that listens for websockets. Is this possible in opensips 2.1.1? Here is how I am attempting to append the branch. avp_subst("$avp(myloc[$var(i)])", "/(.+)/\sip:\0:8080;transport=WS/"); avp_pushto("$du","$avp