[SR-Users] new module: gzcompress

2013-09-23 Thread Daniel-Constantin Mierla
Hello, following the Kristian's email and blog about Apple Facetime using compressions of the body (http://lists.sip-router.org/pipermail/sr-users/2013-September/079816.html), I did a quick coding Friday evening and put together a new module that uses zlib to compress/decompress the body for

Re: [SR-Users] new module: gzcompress

2013-09-23 Thread Kristian Kielhofner
Hi Daniel, Thanks again for developing this functionality! As I mentioned in my first mailing list post I'd like to see more support for this in the open source community. I've written an update describing the status of various implementations: http://blog.krisk.org/2013/09/learning-stupid-na

Re: [SR-Users] [sr-dev] new module: gzcompress

2013-09-23 Thread Alex Balashov
To note, though, Kamailio has no problem dealing with fragmented UDP. It becomes a problem when sending UDP that gets fragmented to a UA that can't reassemble it, or when sending to Kamailio through a NAT gateway that can't properly reassemble it. -- Alex Daniel-Constantin Mierla wrote: Hel

Re: [SR-Users] [sr-dev] new module: gzcompress

2013-09-23 Thread Kristian Kielhofner
It's not Kamailio (or any of these other projects) that I'm concerned about. As I've noted I'm most concerned about "in the middle" devices like NATs, firewalls, etc. Important clarification though, thanks! On Mon, Sep 23, 2013 at 11:25 AM, Alex Balashov wrote: > To note, though, Kamailio has n

[SR-Users] Problem with to: header

2013-09-23 Thread julian arsanches
Can someone advise me on how to change the to header to show the host that we are sending the call to an not the servers ip. I am using dispatcher on my setup . i am getting this U 2013/09/23 12:57:54.576312 10.0.1.206:5060 -> 2.2.2.2:5060 INVITE sip:+4212235@2.2.2.2:5060 SIP/2.0. Record-Ro

Re: [SR-Users] Problem with to: header

2013-09-23 Thread Daniel-Constantin Mierla
Hello, look at the uac module for uac_replace_from() and uac_replace_to() functions. Btw, rfc3261 mandates a tag parameter for From header, which is missing on the INVITE you pasted here, so it is rather broken and many UA may reject it. Cheersm Daniel On 9/23/13 7:09 PM, julian arsanches

Re: [SR-Users] [sr-dev] new module: gzcompress

2013-09-23 Thread Daniel-Constantin Mierla
Short notes to let everyone know about some updates to the module - I just pushed few patches that enables compression/decompression for http traffic as well, so it can be used for xcap. Also, I changed the default value of Content-Encoding header value from gzip (which I saw in rfc 3261) to d

Re: [SR-Users] unsubscribe

2013-09-23 Thread Daniel-Constantin Mierla
Hello, if you are looking to unsubscribe from mailing list, then go to the web page: - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users and use the last field in the form down the file - enter your email and wait for a message that is received via email as well that requires you

[SR-Users] unsubscribe

2013-09-23 Thread Andres Paglayan
smime.p7s Description: S/MIME Cryptographic Signature ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] unregister user when kamailio looses TCP connection.

2013-09-23 Thread Andreas Granig
Hi, On 09/13/2013 11:27 AM, Daniel-Constantin Mierla wrote: thanks, patch was commited and pushed to remote repository. The patch only handles the case where a tcp connection is directly made to the registrar, as no event route is fired, right? Andreas _

Re: [SR-Users] unregister user when kamailio looses TCP connection.

2013-09-23 Thread Vitaliy Aleksandrov
On 09/23/2013 11:23 PM, Andreas Granig wrote: Hi, On 09/13/2013 11:27 AM, Daniel-Constantin Mierla wrote: thanks, patch was commited and pushed to remote repository. The patch only handles the case where a tcp connection is directly made to the registrar, as no event route is fired, right? Y

Re: [SR-Users] [sr-dev] new module: gzcompress

2013-09-23 Thread James Cloos
> "DM" == Daniel-Constantin Mierla writes: DM> Also, I changed the default value of Content-Encoding header value DM> from gzip (which I saw in rfc 3261) to deflate, which is used by DM> FaceTime, but more important works with Firefox out of the box. Thus I DM> assumed is the right value and