Re: [SR-Users] Websocket transport and forward()

2013-07-01 Thread Andreas Granig
Hi Peter, On 07/01/2013 12:38 PM, Peter Dunkley wrote: The "case PROTO_WS:" should go within the "#ifdef USE_TCP" conditional and the "case PROTO_WSS:" should go within the "#ifdef USE_TLS" conditional. I'll clean it up and commit to master. Thanks for confirmation, Andreas _

Re: [SR-Users] Websocket transport and forward()

2013-07-01 Thread Peter Dunkley
Hi, The "case PROTO_WS:" should go within the "#ifdef USE_TCP" conditional and the "case PROTO_WSS:" should go within the "#ifdef USE_TLS" conditional. Regards, Peter On 27 June 2013 13:03, Andreas Granig wrote: > Hi, > > > On 06/27/2013 12:54 PM, Andreas Granig wrote: > >> $du = $null; >> $

Re: [SR-Users] Websocket transport and forward()

2013-07-01 Thread Daniel-Constantin Mierla
Hello, I guess many people were traveling last week (e.g., Peter was at WebRTC conference in US), thus rather no interaction on this topic. Anyhow, patch looks ok from my point of view, you can commit, Peter can review later as well if needed. Cheers, Danile On 7/1/13 10:15 AM, Andreas Gra

Re: [SR-Users] Websocket transport and forward()

2013-07-01 Thread Andreas Granig
Hi, Any feedback on that? Looks like the patch below does its job, can someone please confirm this is fine and actually as expected? Andreas On 06/27/2013 02:03 PM, Andreas Granig wrote: Hi, On 06/27/2013 12:54 PM, Andreas Granig wrote: $du = $null; $fs = $null; forward(); What I get is t

Re: [SR-Users] Websocket transport and forward()

2013-06-27 Thread Andreas Granig
Hi, On 06/27/2013 12:54 PM, Andreas Granig wrote: $du = $null; $fs = $null; forward(); What I get is this error message: Jun 27 12:30:53 spce lb[12104]: ERROR: [action.c:437]: do_action(): ERROR: do action: forward: bad uri transport 5 Is there anything special I need to do? Does forward() m

[SR-Users] Websocket transport and forward()

2013-06-27 Thread Andreas Granig
Hi guys, Maybe I'm missing something, but when I have a stateless lb with websockets enabled, and I don't have mhomed set (meaning that I need to set $fs manually), how would I set $du and $fs correctly, if $ru is for example this: sip:bo87fffs@h7h3rerhg50k.invalid;transport=ws I tr