Re: [OpenSIPS-Devel] [opensips] modules/db_sqlite: error loading drouting (#471)

2015-04-20 Thread Jarrod Baumann
So digging into it more, I guess print is just looking for a terminating 
character \0, but still what is passed to sqlite3 for its call to openDatabase 
includes an extra byte on the end and that's whats causing the problem:

119274  in sqlite3.c
(gdb) s 
openDatabase (zFilename=0x7fffeecf30b8 /var/db/opensips\b, 
ppDb=ppDb@entry=0x7fffe040, flags=flags@entry=6, zVfs=zVfs@entry=0x0) at 
sqlite3.c:121423


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


[OpenSIPS-Devel] [OpenSIPS/opensips] eed27b: db_mysql: properly set TCP-related timeouts

2015-04-20 Thread Liviu Chircu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: eed27b124b04ba9322a64bc6d97d01d7224c164b
  
https://github.com/OpenSIPS/opensips/commit/eed27b124b04ba9322a64bc6d97d01d7224c164b
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/db_mysql/my_con.c

  Log Message:
  ---
  db_mysql: properly set TCP-related timeouts

According to official documentation,  mysql_options() must be used _after_
mysql_init()

(cherry picked from commit 1f154c01fc3d064f1cf4f9c333775d857afb6528)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] a6fa18: db_mysql: properly set TCP-related timeouts

2015-04-20 Thread Liviu Chircu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a6fa18213c811dd8749455f39b69e54b0425ec4a
  
https://github.com/OpenSIPS/opensips/commit/a6fa18213c811dd8749455f39b69e54b0425ec4a
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/db_mysql/my_con.c

  Log Message:
  ---
  db_mysql: properly set TCP-related timeouts

According to official documentation,  mysql_options() must be used _after_
mysql_init()

(cherry picked from commit 1f154c01fc3d064f1cf4f9c333775d857afb6528)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 358e99: db_mysql: properly set TCP-related timeouts

2015-04-20 Thread Liviu Chircu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 358e99d9b94a07ab56d7cc78391f8fc81f3eebe8
  
https://github.com/OpenSIPS/opensips/commit/358e99d9b94a07ab56d7cc78391f8fc81f3eebe8
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/db_mysql/my_con.c

  Log Message:
  ---
  db_mysql: properly set TCP-related timeouts

According to official documentation,  mysql_options() must be used _after_
mysql_init()

(cherry picked from commit 1f154c01fc3d064f1cf4f9c333775d857afb6528)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] ba5a0b: db_mysql: properly set TCP-related timeouts

2015-04-20 Thread Liviu Chircu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ba5a0be5d549236f943cc928a94753f6fcd0be03
  
https://github.com/OpenSIPS/opensips/commit/ba5a0be5d549236f943cc928a94753f6fcd0be03
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/db_mysql/my_con.c

  Log Message:
  ---
  db_mysql: properly set TCP-related timeouts

According to official documentation,  mysql_options() must be used _after_
mysql_init()

(cherry picked from commit 1f154c01fc3d064f1cf4f9c333775d857afb6528)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 1f154c: db_mysql: properly set TCP-related timeouts

2015-04-20 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1f154c01fc3d064f1cf4f9c333775d857afb6528
  
https://github.com/OpenSIPS/opensips/commit/1f154c01fc3d064f1cf4f9c333775d857afb6528
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/db_mysql/my_con.c

  Log Message:
  ---
  db_mysql: properly set TCP-related timeouts

According to official documentation,  mysql_options() must be used _after_
mysql_init()


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 0f34ec: Merge pull request #442 from rgagnon24/redirect_fi...

2015-04-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0f34ecf9451e4e80690b0c2a605d33ad595767d7
  
https://github.com/OpenSIPS/opensips/commit/0f34ecf9451e4e80690b0c2a605d33ad595767d7
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/uac_redirect/README
M modules/uac_redirect/doc/uac_redirect.xml
M modules/uac_redirect/doc/uac_redirect_admin.xml
M modules/uac_redirect/rd_funcs.c
M modules/uac_redirect/rd_funcs.h
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Merge pull request #442 from rgagnon24/redirect_fix

Fix get_redirects(max, reason)
(cherry picked from commit ead10331a2f5b024f885f1f69e160c78c9d8eb7b)


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


Re: [OpenSIPS-Devel] [opensips] dialog: Update dlg lifetime whe re-evaluating the AVP after the callback... (#431)

2015-04-20 Thread Bogdan Andrei IANCU
Merged #431.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] c26a4a: rtpproxy: properly parse rtpproxy timeout notifica...

2015-04-20 Thread Razvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c26a4a34fcf790741918224ce9557eb4d1f51edf
  
https://github.com/OpenSIPS/opensips/commit/c26a4a34fcf790741918224ce9557eb4d1f51edf
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/rtpproxy/timeout_process.c

  Log Message:
  ---
  rtpproxy: properly parse rtpproxy timeout notifications


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


Re: [OpenSIPS-Devel] [opensips] dialog: Update dlg lifetime whe re-evaluating the AVP after the callback... (#431)

2015-04-20 Thread Bogdan Andrei IANCU
Starting with 1.11, there is a different approach on updating the lifetime - 
the modules do access directly the dlg-lifetime to it (the AVP lifetime was 
dropped):
  - modules (for internal stuff) use the dlg-lifetime
  - script uses the dedicated script variable for lifetime.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] ed8c21: Merge pull request #442 from rgagnon24/redirect_fi...

2015-04-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ed8c21c450ad6ad3bfbcbb9064b016389a7d6a83
  
https://github.com/OpenSIPS/opensips/commit/ed8c21c450ad6ad3bfbcbb9064b016389a7d6a83
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/uac_redirect/README
M modules/uac_redirect/doc/uac_redirect.xml
M modules/uac_redirect/doc/uac_redirect_admin.xml
M modules/uac_redirect/rd_funcs.c
M modules/uac_redirect/rd_funcs.h
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Merge pull request #442 from rgagnon24/redirect_fix

Fix get_redirects(max, reason)
(cherry picked from commit ead10331a2f5b024f885f1f69e160c78c9d8eb7b)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 55e9dc: dialog: Update dlg lifetime whe re-evaluating the ...

2015-04-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 55e9dca8871ffc0a5c63bd5b4f7a8c01bf1d6758
  
https://github.com/OpenSIPS/opensips/commit/55e9dca8871ffc0a5c63bd5b4f7a8c01bf1d6758
  Author: Damien Sandras dsand...@seconix.com
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
M modules/dialog/dlg_handlers.c

  Log Message:
  ---
  dialog: Update dlg lifetime whe re-evaluating the AVP after the callbacks.

The SST module callbacks might change the dialog lifetime.


  Commit: 2cf99baad363c0c5ba3aa9966214a63fb5fb195a
  
https://github.com/OpenSIPS/opensips/commit/2cf99baad363c0c5ba3aa9966214a63fb5fb195a
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/dialog/dlg_handlers.c

  Log Message:
  ---
  Merge pull request #431 from dsandras/ds-fix-sst-avp

dialog: Update dlg lifetime whe re-evaluating the AVP after the callback...


Compare: 
https://github.com/OpenSIPS/opensips/compare/b800d7434660...2cf99baad363___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] fea655: Merge pull request #431 from dsandras/ds-fix-sst-a...

2015-04-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fea655a5821d786928ea4aa87af2996a93a5c55b
  
https://github.com/OpenSIPS/opensips/commit/fea655a5821d786928ea4aa87af2996a93a5c55b
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/dialog/dlg_handlers.c

  Log Message:
  ---
  Merge pull request #431 from dsandras/ds-fix-sst-avp

dialog: Update dlg lifetime whe re-evaluating the AVP after the callback...
(cherry picked from commit 2cf99baad363c0c5ba3aa9966214a63fb5fb195a)


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


Re: [OpenSIPS-Devel] [opensips] Message format error for rtpproxy timeout notification (#469)

2015-04-20 Thread Răzvan Crainea
Hamid, I just committed master@c26a4a34fcf790741918224ce9557eb4d1f51edf. Can 
you checkout the master branch and give it a test?

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


Re: [OpenSIPS-Devel] [opensips] Fix get_redirects(max, reason) (#442)

2015-04-20 Thread Bogdan Andrei IANCU
@rgagnon24 , thank you for your patch - indeed, a good catch !!!

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 2567b6: Fix get_redirects(max, reason) so that reason is p...

2015-04-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2567b6377e78a0b209f5ea86baf9deb6a253cfe6
  
https://github.com/OpenSIPS/opensips/commit/2567b6377e78a0b209f5ea86baf9deb6a253cfe6
  Author: rgagnon24 rgagno...@gmail.com
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
M modules/uac_redirect/README
M modules/uac_redirect/doc/uac_redirect_admin.xml
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Fix get_redirects(max, reason) so that reason is properly transferred to the 
acc module function


  Commit: ddbe64bbded514c8a268d6139304eedb915c0f8a
  
https://github.com/OpenSIPS/opensips/commit/ddbe64bbded514c8a268d6139304eedb915c0f8a
  Author: rgagnon24 rgagno...@gmail.com
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
M modules/uac_redirect/README
M modules/uac_redirect/doc/uac_redirect.xml

  Log Message:
  ---
  Add editor, fix email tags


  Commit: a25753af3f87b67e77739d211932f1de75439911
  
https://github.com/OpenSIPS/opensips/commit/a25753af3f87b67e77739d211932f1de75439911
  Author: rgagnon24 rgagno...@gmail.com
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
M modules/uac_redirect/rd_funcs.c
M modules/uac_redirect/rd_funcs.h
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Fix function prototypes and casts


  Commit: f842752943e8799b5c3b8855cfd4d3429cd10be0
  
https://github.com/OpenSIPS/opensips/commit/f842752943e8799b5c3b8855cfd4d3429cd10be0
  Author: rgagnon24 rgagno...@gmail.com
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
M modules/uac_redirect/rd_funcs.c

  Log Message:
  ---
  Remove whitespace change


  Commit: 832295c88cd796394fe5762de4c7c8fa4467a0a8
  
https://github.com/OpenSIPS/opensips/commit/832295c88cd796394fe5762de4c7c8fa4467a0a8
  Author: rgagnon24 rgagno...@gmail.com
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Name prototype variables the same as function usage


  Commit: 53a1700842ce83203951af3bf6212eae69be6cc3
  
https://github.com/OpenSIPS/opensips/commit/53a1700842ce83203951af3bf6212eae69be6cc3
  Author: rgagnon24 rgagno...@gmail.com
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Maintain n/a string if none supplied for backward compatibility


  Commit: ead10331a2f5b024f885f1f69e160c78c9d8eb7b
  
https://github.com/OpenSIPS/opensips/commit/ead10331a2f5b024f885f1f69e160c78c9d8eb7b
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/uac_redirect/README
M modules/uac_redirect/doc/uac_redirect.xml
M modules/uac_redirect/doc/uac_redirect_admin.xml
M modules/uac_redirect/rd_funcs.c
M modules/uac_redirect/rd_funcs.h
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Merge pull request #442 from rgagnon24/redirect_fix

Fix get_redirects(max, reason)


Compare: 
https://github.com/OpenSIPS/opensips/compare/c26a4a34fcf7...ead10331a2f5___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Fix get_redirects(max, reason) (#442)

2015-04-20 Thread Bogdan Andrei IANCU
Merged #442.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 6c04eb: Merge pull request #442 from rgagnon24/redirect_fi...

2015-04-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6c04ebbc387ca8871abe115310e195e1323cd38f
  
https://github.com/OpenSIPS/opensips/commit/6c04ebbc387ca8871abe115310e195e1323cd38f
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/uac_redirect/README
M modules/uac_redirect/doc/uac_redirect.xml
M modules/uac_redirect/doc/uac_redirect_admin.xml
M modules/uac_redirect/rd_funcs.c
M modules/uac_redirect/rd_funcs.h
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Merge pull request #442 from rgagnon24/redirect_fix

Fix get_redirects(max, reason)
(cherry picked from commit ead10331a2f5b024f885f1f69e160c78c9d8eb7b)


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


Re: [OpenSIPS-Devel] [opensips] Unable to use $ in a password (#439)

2015-04-20 Thread Liviu Chircu
Closed #439.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] b800d7: Merge pull request #442 from rgagnon24/redirect_fi...

2015-04-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b800d74346603f22c576ea93d193e4f521cc9b62
  
https://github.com/OpenSIPS/opensips/commit/b800d74346603f22c576ea93d193e4f521cc9b62
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/uac_redirect/README
M modules/uac_redirect/doc/uac_redirect.xml
M modules/uac_redirect/doc/uac_redirect_admin.xml
M modules/uac_redirect/rd_funcs.c
M modules/uac_redirect/rd_funcs.h
M modules/uac_redirect/redirect.c

  Log Message:
  ---
  Merge pull request #442 from rgagnon24/redirect_fix

Fix get_redirects(max, reason)
(cherry picked from commit ead10331a2f5b024f885f1f69e160c78c9d8eb7b)


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


Re: [OpenSIPS-Devel] [opensips] dialog: Update dlg lifetime whe re-evaluating the AVP after the callback... (#431)

2015-04-20 Thread Damien Sandrs
No problem... What about 1.11 and master?
(I did not check them)


Le lundi 20 avril 2015 à 02:23 -0700, Bogdan Andrei IANCU a écrit :

 Thank you @dsandras , I also updated 1.10 - it suffers from the same
 problem.
 
 —
 Reply to this email directly or view it on GitHub.
 



-- 
Damien Sandras dsand...@seconix.com


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


Re: [OpenSIPS-Devel] [opensips] modules/db_sqlite: error loading drouting (#471)

2015-04-20 Thread Bogdan Andrei IANCU
@jarrodb , do you have the version table created in your DB ? as the drouting 
module is looking into it to check the versions of the dr related tables.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 9d366c: Do not leak the dialog in case there's an error on...

2015-04-20 Thread Vlad Paiu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9d366cd0c544c1fa29c578b89535fb631ffbe5dc
  
https://github.com/OpenSIPS/opensips/commit/9d366cd0c544c1fa29c578b89535fb631ffbe5dc
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/dialog/dlg_handlers.c

  Log Message:
  ---
  Do not leak the dialog in case there's an error on creation, after linking

(cherry picked from commit 57f331fee808f1a039c02d477ebf0048e32ad08c)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 57f331: Do not leak the dialog in case there's an error on...

2015-04-20 Thread Vlad Paiu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 57f331fee808f1a039c02d477ebf0048e32ad08c
  
https://github.com/OpenSIPS/opensips/commit/57f331fee808f1a039c02d477ebf0048e32ad08c
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/dialog/dlg_handlers.c

  Log Message:
  ---
  Do not leak the dialog in case there's an error on creation, after linking


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


Re: [OpenSIPS-Devel] [opensips] modules/db_sqlite: error loading drouting (#471)

2015-04-20 Thread Jarrod Baumann
Absolutely, every other module finds its version properly and the SQLite query 
built (query_holder) runs successfully on my database. 

However, the real problem is its trying to access the wrong SQLite path as 
noted by the newly created file in the same path as my actual database when the 
SQLite library attempts to read. 

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


Re: [OpenSIPS-Devel] [OpenSIPS-Users] opensipsctl fifo dlg_list to_uri:: shutdown Opensips

2015-04-20 Thread Jarrod Baumann
Satish,  I was able to duplicate the issue and find part of the problem.  I 
have created a pull request that resolves it for me:

https://github.com/OpenSIPS/opensips/pull/462 
https://github.com/OpenSIPS/opensips/pull/462

Jarrod

 On Apr 13, 2015, at 11:59 AM, Satish Patel satish@gmail.com wrote:
 
 Here is the gdb bt full of crash, please look into this bug...
 
 (gdb) bt full
 #0  core_hash (cmd_tree=value optimized out, param=value optimized out) 
 at ../../hash_func.h:54
 end = 0x0
 p = 0x0
 v = value optimized out
 h = 0
 s2 = 0x0
 #1  process_mi_params (cmd_tree=value optimized out, param=value optimized 
 out) at dlg_hash.c:1340
 node = value optimized out
 d_entry = value optimized out
 dlg = value optimized out
 p2 = value optimized out
 h_entry = 8015792
 p1 = 0x7f4f49420f18
 #2  mi_print_dlgs (cmd_tree=value optimized out, param=value optimized 
 out) at dlg_hash.c:1369
 rpl_tree = 0x0
 rpl = 0x0
 idx = 0
 cnt = 0
 #3  0x7f4f4635e696 in run_mi_cmd (fifo_stream=0x134e7e0) at 
 ../../mi/mi.h:107
 ret = value optimized out
 #4  mi_fifo_server (fifo_stream=0x134e7e0) at fifo_fnc.c:578
 mi_cmd = value optimized out
 mi_rpl = value optimized out
 hdl = 0x0
 line_len = 29
 file_sep = value optimized out
 command = value optimized out
 file = value optimized out
 f = 0x7f4f49413438
 reply_stream = 0x136bb20
 __FUNCTION__ = mi_fifo_server
 #5  0x7f4f4635fef6 in fifo_process (rank=value optimized out) at 
 mi_fifo.c:214
 fifo_stream = 0x134e7e0
 __FUNCTION__ = fifo_process
 #6  0x004806d1 in start_module_procs () at sr_module.c:765
 m = 0x7f4f493e4390
 n = 0
 l = 0
 x = 0
 __FUNCTION__ = start_module_procs
 #7  0x00430ee5 in main_loop () at main.c:714
 chd_rank = 0
 rc = 32767
 startup_done = 0x0
 __FUNCTION__ = main_loop
 #8  0x004336e9 in main (argc=9, argv=0x7fffa88ef3b8) at main.c:1277
 cfg_log_stderr = 0
 cfg_stream = 0x1319010
 ---Type return to continue, or q return to quit---
 c = -1
 r = 0
 tmp = 0x0
 tmp_len = 0
 port = 5421776
 proto = 0
 options = 0x5380c8 f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:
 ret = -1
 seed = 2219233510
 rfd = 4
 __FUNCTION__ = main
 (gdb)
 
 
 
 
 On Mon, Apr 13, 2015 at 11:30 AM, Satish Patel satish@gmail.com 
 mailto:satish@gmail.com wrote:
 Thanks Jeff for reply,
 
 Opensips crash with error child process 6645 exited by a signal 11 
 
 I have generated core dump and following is my gdb output. look like i have 
 to recompile it with debug support.  How do i compile it with debug support?  
 
 (gdb) bt full
 #0  0x7f74f2962ea0 in mi_print_dlgs () from 
 /opt/opensips/lib64/opensips/modules/dialog.so
 No symbol table info available.
 #1  0x7f74f518995c in mi_fifo_server () from 
 /opt/opensips/lib64/opensips/modules/mi_fifo.so
 No symbol table info available.
 #2  0x7f74f518b440 in ?? () from 
 /opt/opensips/lib64/opensips/modules/mi_fifo.so
 No symbol table info available.
 #3  0x0047a9fe in start_module_procs ()
 No symbol table info available.
 #4  0x00431e67 in main ()
 No symbol table info available.
 
 
 
 
 
 
 
 On Mon, Apr 13, 2015 at 8:03 AM, Jeff Pyle jeff.p...@fidelityvoice.com 
 mailto:jeff.p...@fidelityvoice.com wrote:
 Satish,
 
 What causes you to believe it's killing your opensips?  Is opensips running 
 before you run the command, but not after you run the command?  If you can 
 verify this is the case, you should follow the relevant steps from the Crash 
 Troubleshooting http://www.opensips.org/Documentation/TroubleShooting-Crash 
 page.
 
 Look at the green from your error:
 
 ERROR: /tmp/opensips_fifo does not exist
 ERROR: Make sure you have the line 'modparam(mi_fifo, fifo_name, 
 /tmp/opensips_fifo)' in your config
 ERROR: and also have loaded the mi_fifo module.
 
 Have you done what it says?
 
 opensipsctl uses the MI interface 
 http://www.opensips.org/Documentation/Interface-MI-2-1 to manipulate data 
 within opensips.  You will need to configure an MI module, such as the 
 mi_fifo http://www.opensips.org/html/docs/modules/2.1.x/mi_fifo.html one 
 mentioned above, to work with opensipsctl.  Then, edit opensipsctlrc for your 
 particular environment.
 
 Only after all these things are done will opensipsctl produce any output.  
 
 
 - Jeff
 
 On Sun, Apr 12, 2015 at 3:53 PM, Satish Patel satish@gmail.com 
 mailto:satish@gmail.com wrote:
 Bump!! Please help
 
 --
 Sent from my iPhone
 
  On Apr 10, 2015, at 7:56 AM, Satish Patel satish@gmail.com 
  mailto:satish@gmail.com wrote:
 
  Any thought? Why that command killing my opensips?  I think it's a BUG.
 
  

[OpenSIPS-Devel] Need Your Help For development of OpenSIPS

2015-04-20 Thread Support
Dear sir,


Plz inform us how can we make a voip switch and billing use OpenSips.






  
  Best Regards,

 * Md.Tajul islam Riyadh *
  Sales Department



*  Tellbd Service*
  Chowdhurybari, Godnail, Narayangonj, Bangladesh

  Mobile: *+88 018 42 46 * | *+88 016 72 46 *
  http://tellbd.com | supp...@tellbd.com

https://www.facebook.com/tellbd https://plus.google.com/+Tellbd
https://twitter.com/tellbd https://www.youtube.com/c/tellbd[image:
Tellbd] http:///[image: tel...@gmail.com] tel...@gmail.com
tel...@yahoo.com http://www.tellbd.com
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] dialog: Update dlg lifetime whe re-evaluating the AVP after the callback... (#431)

2015-04-20 Thread Bogdan Andrei IANCU
Thank you @dsandras , I also updated 1.10 - it suffers from the same problem.

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


Re: [OpenSIPS-Devel] [opensips] Unable to use $ in a password (#439)

2015-04-20 Thread Liviu Chircu
Closing with unable to reproduce. Please re-open only after helping us with a 
working mysql client connect command along with a not working opensips 
db_mysql URL config file fragment + startup ERROR logs with a password 
containing at least one $ char.

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


Re: [OpenSIPS-Devel] [opensips] modules/db_sqlite: error loading drouting (#471)

2015-04-20 Thread Jarrod Baumann
Thanks for the help ionut, here is the gdb output from drouting.c as we 
discussed in IRC:

```
Breakpoint 1, dr_init () at drouting.c:1176
1176if( head_start-db_url.s == 0 ) {
(gdb) n
1180memcpy( head_start-db_url.s, db_url.s, db_url.len );
(gdb) print db_url.s
$1 = 0x8a2140 sqlite://var/db/opensips
(gdb) print head_start-db_url.s
$2 = 0x7fffeecf1e00 
(gdb) n
1182init_head_w_extern_params();
(gdb) print head_start-db_url.s
$3 = 0x7fffeecf1e00 sqlite://var/db/opensips\270\301\311\001
(gdb) n
1184head_start-partition.s = Default;
(gdb) print head_start-db_url.s
$4 = 0x7fffeecf1e00 sqlite://var/db/opensips\030
(gdb) 
```

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


Re: [OpenSIPS-Devel] [opensips] modules/db_sqlite: error loading drouting (#471)

2015-04-20 Thread Ionut Ionita
@jarrodb https://gist.github.com/ionutrazvanionita/5f09ec2d96ddc60f6695 this 
patch fixes the bad '\0' issue.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] b7db08: don't log errors in case connection closed by the ...

2015-04-20 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b7db0809de2ff5c237cfceda23dc8bd1cc357ed4
  
https://github.com/OpenSIPS/opensips/commit/b7db0809de2ff5c237cfceda23dc8bd1cc357ed4
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/proto_tls/tls_server.c

  Log Message:
  ---
  don't log errors in case connection closed by the other peer; don't call 
SSL_shutdown when connection is bad/eof


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


Re: [OpenSIPS-Devel] Contest and prizes - OpenSIPS 2.1 testing

2015-04-20 Thread Răzvan Crainea

Hello, All!

The winner of the fourth Bug Hunt edition[1] is Jonathan 
Hulme(@digipigeon)[2] for reporting the bug that was not generating CDRs 
unless DB was used. Thanks for spotting and reporting it!


The fifth edition has now started and lasts until 27th of April, 2015! 
Don't miss your chance to win a nice OpenSIPS t-shirt!


[1] http://www.opensips.org/Community/BugHuntContest
[2] https://github.com/digipigeon

Cheers,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com


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


[OpenSIPS-Devel] OpenSIPS Releases Status

2015-04-20 Thread Răzvan Crainea

Hi, All!

For the next weeks we have planned the following releases for OpenSIPS 2.1:

* 22-23 April 2015: OpenSIPS 2.1 RC2 release
* 4-8 May 2015: OpenSIPS 2.1 Production Release

Along with the Production Release of OpenSIPS 2.1, on 4-8 May 2015 we'll 
also release three more minor versions for OpenSIPS 1.8, 1.10 and 1.11.


Note that for OpenSIPS 1.8 and 1.10 these will be the final/last 
releases. Starting from 8th of May 2015, we won't be supporting these 
versions.


OpenSIPS 1.11 is LTS and will be supported for at least one more year.

Looking forward to see all these new versions released :D

Best regards,

--
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com


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


[OpenSIPS-Devel] [opensips] Global db_connect_retries parameter (#472)

2015-04-20 Thread Liviu Chircu
The retry-on-connect problem looks to be solved (need to confirm this) on 
each TCP-oriented database driver. However, retries is often hard-coded (e.g. 
db_mysql/dbase.c +300), or not even implemented at all (db_mysql/my_con.c +109).

Since this is really a common corner-case scenario for any backend, it would be 
nice to simply have a global parameter which dictates the number of attempted 
retries.

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


Re: [OpenSIPS-Devel] [opensips] ERROR:proto_tls:_tls_read: SYSCALL error - (0) Success (#470)

2015-04-20 Thread Ionut Ionita
Hello, fixed with commit b7db0809de2ff5c237cfceda23dc8bd1cc357ed4 . Try testing 
it and please close it if everything ok!

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 5a0552: don't log errors in case connection closed by the ...

2015-04-20 Thread ionutrazvanionita
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5a0552ed48b393962a1fd9dc4aa8692a2a14f22a
  
https://github.com/OpenSIPS/opensips/commit/5a0552ed48b393962a1fd9dc4aa8692a2a14f22a
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
M modules/proto_tls/tls_server.c

  Log Message:
  ---
  don't log errors in case connection closed by the other peer; don't call 
SSL_shutdown when connection is bad/eof


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


Re: [OpenSIPS-Devel] [opensips] ERROR:proto_tls:_tls_read: SYSCALL error - (0) Success (#470)

2015-04-20 Thread Eric Tamme
Closed #470.

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