[OpenSIPS-Devel] [OpenSIPS/opensips] c53b81: fix db/schmea Makefile bug V2
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c53b81dcf1818d3f8801261406e47d4a82a905a3 https://github.com/OpenSIPS/opensips/commit/c53b81dcf1818d3f8801261406e47d4a82a905a3 Author: ionutrazvanionita ionution...@opensips.org Date: 2015-07-03 (Fri, 03 Jul 2015) Changed paths: M db/schema/Makefile M scripts/mysql/call_center-create.sql Log Message: --- fix db/schmea Makefile bug V2 ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] Global db_connect_retries parameter (#472)
The same thing should be done for db_oracle (e.g. db_oracle/dbase.c + 213) and db_postgres (e.g. db_postgres/dbase.c +173). It should probably also be done for db_unixodbc (db_unixodbc/dbase.c +118). --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/472#issuecomment-118378390___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] dd8957: exposed get_domain_ucontacts; get_all_ucontacts no...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dd8957167c4001978befeeff93575a649298fedc https://github.com/OpenSIPS/opensips/commit/dd8957167c4001978befeeff93575a649298fedc Author: ionutrazvanionita ionution...@opensips.org Date: 2015-07-03 (Fri, 03 Jul 2015) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/dlist.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: --- exposed get_domain_ucontacts; get_all_ucontacts now calls get_domain_ucontacts Commit: f55095edc2230127e431981ef03e2d7cf3db6a10 https://github.com/OpenSIPS/opensips/commit/f55095edc2230127e431981ef03e2d7cf3db6a10 Author: ionutrazvanionita ionution...@opensips.org Date: 2015-07-03 (Fri, 03 Jul 2015) Changed paths: M modules/usrloc/hslot.c M modules/usrloc/hslot.h M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/urecord.c M modules/usrloc/urecord.h Log Message: --- added record and contact labels; currently no usage Compare: https://github.com/OpenSIPS/opensips/compare/a0ec25a4f52d...f55095edc223___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [opensips] Usrloc fails to fetch contacts (#566)
I am using nathelper with usrloc in DB_ONLY mode in opensips 2.1 . I am having 2 domains (tables): location and location2. Location2 contains one contact entry and location none. I have set nathelper to do a SIP ping, but when get_all_ucontacts function from usrloc i get segmentation fault since it frees a null result. ``` #0 0xb7785424 in __kernel_vsyscall () #1 0xb75c2607 in raise () from /lib/i386-linux-gnu/libc.so.6 #2 0xb75c5a33 in abort () from /lib/i386-linux-gnu/libc.so.6 #3 0x0811e041 in qm_free (qm=qm@entry=0xb7392008, p=p@entry=0xb73cb480, file=file@entry=0x81e074b db/db_res.c, func=func@entry=0x81e077c __FUNCTION__.7909 db_free_result, line=line@entry=116) at mem/q_malloc.c:450 #4 0x08175bee in db_free_result (_r=_r@entry=0xb73cb480) at db/db_res.c:116 #5 0xb72b29e9 in db_mysql_free_result (_h=0xb73c67e4, _r=0xb73cb480) at dbase.c:921 #6 0xb6ea48c5 in get_all_db_ucontacts (part_max=optimized out, part_idx=optimized out, flags=optimized out, len=-4, buf=0x0) at dlist.c:323 #7 get_all_ucontacts (buf=0x0, len=0, flags=0, part_idx=0, part_max=1) at dlist.c:504 #8 0xb6e852d4 in nh_timer (ticks=1, timer_idx=0x0) at nathelper.c:1272 #9 0x080f2817 in handle_timer_job () at timer.c:565 #10 0x0819f915 in handle_io (idx=optimized out, event_type=optimized out, fm=optimized out) at net/net_udp.c:264 #11 io_wait_loop_epoll (h=optimized out, t=optimized out, repeat=optimized out) at net/../io_wait_loop.h:190 #12 udp_rcv_loop (si=si@entry=0xb73c6cb8) at net/net_udp.c:307 #13 0x081a1e3d in udp_start_processes (chd_rank=chd_rank@entry=0x82299a4 chd_rank, startup_done=startup_done@entry=0x0) at net/net_udp.c:447 #14 0x0805da18 in main_loop () at main.c:722 #15 main (argc=5, argv=0xbfca4574) at main.c:1253 ``` ``` #6 0xb6ea48c5 in get_all_db_ucontacts (part_max=optimized out, part_idx=optimized out, flags=optimized out, len=-4, buf=0x0) at dlist.c:323 323 ul_dbf.free_result(ul_dbh, res); ``` More than this, if this bug is fixed, mysql returs the following error ``` Jul 3 10:45:09 [5949] INFO:db_mysql:switch_state_to_disconnected: disconnect event for 0xb738a360 Jul 3 10:45:09 [5949] INFO:db_mysql:reset_all_statements: reseting all statements on connection: (0xb73857e4) 0xb738a360 Jul 3 10:45:09 [5949] INFO:db_mysql:connect_with_retry: re-connected successful for 0xb738a360 ``` --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/566___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 5a018a: fixed db/schema Makefile bug; regenerated files th...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5a018a089f198efcbb47f596eed51f568361a179 https://github.com/OpenSIPS/opensips/commit/5a018a089f198efcbb47f596eed51f568361a179 Author: ionutrazvanionita ionution...@opensips.org Date: 2015-07-03 (Fri, 03 Jul 2015) Changed paths: A scripts/mysql/emergency-create.sql Log Message: --- fixed db/schema Makefile bug; regenerated files that were affected by this bug ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel