Re: [OpenSIPS-Devel] [opensips] add_body() doesn't insert content-type (#698)

2015-11-13 Thread Artem Chalkov
yes, before add_body() i do some work with variables and also call strip_body(). I didn't check this function with INVITE, but my use-case is about transform xml body of PUBLISH request, generated locally by opensips itself to publish some information for presence. --- Reply to this email dir

Re: [OpenSIPS-Devel] [opensips] add_body() doesn't insert content-type (#698)

2015-11-13 Thread Ionut Ionita
I did as you specified, but it works ok for me. The message looks like this ``` U 2015/11/13 18:28:35.341090 192.168.2.6:5060 -> 192.168.2.6:5080 INVITE sip:192.168.2.6:5080 SIP/2.0. Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bK3e49.df36162.0. To: sipp . From: opensips ;tag=f27851d028408c385ef0

Re: [OpenSIPS-Devel] [opensips] crash if initial db connection is failing (#683)

2015-11-13 Thread Ionut Ionita
fixed with https://github.com/OpenSIPS/opensips/commit/c4ebfc87fea74bcb3ab7b544e02fd5f68edf6e54 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/683#issuecomment-156463414___ Devel mailing list Devel@lis

Re: [OpenSIPS-Devel] [opensips] crash if initial db connection is failing (#683)

2015-11-13 Thread Ionut Ionita
Closed #683. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/683#event-463703046___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] 0f8223: check if startup_done var is allocated before tryi...

2015-11-13 Thread ionutrazvanionita
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 0f82238f46445feb9b3a4950eb4a2069e5fdcdd3 https://github.com/OpenSIPS/opensips/commit/0f82238f46445feb9b3a4950eb4a2069e5fdcdd3 Author: ionutrazvanionita Date: 2015-11-13 (Fri, 13 Nov 2015) Changed path

[OpenSIPS-Devel] [OpenSIPS/opensips] 469e2b: fix str2int and str2sint input params check

2015-11-13 Thread ionutrazvanionita
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 469e2bf781b11e8607421765b8a2b490829097da https://github.com/OpenSIPS/opensips/commit/469e2bf781b11e8607421765b8a2b490829097da Author: ionutrazvanionita Date: 2015-11-13 (Fri, 13 Nov 2015) Changed pat

[OpenSIPS-Devel] [OpenSIPS/opensips] c4ebfc: check if startup_done var is allocated before tryi...

2015-11-13 Thread ionutrazvanionita
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c4ebfc87fea74bcb3ab7b544e02fd5f68edf6e54 https://github.com/OpenSIPS/opensips/commit/c4ebfc87fea74bcb3ab7b544e02fd5f68edf6e54 Author: ionutrazvanionita Date: 2015-11-13 (Fri, 13 Nov 2015) Changed p

[OpenSIPS-Devel] [OpenSIPS/opensips] 4fdb55: fix str2int and str2sint input params check

2015-11-13 Thread ionutrazvanionita
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4fdb55bfab9b7cfcc3dfbf15093e2becafe7ec4b https://github.com/OpenSIPS/opensips/commit/4fdb55bfab9b7cfcc3dfbf15093e2becafe7ec4b Author: ionutrazvanionita Date: 2015-11-13 (Fri, 13 Nov 2015) Changed p

Re: [OpenSIPS-Devel] [opensips] Add ability to provide db_id to avp_db_query() as either $var or $avp (#694)

2015-11-13 Thread Ionut Ionita
That's why i asked, because i didn't know how you will use it. Anyhow, i made it work both use. Please check if everything is ok https://github.com/OpenSIPS/opensips/commit/8a512731df99621025744aaa25b17931759b91d4 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS

[OpenSIPS-Devel] [OpenSIPS/opensips] 8a5127: db in string or int pvar for avp_db_query()

2015-11-13 Thread ionutrazvanionita
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8a512731df99621025744aaa25b17931759b91d4 https://github.com/OpenSIPS/opensips/commit/8a512731df99621025744aaa25b17931759b91d4 Author: ionutrazvanionita Date: 2015-11-13 (Fri, 13 Nov 2015) Changed p

[OpenSIPS-Devel] [opensips] add_body() doesn't insert content-type (#698)

2015-11-13 Thread Artem Chalkov
version: opensips 2.1.1 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll_lt, epoll_et, sigio_r