[OpenSIPS-Devel] [OpenSIPS/opensips] f1578b: modified id column to contact_id bigint primary ke...

2015-07-27 Thread ionutrazvanionita
  Branch: refs/heads/usrlocCID
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f1578b14b07bc245317243bf2616e2dd0d1fbe82
  
https://github.com/OpenSIPS/opensips/commit/f1578b14b07bc245317243bf2616e2dd0d1fbe82
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
M db/schema/location.xml
M doc/dbschema/xsl/sqlite.xsl
A scripts/db_berkeley/opensips/emergency_service_provider
M scripts/db_berkeley/opensips/location
M scripts/db_berkeley/opensips/version
A scripts/dbtext/opensips/emergency_service_provider
M scripts/dbtext/opensips/location
M scripts/dbtext/opensips/version
M scripts/mysql/emergency-create.sql
M scripts/mysql/usrloc-create.sql
M scripts/oracle/emergency-create.sql
M scripts/oracle/usrloc-create.sql
M scripts/pi_http/emergency-mod
M scripts/pi_http/emergency-table
M scripts/pi_http/pi_framework.xml
M scripts/pi_http/usrloc-mod
M scripts/pi_http/usrloc-table
M scripts/postgres/emergency-create.sql
M scripts/postgres/usrloc-create.sql
M scripts/sqlite/emergency-create.sql
M scripts/sqlite/usrloc-create.sql

  Log Message:
  ---
  modified id column to contact_id bigint primary key autoincrement in al dbs; 
regenerated scripts


  Commit: 4d7c67f1b6b9d8c42c1e97b76013881461b9d1f7
  
https://github.com/OpenSIPS/opensips/commit/4d7c67f1b6b9d8c42c1e97b76013881461b9d1f7
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
M modules/usrloc/ucontact.c
M modules/usrloc/udomain.c
M modules/usrloc/urecord.c

  Log Message:
  ---
  on DB_ONLY insert contact id value is null(autoincrement is used)


Compare: 
https://github.com/OpenSIPS/opensips/compare/04c9add72d46...4d7c67f1b6b9___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] Radius Async Support

2015-07-27 Thread Ionut Ionita

Hello all,


I’m glad to announce that OpenSIPS 2.2 now has async support for RADIUS 
operations. This new extension allows you to do RADIUS authentication 
and accounting requests (against a RADIUS server) in an asynchronous way 
(by transparently using the OpenSIPS internal reactor).


A big problem we are trying to solve these days is trying to reduce the 
time we wait for the response from a remote server we are talking to. We 
definitely do not want to block one entire process while waiting for the 
response. This exact problem arises when doing RADIUS authentication and 
accounting, because we send a message to the radius server and wait for 
the response. In order to solve this problem, we implemented these two 
operations asynchronously - basically this translates into non-blocking 
waiting for the responses from the RADIUS server.


There are two new async functions that are now exposed by the RADIUS 
module:

***radius_send_auth(), authentication function [0]

*** *radius_send_acct(), accounting function [1]*

For the moment, freeradius-client[2] does not officially have any async 
support, so we developed a patch for the library. We also proposed the 
patch to freeradius-client team, and we hope it will reach future 
versions. For the moment, you have to apply the patch manually over the 
radius library. You can find a full tutorial on how to apply it here [3].


The patch has not been intensely tested in real life scenarios, so we 
are looking forward to receiving feedback about any bugs you may find 
and/or new functionalities that may be useful to you.


Best regards,

Ionut-Razvan Ionita


[0] 
http://www.opensips.org/html/docs/modules/2.2.x/aaa_radius.html#id293595
[1] 
http://www.opensips.org/html/docs/modules/2.2.x/aaa_radius.html#id293657

[2] https://github.com/FreeRADIUS/freeradius-client
[3] 
http://www.opensips.org/html/docs/modules/2.2.x/aaa_radius.html#id294274*


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


[OpenSIPS-Devel] [opensips] [Feature] s.trim transformation (#579)

2015-07-27 Thread Bogdan Andrei IANCU
A s.trim transformation to do left / right space/tab trimming.  

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 9404a7: update and delete based on contact_id

2015-07-27 Thread ionutrazvanionita
  Branch: refs/heads/usrlocCID
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9404a7654bcd226091b6e065dd6c82e7eb5a0f46
  
https://github.com/OpenSIPS/opensips/commit/9404a7654bcd226091b6e065dd6c82e7eb5a0f46
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
M modules/usrloc/ucontact.c

  Log Message:
  ---
  update and delete based on contact_id


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