[OpenSIPS-Devel] [OpenSIPS/opensips] 9ceb0c: Fixed accepting after changes in lumps attached ...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9ceb0c0ce0aefe46bf566bd528ae76f68183b2af
  
https://github.com/OpenSIPS/opensips/commit/9ceb0c0ce0aefe46bf566bd528ae76f68183b2af
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M msg_translator.c

  Log Message:
  ---
  Fixed accepting after changes in lumps attached to the beginning of a del 
lump
Reported by NicK Altmann
Solves issues with missing Route hdrs when using the dialog based TH



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


[OpenSIPS-Devel] [OpenSIPS/opensips] e6f4a5: Fixed accepting after changes in lumps attached ...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e6f4a511cba5f3707ae909b3e31f389e52596a02
  
https://github.com/OpenSIPS/opensips/commit/e6f4a511cba5f3707ae909b3e31f389e52596a02
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M msg_translator.c

  Log Message:
  ---
  Fixed accepting after changes in lumps attached to the beginning of a del 
lump
Reported by NicK Altmann
Solves issues with missing Route hdrs when using the dialog based TH



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


[OpenSIPS-Devel] [OpenSIPS/opensips] c93708: Fixed locking on purging profiles for terminated d...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.9
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c9370828a037bc37711727f073da91edd4672b32
  
https://github.com/OpenSIPS/opensips/commit/c9370828a037bc37711727f073da91edd4672b32
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/dialog/dlg_handlers.c
M modules/dialog/dlg_req_within.c

  Log Message:
  ---
  Fixed locking on purging profiles for terminated dialogs - in strange cases 
of concurancy between provisional and final replies, the profile ops for 
provisional reply may end up iterating on a deleted list.
Reported by Trevor Francis (46labs)
Closes issue #102



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


[OpenSIPS-Devel] [OpenSIPS/opensips] 2ad0dd: Fixed locking on purging profiles for terminated d...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2ad0dd9e043e570c47e06a9934630fc519faf44c
  
https://github.com/OpenSIPS/opensips/commit/2ad0dd9e043e570c47e06a9934630fc519faf44c
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/dialog/dlg_handlers.c
M modules/dialog/dlg_req_within.c

  Log Message:
  ---
  Fixed locking on purging profiles for terminated dialogs - in strange cases 
of concurancy between provisional and final replies, the profile ops for 
provisional reply may end up iterating on a deleted list.
Reported by Trevor Francis (46labs)
Closes issue #102



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


[OpenSIPS-Devel] [OpenSIPS/opensips] 784e87: Fixed locking on purging profiles for terminated d...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 784e87f579be4798a7f3f1507304e3af49b26537
  
https://github.com/OpenSIPS/opensips/commit/784e87f579be4798a7f3f1507304e3af49b26537
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/dialog/dlg_handlers.c
M modules/dialog/dlg_req_within.c

  Log Message:
  ---
  Fixed locking on purging profiles for terminated dialogs - in strange cases 
of concurancy between provisional and final replies, the profile ops for 
provisional reply may end up iterating on a deleted list.
Reported by Trevor Francis (46labs)
Closes issue #102



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


[OpenSIPS-Devel] [OpenSIPS/opensips] 47a338: Fixed locking on purging profiles for terminated d...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 47a3386f633eb735f1a169e7326c24cbf26a5b66
  
https://github.com/OpenSIPS/opensips/commit/47a3386f633eb735f1a169e7326c24cbf26a5b66
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/dialog/dlg_handlers.c
M modules/dialog/dlg_req_within.c

  Log Message:
  ---
  Fixed locking on purging profiles for terminated dialogs - in strange cases 
of concurancy between provisional and final replies, the profile ops for 
provisional reply may end up iterating on a deleted list.
Reported by Trevor Francis (46labs)
Closes issue #102



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


[OpenSIPS-Devel] [OpenSIPS/opensips] bd0952: Fixed bad prototype for abort when compiling with ...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bd0952dfca4577785720f4a14f567a32d8a74bda
  
https://github.com/OpenSIPS/opensips/commit/bd0952dfca4577785720f4a14f567a32d8a74bda
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/tm/timer.c

  Log Message:
  ---
  Fixed bad prototype for abort when compiling with TM_TIMER_DEBUG.
Reported by Mayama Takeshi
Closes issue #105



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


[OpenSIPS-Devel] [OpenSIPS/opensips] 1f2004: Fixed bad prototype for abort when compiling with ...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.9
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1f20046a96490a55fa7313c820aea247c941fd98
  
https://github.com/OpenSIPS/opensips/commit/1f20046a96490a55fa7313c820aea247c941fd98
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/tm/timer.c

  Log Message:
  ---
  Fixed bad prototype for abort when compiling with TM_TIMER_DEBUG.
Reported by Mayama Takeshi
Closes issue #105



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


[OpenSIPS-Devel] [OpenSIPS/opensips] 55197a: Fixed bad prototype for abort when compiling with ...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 55197a319871de600e8ecdc06f2cb09dff13c37b
  
https://github.com/OpenSIPS/opensips/commit/55197a319871de600e8ecdc06f2cb09dff13c37b
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/tm/timer.c

  Log Message:
  ---
  Fixed bad prototype for abort when compiling with TM_TIMER_DEBUG.
Reported by Mayama Takeshi
Closes issue #105



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


[OpenSIPS-Devel] [OpenSIPS/opensips] 3a1a9a: Fixed bad prototype for abort when compiling with ...

2013-10-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a1a9a3b6474eaac8fef1af7e527bee42105201c
  
https://github.com/OpenSIPS/opensips/commit/3a1a9a3b6474eaac8fef1af7e527bee42105201c
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M modules/tm/timer.c

  Log Message:
  ---
  Fixed bad prototype for abort when compiling with TM_TIMER_DEBUG.
Reported by Mayama Takeshi
Closes issue #105



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


[OpenSIPS-Devel] [OpenSIPS/opensips] 1b12e2: Scripting enhancement: for-each statement

2013-10-18 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1b12e26a372db840f542900cad07b7027514c0b5
  
https://github.com/OpenSIPS/opensips/commit/1b12e26a372db840f542900cad07b7027514c0b5
  Author: Liviu Chircu li...@opensips.org
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
M action.c
M cfg.lex
M cfg.y
M route.c
M route_struct.h

  Log Message:
  ---
  Scripting enhancement: for-each statement
- syntax: for ($var(it) in $avp(array)) { ... }
- faster than the while-based equivalent loop
- currently only allows iterating over an avp's values



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


Re: [OpenSIPS-Devel] eyeBeam NAT ping packets

2013-10-18 Thread Saúl Ibarra Corretgé

On Oct 16, 2013, at 12:22 PM, Ovidiu Sas o...@voipembedded.com wrote:

 eyeBeam (release 1105z stamp 59030) is sending small packets to keep
 the NAP pinhole open.
 Those packets are short (4 bytes) with the following content: 0d0a0d0a.
 In the logs, we have:
 INFO:core:parse_first_line: empty  or bad first line
 INFO:core:parse_first_line: bad message
 ERROR:core:parse_msg: message=
 ERROR:core:receive_msg: parse_msg failed
 
 We should add some parameters to the config that will allow to
 silently drop these kind of packets.
 We should be able to configure several patterns with length and hex content.
 Comments?
 

That looks like the double CRLF technique used in SIP outbound 
(http://tools.ietf.org/html/rfc5626#section-3.5.1), so I guess the right thing 
to do here would be to reply with CRLF.


Regards,

--
Saúl Ibarra Corretgé
AG Projects




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


Re: [OpenSIPS-Devel] eyeBeam NAT ping packets

2013-10-18 Thread Ovidiu Sas
I forgot to mention in my previous e-mail that those ping packets are
over UDP, which seems like a bug in eyeBeam.
Anyway, the end result is that opensips logs are polluted.
Over TCP, it seems that those packets are properly handled by opensips.
It's UDP that is having issues.

Regards,
Ovidiu Sas

On Fri, Oct 18, 2013 at 11:20 AM, Saúl Ibarra Corretgé
s...@ag-projects.com wrote:

 On Oct 16, 2013, at 12:22 PM, Ovidiu Sas o...@voipembedded.com wrote:

 eyeBeam (release 1105z stamp 59030) is sending small packets to keep
 the NAP pinhole open.
 Those packets are short (4 bytes) with the following content: 0d0a0d0a.
 In the logs, we have:
 INFO:core:parse_first_line: empty  or bad first line
 INFO:core:parse_first_line: bad message
 ERROR:core:parse_msg: message=
 ERROR:core:receive_msg: parse_msg failed

 We should add some parameters to the config that will allow to
 silently drop these kind of packets.
 We should be able to configure several patterns with length and hex content.
 Comments?


 That looks like the double CRLF technique used in SIP outbound 
 (http://tools.ietf.org/html/rfc5626#section-3.5.1), so I guess the right 
 thing to do here would be to reply with CRLF.


 Regards,

 --
 Saúl Ibarra Corretgé
 AG Projects




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



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com

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


Re: [OpenSIPS-Devel] eyeBeam NAT ping packets

2013-10-18 Thread Saúl Ibarra Corretgé

On Oct 18, 2013, at 11:14 AM, Ovidiu Sas o...@voipembedded.com wrote:

 I forgot to mention in my previous e-mail that those ping packets are
 over UDP, which seems like a bug in eyeBeam.
 Anyway, the end result is that opensips logs are polluted.
 Over TCP, it seems that those packets are properly handled by opensips.
 It's UDP that is having issues.
 

Oh. I guess OpenSIPS should reply with CRLF like if it was TCP. Be gentle in 
what you accept… :-)


Regards,

--
Saúl Ibarra Corretgé
AG Projects




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