Re: [OpenSIPS-Devel] [opensips] event interface: support for async events (#251)

2014-06-19 Thread Răzvan Crainea
Hi, Ovidiu!

Actually the implementation depends on the transport module used. What you are 
saying is indeed true for event_datagram and event_route. However, for 
event_xmlrpc and event_rabbitmq, the actual communication is done in a 
different process that has only this purpose - it does not stuck the SIP 
workers at all.
What we could probably do for the latter modules is to allow the user to 
configure an arbitrary number of workers. Probably it would be a nice feature 
for event_route too. But I don't see any reasons why for the event_datagram 
you'd like to have an asynchronous processes to handle those events.

Best regards,
Răzvan

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


[OpenSIPS-Devel] [OpenSIPS/opensips] cee3c2: Fix typo in the doc examples

2014-06-19 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cee3c29c9f763ed1f392ff52991167fbd44fb1dc
  
https://github.com/OpenSIPS/opensips/commit/cee3c29c9f763ed1f392ff52991167fbd44fb1dc
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M modules/auth/README
M modules/auth/doc/auth_admin.xml
M modules/auth_db/README
M modules/auth_db/doc/auth_db_admin.xml

  Log Message:
  ---
  Fix typo in the doc examples

(cherry picked from commit a550b90d6d4eda70a4e26f696eb4a216625813ff)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 761f30: Fix typo in the doc examples

2014-06-19 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 761f306c249e5e59e3018f44eb1215cb474d843f
  
https://github.com/OpenSIPS/opensips/commit/761f306c249e5e59e3018f44eb1215cb474d843f
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M modules/auth/README
M modules/auth/doc/auth_admin.xml
M modules/auth_db/README
M modules/auth_db/doc/auth_db_admin.xml

  Log Message:
  ---
  Fix typo in the doc examples

(cherry picked from commit a550b90d6d4eda70a4e26f696eb4a216625813ff)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 9ec67c: Fix typo in the doc examples

2014-06-19 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.9
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9ec67cd788c4a69a81715e1eaed2509094abebd0
  
https://github.com/OpenSIPS/opensips/commit/9ec67cd788c4a69a81715e1eaed2509094abebd0
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M modules/auth/README
M modules/auth/doc/auth_admin.xml
M modules/auth_db/README
M modules/auth_db/doc/auth_db_admin.xml

  Log Message:
  ---
  Fix typo in the doc examples

(cherry picked from commit a550b90d6d4eda70a4e26f696eb4a216625813ff)


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


[OpenSIPS-Devel] [opensips] Split fromip and toip columns (#253)

2014-06-19 Thread andrei-datcu

You can merge this Pull Request by running:

  git pull https://github.com/andrei-datcu/opensips master

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

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

-- Commit Summary --

  * Split fromip and toip columns

-- File Changes --

M db/schema/sip_trace.xml (36)
M modules/siptrace/README (24)
M modules/siptrace/doc/siptrace_admin.xml (63)
M modules/siptrace/siptrace.c (374)
M scripts/db_berkeley/opensips/sip_trace (4)
M scripts/dbtext/opensips/sip_trace (2)
M scripts/mysql/siptrace-create.sql (10)
M scripts/opensipsctlrc (12)
M scripts/opensipsdbctl (2)
M scripts/oracle/siptrace-create.sql (10)
M scripts/pi_http/pi_framework.xml (32)
M scripts/pi_http/siptrace-mod (24)
M scripts/pi_http/siptrace-table (8)
M scripts/postgres/siptrace-create.sql (10)

-- Patch Links --

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

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


Re: [OpenSIPS-Devel] [opensips] Split fromip and toip columns (#253)

2014-06-19 Thread Walter Doekes
 @@ -206,17 +206,35 @@ modparam(siptrace, duplicate_uri, 
 sip:10.1.1.1:5888)
  
  1.3.8. trace_local_ip (str)
  
 -   The address to be used in fromip field for local generated
 -   messages. If not set, the module sets it to the address of the
 -   socket that will be used to send the message.
 +   The address to be used in fromip fields (protocol, ip and port)

s/fromip/from/

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


Re: [OpenSIPS-Devel] [opensips] Split fromip and toip columns (#253)

2014-06-19 Thread Walter Doekes
 @@ -206,17 +206,35 @@ modparam(siptrace, duplicate_uri, 
 sip:10.1.1.1:5888)
  
  1.3.8. trace_local_ip (str)
  
 -   The address to be used in fromip field for local generated
 -   messages. If not set, the module sets it to the address of the
 -   socket that will be used to send the message.
 +   The address to be used in fromip fields (protocol, ip and port)
 +   for local generated messages. If not set, the module sets it to
 +   the address of the socket that will be used to send the
 +   message. Protocol and/or port ar optional and if ommited will

are omitted

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


Re: [OpenSIPS-Devel] [opensips] Split fromip and toip columns (#253)

2014-06-19 Thread andrei-datcu
 @@ -206,17 +206,35 @@ modparam(siptrace, duplicate_uri, 
 sip:10.1.1.1:5888)
  
  1.3.8. trace_local_ip (str)
  
 -   The address to be used in fromip field for local generated
 -   messages. If not set, the module sets it to the address of the
 -   socket that will be used to send the message.
 +   The address to be used in fromip fields (protocol, ip and port)
 +   for local generated messages. If not set, the module sets it to
 +   the address of the socket that will be used to send the
 +   message. Protocol and/or port ar optional and if ommited will

Thanks for noticing!

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


Re: [OpenSIPS-Devel] [opensips] Split fromip and toip columns (#253)

2014-06-19 Thread Răzvan Crainea
Merged #253.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] b74603: Split fromip and toip columns

2014-06-19 Thread Răzvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b746032e5eb146e8ac445d5f890cb1dc378983be
  
https://github.com/OpenSIPS/opensips/commit/b746032e5eb146e8ac445d5f890cb1dc378983be
  Author: Andrei Datcu datcuand...@gmail.com
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M db/schema/sip_trace.xml
M modules/siptrace/README
M modules/siptrace/doc/siptrace_admin.xml
M modules/siptrace/siptrace.c
M scripts/db_berkeley/opensips/sip_trace
M scripts/dbtext/opensips/sip_trace
M scripts/mysql/siptrace-create.sql
M scripts/opensipsctlrc
M scripts/opensipsdbctl
M scripts/oracle/siptrace-create.sql
M scripts/pi_http/pi_framework.xml
M scripts/pi_http/siptrace-mod
M scripts/pi_http/siptrace-table
M scripts/postgres/siptrace-create.sql

  Log Message:
  ---
  Split fromip and toip columns


  Commit: 534884d4ea7989b69e17fed250170f9be805d760
  
https://github.com/OpenSIPS/opensips/commit/534884d4ea7989b69e17fed250170f9be805d760
  Author: Andrei Datcu datcuand...@gmail.com
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M modules/dispatcher/dispatcher.c
M modules/siptrace/README
M modules/siptrace/doc/siptrace_admin.xml

  Log Message:
  ---
  Fixed typo in siptrace's readme


  Commit: 58e6b4c9aaf9be3c770f7327dd2e180c2d0a56ef
  
https://github.com/OpenSIPS/opensips/commit/58e6b4c9aaf9be3c770f7327dd2e180c2d0a56ef
  Author: Andrei Datcu datcuand...@gmail.com
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M modules/siptrace/README
M modules/siptrace/doc/siptrace_admin.xml

  Log Message:
  ---
  Fixed formulation in siptrace's readme


  Commit: 01bd4aa9d30b30d79143e38a0c0e979d4d5da8dd
  
https://github.com/OpenSIPS/opensips/commit/01bd4aa9d30b30d79143e38a0c0e979d4d5da8dd
  Author: Răzvan Crainea raz...@opensips.org
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M db/schema/sip_trace.xml
M modules/dispatcher/dispatcher.c
M modules/siptrace/README
M modules/siptrace/doc/siptrace_admin.xml
M modules/siptrace/siptrace.c
M scripts/db_berkeley/opensips/sip_trace
M scripts/dbtext/opensips/sip_trace
M scripts/mysql/siptrace-create.sql
M scripts/opensipsctlrc
M scripts/opensipsdbctl
M scripts/oracle/siptrace-create.sql
M scripts/pi_http/pi_framework.xml
M scripts/pi_http/siptrace-mod
M scripts/pi_http/siptrace-table
M scripts/postgres/siptrace-create.sql

  Log Message:
  ---
  Merge pull request #253 from andrei-datcu/master

Split fromip and toip columns


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


Re: [OpenSIPS-Devel] [opensips] event interface: support for async events (#251)

2014-06-19 Thread Ovidiu Sas
The event_route would the the most interesting case, as it is blocking the 
worker thread.
Instead of doing something specific for event_route or event_*, I was thinking 
to have a generic way to specify how the event should be handled (sync or 
async) and then it is up to the admin to register for the event in the desired 
format.

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


[OpenSIPS-Devel] [opensips] Yet another typo in siptrace's readme (#254)

2014-06-19 Thread andrei-datcu

You can merge this Pull Request by running:

  git pull https://github.com/andrei-datcu/opensips master

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

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

-- Commit Summary --

  * Yet another typo in siptrace#39;s readme

-- File Changes --

M modules/siptrace/README (4)
M modules/siptrace/doc/siptrace_admin.xml (4)

-- Patch Links --

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

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


[OpenSIPS-Devel] [OpenSIPS/opensips] dffb3c: Yet another typo in siptrace's readme

2014-06-19 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dffb3c5cca6160d6f37489651167e2cea6ac3688
  
https://github.com/OpenSIPS/opensips/commit/dffb3c5cca6160d6f37489651167e2cea6ac3688
  Author: Andrei Datcu datcuand...@gmail.com
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
M modules/siptrace/README
M modules/siptrace/doc/siptrace_admin.xml

  Log Message:
  ---
  Yet another typo in siptrace's readme


  Commit: 32c6c0df936f65c3f734daa63c90febc6467f8d5
  
https://github.com/OpenSIPS/opensips/commit/32c6c0df936f65c3f734daa63c90febc6467f8d5
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2014-06-20 (Fri, 20 Jun 2014)

  Changed paths:
M modules/siptrace/README
M modules/siptrace/doc/siptrace_admin.xml

  Log Message:
  ---
  Merge pull request #254 from andrei-datcu/master

Yet another typo in siptrace's readme


Compare: 
https://github.com/OpenSIPS/opensips/compare/01bd4aa9d30b...32c6c0df936f___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Yet another typo in siptrace's readme (#254)

2014-06-19 Thread Bogdan Andrei IANCU
Merged #254.

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