Re: [OpenSIPS-Devel] [opensips] Calling remove_hf() more than once for same header malforms sip message (#219)

2014-05-05 Thread Liviu Chircu
Hello,

There have been similar reports, and the problem was fixed on the master branch 
(still in testing phase). Please cherry-pick commit f9d9654e into your 1.10 
branch, and recompile everything:

git stash; git pull --rebase; git cherry-pick f9d9654e; git stash pop

Liviu

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


[OpenSIPS-Devel] [OpenSIPS/opensips] f1fec1: Fixed the connection handling - some modules would...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f1fec17d012a54790ce9be47d20cd52daf5a1cbe
  
https://github.com/OpenSIPS/opensips/commit/f1fec17d012a54790ce9be47d20cd52daf5a1cbe
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M db/schema/cachedb_sql.xml
M modules/cachedb_sql/cachedb_sql.c
M scripts/db_berkeley/opensips/version
M scripts/dbtext/opensips/version
M scripts/mysql/cachedb_sql-create.sql
M scripts/oracle/cachedb_sql-create.sql
M scripts/pi_http/cachedb_sql-mod
M scripts/pi_http/pi_framework.xml
M scripts/postgres/cachedb_sql-create.sql

  Log Message:
  ---
  Fixed the connection handling - some modules would want to run cachedb type 
ops in the mod init
Fixed the DB schema  increased version - the keyname must be a primary key for 
the counter ops to properly work


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 705bba: Fixed the connection handling - some modules would...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 705bba1676aafe5d0eede1c9f0e3a84404175a5b
  
https://github.com/OpenSIPS/opensips/commit/705bba1676aafe5d0eede1c9f0e3a84404175a5b
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M db/schema/cachedb_sql.xml
M modules/cachedb_sql/cachedb_sql.c
M scripts/db_berkeley/opensips/version
M scripts/dbtext/opensips/version
M scripts/mysql/cachedb_sql-create.sql
M scripts/oracle/cachedb_sql-create.sql
M scripts/pi_http/cachedb_sql-mod
M scripts/pi_http/pi_framework.xml
M scripts/postgres/cachedb_sql-create.sql

  Log Message:
  ---
  Fixed the connection handling - some modules would want to run cachedb type 
ops in the mod init
Fixed the DB schema  increased version - the keyname must be a primary key for 
the counter ops to properly work
(cherry picked from commit f1fec17d012a54790ce9be47d20cd52daf5a1cbe)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] cdf725: Fixed the connection handling - some modules would...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cdf725f02c1be080b231531a7bcfb05f67bc0029
  
https://github.com/OpenSIPS/opensips/commit/cdf725f02c1be080b231531a7bcfb05f67bc0029
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_sql/cachedb_sql.c

  Log Message:
  ---
  Fixed the connection handling - some modules would want to run cachedb type 
ops in the mod init


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


Re: [OpenSIPS-Devel] [opensips] OpenSIPS 1.8.4 can not be started when there are dialogs in the dialogs table (#197)

2014-05-05 Thread vladpaiu
Hello,

I have fixed the bug in head, 1.11 and 1.10 - see commit 
https://github.com/OpenSIPS/opensips/commit/cdf725f02c1be080b231531a7bcfb05f67bc0029

For 1.11 and head also fixed the DB schema for making the keyname a primary key 
: 
https://github.com/OpenSIPS/opensips/commit/705bba1676aafe5d0eede1c9f0e3a84404175a5b

Since the cachedb_sql module was added in OpenSIPS 1.9, you'll have to patch 
your sources with the above commits.

Best Regards,
Vlad

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


Re: [OpenSIPS-Devel] [opensips] OpenSIPS 1.8.4 can not be started when there are dialogs in the dialogs table (#197)

2014-05-05 Thread vladpaiu
Closed #197.

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


Re: [OpenSIPS-Devel] [opensips] OpenSIPS 1.8.4 can not be started when there are dialogs in the dialogs table (#197)

2014-05-05 Thread Damien Sandrs
Hi,

What is weird is that you commented out instructions that were not present in 
the original cachedb_sql implementation we provided to you.

In other words, the 1.8 backtrace I sent you corresponds to a crash without 
cdb_dbf.close(cdb_db_handle);
cdb_db_handle = 0;

Are you sure the correct bug is fixed ?

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


Re: [OpenSIPS-Devel] [opensips] OpenSIPS 1.8.4 can not be started when there are dialogs in the dialogs table (#197)

2014-05-05 Thread Damien Sandrs
And what I do not understand either is that Bogdan closed my pull request that 
was moving the   cdb_db_handle = cdb_dbf.init(db_url) from child_init to 
mod_init telling that it was not correct because we are using a global 
connection in that case, but your fix does the same except it does not remove 
the initialisation from child_init.

That means that we start the module with a global connection, then move to a 
per process connection as soon as possible ? Is that intended ?

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


Re: [OpenSIPS-Devel] [opensips] OpenSIPS 1.8.4 can not be started when there are dialogs in the dialogs table (#197)

2014-05-05 Thread vladpaiu
Hello,

In my tests, the crash no longer occurs with the provided commit.

The underlying issue is that, indeed, the cachedb_sql module does not properly 
implement the cachedb interface - it manages it's own global connection to the 
back-end instead of allowing the interface to do it ( this is a side effect of 
the fact that the module was implemented following the cachedb_local template 
where there is no actual connection ).

For a full example of the way the interface was meant to work, please take a 
look at the cachedb_redis ( eg. the init function from the cachedb interface 
should actually create the connection to the backend , instead of creating the 
connection in the mod_init func of the back-end module. Further on, that 
connection can be retrieved when running a command by accessing the 
cachedb_con-data pointer ).

Best Regards,
Vlad

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


Re: [OpenSIPS-Devel] [opensips] OpenSIPS 1.8.4 can not be started when there are dialogs in the dialogs table (#197)

2014-05-05 Thread Damien Sandrs
Hi,

Understood. I hope it is a safe fix :)
It seems to work here too...

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


Re: [OpenSIPS-Devel] [opensips] drouting: failed to work with nonSQL database (#173)

2014-05-05 Thread Bogdan Andrei IANCU
@ovidiusas , 2 months ago you stated The 'id' field is automatically converted 
to '_id' field by the mongo driver (see 5 comments above).
Actually that triggered all these changes, right ? if id is differently 
handled as _id, these changes make no sense, simply add an id field in your 
document and that's it :).

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 47cd18: When fetching a counter, do not accidentally creat...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 47cd18c007ee24c3a2c2bdf853fdcbb5790a9e95
  
https://github.com/OpenSIPS/opensips/commit/47cd18c007ee24c3a2c2bdf853fdcbb5790a9e95
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_memcached/cachedb_memcached.c

  Log Message:
  ---
  When fetching a counter, do not accidentally create it in case it does not 
exist


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 860e49: When fetching a counter, do not accidentally creat...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 860e4994d032b82d8209baad5938af4169dbc30e
  
https://github.com/OpenSIPS/opensips/commit/860e4994d032b82d8209baad5938af4169dbc30e
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_memcached/cachedb_memcached.c

  Log Message:
  ---
  When fetching a counter, do not accidentally create it in case it does not 
exist
(cherry picked from commit 47cd18c007ee24c3a2c2bdf853fdcbb5790a9e95)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 1edac7: When fetching a counter, do not accidentally creat...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1edac7bbda355f77ed9d0fe0c7fc5e854a5ed7ce
  
https://github.com/OpenSIPS/opensips/commit/1edac7bbda355f77ed9d0fe0c7fc5e854a5ed7ce
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_memcached/cachedb_memcached.c

  Log Message:
  ---
  When fetching a counter, do not accidentally create it in case it does not 
exist
(cherry picked from commit 47cd18c007ee24c3a2c2bdf853fdcbb5790a9e95)


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


Re: [OpenSIPS-Devel] [opensips] B2BUA authentication from AVPs does not work (#134)

2014-05-05 Thread Bogdan Andrei IANCU
@jpyle490 , the fix is done only on trunk (yet) - you can grab the patch from 
https://github.com/OpenSIPS/opensips/commit/4ccebfe0ddda37b833cb7cabbe691fbf5f31402d.patch
 and apply it on your 1.11 for testing.

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


Re: [OpenSIPS-Devel] [opensips] Fix some PgSQL schema issues (#218)

2014-05-05 Thread Nick Altmann
Closed #218.

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


[OpenSIPS-Devel] [opensips] Fix some PgSQL schema issues (#221)

2014-05-05 Thread Nick Altmann

You can merge this Pull Request by running:

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

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

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

-- Commit Summary --

  * PostgreSQL DB schema: remove bytea size because pgsql has no fixed size for 
this type of field
  * PostgreSQL DB schema: set for all serials maxvalue and cycle because 
sometimes serials may overflow

-- File Changes --

M doc/dbschema/xsl/postgres.xsl (28)

-- Patch Links --

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

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


Re: [OpenSIPS-Devel] [opensips] B2BUA authentication from AVPs does not work (#134)

2014-05-05 Thread jpyle490
I misread my download script... I did grab trunk.  I didn't notice this
until I tried to apply the patch and it said it was already there.

So, accidentally I did test on trunk.  :/

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 6ff5cf: PostgreSQL DB schema: remove bytea size because pg...

2014-05-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6ff5cf44974c1d0cc4e5f50b4b8be690d4fa8b76
  
https://github.com/OpenSIPS/opensips/commit/6ff5cf44974c1d0cc4e5f50b4b8be690d4fa8b76
  Author: Nick Altmann nick.altm...@gmail.com
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M doc/dbschema/xsl/postgres.xsl

  Log Message:
  ---
  PostgreSQL DB schema: remove bytea size because pgsql has no fixed size for 
this type of field


  Commit: 40e6f9a41aba608af05ed22296d4ea2d0688d97a
  
https://github.com/OpenSIPS/opensips/commit/40e6f9a41aba608af05ed22296d4ea2d0688d97a
  Author: Nick Altmann nick.altm...@gmail.com
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M doc/dbschema/xsl/postgres.xsl

  Log Message:
  ---
  PostgreSQL DB schema: set for all serials maxvalue and cycle because 
sometimes serials may overflow


  Commit: 671a5bb7af35833fbf1e634e8bd321417ef5aa6a
  
https://github.com/OpenSIPS/opensips/commit/671a5bb7af35833fbf1e634e8bd321417ef5aa6a
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M doc/dbschema/xsl/postgres.xsl

  Log Message:
  ---
  Merge pull request #221 from nikbyte/master

Fix some PgSQL schema issues


Compare: 
https://github.com/OpenSIPS/opensips/compare/47cd18c007ee...671a5bb7af35___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Fix some PgSQL schema issues (#221)

2014-05-05 Thread Bogdan Andrei IANCU
Merged #221.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 630625: Postgres schema regenerated

2014-05-05 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6306252b67e71770c9c145b062b611e14457e8ac
  
https://github.com/OpenSIPS/opensips/commit/6306252b67e71770c9c145b062b611e14457e8ac
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M scripts/postgres/acc-create.sql
M scripts/postgres/alias_db-create.sql
M scripts/postgres/auth_db-create.sql
M scripts/postgres/avpops-create.sql
M scripts/postgres/b2b-create.sql
M scripts/postgres/b2b_sca-create.sql
M scripts/postgres/call_center-create.sql
M scripts/postgres/carrierroute-create.sql
M scripts/postgres/closeddial-create.sql
M scripts/postgres/cpl-create.sql
M scripts/postgres/dialog-create.sql
M scripts/postgres/dialplan-create.sql
M scripts/postgres/dispatcher-create.sql
M scripts/postgres/domain-create.sql
M scripts/postgres/domainpolicy-create.sql
M scripts/postgres/drouting-create.sql
M scripts/postgres/group-create.sql
M scripts/postgres/imc-create.sql
M scripts/postgres/load_balancer-create.sql
M scripts/postgres/msilo-create.sql
M scripts/postgres/pdt-create.sql
M scripts/postgres/permissions-create.sql
M scripts/postgres/presence-create.sql
M scripts/postgres/registrant-create.sql
M scripts/postgres/registrar-create.sql
M scripts/postgres/rls-create.sql
M scripts/postgres/rtpproxy-create.sql
M scripts/postgres/siptrace-create.sql
M scripts/postgres/speeddial-create.sql
M scripts/postgres/uri_db-create.sql
M scripts/postgres/userblacklist-create.sql
M scripts/postgres/usrloc-create.sql

  Log Message:
  ---
  Postgres schema regenerated


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 67023e: When fetching a counter, do not accidentally creat...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 67023e99bad1d0569db53853d935abc480c72c19
  
https://github.com/OpenSIPS/opensips/commit/67023e99bad1d0569db53853d935abc480c72c19
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_couchbase/cachedb_couchbase_dbase.c

  Log Message:
  ---
  When fetching a counter, do not accidentally create it in case it does not 
exist


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 721b15: When fetching a counter, do not accidentally creat...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 721b1567f1967fa1477bdb11501e1ca71f92b601
  
https://github.com/OpenSIPS/opensips/commit/721b1567f1967fa1477bdb11501e1ca71f92b601
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_couchbase/cachedb_couchbase_dbase.c

  Log Message:
  ---
  When fetching a counter, do not accidentally create it in case it does not 
exist
(cherry picked from commit 67023e99bad1d0569db53853d935abc480c72c19)


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


Re: [OpenSIPS-Devel] [opensips] drouting: failed to work with nonSQL database (#173)

2014-05-05 Thread Ovidiu Sas
Hmmm ... I think there were some changes made to the driver in the last few 
months that might have changed how the id/_id fields are handled.  Or maybe I 
was under the wrong impression when I wrote that statement :-|

Anyway, the point is that we want to have a unique field that identifies a 
record.
As it is now, this field is id for sql databases and _id for mongo.
If the admin/operator would add an id field to the mongo db, then the 
operator would be responsible for populating the field and ensuring the field 
uniqueness (and this is what I would like to skip).
That's why I would like to see the the name of the id column to be parametrable.

Same thing would apply to the silo module, but there the table is populated by 
the module.
If we add an id field - for mongo db, that field will not be populated by the 
silo module and this will break functionality.
If we make the id column to be _id - via module param, then it should work 
automatically - assuming that we update the module to handle both int and 
strings (just like drouting).

We should aim to fix this only in the dev version and leave 1.11 as it is now. 
What do you think?

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 7e9c82: When fetching a counter, do not accidentally creat...

2014-05-05 Thread Vlad Paiu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7e9c82d69d77c6bb3d52401db8e477613723ee4a
  
https://github.com/OpenSIPS/opensips/commit/7e9c82d69d77c6bb3d52401db8e477613723ee4a
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_couchbase/cachedb_couchbase_dbase.c

  Log Message:
  ---
  When fetching a counter, do not accidentally create it in case it does not 
exist
(cherry picked from commit 67023e99bad1d0569db53853d935abc480c72c19)


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


[OpenSIPS-Devel] [opensips] Registrar module: user-agent filtering for lookup() (#222)

2014-05-05 Thread Nick Altmann

You can merge this Pull Request by running:

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

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

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

-- Commit Summary --

  * registrar module: user-agent filtering for lookup()

-- File Changes --

M modules/registrar/README (10)
M modules/registrar/doc/registrar_admin.xml (22)
M modules/registrar/lookup.c (58)
M modules/registrar/reg_mod.h (1)

-- Patch Links --

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

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


Re: [OpenSIPS-Devel] [opensips] cache_counter_fetch inadvertently creates timer in cache with no expiration (#64)

2014-05-05 Thread vladpaiu
Closed #64.

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


Re: [OpenSIPS-Devel] [opensips] cache_counter_fetch inadvertently creates timer in cache with no expiration (#64)

2014-05-05 Thread vladpaiu
Hello,

The cachedb_memcached and cachedb_couchbase modules were affected by this bug.
I have just committed fixes for them in the head, 1.11 and 1.10 branches.

Best Regards,
Vlad

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 65acf8: Merge pull request #221 from nikbyte/master

2014-05-05 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 65acf8027ecda3ea7137c9339f17fad8f6d8b9e2
  
https://github.com/OpenSIPS/opensips/commit/65acf8027ecda3ea7137c9339f17fad8f6d8b9e2
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M doc/dbschema/xsl/postgres.xsl

  Log Message:
  ---
  Merge pull request #221 from nikbyte/master

Fix some PgSQL schema issues


  Commit: 8ce527ec05fc82432859a0ab32d99f22afd02986
  
https://github.com/OpenSIPS/opensips/commit/8ce527ec05fc82432859a0ab32d99f22afd02986
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M scripts/postgres/acc-create.sql
M scripts/postgres/alias_db-create.sql
M scripts/postgres/auth_db-create.sql
M scripts/postgres/avpops-create.sql
M scripts/postgres/b2b-create.sql
M scripts/postgres/b2b_sca-create.sql
M scripts/postgres/call_center-create.sql
M scripts/postgres/carrierroute-create.sql
M scripts/postgres/closeddial-create.sql
M scripts/postgres/cpl-create.sql
M scripts/postgres/dialog-create.sql
M scripts/postgres/dialplan-create.sql
M scripts/postgres/dispatcher-create.sql
M scripts/postgres/domain-create.sql
M scripts/postgres/domainpolicy-create.sql
M scripts/postgres/drouting-create.sql
M scripts/postgres/group-create.sql
M scripts/postgres/imc-create.sql
M scripts/postgres/load_balancer-create.sql
M scripts/postgres/msilo-create.sql
M scripts/postgres/pdt-create.sql
M scripts/postgres/permissions-create.sql
M scripts/postgres/presence-create.sql
M scripts/postgres/registrant-create.sql
M scripts/postgres/registrar-create.sql
M scripts/postgres/rls-create.sql
M scripts/postgres/rtpproxy-create.sql
M scripts/postgres/siptrace-create.sql
M scripts/postgres/speeddial-create.sql
M scripts/postgres/uri_db-create.sql
M scripts/postgres/userblacklist-create.sql
M scripts/postgres/usrloc-create.sql

  Log Message:
  ---
  Postgres schema regenerated.


Compare: 
https://github.com/OpenSIPS/opensips/compare/721b1567f196...8ce527ec05fc___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 7474a2: Merge pull request #221 from nikbyte/master

2014-05-05 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.9
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7474a24c8e1a547c34007d262a53890f1d642d47
  
https://github.com/OpenSIPS/opensips/commit/7474a24c8e1a547c34007d262a53890f1d642d47
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M doc/dbschema/xsl/postgres.xsl

  Log Message:
  ---
  Merge pull request #221 from nikbyte/master

Fix some PgSQL schema issues
(cherry picked from commit 671a5bb7af35833fbf1e634e8bd321417ef5aa6a)


  Commit: 45c954322e0e05fc56982679e6e424e977337487
  
https://github.com/OpenSIPS/opensips/commit/45c954322e0e05fc56982679e6e424e977337487
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M scripts/postgres/acc-create.sql
M scripts/postgres/alias_db-create.sql
M scripts/postgres/auth_db-create.sql
M scripts/postgres/avpops-create.sql
M scripts/postgres/b2b-create.sql
M scripts/postgres/carrierroute-create.sql
M scripts/postgres/closeddial-create.sql
M scripts/postgres/cpl-create.sql
M scripts/postgres/dialplan-create.sql
M scripts/postgres/dispatcher-create.sql
M scripts/postgres/domain-create.sql
M scripts/postgres/domainpolicy-create.sql
M scripts/postgres/drouting-create.sql
M scripts/postgres/group-create.sql
M scripts/postgres/imc-create.sql
M scripts/postgres/load_balancer-create.sql
M scripts/postgres/msilo-create.sql
M scripts/postgres/pdt-create.sql
M scripts/postgres/permissions-create.sql
M scripts/postgres/presence-create.sql
M scripts/postgres/registrant-create.sql
M scripts/postgres/registrar-create.sql
M scripts/postgres/rls-create.sql
M scripts/postgres/rtpproxy-create.sql
M scripts/postgres/siptrace-create.sql
M scripts/postgres/speeddial-create.sql
M scripts/postgres/uri_db-create.sql
M scripts/postgres/userblacklist-create.sql
M scripts/postgres/usrloc-create.sql

  Log Message:
  ---
  Postgres schema regenerated.


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 643ec6: Merge pull request #221 from nikbyte/master

2014-05-05 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 643ec6caac8400b145230fab9aa4ba5db3f4ec22
  
https://github.com/OpenSIPS/opensips/commit/643ec6caac8400b145230fab9aa4ba5db3f4ec22
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M doc/dbschema/xsl/postgres.xsl

  Log Message:
  ---
  Merge pull request #221 from nikbyte/master

Fix some PgSQL schema issues
(cherry picked from commit 671a5bb7af35833fbf1e634e8bd321417ef5aa6a)


  Commit: 2ef546f6c22122da9bc28bb2fa5ced8d619024b2
  
https://github.com/OpenSIPS/opensips/commit/2ef546f6c22122da9bc28bb2fa5ced8d619024b2
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M scripts/postgres/acc-create.sql
M scripts/postgres/alias_db-create.sql
M scripts/postgres/auth_db-create.sql
M scripts/postgres/avpops-create.sql
M scripts/postgres/b2b-create.sql
M scripts/postgres/carrierroute-create.sql
M scripts/postgres/closeddial-create.sql
M scripts/postgres/cpl-create.sql
M scripts/postgres/dialog-create.sql
M scripts/postgres/dialplan-create.sql
M scripts/postgres/dispatcher-create.sql
M scripts/postgres/domain-create.sql
M scripts/postgres/domainpolicy-create.sql
M scripts/postgres/drouting-create.sql
M scripts/postgres/group-create.sql
M scripts/postgres/imc-create.sql
M scripts/postgres/load_balancer-create.sql
M scripts/postgres/msilo-create.sql
M scripts/postgres/nathelper-create.sql
M scripts/postgres/pdt-create.sql
M scripts/postgres/permissions-create.sql
M scripts/postgres/presence-create.sql
M scripts/postgres/registrant-create.sql
M scripts/postgres/registrar-create.sql
M scripts/postgres/rls-create.sql
M scripts/postgres/siptrace-create.sql
M scripts/postgres/speeddial-create.sql
M scripts/postgres/uri_db-create.sql
M scripts/postgres/userblacklist-create.sql
M scripts/postgres/usrloc-create.sql

  Log Message:
  ---
  Postgres schema regenerated.


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


[OpenSIPS-Devel] [OpenSIPS/opensips] bc65ef: Merge pull request #221 from nikbyte/master

2014-05-05 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bc65ef8a581bd5ad78faeda423a47309972ca859
  
https://github.com/OpenSIPS/opensips/commit/bc65ef8a581bd5ad78faeda423a47309972ca859
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M doc/dbschema/xsl/postgres.xsl

  Log Message:
  ---
  Merge pull request #221 from nikbyte/master

Fix some PgSQL schema issues
(cherry picked from commit 671a5bb7af35833fbf1e634e8bd321417ef5aa6a)


  Commit: 0f305c0858116ad0afb83ac51b344dfd0bab3bd8
  
https://github.com/OpenSIPS/opensips/commit/0f305c0858116ad0afb83ac51b344dfd0bab3bd8
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M scripts/postgres/acc-create.sql
M scripts/postgres/alias_db-create.sql
M scripts/postgres/auth_db-create.sql
M scripts/postgres/avpops-create.sql
M scripts/postgres/b2b-create.sql
M scripts/postgres/carrierroute-create.sql
M scripts/postgres/closeddial-create.sql
M scripts/postgres/cpl-create.sql
M scripts/postgres/dialplan-create.sql
M scripts/postgres/dispatcher-create.sql
M scripts/postgres/domain-create.sql
M scripts/postgres/domainpolicy-create.sql
M scripts/postgres/drouting-create.sql
M scripts/postgres/group-create.sql
M scripts/postgres/imc-create.sql
M scripts/postgres/load_balancer-create.sql
M scripts/postgres/msilo-create.sql
M scripts/postgres/pdt-create.sql
M scripts/postgres/permissions-create.sql
M scripts/postgres/presence-create.sql
M scripts/postgres/registrant-create.sql
M scripts/postgres/registrar-create.sql
M scripts/postgres/rls-create.sql
M scripts/postgres/rtpproxy-create.sql
M scripts/postgres/siptrace-create.sql
M scripts/postgres/speeddial-create.sql
M scripts/postgres/uri_db-create.sql
M scripts/postgres/userblacklist-create.sql
M scripts/postgres/usrloc-create.sql

  Log Message:
  ---
  Postgres schema regenerated.


Compare: 
https://github.com/OpenSIPS/opensips/compare/7e9c82d69d77...0f305c085811___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] B2BUA authentication from AVPs does not work (#134)

2014-05-05 Thread Bogdan Andrei IANCU
so it does not work with the current trunk, right ?

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


Re: [OpenSIPS-Devel] [opensips] B2BUA authentication from AVPs does not work (#134)

2014-05-05 Thread jpyle490
Correct.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 92d6ed: Fixed compile error.

2014-05-05 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 92d6ed496c87e61865a43f46e524ff1d3090c856
  
https://github.com/OpenSIPS/opensips/commit/92d6ed496c87e61865a43f46e524ff1d3090c856
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/cachedb_memcached/cachedb_memcached.c

  Log Message:
  ---
  Fixed compile error.

Introduced in previous commit 1edac7bbda355f77ed9d0fe0c7fc5e854a5ed7ce


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


Re: [OpenSIPS-Devel] [opensips] uac_registrant and external expires parameter (in 200OK) (#217)

2014-05-05 Thread Bogdan Andrei IANCU
Hi @ovidiusas , any progress with this bug ?

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


Re: [OpenSIPS-Devel] [opensips] drouting: failed to work with nonSQL database (#173)

2014-05-05 Thread Bogdan Andrei IANCU
1) if we back port to 1.11 the fix on accepting STRING and INT for the ID 
column, it will make sense to backport the module param too  - otherwise will 
be an incomplete and hard to use fix, right ?

2) let's limit this to trunk and 1.11

3) adapting all the other module to this approach on ID may be a bit 
tricky.Some of them (like Load Balancer) are actually storing and 
internally using it, so the change will be more extensive and difficult... :(

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


Re: [OpenSIPS-Devel] [opensips] Registrar module: user-agent filtering for lookup() (#222)

2014-05-05 Thread Nick Altmann
Closed #222.

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


Re: [OpenSIPS-Devel] [opensips] drouting: failed to work with nonSQL database (#173)

2014-05-05 Thread Ovidiu Sas
I would say let's limit this to trunk only and find the proper approach that 
will work for all modules.

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


[OpenSIPS-Devel] [OpenSIPS/opensips] d63ee1: db_unixodbc: deallocate the results only after the...

2014-05-05 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d63ee19a8961b6019eda067c0b439f09d8126901
  
https://github.com/OpenSIPS/opensips/commit/d63ee19a8961b6019eda067c0b439f09d8126901
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/db_unixodbc/con.h
M modules/db_unixodbc/dbase.c
M modules/db_unixodbc/res.c

  Log Message:
  ---
  db_unixodbc: deallocate the results only after they are processed

* closes bug #622 on the SF tracker


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


[OpenSIPS-Devel] [OpenSIPS/opensips] ba3b48: db_unixodbc: deallocate the results only after the...

2014-05-05 Thread Liviu Chircu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ba3b48b6c6765c554075206f2a8545e06be108ee
  
https://github.com/OpenSIPS/opensips/commit/ba3b48b6c6765c554075206f2a8545e06be108ee
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/db_unixodbc/con.h
M modules/db_unixodbc/dbase.c
M modules/db_unixodbc/res.c

  Log Message:
  ---
  db_unixodbc: deallocate the results only after they are processed

* closes bug #622 on the SF tracker
(cherry picked from commit d63ee19a8961b6019eda067c0b439f09d8126901)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 336d84: db_unixodbc: deallocate the results only after the...

2014-05-05 Thread Liviu Chircu
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 336d8483e7518fc2ec8ba3445422283992ffd510
  
https://github.com/OpenSIPS/opensips/commit/336d8483e7518fc2ec8ba3445422283992ffd510
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
M modules/db_unixodbc/con.h
M modules/db_unixodbc/dbase.c
M modules/db_unixodbc/res.c

  Log Message:
  ---
  db_unixodbc: deallocate the results only after they are processed

* closes bug #622 on the SF tracker
(cherry picked from commit d63ee19a8961b6019eda067c0b439f09d8126901)


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


[OpenSIPS-Devel] [opensips] registrar module: user-agent filtering for lookup() (#223)

2014-05-05 Thread Nick Altmann
Adds flags for lookup() for filter contacts by user-agent with regexp.
You can merge this Pull Request by running:

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

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

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

-- Commit Summary --

  * registrar module: user-agent filtering for lookup()

-- File Changes --

M modules/registrar/README (10)
M modules/registrar/doc/registrar_admin.xml (22)
M modules/registrar/lookup.c (58)
M modules/registrar/reg_mod.h (1)

-- Patch Links --

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

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


Re: [OpenSIPS-Devel] [opensips] uac_registrant and external expires parameter (in 200OK) (#217)

2014-05-05 Thread Ovidiu Sas
I will try to work on it tomorrow.

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


Re: [OpenSIPS-Devel] [opensips] drouting: failed to work with nonSQL database (#173)

2014-05-05 Thread Bogdan Andrei IANCU
OK, let's keep the changes on trunk only. I will close this ticket as bug 
report and please open a new one as feature request for the discussion on how 
to do it.

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


Re: [OpenSIPS-Devel] [opensips] drouting: failed to work with nonSQL database (#173)

2014-05-05 Thread Bogdan Andrei IANCU
Closed #173.

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


Re: [OpenSIPS-Devel] [opensips] registrar module: user-agent filtering for lookup() (#223)

2014-05-05 Thread Nick Altmann
Closed #223.

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


Re: [OpenSIPS-Devel] [opensips] Calling remove_hf() more than once for same header malforms sip message (#219)

2014-05-05 Thread rrb3942
Confirming that my testing shows that commit f9d9654 does fix this issue.

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


[OpenSIPS-Devel] YUM repository downtime

2014-05-05 Thread Nick Altmann
Hello everyone!

May 7, the YUM repository (yum.opensips.org) will be down due to
maintenance.

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