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 paths:
M net/net_tcp.c

  Log Message:
  ---
  check if startup_done var is allocated before trying to set it


  Commit: 96ec5ee47a0c0963df5fb64272514f72793917e7
  
https://github.com/OpenSIPS/opensips/commit/96ec5ee47a0c0963df5fb64272514f72793917e7
  Author: ionutrazvanionita 
  Date:   2015-11-13 (Fri, 13 Nov 2015)

  Changed paths:
M ut.h

  Log Message:
  ---
  fix str2int and str2sint input params check

* if a void string was given to the function ("") 0 value was returned which 
was not correct
* input values should be checked for NULL


Compare: 
https://github.com/OpenSIPS/opensips/compare/25265214dd0b...96ec5ee47a0c___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[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 paths:
M ut.h

  Log Message:
  ---
  fix str2int and str2sint input params check

* if a void string was given to the function ("") 0 value was returned which 
was not correct
* input values should be checked for NULL


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[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 paths:
M net/net_tcp.c

  Log Message:
  ---
  check if startup_done var is allocated before trying to set it


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[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 paths:
M ut.h

  Log Message:
  ---
  fix str2int and str2sint input params check

* if a void string was given to the function ("") 0 value was returned which 
was not correct
* input values should be checked for NULL


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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/issues/694#issuecomment-156427898___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[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 paths:
M modules/avpops/README
M modules/avpops/avpops.c
M modules/avpops/doc/avpops_admin.xml

  Log Message:
  ---
  db in string or int pvar for avp_db_query()


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[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_rt, select.
main.c compiled on 00:00:43 Aug 29 2015 with gcc 4.4.7


When i trying to insert new body to some message in local_route by using 
add_body("$var(newbody)", "application/dialog-info+xml"), it inserts body 
itself, but doesn't insert content-type header


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/698___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel