Re: [SR-Users] xhttp module and IPv6

2015-02-20 Thread Daniel-Constantin Mierla
Do you have event route for local replies generated via sl module? The error log messages seems to come from a situation like that. If yes, then perhaps is good to restrict the event route to sip replies only, because the sip parser for http replies is not compatible always. Otherwise, the webso

Re: [SR-Users] xhttp module and IPv6

2015-02-20 Thread Sergey Okhapkin
Here is web browser's log: Request URL:ws://sip1.callwithus.com:5060/ Request Method:GET Status Code:101 Switching Protocols Request Headers Accept-Encoding:gzip, deflate, sdch Accept-Language:en-US,en;q=0.8 Cache-Control:no-cache Connection:Upgrade Host:sip1.callwithus.com:5060 Origin:http://www

Re: [SR-Users] xhttp module and IPv6

2015-02-20 Thread Sergey Okhapkin
Works but something is still wrong: Feb 20 15:19:32 east /usr/local/sbin/kamailio[31935]: INFO:

Re: [SR-Users] xhttp module and IPv6

2015-02-20 Thread Daniel-Constantin Mierla
Can you try with the small patch from the commit? https://github.com/kamailio/kamailio/commit/5c1a9df4fc8bd72f44066bcef13f381f01cd9d07 If ok, I will backport. Cheers, Daniel On 20/02/15 20:30, Sergey Okhapkin wrote: > > It looks like when http request comes from ipv6 address, the module > inse

[SR-Users] xhttp module and IPv6

2015-02-20 Thread Sergey Okhapkin
It looks like when http request comes from ipv6 address, the module inserts Via header without [] around the address: Feb 20 14:26:17 east /usr/local/sbin/kamailio[30965]: ERROR: [parser/parse_via.c:2193]: parse_via(): ERROR:parse_via: bad port Feb 20 14:26:17 east /usr/local/sbin/kamailio[3096