<div dir="rtl"><div dir="ltr" style>When stating "stable" and "bug-free" - my intention was relativly to that feature in kamailio because it seems that it is still under development. Moreover - certainly if i will find any problem while testing i would submit a bug-report and bug-fixes if possible.</div>
<div dir="ltr" style><br></div><div dir="ltr" style>and by the way, I found another problem when implementing the first method: when calling unregister("location","websocket=>$si:$sp)" from the event_route[websocket:closed] i get the following error: </div>
<div dir="ltr" style><b>[parser/parse_to.c:879] : failed to parse To uri</b></div><div dir="ltr" style>why it happens and how can i fix it ? (i think it is related to the fact we call unregister from the event_route, but i'm not sure)</div>
<div dir="ltr" style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/5/3 Peter Dunkley <span dir="ltr"><<a href="mailto:peter.dunkley@crocodile-rcs.com" target="_blank">peter.dunkley@crocodile-rcs.com</a>></span></div>
<blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div class="im">
<br>
<div>On 03/05/13 14:48, אורן אברהם wrote:<br>
</div>
<blockquote type="cite">
<div dir="rtl">
<div dir="ltr">I've tried to implement the first method
you've stated. it seems ok but i've found a more fundamental
problem:</div>
<div dir="ltr">The event_route[websocket:closed] is
called only when i teminate the sip stack in my browser, but
if i close the browser, without a "regular disconnect" then
the w<u>ebsocket:closed event is not triggered</u>. (and this
is my main target for the question) </div>
<div dir="ltr"><b>how can i make it trigger ?</b></div>
<div dir="ltr"><br>
</div>
</div>
</blockquote></div>
The websocket:closed event will be triggered when Kamailio next
tries to send a WebSocket ping. Whether Kamailio does this at all
(and how frequently it does it) depends entirely on how you've
configured the WebSocket module.<div class="im"><br>
<br>
<blockquote type="cite">
<div dir="rtl">
<div dir="ltr">p.s: about the outbound,path method, <b>is
it a stable feature and bug-free ?</b> I see the default
configuration is still using the nathelper hack instead of
it. </div>
<div dir="ltr"><br>
</div>
</div>
</blockquote></div>
I am using outbound in my deployments now. It is only available in
Kamailio Git master. If stable and bug-free is an absolute
requirement that you have then I strongly suggest you consider not
using any SIP over WebSocket implementation that exists anywhere.
This is brand-new technology and you are on the bleeding edge by
using it. I would rate the stability of the Kamailio implementation
against anything else you can find and I have no stability issues
with it - but I strongly recommend you testing it thoroughly
yourself and contributing bug-reports and fixes.<br>
<br>
Regards,<br>
<br>
Peter<br>
<br>
</div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>