Re: [OpenSIPS-Devel] [opensips] usrloc: E_UL_AOR_DELETE enhancement (#250)

2014-08-26 Thread andrei-datcu
For the E_UL_CONTACT_UPDATE event, the previous received field is the only 
parameter that could be added. There is no previous contact-address since we 
are talking about the _UPDATE event. If there is another contact-address 
registered for the same AOR then it will be considered as a different contact 
and the E_UL_CONTACT_INSERT event will be raised.
The AOR parameter for every E_UL_CONTACT_* event will be added in the next 
patch.

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


[OpenSIPS-Devel] [opensips] New assert script keyword for script debugging (#313)

2014-08-26 Thread David Sanders
Allows for assertions which can be enabled or disabled for easier script 
debugging.

Usage:


assert($var(foo) == 42, quot;Whoops, var(foo) wasn#39;t equal to 
42quot;);

You can merge this Pull Request by running:

  git pull https://github.com/dsanders11/opensips master

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * New assert script keyword for script debugging

-- File Changes --

M action.c (25)
M cfg.lex (6)
M cfg.y (8)
M errinfo.h (1)
M globals.h (3)
M main.c (4)
M route_struct.c (3)
M route_struct.h (2)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/313.patch
https://github.com/OpenSIPS/opensips/pull/313.diff

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


Re: [OpenSIPS-Devel] [opensips] New assert script keyword for script debugging (#313)

2014-08-26 Thread Walter Doekes
Nice! I always wanted something like that.

Does the string-part get it's pv's expanded? I'd want to put var(foo) is 
$var(foo) and not 42 in there.

(And I'd prefer a few more spaces between every operator in the code.)


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


Re: [OpenSIPS-Devel] [opensips] New assert script keyword for script debugging (#313)

2014-08-26 Thread David Sanders
Unfortunately the PVs don't get expanded. I'm not enough of an OpenSIPS expert 
to know what needs to be done to allow that without a good amount of 
investigating, but you're right, that would be very useful.

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


Re: [OpenSIPS-Devel] [opensips] Port topoh.so (topology hiding without dialog.so) from kamailio. (#249)

2014-08-26 Thread Walter Doekes
Yes. That sounds reasonable. Thanks for looking into this :)

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


Re: [OpenSIPS-Devel] [opensips] Port topoh.so (topology hiding without dialog.so) from kamailio. (#249)

2014-08-26 Thread Walter Doekes
Closed #249.

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


Re: [OpenSIPS-Devel] [opensips] New assert script keyword for script debugging (#313)

2014-08-26 Thread Liviu Chircu
Code looks ok, coding style is close to ideal, except for a couple of spaces 
between operators (no harm done).

Also, since the format expansion feature seems useful, it will go on the [TODO 
list](http://www.opensips.org/About/Version-1-12-0).

Thank you for the contribution, Damien!

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 877d6b: New assert script keyword for script debugging

2014-08-26 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 877d6b995edf4e8fead07fcf9c2897271af35155
  
https://github.com/OpenSIPS/opensips/commit/877d6b995edf4e8fead07fcf9c2897271af35155
  Author: David Sanders dsander...@ucsbalum.com
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M action.c
M cfg.lex
M cfg.y
M errinfo.h
M globals.h
M main.c
M route_struct.c
M route_struct.h

  Log Message:
  ---
  New assert script keyword for script debugging


  Commit: 23bb7c69b6e1df714bacce60081b51e848906ce1
  
https://github.com/OpenSIPS/opensips/commit/23bb7c69b6e1df714bacce60081b51e848906ce1
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M action.c
M cfg.lex
M cfg.y
M errinfo.h
M globals.h
M main.c
M route_struct.c
M route_struct.h

  Log Message:
  ---
  Merge pull request #313 from dsanders11/master

New assert script keyword for script debugging


Compare: 
https://github.com/OpenSIPS/opensips/compare/6dea2eb9dc02...23bb7c69b6e1___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] New assert script keyword for script debugging (#313)

2014-08-26 Thread Liviu Chircu
Merged #313.

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


Re: [OpenSIPS-Devel] [opensips] Loading a db_text file with one unterminated line causes crash (#308)

2014-08-26 Thread Liviu Chircu
I've replicated this exact crash on 1.11. I've also found out that if a space 
char (0x20) is added at the end, although the column line is still missing the 
ending newline, OpenSIPS reports this as an error and shuts down.

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


[OpenSIPS-Devel] [opensips] [master] db_text crash on shutdown (in mem debug mode) (#314)

2014-08-26 Thread Liviu Chircu
Replication method: dialog (pPB, db_mode=1) with db_text backend. Create an 
ongoing call, gracefully shutdown OpenSIPS (killall opensips), and db_text 
should crash with:

Aug 26 17:31:47 [31079] CRITICAL:core:qm_free: freeing already freed pointer, 
first free: dbt_tb.c: dbt_table_free(263) - abortingAug 26 17:31:47 [31079] 
CRITICAL:core:qm_free: freeing already freed pointer, first free: dbt_tb.c: 
dbt_table_free(263) - aborting

#0  0x2aca0d54a425 in __GI_raise (sig=optimized out) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x2aca0d54db8b in __GI_abort () at abort.c:91
#2  0x0051a67b in qm_free (qm=optimized out, p=0x2aca128f6460, 
file=optimized out, func=optimized out, line=optimized out) at 
mem/q_malloc.c:460
#3  0x2aca10c3cea4 in dbt_table_free (_dtp=0x2aca128f6390) at dbt_tb.c:248
#4  0x2aca10c355b4 in dbt_db_del_table (_dc=0x2aca128f10f0, 
_s=0x2aca0f275a30, sync=0) at dbt_lib.c:251
#5  0x2aca10c364d3 in dbt_db_get_table (_dc=0x2aca128f10f0, 
_s=0x2aca0f275a30) at dbt_lib.c:297
#6  0x2aca10c30d08 in dbt_update (_h=0x2aca0db3f9e0, _k=0x7fff8be411c0, 
_o=0x0, _v=0x7fff8be40e80, _uk=optimized out, _uv=0x7fff8be41060, _n=1, 
_un=11) at dbt_base.c:481
#7  0x2aca0f020c87 in dialog_update_db (ticks=optimized out, 
param=optimized out) at dlg_db_handler.c:1430
#8  0x2aca0f00e38c in mod_destroy () at dialog.c:951
#9  0x004c20ba in destroy_modules () at sr_module.c:378
#10 0x0043fb5a in cleanup (show_status=1) at main.c:394
#11 0x00440594 in handle_sigs () at main.c:522
#12 0x00417e9e in main_loop () at main.c:1081
#13 main (argc=optimized out, argv=optimized out) at main.c:1615

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


[OpenSIPS-Devel] [OpenSIPS/opensips] a2172b: db_text: fix issues when database file is missing ...

2014-08-26 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a2172b256fd19aa56b352665a9d598d6a91b36a3
  
https://github.com/OpenSIPS/opensips/commit/a2172b256fd19aa56b352665a9d598d6a91b36a3
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/db_text/dbt_file.c

  Log Message:
  ---
  db_text: fix issues when database file is missing an ending newline

* do not crash if file contains columns only and is missing the ending newline
* do not skip the last row of a database file if it lacks an ending newline

Reported by gergelypeli on GitHub
Closes issue #308


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 993385: db_text: fix issues when database file is missing ...

2014-08-26 Thread Liviu Chircu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 993385ef5a04982f9283b98dfca885b41ab1c442
  
https://github.com/OpenSIPS/opensips/commit/993385ef5a04982f9283b98dfca885b41ab1c442
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/db_text/dbt_file.c

  Log Message:
  ---
  db_text: fix issues when database file is missing an ending newline

* do not crash if file contains columns only and is missing the ending newline
* do not skip the last row of a database file if it lacks an ending newline

Reported by gergelypeli on GitHub
Closes issue #308
(cherry picked from commit a2172b256fd19aa56b352665a9d598d6a91b36a3)


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


Re: [OpenSIPS-Devel] [opensips] Loading a db_text file with one unterminated line causes crash (#308)

2014-08-26 Thread Liviu Chircu
Fixed on master and backported to 1.11, 1.10 and 1.8 (a2172b25). Thank you for 
reporting!

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


Re: [OpenSIPS-Devel] [opensips] Loading a db_text file with one unterminated line causes crash (#308)

2014-08-26 Thread Liviu Chircu
Closed #308.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 603f4d: dialplan: fix incorrect ERROR on shutdown

2014-08-26 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 603f4dc8bccc07661f2700c24c21dc39d1e24d9c
  
https://github.com/OpenSIPS/opensips/commit/603f4dc8bccc07661f2700c24c21dc39d1e24d9c
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/dialplan/dp_db.c

  Log Message:
  ---
  dialplan: fix incorrect ERROR on shutdown


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


[OpenSIPS-Devel] [OpenSIPS/opensips] e27d79: db_text: fix issues when database file is missing ...

2014-08-26 Thread Liviu Chircu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e27d798dafb50ff105ba02d2deef71d467833b3e
  
https://github.com/OpenSIPS/opensips/commit/e27d798dafb50ff105ba02d2deef71d467833b3e
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/db_text/dbt_file.c

  Log Message:
  ---
  db_text: fix issues when database file is missing an ending newline

* do not crash if file contains columns only and is missing the ending newline
* do not skip the last row of a database file if it lacks an ending newline

Reported by gergelypeli on GitHub
Closes issue #308
(cherry picked from commit a2172b256fd19aa56b352665a9d598d6a91b36a3)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] a50060: db_text: fix issues when database file is missing ...

2014-08-26 Thread Liviu Chircu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a50060fc95094468bbe9c5d721373b36ae90942d
  
https://github.com/OpenSIPS/opensips/commit/a50060fc95094468bbe9c5d721373b36ae90942d
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/db_text/dbt_file.c

  Log Message:
  ---
  db_text: fix issues when database file is missing an ending newline

* do not crash if file contains columns only and is missing the ending newline
* do not skip the last row of a database file if it lacks an ending newline

Reported by gergelypeli on GitHub
Closes issue #308
(cherry picked from commit a2172b256fd19aa56b352665a9d598d6a91b36a3)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 3cd6db: Fix sending PRACK for multiple provisional replies...

2014-08-26 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3cd6db2be3728e14343697b886cdcfabd4353d51
  
https://github.com/OpenSIPS/opensips/commit/3cd6db2be3728e14343697b886cdcfabd4353d51
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Fix sending PRACK for multiple provisional replies.

Reported by Giuseppe Cardone.


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


[OpenSIPS-Devel] [OpenSIPS/opensips] da96e3: Fix sending PRACK for multiple provisional replies...

2014-08-26 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: da96e3ac13868d90823e38c78a08629191c0fafc
  
https://github.com/OpenSIPS/opensips/commit/da96e3ac13868d90823e38c78a08629191c0fafc
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Fix sending PRACK for multiple provisional replies.

Reported by Giuseppe Cardone.

(cherry picked from commit 3cd6db2be3728e14343697b886cdcfabd4353d51)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] fa87ef: Fix sending PRACK for multiple provisional replies...

2014-08-26 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fa87efa77e89e20a5f117506296a0d8636089862
  
https://github.com/OpenSIPS/opensips/commit/fa87efa77e89e20a5f117506296a0d8636089862
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Fix sending PRACK for multiple provisional replies.

Reported by Giuseppe Cardone.

(cherry picked from commit 3cd6db2be3728e14343697b886cdcfabd4353d51)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] a0d582: Fix sending PRACK for multiple provisional replies...

2014-08-26 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a0d5829e9277b668f896cb4fd1a8adff379bad41
  
https://github.com/OpenSIPS/opensips/commit/a0d5829e9277b668f896cb4fd1a8adff379bad41
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Fix sending PRACK for multiple provisional replies.

Reported by Giuseppe Cardone.

(cherry picked from commit 3cd6db2be3728e14343697b886cdcfabd4353d51)


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


Re: [OpenSIPS-Devel] [OpenSIPS-Users] OpenSIPS Public Meetings

2014-08-26 Thread Răzvan Crainea

Hi, all!

Don't forget about tomorrow's meeting at 18:00 UTC+2!
Looking forward to see you all in the #opensips IRC room!

Regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 08/22/2014 06:18 PM, Bogdan-Andrei Iancu wrote:

Saul, bring it into discussion on Wednesday - it sounds ok.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 22.08.2014 11:38, Saúl Ibarra Corretgé wrote:

On 22 Aug 2014, at 10:16, Bogdan-Andrei Iancubog...@opensips.org  wrote:


Hi,

I'm really looking forward for this meeting - so far we came up with really 
great ideas for 1.12, but as usual, the input/feedback from community is really 
important for us. Recently there were several discussions (on different threads 
on the mailing lists) where people expressed their need for new features in 
OpenSIPSSo, here we go for it :).

Please look at the big topic we suggested, come up with your own ideas and 
let's talk ! See you on Wednesday !!


This is a great initiative folks, kudos! I’ll try to make it to the meeting.

Can I get “Asynchronous TLS” added to the list? :-)


Regards,

--
Saúl Ibarra Corretgé
AG Projects





___
Users mailing list
us...@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




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



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