Re: [OpenSIPS-Devel] [opensips] Add listen interface (socket) checking to db based natping. (#127)

2014-11-04 Thread Bogdan Andrei IANCU
@wdoekes , what about a different approach on this matter - instead of keep 
filtering per IP each time we want to ping, what about using a server ID and 
each usrloc should be marked with such ID representing the server which did 
handle that register ? So, at the end, whatever number of interfaces we have, 
we do a select/filter based on a numerical ID

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


Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-11-04 Thread Bogdan Andrei IANCU
Well, adding something particular to GMT is simple and fast, but hackish 
What about extending $time(format) to $time([tz:]format) ?? and similar we can 
do for $Tf, like $Tf(tz) ?

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


Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-11-04 Thread xiaoqiang.zhou
Hi Bogdan:
   yea,  $time([tz:]format)  that a  best way. 
  



zhouxiaoqiang.mst...@gmail.com
 
From: Bogdan Andrei IANCU
Date: 2014-11-04 16:38
To: OpenSIPS/opensips
CC: xiaoqiang.zhou
Subject: Re: [opensips] date format convert method that use in opensips.cfg 
(#378)
Well, adding something particular to GMT is simple and fast, but hackish 
What about extending $time(format) to $time([tz:]format) ?? and similar we can 
do for $Tf, like $Tf(tz) ?
—
Reply to this email directly or view it on GitHub.


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


Re: [OpenSIPS-Devel] [opensips] crash in v1.11.3 using fifo pres_phtable_list (#382)

2014-11-04 Thread Carlos Oliva
Hi @bogdan-iancu you are right, I only need pua for pua_dialoginfo and 
pua_usrloc. Include presence modules was my mistake, are not necesary, thanks 
for the point.
Nowadays i think your patch is essential because avoid the crash, I will apply 
it.

Thank you so much

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


Re: [OpenSIPS-Devel] [opensips] crash in v1.11.3 using fifo pres_phtable_list (#382)

2014-11-04 Thread Carlos Oliva
Closed #382.

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


Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-11-04 Thread Di-Shi Sun
it is nice.

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


Re: [OpenSIPS-Devel] [opensips] Add listen interface (socket) checking to db based natping. (#127)

2014-11-04 Thread Walter Doekes
That would suit my needs indeed; and make more sense than the awkward query 
that we do now.

Thinking out loud here: where do we get this ID from? Do we add a `server_id` 
integer parameter to `usrloc`? Or should we generate one automatically? If we 
use a parameter and default it to `1`, we get current behaviour (backwards 
compatible), but that means that we don't have a guarantee that the server_id 
is unique (perhaps we want that constraint later).



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


Re: [OpenSIPS-Devel] [opensips] core dump with xmlrpc in v1.11.3 (#379)

2014-11-04 Thread Carlos Oliva
Hi @bogdan-iancu , I'm using oficial packages of debian 7.7 (x86_64), but i 
have no idea if libxmlrpc-core-c3 is compiled with multi-process support or 
not, I can't find the info in debian docs.
 
I'm testing now mi_xmlrpc_ng as you suggested and things seems to be right in 
my test machine. I will make more tests and send you feedback.

Thanks a lot

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


Re: [OpenSIPS-Devel] [opensips] E_DLG_STATE_CHANGED event for dialog module (#341)

2014-11-04 Thread Răzvan Crainea
Closed #341.

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


Re: [OpenSIPS-Devel] [opensips] E_DLG_STATE_CHANGED event for dialog module (#341)

2014-11-04 Thread Răzvan Crainea
This was merged in commit 10083ed78db1d8c93288f0a90d2cdd42e5168f52

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


Re: [OpenSIPS-Devel] [opensips] core dump with xmlrpc in v1.11.3 (#379)

2014-11-04 Thread Bogdan Andrei IANCU
AFAIK, libxmlrpc-c3 is by default compiled with threads support - we had a long 
struggle with that.
Please run tests with mi_xmlrpc_ng and report if you find any issues (open 
other tickets for that, I will close this one).
In 2.1, the mi_xlmrpc will become obsolete and removed.

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


Re: [OpenSIPS-Devel] [opensips] core dump with xmlrpc in v1.11.3 (#379)

2014-11-04 Thread Bogdan Andrei IANCU
Closed #379.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 5ade2a: fixed flags max_list bug for ds_select_*

2014-11-04 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5ade2ad12f26d13406f1eccba53653464fa93a17
  
https://github.com/OpenSIPS/opensips/commit/5ade2ad12f26d13406f1eccba53653464fa93a17
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
M modules/dispatcher/README
M modules/dispatcher/dispatch.c
M modules/dispatcher/dispatch.h
M modules/dispatcher/dispatcher.c
M modules/dispatcher/doc/dispatcher_admin.xml
M modules/dispatcher/ds_fixups.c
M modules/dispatcher/ds_fixups.h

  Log Message:
  ---
  fixed flags max_list bug for ds_select_*


  Commit: b994ddff6a9f976d020634551e06a101ef8730db
  
https://github.com/OpenSIPS/opensips/commit/b994ddff6a9f976d020634551e06a101ef8730db
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
M modules/dispatcher/README
M modules/dispatcher/dispatch.c
M modules/dispatcher/dispatch.h
M modules/dispatcher/dispatcher.c
M modules/dispatcher/doc/dispatcher_admin.xml
M modules/dispatcher/ds_fixups.c
M modules/dispatcher/ds_fixups.h

  Log Message:
  ---
  fixed flags max_list bug for ds_select_*


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


Re: [OpenSIPS-Devel] [opensips] dispatcher: broken max results in multilist mode (#359)

2014-11-04 Thread Ionut Ionita
Hi Ovidiu,

Just finished working fixing this bug. Hope multilist will work fine now. 
https://github.com/OpenSIPS/opensips/commit/b994ddff6a9f976d020634551e06a101ef8730db

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


Re: [OpenSIPS-Devel] [opensips] Feature request - BLF differences between Opensips 1.6.4 and 1.11.3 (#380)

2014-11-04 Thread Carlos Oliva
Thanks a lot, I'm sure it will do the trick. I'll apply the patch to 1.11. 

I close this request. Thank you again!

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


Re: [OpenSIPS-Devel] [opensips] Feature request - BLF differences between Opensips 1.6.4 and 1.11.3 (#380)

2014-11-04 Thread Carlos Oliva
Closed #380.

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


Re: [OpenSIPS-Devel] [opensips] Changes to stop keepalives on unregisters (#366)

2014-11-04 Thread David Sanders
@bogdan-iancu, yea, it's good for older versions. We ran it on 1.8 for a long 
time.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] de90f8: Fix mk_action usage (function name was added).

2014-11-04 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: de90f8b94c3e6df01a7a70285dbe91dac76231fe
  
https://github.com/OpenSIPS/opensips/commit/de90f8b94c3e6df01a7a70285dbe91dac76231fe
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/perl/opensipsxs.xs

  Log Message:
  ---
  Fix mk_action usage (function name was added).

Reported by Nick Altmann


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 4c9a1f: Changes to stop keepalives on unregisters

2014-11-04 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4c9a1fa2a791d37629b7272581f6d52c4b0f9666
  
https://github.com/OpenSIPS/opensips/commit/4c9a1fa2a791d37629b7272581f6d52c4b0f9666
  Author: David Sanders dsander...@ucsbalum.com
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/nat_traversal/nat_traversal.c

  Log Message:
  ---
  Changes to stop keepalives on unregisters

Observed cases where keepalives from `nat_traversal` continued after unregister 
were traced back to a few lines of code which prevented stopping keepalives on 
unregister events.


  Commit: b942bef6243d9abf9b3273c37438821858070608
  
https://github.com/OpenSIPS/opensips/commit/b942bef6243d9abf9b3273c37438821858070608
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
A context.h

  Log Message:
  ---
  core: introducing OpenSIPS contexts

A context is simply a data buffer. It can also be seen as a key-value
database, where different pieces of code register certain keys, in order
to maintain their values within each newly created context.

Contexts may be attached to any structure. The primitives defined in
context.h represent a generic way of registering/storing/fetching
data.


  Commit: 3a6f613c31b43f1971cec95bf532d35b450a47bf
  
https://github.com/OpenSIPS/opensips/commit/3a6f613c31b43f1971cec95bf532d35b450a47bf
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M msg_translator.c
M msg_translator.h
M receive.c

  Log Message:
  ---
  core: export sip_msg context operations

All sip_msg structures may now hold additional data within a context.


  Commit: eb5bb0f492d53e10a89e9b66225ebc133686d3a1
  
https://github.com/OpenSIPS/opensips/commit/eb5bb0f492d53e10a89e9b66225ebc133686d3a1
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/tm/h_table.c
A modules/tm/t_ctx.c
A modules/tm/t_ctx.h
M modules/tm/tm.c
M modules/tm/tm_load.h

  Log Message:
  ---
  tm: export transaction context operations

All transactions may now hold additional context-specific data.
Data can be stored/fetched using the newly added functions in tm_binds.


  Commit: 1cf74846499d6482751cb19522791047107e92cd
  
https://github.com/OpenSIPS/opensips/commit/1cf74846499d6482751cb19522791047107e92cd
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/presence/presence.c

  Log Message:
  ---
  Disable MI commands when presence is in lib mode.

Reported by Carlos Oliva @telematico, closing #382

(cherry picked from commit 7058396dfff62769a58103517ae42bf57078b8bd)


  Commit: 7aa96b287a364d03666e0d231c94ece7f8eca79b
  
https://github.com/OpenSIPS/opensips/commit/7aa96b287a364d03666e0d231c94ece7f8eca79b
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/presence/README
M modules/presence/doc/presence_admin.xml
M modules/presence/notify.c
M modules/presence/presence.c
M modules/presence/presence.h

  Log Message:
  ---
  Add end_sub_on_timeout module parameter.

If a presence subscription should be automatically terminated (destroyed) when 
receiving a SIP timeout (408) for a sent NOTIFY requests.
Closes feature request #380.


  Commit: 0607b900fd58417ec973e398978844e953ad1af8
  
https://github.com/OpenSIPS/opensips/commit/0607b900fd58417ec973e398978844e953ad1af8
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/perl/opensipsxs.xs

  Log Message:
  ---
  Filename in script actions must be non-null.


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


[OpenSIPS-Devel] [OpenSIPS/opensips]

2014-11-04 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Changes to stop keepalives on unregisters (#366)

2014-11-04 Thread Bogdan Andrei IANCU
ok, done

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 36ad43: Changes to stop keepalives on unregisters

2014-11-04 Thread David Sanders
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 36ad430f0bf50bb20fcdfd1180c9262348e41f79
  
https://github.com/OpenSIPS/opensips/commit/36ad430f0bf50bb20fcdfd1180c9262348e41f79
  Author: David Sanders dsander...@ucsbalum.com
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/nat_traversal/nat_traversal.c

  Log Message:
  ---
  Changes to stop keepalives on unregisters

Observed cases where keepalives from `nat_traversal` continued after unregister 
were traced back to a few lines of code which prevented stopping keepalives on 
unregister events.
(cherry picked from commit f4ed457bc10d6ddfcd6dc77dcc9e460e767bdc4b)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 346029: Changes to stop keepalives on unregisters

2014-11-04 Thread David Sanders
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 346029318e9c9aab4019e29f4c9204e7c1a69bce
  
https://github.com/OpenSIPS/opensips/commit/346029318e9c9aab4019e29f4c9204e7c1a69bce
  Author: David Sanders dsander...@ucsbalum.com
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
M modules/nat_traversal/nat_traversal.c

  Log Message:
  ---
  Changes to stop keepalives on unregisters

Observed cases where keepalives from `nat_traversal` continued after unregister 
were traced back to a few lines of code which prevented stopping keepalives on 
unregister events.
(cherry picked from commit f4ed457bc10d6ddfcd6dc77dcc9e460e767bdc4b)

(cherry picked from commit 8187a92d48abe24643f8ea2f1b0988857f0ccb1b)


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


Re: [OpenSIPS-Devel] [opensips] Add listen interface (socket) checking to db based natping. (#127)

2014-11-04 Thread Bogdan Andrei IANCU
@wdoekes , I'm seeing this from a larger perspective - we are working on the 
specs/description for a cluster module - to ensure registration and call 
exchange (in a transparent way) between several opensips instances. So, we will 
define a server ID for each opensips (an ID inside the cluster), in a similar 
way you in mysql for replication...

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