From jh@tutpro.com Sat Feb 1 20:38:29 2014 From: Juha Heinanen To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: presence: bugfix: Add option to disable per-Table lock for database layer Date: Sat, 01 Feb 2014 21:38:19 +0200 Message-ID: <21229.19755.702581.129878@tutpro.com> In-Reply-To: <20140130205712.F1B2CEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0872259168==" --===============0872259168== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Carsten Bock writes: > presence: bugfix: Add option to disable per-Table lock for database layer > (causes trouble with MySQL in DB_ONLY mode) ... > + <varname>db_table_lock_type</varname> (integer) > + > + Enable (=1) or disable (=0) the Locks for table during an transaction. > + Locking only the "current" table causes problems with a MySQL-Databases > + in "DB-Only" mode. does it make sense to disable the locks? i would imagine that they were introduced for a purpose. what can break if locks are not used? does the same MySQL trouble exist with locks used in rls module? -- juha --===============0872259168==-- From carsten@ng-voice.com Sat Feb 1 22:53:07 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git:4.1: presence: bugfix: Add option to disable per-Table lock for database layer Date: Sat, 01 Feb 2014 22:53:01 +0100 Message-ID: In-Reply-To: <21229.19755.702581.129878@tutpro.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1891020855==" --===============1891020855== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Juha, all i can say is, that the locks make the presence module completely unusable with a MySQL backend in DB_ONLY mode. The current database layer will only lock the current table for a transaction, not all tables used during one transaction. And that results in an unusable database connection. In order to change that, i'd have to the complete database API. .. The RLS-Module has a similar option already... Kind regards, Carsten Am 01.02.2014 20:38 schrieb "Juha Heinanen" : > Carsten Bock writes: > > > presence: bugfix: Add option to disable per-Table lock for database layer > > (causes trouble with MySQL in DB_ONLY mode) > ... > > + <varname>db_table_lock_type</varname> (integer) > > + > > + Enable (=1) or disable (=0) the Locks for table during an > transaction. > > + Locking only the "current" table causes problems with a > MySQL-Databases > > + in "DB-Only" mode. > > does it make sense to disable the locks? i would imagine that they were > introduced for a purpose. what can break if locks are not used? > > does the same MySQL trouble exist with locks used in rls module? > > -- juha > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > --===============1891020855== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PHAgZGlyPSJsdHIiPkhpIEp1aGEsPC9wPgo8cCBkaXI9Imx0ciI+YWxsIGkgY2FuIHNheSBpcywg dGhhdCB0aGUgbG9ja3MgbWFrZSB0aGUgcHJlc2VuY2UgbW9kdWxlIGNvbXBsZXRlbHkgdW51c2Fi bGUgd2l0aCBhIE15U1FMIGJhY2tlbmQgaW4gREJfT05MWSBtb2RlLiBUaGUgY3VycmVudCBkYXRh YmFzZSBsYXllciB3aWxsIG9ubHkgbG9jayB0aGUgY3VycmVudCB0YWJsZSBmb3IgYSB0cmFuc2Fj dGlvbiwgbm90IGFsbCB0YWJsZXMgdXNlZCBkdXJpbmcgb25lIHRyYW5zYWN0aW9uLiBBbmQgdGhh dCByZXN1bHRzIGluIGFuIHVudXNhYmxlIGRhdGFiYXNlIGNvbm5lY3Rpb24uPGJyPgoKSW4gb3Jk ZXIgdG8gY2hhbmdlIHRoYXQsIGkmIzM5O2QgaGF2ZSB0byB0aGUgY29tcGxldGUgZGF0YWJhc2Ug QVBJLiAuLjxicj4KVGhlIFJMUy1Nb2R1bGUgaGFzIGEgc2ltaWxhciBvcHRpb24gYWxyZWFkeS4u LjwvcD4KPHAgZGlyPSJsdHIiPktpbmQgcmVnYXJkcyw8YnI+CkNhcnN0ZW48L3A+CjxkaXYgY2xh c3M9ImdtYWlsX3F1b3RlIj5BbSAwMS4wMi4yMDE0IDIwOjM4IHNjaHJpZWIgJnF1b3Q7SnVoYSBI ZWluYW5lbiZxdW90OyAmbHQ7PGEgaHJlZj0ibWF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WFnaW5lIHRoYXQgdGhleSB3ZXJlPGJyPgppbnRyb2R1Y2VkIGZv ciBhIHB1cnBvc2UuIHdoYXQgY2FuIGJyZWFrIGlmIGxvY2tzIGFyZSBub3QgdXNlZD88YnI+Cjxi cj4KZG9lcyB0aGUgc2FtZSBNeVNRTCB0cm91YmxlIGV4aXN0IHdpdGggbG9ja3MgdXNlZCBpbiBy bHMgbW9kdWxlPzxicj4KPGJyPgotLSBqdWhhPGJyPgo8YnI+Cl9fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fPGJyPgpzci1kZXYgbWFpbGluZyBsaXN0PGJyPgo8 YSBocmVmPSJtYWlsdG86c3ItZGV2QGxpc3RzLnNpcC1yb3V0ZXIub3JnIj5zci1kZXZAbGlzdHMu c2lwLXJvdXRlci5vcmc8L2E+PGJyPgo8YSBocmVmPSJodHRwOi8vbGlzdHMuc2lwLXJvdXRlci5v cmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3NyLWRldiIgdGFyZ2V0PSJfYmxhbmsiPmh0dHA6 Ly9saXN0cy5zaXAtcm91dGVyLm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vc3ItZGV2PC9h Pjxicj4KPC9ibG9ja3F1b3RlPjwvZGl2Pgo= --===============1891020855==-- From miconda@gmail.com Mon Feb 3 09:42:07 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Per-child module de-init Date: Mon, 03 Feb 2014 09:42:00 +0100 Message-ID: <52EF5658.8050100@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0634573782==" --===============0634573782== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, On 20/01/14 13:14, Alekzander Spiridonov wrote: > > Hi list, > > Could anyone tell me if there is a symmetric way to "de-init" kamailio > child processes as it is done with child_init_function. > > Actual use case is to open connect only in timer module (for periodic > checks) and some how close it before kamailio is stopped. So at the > moment I use child_init_function to open connect but have no idea how > to close it since destroy_function is called only for proc_main AFTER > all childs are terminated. indeed, the destroy function is executed by proc main and there is no option on a per child destroy callback. All connections will be cleared at the os layer once the application was stopped. Cheers, Daniel -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0634573782==-- From miconda@gmail.com Mon Feb 3 09:59:05 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: Makefile.defs: version set to 4.2.0-dev2 Date: Mon, 03 Feb 2014 09:59:04 +0100 Message-ID: <20140203085904.DE1EAEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1618282711==" --===============1618282711== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 5a6fbb29f5776743df4a97ce93b848d662da6b08 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D5a6fbb29f5776743df4a97ce93b848d662da6b08 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: Mon Feb 3 09:58:37 2014 +0100 Makefile.defs: version set to 4.2.0-dev2 --- Makefile.defs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.defs b/Makefile.defs index 589fc26..7e801ac 100644 --- a/Makefile.defs +++ b/Makefile.defs @@ -165,7 +165,7 @@ INSTALL_FLAVOUR=3D$(FLAVOUR) VERSION =3D 4 PATCHLEVEL =3D 2 SUBLEVEL =3D 0 -EXTRAVERSION =3D -dev1 +EXTRAVERSION =3D -dev2 =20 # memory manager switcher # 0 - f_malloc (fast malloc) --===============1618282711==-- From carsten@ng-voice.com Mon Feb 3 10:00:04 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: presence: Clarify the db_lock_type in the docs in conjunction with the mode DB_ONLY and a MySQL-Backend . Date: Mon, 03 Feb 2014 10:00:03 +0100 Message-ID: <20140203090003.707BBEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1537586220==" --===============1537586220== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 77d81c02bf24b5ef266ad6dfecf393342cfe4000 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D77d81c02bf24b5ef266ad6dfecf393342cfe4000 Author: Carsten Bock Committer: Carsten Bock Date: Mon Feb 3 09:58:59 2014 +0100 presence: Clarify the db_lock_type in the docs in conjunction with the mode D= B_ONLY and a MySQL-Backend. --- modules/presence/doc/presence_admin.xml | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/presence/doc/presence_admin.xml b/modules/presence/doc/p= resence_admin.xml index 8b18174..e753463 100644 --- a/modules/presence/doc/presence_admin.xml +++ b/modules/presence/doc/presence_admin.xml @@ -578,9 +578,15 @@ modparam("presence", "fetch_rows", 1000)
<varname>db_table_lock_type</varname> (integer) - Enable (=3D1) or disable (=3D0) the Locks for table during an transaction. - Locking only the "current" table causes problems with a MySQL-Databases - in "DB-Only" mode. + Enable (=3D1) or disable (=3D0) the Locks for table during an + transaction. Locking only the "current" table causes problems + with a MySQL-Databases in "DB-Only" mode. + + + In order to use the Presence-Module in "DB_ONLY"-mode with a=20 + MySQL-Backend, set this parameter to "0", otherwise the=20 + MySQL-Operations will fail. The Presence-Module will generate + a "500 Server error" due to the failed MySQL-queries. --===============1537586220==-- From carsten@ng-voice.com Mon Feb 3 10:00:37 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: presence: Clarify the db_lock_type in the docs in conjunction with the mode DB_ONLY and a MySQL-Backend . Date: Mon, 03 Feb 2014 10:00:36 +0100 Message-ID: <20140203090037.19315EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0859502801==" --===============0859502801== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: 94d80b77f5bee00c8a2d27930dbd3b73a3ea0747 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D94d80b77f5bee00c8a2d27930dbd3b73a3ea0747 Author: Carsten Bock Committer: Carsten Bock Date: Mon Feb 3 09:58:59 2014 +0100 presence: Clarify the db_lock_type in the docs in conjunction with the mode D= B_ONLY and a MySQL-Backend. --- modules/presence/doc/presence_admin.xml | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/presence/doc/presence_admin.xml b/modules/presence/doc/p= resence_admin.xml index 8b18174..e753463 100644 --- a/modules/presence/doc/presence_admin.xml +++ b/modules/presence/doc/presence_admin.xml @@ -578,9 +578,15 @@ modparam("presence", "fetch_rows", 1000)
<varname>db_table_lock_type</varname> (integer) - Enable (=3D1) or disable (=3D0) the Locks for table during an transaction. - Locking only the "current" table causes problems with a MySQL-Databases - in "DB-Only" mode. + Enable (=3D1) or disable (=3D0) the Locks for table during an + transaction. Locking only the "current" table causes problems + with a MySQL-Databases in "DB-Only" mode. + + + In order to use the Presence-Module in "DB_ONLY"-mode with a=20 + MySQL-Backend, set this parameter to "0", otherwise the=20 + MySQL-Operations will fail. The Presence-Module will generate + a "500 Server error" due to the failed MySQL-queries. --===============0859502801==-- From carsten@ng-voice.com Mon Feb 3 10:05:44 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: presence: Regenerated README Date: Mon, 03 Feb 2014 10:05:43 +0100 Message-ID: <20140203090543.BDD82EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1606086367==" --===============1606086367== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: 1ec2dfbd836872df4663c059c26f410935a51b62 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D1ec2dfbd836872df4663c059c26f410935a51b62 Author: Carsten Bock Committer: Carsten Bock Date: Mon Feb 3 10:05:35 2014 +0100 presence: Regenerated README --- modules/presence/README | 82 +++++++++++++++++++++++++++++----------------- 1 files changed, 52 insertions(+), 30 deletions(-) diff --git a/modules/presence/README b/modules/presence/README index f8681e4..b905594 100644 --- a/modules/presence/README +++ b/modules/presence/README @@ -16,9 +16,9 @@ Edited by =20 Juha Heinanen =20 - Copyright =EF=BF=BD 2006 Voice Sistem SRL + Copyright =C2=A9 2006 Voice Sistem SRL =20 - Copyright =EF=BF=BD 2009 Juha Heinanen + Copyright =C2=A9 2009 Juha Heinanen __________________________________________________________________ =20 Table of Contents @@ -54,6 +54,7 @@ Juha Heinanen 3.19. enable_sphere_check (int) 3.20. timeout_rm_subs (int) 3.21. fetch_rows (integer) + 3.22. db_table_lock_type (integer) =20 4. Functions =20 @@ -119,11 +120,12 @@ Juha Heinanen 1.19. Set enable_sphere_check parameter 1.20. Set timeout_rm_subs parameter 1.21. Set fetch_rows parameter - 1.22. handle_publish usage - 1.23. handle_subscribe usage - 1.24. pres_auth_status usage - 1.25. pres_refresh_watchers usage - 1.26. pres_update_watchers usage + 1.22. Set db_table_lock_type parameter + 1.23. handle_publish usage + 1.24. handle_subscribe usage + 1.25. pres_auth_status usage + 1.26. pres_refresh_watchers usage + 1.27. pres_update_watchers usage 2.1. presence_api_t structure =20 Chapter 1. Admin Guide @@ -159,6 +161,7 @@ Chapter 1. Admin Guide 3.19. enable_sphere_check (int) 3.20. timeout_rm_subs (int) 3.21. fetch_rows (integer) + 3.22. db_table_lock_type (integer) =20 4. Functions =20 @@ -245,6 +248,7 @@ Chapter 1. Admin Guide 3.19. enable_sphere_check (int) 3.20. timeout_rm_subs (int) 3.21. fetch_rows (integer) + 3.22. db_table_lock_type (integer) =20 3.1. db_url(str) =20 @@ -253,7 +257,7 @@ Chapter 1. Admin Guide If set, the module is a fully operational presence server. Otherwise, it is used as a 'library', for its exported functions. =20 - Default value is "NULL". + Default value is =E2=80=9CNULL=E2=80=9D. =20 Example 1.1. Set db_url parameter ... @@ -265,7 +269,7 @@ modparam("presence", "db_url", =20 The name of the db table where PUBLISH presence information is stored. =20 - Default value is "presentity". + Default value is =E2=80=9Cpresentity=E2=80=9D. =20 Example 1.2. Set presentity_table parameter ... @@ -277,7 +281,7 @@ modparam("presence", "presentity_table", "presentity") The name of the db table where active subscription information is stored. =20 - Default value is "active_watchers". + Default value is =E2=80=9Cactive_watchers=E2=80=9D. =20 Example 1.3. Set active_watchers_table parameter ... @@ -288,7 +292,7 @@ modparam("presence", "active_watchers_table", "active_wat= chers") =20 The name of the db table where subscription states are stored. =20 - Default value is "watchers". + Default value is =E2=80=9Cwatchers=E2=80=9D. =20 Example 1.4. Set watchers_table parameter ... @@ -300,7 +304,7 @@ modparam("presence", "watchers_table", "watchers") The period in seconds between checks if there are expired messages stored in database. =20 - Default value is "100". A zero or negative value disables this + Default value is =E2=80=9C100=E2=80=9D. A zero or negative value disables= this activity. =20 Example 1.5. Set clean_period parameter @@ -313,7 +317,7 @@ modparam("presence", "clean_period", 100) The period at which to synchronize cached subscriber info with the database. =20 - Default value is "100". A zero or negative value disables + Default value is =E2=80=9C100=E2=80=9D. A zero or negative value disables synchronization. =20 Example 1.6. Set db_update_period parameter @@ -331,7 +335,7 @@ modparam("presence", "db_update_period", 100) than 0. When notifier_processes is less than or equal to 0 NOTIFY requests are sent immediately. =20 - Default value is "5". + Default value is =E2=80=9C5=E2=80=9D. =20 Example 1.7. Set waitn_time parameter ... @@ -348,7 +352,7 @@ modparam("presence", "waitn_time", 10) Separate notifier processes are only run when subs_db_mode is 3 (DB only mode). =20 - Default value is "10". + Default value is =E2=80=9C10=E2=80=9D. =20 Example 1.8. Set notifier_poll_rate parameter ... @@ -368,7 +372,7 @@ modparam("presence", "notifier_poll_rate", 20) NOTIFY requests can be sent on a dialog at the same time, there are race conditions which result in CSeq re-use. =20 - Default value is "1". + Default value is =E2=80=9C1=E2=80=9D. =20 Example 1.9. Set notifier_processes parameter ... @@ -380,7 +384,7 @@ modparam("presence", "notifier_processes", 2) The prefix used when generating to_tag when sending replies for SUBSCRIBE requests. =20 - Default value is "10". + Default value is =E2=80=9C10=E2=80=9D. =20 Example 1.10. Set to_tag_pref parameter ... @@ -393,7 +397,7 @@ modparam("presence", "to_tag_pref", 'pres') when sending a 200OK for a publish. It is used for forcing the client to send an update before the old publish expires. =20 - Default value is "0". + Default value is =E2=80=9C0=E2=80=9D. =20 Example 1.11. Set expires_offset parameter ... @@ -405,7 +409,7 @@ modparam("presence", "expires_offset", 10) The the maximum admissible expires value for PUBLISH/SUBSCRIBE message (in seconds). =20 - Default value is "3600". + Default value is =E2=80=9C3600=E2=80=9D. =20 Example 1.12. Set max_expires parameter ... @@ -476,7 +480,7 @@ modparam("presence", "subs_db_mode", 1) database or there are other external entities inserting data into the presentity table. =20 - Default value is "1". + Default value is =E2=80=9C1=E2=80=9D. =20 Example 1.15. Set publ_cache parameter ... @@ -489,7 +493,7 @@ modparam("presence", "publ_cache", 0) This parameter will be used as the power of 2 when computing table size. =20 - Default value is "9 (512)". + Default value is =E2=80=9C9 (512)=E2=80=9D. =20 Example 1.16. Set subs_htable_size parameter ... @@ -501,7 +505,7 @@ modparam("presence", "subs_htable_size", 11) The size of the in-memory hash table to store publish records. This parameter will be used as the power of 2 when computing table size. =20 - Default value is "9 (512)". + Default value is =E2=80=9C9 (512)=E2=80=9D. =20 Example 1.17. Set pres_htable_size parameter ... @@ -516,7 +520,7 @@ modparam("presence", "pres_htable_size", 11) empty NOTIFY to an message-summary event. This parameter is enabled by default, thus addering to the standard. =20 - Default value is "1 ". + Default value is =E2=80=9C1 =E2=80=9D. =20 Example 1.18. Set send_fast_notify parameter ... @@ -531,7 +535,7 @@ modparam("presence", "send_fast_notify", 0) this check requires extra processing that should be avoided if this feature is not supported by the clients. =20 - Default value is "0 ". + Default value is =E2=80=9C0 =E2=80=9D. =20 Example 1.19. Set enable_sphere_check parameter ... @@ -546,7 +550,7 @@ modparam("presence", "enable_sphere_check", 1) on. Disabling this will keep subscriptions active on unreliable networks. =20 - Default value is "1". + Default value is =E2=80=9C1=E2=80=9D. =20 Example 1.20. Set timeout_rm_subs parameter ... @@ -564,6 +568,24 @@ modparam("presence", "timeout_rm_subs", 0) modparam("presence", "fetch_rows", 1000) ... =20 +3.22. db_table_lock_type (integer) + + Enable (=3D1) or disable (=3D0) the Locks for table during an transaction. + Locking only the "current" table causes problems with a MySQL-Databases + in "DB-Only" mode. + + In order to use the Presence-Module in "DB_ONLY"-mode with a + MySQL-Backend, set this parameter to "0", otherwise the + MySQL-Operations will fail. The Presence-Module will generate a "500 + Server error" due to the failed MySQL-queries. + + Default value is 1 (Write Lock for the Tables). + + Example 1.22. Set db_table_lock_type parameter +... +modparam("presence", "db_table_lock_type", 0) +... + 4. Functions =20 4.1. handle_publish(char* sender_uri) @@ -592,7 +614,7 @@ modparam("presence", "fetch_rows", 1000) =20 The module sends an appropriate stateless reply in all cases. =20 - Example 1.22. handle_publish usage + Example 1.23. handle_publish usage ... if(is_method("PUBLISH")) { @@ -623,7 +645,7 @@ modparam("presence", "fetch_rows", 1000) =20 The module sends an appropriate stateless reply in all cases. =20 - Example 1.23. handle_subscribe usage + Example 1.24. handle_subscribe usage ... if(method=3D=3D"SUBSCRIBE") handle_subscribe(); @@ -640,7 +662,7 @@ if(method=3D=3D"SUBSCRIBE") =20 This function can be used from REQUEST_ROUTE. =20 - Example 1.24. pres_auth_status usage + Example 1.25. pres_auth_status usage ... if (method=3D=3D"MESSAGE") { pres_auth_status("$fu", $ru"); @@ -676,7 +698,7 @@ if (method=3D=3D"MESSAGE") { =20 This function can be used from ANY_ROUTE. =20 - Example 1.25. pres_refresh_watchers usage + Example 1.26. pres_refresh_watchers usage ... pres_refresh_watchers("sip:test(a)kamailio.org", "presence", 1); ... @@ -694,7 +716,7 @@ pres_refresh_watchers("sip:test(a)kamailio.org", "presenc= e", 1); =20 This function can be used from ANY_ROUTE. =20 - Example 1.26. pres_update_watchers usage + Example 1.27. pres_update_watchers usage ... pres_update_watchers("sip:test(a)kamailio.org", "presence"); ... --===============1606086367==-- From carsten@ng-voice.com Mon Feb 3 10:05:53 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: presence: Regenerated README Date: Mon, 03 Feb 2014 10:05:53 +0100 Message-ID: <20140203090553.6A4A6EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0216884421==" --===============0216884421== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: c3466508d9486b566dff62ecbc0c509eacdd924e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Dc3466508d9486b566dff62ecbc0c509eacdd924e Author: Carsten Bock Committer: Carsten Bock Date: Mon Feb 3 10:04:06 2014 +0100 presence: Regenerated README --- modules/presence/README | 82 +++++++++++++++++++++++++++++----------------- 1 files changed, 52 insertions(+), 30 deletions(-) diff --git a/modules/presence/README b/modules/presence/README index f8681e4..b905594 100644 --- a/modules/presence/README +++ b/modules/presence/README @@ -16,9 +16,9 @@ Edited by =20 Juha Heinanen =20 - Copyright =EF=BF=BD 2006 Voice Sistem SRL + Copyright =C2=A9 2006 Voice Sistem SRL =20 - Copyright =EF=BF=BD 2009 Juha Heinanen + Copyright =C2=A9 2009 Juha Heinanen __________________________________________________________________ =20 Table of Contents @@ -54,6 +54,7 @@ Juha Heinanen 3.19. enable_sphere_check (int) 3.20. timeout_rm_subs (int) 3.21. fetch_rows (integer) + 3.22. db_table_lock_type (integer) =20 4. Functions =20 @@ -119,11 +120,12 @@ Juha Heinanen 1.19. Set enable_sphere_check parameter 1.20. Set timeout_rm_subs parameter 1.21. Set fetch_rows parameter - 1.22. handle_publish usage - 1.23. handle_subscribe usage - 1.24. pres_auth_status usage - 1.25. pres_refresh_watchers usage - 1.26. pres_update_watchers usage + 1.22. Set db_table_lock_type parameter + 1.23. handle_publish usage + 1.24. handle_subscribe usage + 1.25. pres_auth_status usage + 1.26. pres_refresh_watchers usage + 1.27. pres_update_watchers usage 2.1. presence_api_t structure =20 Chapter 1. Admin Guide @@ -159,6 +161,7 @@ Chapter 1. Admin Guide 3.19. enable_sphere_check (int) 3.20. timeout_rm_subs (int) 3.21. fetch_rows (integer) + 3.22. db_table_lock_type (integer) =20 4. Functions =20 @@ -245,6 +248,7 @@ Chapter 1. Admin Guide 3.19. enable_sphere_check (int) 3.20. timeout_rm_subs (int) 3.21. fetch_rows (integer) + 3.22. db_table_lock_type (integer) =20 3.1. db_url(str) =20 @@ -253,7 +257,7 @@ Chapter 1. Admin Guide If set, the module is a fully operational presence server. Otherwise, it is used as a 'library', for its exported functions. =20 - Default value is "NULL". + Default value is =E2=80=9CNULL=E2=80=9D. =20 Example 1.1. Set db_url parameter ... @@ -265,7 +269,7 @@ modparam("presence", "db_url", =20 The name of the db table where PUBLISH presence information is stored. =20 - Default value is "presentity". + Default value is =E2=80=9Cpresentity=E2=80=9D. =20 Example 1.2. Set presentity_table parameter ... @@ -277,7 +281,7 @@ modparam("presence", "presentity_table", "presentity") The name of the db table where active subscription information is stored. =20 - Default value is "active_watchers". + Default value is =E2=80=9Cactive_watchers=E2=80=9D. =20 Example 1.3. Set active_watchers_table parameter ... @@ -288,7 +292,7 @@ modparam("presence", "active_watchers_table", "active_wat= chers") =20 The name of the db table where subscription states are stored. =20 - Default value is "watchers". + Default value is =E2=80=9Cwatchers=E2=80=9D. =20 Example 1.4. Set watchers_table parameter ... @@ -300,7 +304,7 @@ modparam("presence", "watchers_table", "watchers") The period in seconds between checks if there are expired messages stored in database. =20 - Default value is "100". A zero or negative value disables this + Default value is =E2=80=9C100=E2=80=9D. A zero or negative value disables= this activity. =20 Example 1.5. Set clean_period parameter @@ -313,7 +317,7 @@ modparam("presence", "clean_period", 100) The period at which to synchronize cached subscriber info with the database. =20 - Default value is "100". A zero or negative value disables + Default value is =E2=80=9C100=E2=80=9D. A zero or negative value disables synchronization. =20 Example 1.6. Set db_update_period parameter @@ -331,7 +335,7 @@ modparam("presence", "db_update_period", 100) than 0. When notifier_processes is less than or equal to 0 NOTIFY requests are sent immediately. =20 - Default value is "5". + Default value is =E2=80=9C5=E2=80=9D. =20 Example 1.7. Set waitn_time parameter ... @@ -348,7 +352,7 @@ modparam("presence", "waitn_time", 10) Separate notifier processes are only run when subs_db_mode is 3 (DB only mode). =20 - Default value is "10". + Default value is =E2=80=9C10=E2=80=9D. =20 Example 1.8. Set notifier_poll_rate parameter ... @@ -368,7 +372,7 @@ modparam("presence", "notifier_poll_rate", 20) NOTIFY requests can be sent on a dialog at the same time, there are race conditions which result in CSeq re-use. =20 - Default value is "1". + Default value is =E2=80=9C1=E2=80=9D. =20 Example 1.9. Set notifier_processes parameter ... @@ -380,7 +384,7 @@ modparam("presence", "notifier_processes", 2) The prefix used when generating to_tag when sending replies for SUBSCRIBE requests. =20 - Default value is "10". + Default value is =E2=80=9C10=E2=80=9D. =20 Example 1.10. Set to_tag_pref parameter ... @@ -393,7 +397,7 @@ modparam("presence", "to_tag_pref", 'pres') when sending a 200OK for a publish. It is used for forcing the client to send an update before the old publish expires. =20 - Default value is "0". + Default value is =E2=80=9C0=E2=80=9D. =20 Example 1.11. Set expires_offset parameter ... @@ -405,7 +409,7 @@ modparam("presence", "expires_offset", 10) The the maximum admissible expires value for PUBLISH/SUBSCRIBE message (in seconds). =20 - Default value is "3600". + Default value is =E2=80=9C3600=E2=80=9D. =20 Example 1.12. Set max_expires parameter ... @@ -476,7 +480,7 @@ modparam("presence", "subs_db_mode", 1) database or there are other external entities inserting data into the presentity table. =20 - Default value is "1". + Default value is =E2=80=9C1=E2=80=9D. =20 Example 1.15. Set publ_cache parameter ... @@ -489,7 +493,7 @@ modparam("presence", "publ_cache", 0) This parameter will be used as the power of 2 when computing table size. =20 - Default value is "9 (512)". + Default value is =E2=80=9C9 (512)=E2=80=9D. =20 Example 1.16. Set subs_htable_size parameter ... @@ -501,7 +505,7 @@ modparam("presence", "subs_htable_size", 11) The size of the in-memory hash table to store publish records. This parameter will be used as the power of 2 when computing table size. =20 - Default value is "9 (512)". + Default value is =E2=80=9C9 (512)=E2=80=9D. =20 Example 1.17. Set pres_htable_size parameter ... @@ -516,7 +520,7 @@ modparam("presence", "pres_htable_size", 11) empty NOTIFY to an message-summary event. This parameter is enabled by default, thus addering to the standard. =20 - Default value is "1 ". + Default value is =E2=80=9C1 =E2=80=9D. =20 Example 1.18. Set send_fast_notify parameter ... @@ -531,7 +535,7 @@ modparam("presence", "send_fast_notify", 0) this check requires extra processing that should be avoided if this feature is not supported by the clients. =20 - Default value is "0 ". + Default value is =E2=80=9C0 =E2=80=9D. =20 Example 1.19. Set enable_sphere_check parameter ... @@ -546,7 +550,7 @@ modparam("presence", "enable_sphere_check", 1) on. Disabling this will keep subscriptions active on unreliable networks. =20 - Default value is "1". + Default value is =E2=80=9C1=E2=80=9D. =20 Example 1.20. Set timeout_rm_subs parameter ... @@ -564,6 +568,24 @@ modparam("presence", "timeout_rm_subs", 0) modparam("presence", "fetch_rows", 1000) ... =20 +3.22. db_table_lock_type (integer) + + Enable (=3D1) or disable (=3D0) the Locks for table during an transaction. + Locking only the "current" table causes problems with a MySQL-Databases + in "DB-Only" mode. + + In order to use the Presence-Module in "DB_ONLY"-mode with a + MySQL-Backend, set this parameter to "0", otherwise the + MySQL-Operations will fail. The Presence-Module will generate a "500 + Server error" due to the failed MySQL-queries. + + Default value is 1 (Write Lock for the Tables). + + Example 1.22. Set db_table_lock_type parameter +... +modparam("presence", "db_table_lock_type", 0) +... + 4. Functions =20 4.1. handle_publish(char* sender_uri) @@ -592,7 +614,7 @@ modparam("presence", "fetch_rows", 1000) =20 The module sends an appropriate stateless reply in all cases. =20 - Example 1.22. handle_publish usage + Example 1.23. handle_publish usage ... if(is_method("PUBLISH")) { @@ -623,7 +645,7 @@ modparam("presence", "fetch_rows", 1000) =20 The module sends an appropriate stateless reply in all cases. =20 - Example 1.23. handle_subscribe usage + Example 1.24. handle_subscribe usage ... if(method=3D=3D"SUBSCRIBE") handle_subscribe(); @@ -640,7 +662,7 @@ if(method=3D=3D"SUBSCRIBE") =20 This function can be used from REQUEST_ROUTE. =20 - Example 1.24. pres_auth_status usage + Example 1.25. pres_auth_status usage ... if (method=3D=3D"MESSAGE") { pres_auth_status("$fu", $ru"); @@ -676,7 +698,7 @@ if (method=3D=3D"MESSAGE") { =20 This function can be used from ANY_ROUTE. =20 - Example 1.25. pres_refresh_watchers usage + Example 1.26. pres_refresh_watchers usage ... pres_refresh_watchers("sip:test(a)kamailio.org", "presence", 1); ... @@ -694,7 +716,7 @@ pres_refresh_watchers("sip:test(a)kamailio.org", "presenc= e", 1); =20 This function can be used from ANY_ROUTE. =20 - Example 1.26. pres_update_watchers usage + Example 1.27. pres_update_watchers usage ... pres_update_watchers("sip:test(a)kamailio.org", "presence"); ... --===============0216884421==-- From carsten@ng-voice.com Mon Feb 3 10:06:04 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git:master: presence: bugfix: Add option to disable per-Table lock for database layer Date: Mon, 03 Feb 2014 10:05:57 +0100 Message-ID: In-Reply-To: <21228.10747.760251.696701@tutpro.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0566877871==" --===============0566877871== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi Juha, thanks for the feedback. I've just added a note to the docs on how this parameter should be used when using with a MySQL-database. Kind regards, Carsten 2014-01-31 Juha Heinanen : > Carsten Bock writes: > >> presence: bugfix: Add option to disable per-Table lock for database layer >> (causes trouble with MySQL in DB_ONLY mode) > > Thanks for the parameter. However, it was not clear to me based on > README text, which value db_table_lock_type should be set to in order > the avoid MySQL trouble. > > -- Juha > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev -- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany http://www.ng-voice.com mailto:carsten(a)ng-voice.com Office +49 40 34927219 Fax +49 40 34927220 Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/ --===============0566877871==-- From alexandr.dubovikov@gmail.com Mon Feb 3 11:10:10 2014 From: Alexandr Dubovikov To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/sipcapture: Added X-Rtp stats from Siemens and MediaProxy-Ng. Date: Mon, 03 Feb 2014 11:10:05 +0100 Message-ID: <20140203101009.9232BEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0461710234==" --===============0461710234== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: a4b1683f89708e311f6a37b4ab57004391e49cc9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Da4b1683f89708e311f6a37b4ab57004391e49cc9 Author: Alexandr Dubovikov Committer: Alexandr Dubovikov Date: Mon Feb 3 11:07:48 2014 +0100 modules/sipcapture: Added X-Rtp stats from Siemens and MediaProxy-Ng. Thanks Lorenzo Mangani for the patch. --- modules/sipcapture/sipcapture.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index dc46ab8..f89b98c 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -1634,6 +1634,14 @@ static int sip_capture(struct sip_msg *msg, str *_tabl= e, _capture_mode_data_t * else if((tmphdr[3] =3D get_hdr_by_name(msg,"P-RTP-Stat", 10)) !=3D NULL) { sco.rtp_stat =3D tmphdr[3]->body; } =09 + /* X-Siemens-RTP-stats */=09 + else if((tmphdr[3] =3D get_hdr_by_name(msg,"X-Siemens-RTP-stats", 19)) !=3D= NULL) { + sco.rtp_stat =3D tmphdr[3]->body; + } =20 + /* X-NG-RTP-STATS */=09 + else if((tmphdr[3] =3D get_hdr_by_name(msg,"X-NG-RTP-STATS", 14)) !=3D NULL= ) { + sco.rtp_stat =3D tmphdr[3]->body; + } =09 /* RTP-RxStat */ else if((tmphdr[3] =3D get_hdr_by_name(msg,"RTP-RxStat", 10)) !=3D N= ULL) { if(tmphdr[3]->body.len > 250) tmphdr[3]->body.len =3D 250; --===============0461710234==-- From linuxmaniac@torreviejawireless.org Mon Feb 3 11:14:42 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: pkg/kamailio/deb: unifying debian packaging Date: Mon, 03 Feb 2014 11:14:41 +0100 Message-ID: <20140203101442.11B36EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1856153440==" --===============1856153440== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 806489af70241ab6825a5e6e7cd00bb9c6e33e1a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D806489af70241ab6825a5e6e7cd00bb9c6e33e1a Author: Victor Seva Committer: Victor Seva Date: Thu Jan 30 18:17:12 2014 +0100 pkg/kamailio/deb: unifying debian packaging --- pkg/kamailio/deb/debian/backports/jessie | 19 + pkg/kamailio/deb/debian/backports/precise | 25 + pkg/kamailio/deb/debian/backports/squeeze | 70 +++ pkg/kamailio/deb/debian/backports/wheezy | 31 + pkg/kamailio/deb/debian/control | 18 +- pkg/kamailio/deb/debian/rules | 2 +- pkg/kamailio/deb/jessie/control | 19 +- pkg/kamailio/deb/jessie/rules | 4 +- pkg/kamailio/deb/precise/changelog | 1 + pkg/kamailio/deb/precise/compat | 2 +- pkg/kamailio/deb/precise/control | 599 +++++++++++-------= -- .../deb/precise/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/precise/kamailio.README.Debian | 7 +- pkg/kamailio/deb/precise/kamailio.default | 26 +- pkg/kamailio/deb/precise/kamailio.init | 279 ++++------ pkg/kamailio/deb/precise/kamailio.postinst | 28 +- pkg/kamailio/deb/precise/rules | 140 ++--- pkg/kamailio/deb/precise/source/format | 1 + pkg/kamailio/deb/precise/watch | 3 + pkg/kamailio/deb/squeeze/control | 63 ++- pkg/kamailio/deb/squeeze/rules | 21 +- pkg/kamailio/deb/wheezy/control | 19 +- pkg/kamailio/deb/wheezy/rules | 6 +- 23 files changed, 764 insertions(+), 620 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D806489af70241ab6825a5e6e7cd00bb9c6e33e1a --===============1856153440==-- From linuxmaniac@torreviejawireless.org Mon Feb 3 11:14:42 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: pkg/kamailio/deb: wrap-and-sort control files Date: Mon, 03 Feb 2014 11:14:42 +0100 Message-ID: <20140203101442.28880EF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1342402338==" --===============1342402338== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 9623eaa91daf85affcaf9377ae85f2782ae614c9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D9623eaa91daf85affcaf9377ae85f2782ae614c9 Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 09:28:15 2014 +0100 pkg/kamailio/deb: wrap-and-sort control files --- pkg/kamailio/deb/debian/control | 168 ++++++++++++++++++++----------------- pkg/kamailio/deb/jessie/control | 166 ++++++++++++++++++++----------------- pkg/kamailio/deb/precise/control | 161 ++++++++++++++++++++---------------- pkg/kamailio/deb/squeeze/control | 135 +++++++++++++++++-------------- pkg/kamailio/deb/wheezy/control | 157 +++++++++++++++++++---------------- 5 files changed, 430 insertions(+), 357 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D9623eaa91daf85affcaf9377ae85f2782ae614c9 --===============1342402338==-- From linuxmaniac@torreviejawireless.org Mon Feb 3 11:14:43 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: pkg/kamailio/deb: update changelog files to dev2 version Date: Mon, 03 Feb 2014 11:14:42 +0100 Message-ID: <20140203101442.5550BEF8075@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0405615577==" --===============0405615577== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 4b0e63b74db47712335f97b54675c82a058ee0da URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D4b0e63b74db47712335f97b54675c82a058ee0da Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 11:13:46 2014 +0100 pkg/kamailio/deb: update changelog files to dev2 version --- pkg/kamailio/deb/debian/changelog | 6 ++++++ pkg/kamailio/deb/jessie/changelog | 6 ++++++ pkg/kamailio/deb/precise/changelog | 6 ++++++ pkg/kamailio/deb/squeeze/changelog | 6 ++++++ pkg/kamailio/deb/wheezy/changelog | 6 ++++++ 5 files changed, 30 insertions(+), 0 deletions(-) diff --git a/pkg/kamailio/deb/debian/changelog b/pkg/kamailio/deb/debian/chan= gelog index 197cacc..629db68 100644 --- a/pkg/kamailio/deb/debian/changelog +++ b/pkg/kamailio/deb/debian/changelog @@ -1,3 +1,9 @@ +kamailio (4.2.0~dev2) unstable; urgency=3Dmedium + + * update version to 4.2.0~dev2 + + -- Victor Seva Mon, 03 Feb 2014 11:= 12:36 +0100 + kamailio (4.2.0~dev1) unstable; urgency=3Dmedium =20 * update version to 4.2.0~dev1 diff --git a/pkg/kamailio/deb/jessie/changelog b/pkg/kamailio/deb/jessie/chan= gelog index 197cacc..629db68 100644 --- a/pkg/kamailio/deb/jessie/changelog +++ b/pkg/kamailio/deb/jessie/changelog @@ -1,3 +1,9 @@ +kamailio (4.2.0~dev2) unstable; urgency=3Dmedium + + * update version to 4.2.0~dev2 + + -- Victor Seva Mon, 03 Feb 2014 11:= 12:36 +0100 + kamailio (4.2.0~dev1) unstable; urgency=3Dmedium =20 * update version to 4.2.0~dev1 diff --git a/pkg/kamailio/deb/precise/changelog b/pkg/kamailio/deb/precise/ch= angelog index 197cacc..629db68 100644 --- a/pkg/kamailio/deb/precise/changelog +++ b/pkg/kamailio/deb/precise/changelog @@ -1,3 +1,9 @@ +kamailio (4.2.0~dev2) unstable; urgency=3Dmedium + + * update version to 4.2.0~dev2 + + -- Victor Seva Mon, 03 Feb 2014 11:= 12:36 +0100 + kamailio (4.2.0~dev1) unstable; urgency=3Dmedium =20 * update version to 4.2.0~dev1 diff --git a/pkg/kamailio/deb/squeeze/changelog b/pkg/kamailio/deb/squeeze/ch= angelog index 197cacc..629db68 100644 --- a/pkg/kamailio/deb/squeeze/changelog +++ b/pkg/kamailio/deb/squeeze/changelog @@ -1,3 +1,9 @@ +kamailio (4.2.0~dev2) unstable; urgency=3Dmedium + + * update version to 4.2.0~dev2 + + -- Victor Seva Mon, 03 Feb 2014 11:= 12:36 +0100 + kamailio (4.2.0~dev1) unstable; urgency=3Dmedium =20 * update version to 4.2.0~dev1 diff --git a/pkg/kamailio/deb/wheezy/changelog b/pkg/kamailio/deb/wheezy/chan= gelog index 197cacc..629db68 100644 --- a/pkg/kamailio/deb/wheezy/changelog +++ b/pkg/kamailio/deb/wheezy/changelog @@ -1,3 +1,9 @@ +kamailio (4.2.0~dev2) unstable; urgency=3Dmedium + + * update version to 4.2.0~dev2 + + -- Victor Seva Mon, 03 Feb 2014 11:= 12:36 +0100 + kamailio (4.2.0~dev1) unstable; urgency=3Dmedium =20 * update version to 4.2.0~dev1 --===============0405615577==-- From miconda@gmail.com Mon Feb 3 11:41:39 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: db_cluster: updated the old application name in doc examples Date: Mon, 03 Feb 2014 11:41:38 +0100 Message-ID: <20140203104139.13A05EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1768396984==" --===============1768396984== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 32f688659fcc6f7c44d9095e585951780e277522 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D32f688659fcc6f7c44d9095e585951780e277522 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: Mon Feb 3 11:40:43 2014 +0100 db_cluster: updated the old application name in doc examples --- modules/db_cluster/README | 8 ++++---- modules/db_cluster/doc/db_cluster_admin.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/db_cluster/README b/modules/db_cluster/README index cbdf261..aecbcee 100644 --- a/modules/db_cluster/README +++ b/modules/db_cluster/README @@ -102,9 +102,9 @@ Chapter 1. Admin Guide Example 1.1. Set connection parameter ... modparam("db_cluster", "connection", - "con1=3D>mysql://openser:openser(a)localhost/kamailio1") + "con1=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio1") modparam("db_cluster", "connection", - "con2=3D>mysql://openser:openser(a)localhost/kamailio2") + "con2=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio2") ... =20 3.2. cluster (str) @@ -172,9 +172,9 @@ modparam("db_cluster", "inactive_interval", 180) Example 1.4. Set cluster parameter ... modparam("db_cluster", "connection", - "c1=3D>mysql://openser:openserrw(a)localhost/kamailio1") + "c1=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio1") modparam("db_cluster", "connection", - "c2=3D>mysql://openser:openserrw(a)localhost/kamailio2") + "c2=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio2") modparam("db_cluster", "cluster", "k1=3D>c1=3D9r9p;c2=3D9r9p") =20 modparam("acc", "db_url", "cluster://k1") diff --git a/modules/db_cluster/doc/db_cluster_admin.xml b/modules/db_cluster= /doc/db_cluster_admin.xml index d95cdaf..d849f20 100644 --- a/modules/db_cluster/doc/db_cluster_admin.xml +++ b/modules/db_cluster/doc/db_cluster_admin.xml @@ -80,9 +80,9 @@ ... modparam("db_cluster", "connection", - "con1=3D>mysql://openser:openser(a)localhost/kamailio1") + "con1=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio1") modparam("db_cluster", "connection", - "con2=3D>mysql://openser:openser(a)localhost/kamailio2") + "con2=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio2") ... @@ -176,9 +176,9 @@ modparam("db_cluster", "inactive_interval", 180) ... modparam("db_cluster", "connection", - "c1=3D>mysql://openser:openserrw(a)localhost/kamailio1") + "c1=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio1") modparam("db_cluster", "connection", - "c2=3D>mysql://openser:openserrw(a)localhost/kamailio2") + "c2=3D>mysql://kamailio:kamailiorw(a)localhost/kamailio2") modparam("db_cluster", "cluster", "k1=3D>c1=3D9r9p;c2=3D9r9p") =20 modparam("acc", "db_url", "cluster://k1") --===============1768396984==-- From bugtracker@sip-router.org Mon Feb 3 12:17:54 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task opened: Bug in tm with topoh modules - segfault on callid comparison. Date: Mon, 03 Feb 2014 11:17:52 +0000 Message-ID: <1391426272.52ef7ae05491f@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1221866627==" --===============1221866627== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below.=20 User who did this - Nick Altmann (nikbyte)=20 Attached to Project - sip-router Summary - Bug in tm with topoh modules - segfault on callid comparison. Task Type - Bug Report Category - tm Status - Unconfirmed Assigned To -=20 Operating System - Linux Severity - High Priority - Normal Reported Version - 4.1 Due in Version - Undecided Due Date - Undecided Details - Bug in tm with topoh modules. Sometimes I see in log: 0(30156) ERROR: topoh [th_mask.c:166]: th_mask_decode(): invalid input strin= g"1b0ba56b55c2286d-30157(a)127.0.0.1" 0(30156) ERROR: topoh [th_msg.c:480]: th_unmask_callid(): cannot decode call= id and then segfault. #0 0x00007f8ad98aac6b in t_reply_matching (p_msg=3D0x7f8adaca2f20, p_branch= =3D0x7fff352a8380) at t_lookup.c:987 #1 0x00007f8ad98ac43c in t_check_msg (p_msg=3D0x7f8adaca2f20, param_branch= =3D0x7fff352a8380) at t_lookup.c:1129 #2 0x00007f8ad98ac917 in t_check (p_msg=3D0x7f8adaca2f20, param_branch=3D0x7= fff352a8380) at t_lookup.c:1171 #3 0x00007f8ad98ca196 in reply_received (p_msg=3D0x7f8adaca2f20) at t_reply.= c:2188 (gdb) f 0 #0 0x00007f8ad98aac6b in t_reply_matching (p_msg=3D0x7f8adaca2f20, p_branch= =3D0x7fff352a8380) at t_lookup.c:987 987 (p_msg->callid->body.len !=3D p_cell->uas.request->callid->body= .len || (gdb) p *p_msg->callid $2 =3D {type =3D HDR_CALLID_T, name =3D {s =3D 0x9236f3 "Call-ID: 1b0ba56b55c= 2286d-30157(a)127.0.0.1\r\nContent-Length: 0\r\nTH: uch\r\n\r\n", len =3D 7}, body =3D {s =3D 0x9236fc "1b0ba56b55c2286d-30157(a)127.0.0.1\= r\nContent-Length: 0\r\nTH: uch\r\n\r\n", len =3D 32}, len =3D 43, parsed =3D 0x0, next =3D 0x0} (gdb) p *p_cell->uas.request Cannot access memory at address 0x0 More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1221866627==-- From bugtracker@sip-router.org Mon Feb 3 12:20:02 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Mon, 03 Feb 2014 11:20:01 +0000 Message-ID: <1391426401.52ef7b610c529@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1121125654==" --===============1121125654== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Daniel-Constantin Mierla (miconda) ---------- Can you give the parametes for topoh module as well as the output for "bt ful= l"? ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1281 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1121125654==-- From bugtracker@sip-router.org Mon Feb 3 14:17:27 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task changed: Bug in tm with topoh modules - segfault on callid comparison. Date: Mon, 03 Feb 2014 13:17:19 +0000 Message-ID: <1391433439.52ef96df55f0b@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0621187804==" --===============0621187804== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has been changed. The changes are listed below. For full= information about what has changed, visit the URL and click the History tab. FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this: Daniel-Constantin Mierla (miconda) Task details edited: ------- Bug in tm with topoh modules. Sometimes I see in log: 0(30156) ERROR: topoh [th_mask.c:166]: th_mask_decode(): invalid input strin= g"1b0ba56b55c2286d-30157(a)127.0.0.1" 0(30156) ERROR: topoh [th_msg.c:480]: th_unmask_callid(): cannot decode call= id and then segfault. #0 0x00007f8ad98aac6b in t_reply_matching (p_msg=3D0x7f8adaca2f20, p_branch= =3D0x7fff352a8380) at t_lookup.c:987 #1 0x00007f8ad98ac43c in t_check_msg (p_msg=3D0x7f8adaca2f20, param_branch= =3D0x7fff352a8380) at t_lookup.c:1129 #2 0x00007f8ad98ac917 in t_check (p_msg=3D0x7f8adaca2f20, param_branch=3D0x7= fff352a8380) at t_lookup.c:1171 #3 0x00007f8ad98ca196 in reply_received (p_msg=3D0x7f8adaca2f20) at t_reply.= c:2188 (gdb) f 0 #0 0x00007f8ad98aac6b in t_reply_matching (p_msg=3D0x7f8adaca2f20, p_branch= =3D0x7fff352a8380) at t_lookup.c:987 987 (p_msg->callid->body.len !=3D p_cell->uas.request->callid->body= .len || (gdb) p *p_msg->callid $2 =3D {type =3D HDR_CALLID_T, name =3D {s =3D 0x9236f3 "Call-ID: 1b0ba56b55c= 2286d-30157(a)127.0.0.1\r\nContent-Length: 0\r\nTH: uch\r\n\r\n", len =3D 7}, body =3D {s =3D 0x9236fc "1b0ba56b55c2286d-30157(a)127.0.0.1\= r\nContent-Length: 0\r\nTH: uch\r\n\r\n", len =3D 32}, len =3D 43, parsed =3D 0x0, next =3D 0x0} (gdb) p *p_cell->uas.request Cannot access memory at address 0x0 ------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0621187804==-- From bugtracker@sip-router.org Mon Feb 3 14:27:01 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Mon, 03 Feb 2014 13:26:58 +0000 Message-ID: <1391434018.52ef9922a43a1@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0680304658==" --===============0680304658== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Nick Altmann (nikbyte) ---------- modparam("topoh", "mask_key", "3hQCv2piFmHNzJDEEFKz") modparam("topoh", "mask_ip", "10.10.10.10") modparam("topoh", "mask_callid", 1) ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1282 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0680304658==-- From bugtracker@sip-router.org Mon Feb 3 14:28:24 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Mon, 03 Feb 2014 13:28:16 +0000 Message-ID: <1391434096.52ef9970a641b@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0263072481==" --===============0263072481== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Daniel-Constantin Mierla (miconda) ---------- The output for "bt full"? ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1283 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0263072481==-- From bugtracker@sip-router.org Mon Feb 3 14:28:44 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Mon, 03 Feb 2014 13:28:42 +0000 Message-ID: <1391434122.52ef998ac1b87@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1444403099==" --===============1444403099== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Nick Altmann (nikbyte) ---------- Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_= 64 (gdb) bt full #0 0x00007f8ad98aac6b in t_reply_matching (p_msg=3D0x7f8adaca2f20, p_branch=3D0x7fff352a8380) at t_lookup.c:987 p_cell =3D 0x7f8ad7b0dcb8 hash_index =3D 40642 entry_label =3D 0 branch_id =3D 0 hashi =3D 0x92362d "2ce9.682f8ec6", '0' , ".0;rport= =3D5060\r\nTo: ;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-4118\r= \nFrom: ;tag=3D533cb9e91f4b999cf76861cbb9ed54ed-ae15\r\nCSeq:= 10 INVIE\r\nCa"... branchi =3D 0x923653 "0;rport=3D5060\r\nTo: ;tag=3Da6= a1c5f60faecf035a1ae5b6e96e979a-4118\r\nFrom: ;tag=3D533cb9e91= f4b999cf76861cbb9ed54ed-ae15\r\nCSeq: 10 INVIE\r\nCall-ID: 1b0ba56b55c2286d-3= 0157(a)127.0.0."... p =3D 0x923653 "0;rport=3D5060\r\nTo: ;tag=3Da6a1c5f6= 0faecf035a1ae5b6e96e979a-4118\r\nFrom: ;tag=3D533cb9e91f4b999= cf76861cbb9ed54ed-ae15\r\nCSeq: 10 INVIE\r\nCall-ID: 1b0ba56b55c2286d-30157(a= )127.0.0."... n =3D 0x923654 ";rport=3D5060\r\nTo: ;tag=3Da6a1c5f60= faecf035a1ae5b6e96e979a-4118\r\nFrom: ;tag=3D533cb9e91f4b999c= f76861cbb9ed54ed-ae15\r\nCSeq: 10 INVIE\r\nCall-ID: 1b0ba56b55c2286d-30157(a)= 127.0.0.1"... hash_bucket =3D 0x7f8ad7a2f8e8 hashl =3D 4 branchl =3D 1 scan_space =3D 1 cseq_method =3D { s =3D 0x9236ec "INVIE\r\nCall-ID: 1b0ba56b55c2286d-30157(a)127.0.0.= 1\r\nContent-Length: 0\r\nTH: uch\r\n\r\n", len =3D 5} req_method =3D { s =3D 0x7f8ad7b0f2f8 "INVIE sip:127.0.0.1:5060 SIP/2.0\r\nVia: SIP/= 2.0/UDP 127.0.0.1;branch=3Dz9hG4bK2ce9.682f8ec6", '0' , ".0= \r\nTo: \r\nFrom: ;tag=3D533cb9e91f4b999cf768= 61cbb9ed54ed-ae"..., len =3D 5} loopi =3D 0x923632 "682f8ec6", '0' , ".0;rport=3D50= 60\r\nTo: ;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-4118\r\nFro= m: ;tag=3D533cb9e91f4b999cf76861cbb9ed54ed-ae15\r\nCSeq: 10 I= NVIE\r\nCall-ID"... loopl =3D 32 is_cancel =3D 0 __FUNCTION__ =3D "t_reply_matching" #1 0x00007f8ad98ac43c in t_check_msg (p_msg=3D0x7f8adaca2f20, param_branch=3D0x7fff352a8380) at t_lookup.c:1129 local_branch =3D 6477824 canceled =3D 4 ret =3D 0 __FUNCTION__ =3D "t_check_msg" #2 0x00007f8ad98ac917 in t_check (p_msg=3D0x7f8adaca2f20, param_branch=3D0x7fff352a8380) at t_lookup.c:1171 ret =3D 0 #3 0x00007f8ad98ca196 in reply_received (p_msg=3D0x7f8adaca2f20) at t_reply.c:2188 msg_status =3D 9582177 last_uac_status =3D 0 ack =3D 0x40
ack_len =3D 0 branch =3D 6417986 reply_status =3D -624285616 onreply_route =3D 32650 cancel_data =3D {cancel_bitmap =3D 9582396, reason =3D {cause =3D 138= 21, u =3D { text =3D {s =3D 0xa00000141
, len =3D 9582076}, e2e_cancel =3D 0xa00000141, packed_hdrs =3D= { s =3D 0xa00000141
, len =3D 9582076}}}} uac =3D 0x800000001 t =3D 0x7f8adac7a200 lack_dst =3D {send_sock =3D 0x0, to =3D {s =3D {sa_family =3D 0, sa_data =3D '\000' }, sin =3D {sin_family =3D= 0, sin_port =3D 0, sin_addr =3D {s_addr =3D 0}, sin_zero =3D "\000\000\000\000\000\000\000"}, sin6 =3D { sin6_family =3D 0, sin6_port =3D 0, sin6_flowinfo =3D 0, sin6_a= ddr =3D { __in6_u =3D {__u6_addr8 =3D '\000' , __u6_addr16 =3D {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 =3D {= 0, 0, 0, 0}}}, sin6_scope_id =3D 0}}, id =3D 0, proto =3D 48 '0= ', send_flags =3D {f =3D 162 '\242', blst_imask =3D 199 '\307'}} backup_user_from =3D 0x40092373c backup_user_to =3D 0x61d080 backup_domain_from =3D 0x414cc0 backup_domain_to =3D 0x3352a8a10 backup_uri_from =3D 0x0 backup_uri_to =3D 0x7f8adaca3118 backup_xavps =3D 0x7fff352a8480 replies_locked =3D 5581672 branch_ret =3D 0 prev_branch =3D 0 blst_503_timeout =3D 0 hf =3D 0x7f8adaca2f40 onsend_params =3D {req =3D 0x7fff352a83e0, rpl =3D 0x550580, param =3D 0x6a7e0, code =3D 0, flags =3D 3, branch =3D 0, t_rbuf =3D 0x7f8adac39380, dst =3D 0x7f8adac7a200, send_buf =3D { s =3D 0x7fff352a83e0 "\200\204*5\377\177", len =3D 5536481}} ctx =3D {rec_lev =3D 9582175, run_flags =3D 0, last_retcode =3D -6244= 54040, jmp_env =3D {{__jmpbuf =3D {20850121736, 6477824, 4279488, 13776882= 192, 0, 9582396, 140734085366512, 5791708}, __mask_was_saved =3D 0, __saved_mask =3D {__val =3D {0, 0, 0, 0, 140234352896080, 95823= 96, 9582082, 361695345073193192, 9582177, 9582165, 3670681632, 140234352896080, 140234352727704, 140234352898328, 4279488, 140734085368336}}}}} __FUNCTION__ =3D "reply_received" #4 0x000000000045d66f in do_forward_reply (msg=3D0x7f8adaca2f20, mode=3D0) at forward.c:777 new_buf =3D 0x0 dst =3D {send_sock =3D 0x0, to =3D {s =3D {sa_family =3D 0, sa_data =3D '\000' }, sin =3D {sin_family =3D= 0, sin_port =3D 0, sin_addr =3D {s_addr =3D 0}, sin_zero =3D "\000\000\000\000\000\000\000"}, sin6 =3D { sin6_family =3D 0, sin6_port =3D 0, sin6_flowinfo =3D 0, sin6_a= ddr =3D { __in6_u =3D {__u6_addr8 =3D '\000' , __u6_addr16 =3D {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 =3D {= 0, 0, 0, 0}}}, sin6_scope_id =3D 0}}, id =3D 0, proto =3D 0 '\0= 00', send_flags =3D {f =3D 0 '\000', blst_imask =3D 0 '\000'}} new_len =3D 32650 r =3D 0 s =3D 0x15cdaca2f28
len =3D 0 __FUNCTION__ =3D "do_forward_reply" #5 0x000000000045df30 in forward_reply (msg=3D0x7f8adaca2f20) at forward.c:8= 60 No locals. #6 0x00000000004a558f in receive_msg ( buf=3D0x9235e0 "SIP/2.0 408 Request Timeout\r\nVia: SIP/2.0/UDP 127.0.0.1= ;TH=3Ducv;branch=3Dz9hG4bK2ce9.682f8ec6", '0' , ".0;rport= =3D5060\r\nTo: ;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-4118\r= \nFrom: <"..., len=3D348, rcv_info=3D0x7fff352a86e0) at receive.c:273 msg =3D 0x7f8adaca2f20 ctx =3D {rec_lev =3D 8864888, run_flags =3D 0, last_retcode =3D 0, jm= p_env =3D {{ __jmpbuf =3D {0, 0, 0, 140234364788720, 1, 0, 140234352464456, = 1}, __mask_was_saved =3D -678816384, __saved_mask =3D {__val =3D { 140234300901204, 891979408, 1024, 5186946624, 140234298365312, 140734085367360, 5473105, 0, 140234298365312, 50195, 140234298365312, 140734085367624, 7913654952, 140734085367440, 5473233, 7}}}}} ret =3D 32650 inb =3D { s =3D 0x9235e0 "SIP/2.0 408 Request Timeout\r\nVia: SIP/2.0/UDP 127= .0.0.1;TH=3Ducv;branch=3Dz9hG4bK2ce9.682f8ec6", '0' , ".0;r= port=3D5060\r\nTo: ;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-41= 18\r\nFrom: <"..., len =3D 348} __FUNCTION__ =3D "receive_msg" #7 0x000000000053c394 in udp_rcv_loop () at udp_server.c:536 len =3D 332 buf =3D "SIP/2.0 408 Request Timeout\r\nVia: SIP/2.0/UDP 127.0.0.1;TH= =3Ducv;branch=3Dz9hG4bK2ce9.682f8ec6", '0' , ".0;rport=3D50= 60\r\nTo: ;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-4118\r\nFro= m: }}, src_port =3D 5060, dst_port =3D 5060, proto_reserved1 =3D 0, proto_reserved2 =3D 0, src_su =3D {s =3D {sa_family =3D 2, sa_data =3D "\023\304\177\000\000\001\000\000\000\000\000\000\0= 00"}, sin =3D {sin_family =3D 2, sin_port =3D 50195, sin_addr =3D {s_addr =3D= 16777343}, sin_zero =3D "\000\000\000\000\000\000\000"}, sin6 =3D { sin6_family =3D 2, sin6_port =3D 50195, sin6_flowinfo =3D 16777= 343, sin6_addr =3D {__in6_u =3D {__u6_addr8 =3D '\000' , __u6_addr16 =3D {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 =3D {= 0, 0, 0, 0}}}, sin6_scope_id =3D 0}}, bind_address =3D 0x7f8adac9b930, proto =3D 1 '\001'} __FUNCTION__ =3D "udp_rcv_loop" #8 0x000000000046c698 in main_loop () at main.c:1428 i =3D 9676896 pid =3D 30158 si =3D 0x4dac81728 si_desc =3D "\300LA\000\000\000\000\000P\030\310=DA=8A\177", '\000' <= repeats 14 times>, "\001\000\000\000\210\060\311=DA=8A\177\000\000\256\bI\000= \000\000\000\000\001\000\000\000z\000\000\000~}^\000\000\000\000\000`o^\000\0= 00\000\000\000\340\n^\000\000\000\000\000\300LA\000\000\000\000\000\020\212*5= \377\177", '\000' , "P\210*5\377\177\000\000.\241K\000\000\= 000\000" nrprocs =3D 0 __FUNCTION__ =3D "main_loop" #9 0x000000000047030b in main (argc=3D6, argv=3D0x7fff352a8a18) at main.c:25= 33 cfg_stream =3D 0x226e010 c =3D -1 r =3D 0 tmp =3D 0x7f8adb0ca918 "H\205\300uCD9t$\fv\034A\203\306\001\353\210f\= 017\037D" tmp_len =3D 0 port =3D 0 proto =3D 0 options =3D 0x5e02b8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:= O:a:A ret =3D -1 seed =3D 2437127770 rfd =3D 4 debug_save =3D 0 debug_flag =3D 0 dont_fork_cnt =3D 1 n_lst =3D 0x7f8adb049ba0 p =3D 0x5ca3e0 "H\211l$\330L\211d$\340H\215-\017\234*" __FUNCTION__ =3D "main" ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1284 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1444403099==-- From daniel.ciprus@acision.com Tue Feb 4 04:40:33 2014 From: Daniel Ciprus To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] cdp module - timeouts Date: Mon, 03 Feb 2014 22:40:13 -0500 Message-ID: <52F0611D.70308@acision.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1747955579==" --===============1747955579== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thanks Jason, as soon as I notice this behavior again I will grab data requested data ... Dan On 01/30/2014 02:29 AM, Jason Penton wrote: Hi Daniel, That bt you sent is normal. That is the CDP timer process so I don't see any = issues there. What you can do is send me bt's on the "CDP worker childs", the= "cdp_receiver_peer" for your HSS connection, and the "cdp acceptor". to get the processes, use sercmd ps. For example, mine looks like this: 8633 cdp worker child=3D0 8634 cdp worker child=3D1 8635 cdp worker child=3D2 8636 cdp worker child=3D3 8637 cdp worker child=3D4 8638 cdp worker child=3D5 8639 cdp worker child=3D6 8640 cdp worker child=3D7 8641 cdp worker child=3D8 8642 cdp worker child=3D9 8643 cdp receiver peer unknown 8644 cdp_receiver_peer=3DZAUbuntu005.it.za.smilecoms.com 8645 cdp_acceptor 8646 cdp_timer re. logs, you can turn on debugging using sercmd/kamcmd. cheers Jason Cheers Jason On Thu, Jan 30, 2014 at 12:11 AM, Daniel Ciprus > wrote: Jason, this is bt generated from running process .. I think my scscf is in this stag= e now. Obviously hss has listener up and running and I can telnet to the port= . "Lately" means that nobody paid attention to this issue before :-), it was = discovered just recently. As I said: nothing's in capture : [root(a)kamailio-4-1-test kamailio]# date ; tcpdump -i any -s0 -w /tmp/crap.p= cap -v port 3868 -n ; date Wed Jan 29 16:45:15 EST 2014 tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 6= 5535 bytes ^C0 packets captured 0 packets received by filter 0 packets dropped by kernel Wed Jan 29 17:09:08 EST 2014 [root(a)kamailio-4-1-test kamailio]# Once I restart scscf/icscf everything will be OK ... so there is likely no wa= y to get logging out of the running scscf, is it ? On 01/29/2014 09:45 AM, Jason Penton wrote: Hi Daniel, This looks like a bootup of kamailio, where the peer process is trying to sta= rt? Is your HSS up. Can you telnet to your HSS:3868? Also, your first message says you are having trouble with CDP "lately". What = does this mean? There have been no changes to CDP code for some time now... Cheers jason On Wed, Jan 29, 2014 at 4:30 PM, Daniel Ciprus > wrote: (gdb) bt #0 0x00007f5b564f7900 in __nanosleep_nocancel () from /lib64/libc.so.6 #1 0x00007f5b564f7790 in sleep () from /lib64/libc.so.6 #2 0x00007f5b5095cb71 in timer_loop () at timer.c:120 #3 0x00007f5b5095d5a4 in timer_process (returns=3D0) at timer.c:207 #4 0x00007f5b5093f891 in diameter_peer_start (blocking=3D0) at diameter_peer= .c:396 #5 0x00007f5b5094102b in cdp_child_init (rank=3D0) at mod.c:237 #6 0x00000000004f7ec2 in init_mod_child (m=3D0x7f5b5609a670, rank=3D0) at sr= _module.c:924 #7 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609b218, rank=3D0) at sr= _module.c:921 #8 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609b5c0, rank=3D0) at sr= _module.c:921 #9 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609b970, rank=3D0) at sr= _module.c:921 #10 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609c000, rank=3D0) at sr= _module.c:921 #11 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609c478, rank=3D0) at sr= _module.c:921 #12 0x00000000004f8048 in init_child (rank=3D0) at sr_module.c:948 #13 0x000000000046d57c in main_loop () at main.c:1694 #14 0x000000000047030b in main (argc=3D13, argv=3D0x7ffff3e21128) at main.c:2= 533 (gdb) bt full #0 0x00007f5b564f7900 in __nanosleep_nocancel () from /lib64/libc.so.6 No symbol table info available. #1 0x00007f5b564f7790 in sleep () from /lib64/libc.so.6 No symbol table info available. #2 0x00007f5b5095cb71 in timer_loop () at timer.c:120 now =3D 1390934103 i =3D 0x0 cb =3D 0 ptr =3D 0x0 interval =3D 1 __FUNCTION__ =3D "timer_loop" #3 0x00007f5b5095d5a4 in timer_process (returns=3D0) at timer.c:207 __FUNCTION__ =3D "timer_process" #4 0x00007f5b5093f891 in diameter_peer_start (blocking=3D0) at diameter_peer= .c:396 pid =3D 0 k =3D -2 p =3D 0x0 __FUNCTION__ =3D "diameter_peer_start" #5 0x00007f5b5094102b in cdp_child_init (rank=3D0) at mod.c:237 __FUNCTION__ =3D "cdp_child_init" #6 0x00000000004f7ec2 in init_mod_child (m=3D0x7f5b5609a670, rank=3D0) at sr= _module.c:924 __FUNCTION__ =3D "init_mod_child" #7 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609b218, rank=3D0) at sr= _module.c:921 __FUNCTION__ =3D "init_mod_child" #8 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609b5c0, rank=3D0) at sr= _module.c:921 __FUNCTION__ =3D "init_mod_child" #9 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609b970, rank=3D0) at sr= _module.c:921 __FUNCTION__ =3D "init_mod_child" #10 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609c000, rank=3D0) at sr= _module.c:921 __FUNCTION__ =3D "init_mod_child" #11 0x00000000004f7d65 in init_mod_child (m=3D0x7f5b5609c478, rank=3D0) at sr= _module.c:921 __FUNCTION__ =3D "init_mod_child" #12 0x00000000004f8048 in init_child (rank=3D0) at sr_module.c:948 No locals. #13 0x000000000046d57c in main_loop () at main.c:1694 i =3D 8 pid =3D 19298 si =3D 0x0 si_desc =3D "udp receiver child=3D7 sock=3D10.96.173.17:6060\000[\177\000\000\001\000\000\000z\000\000\000~}^\000\000\00= 0\000\000`o^\000\000\000\000\000\254\305\006m\000\000\000\000\300LA\000\000\0= 00\000\000 \021\342\363\377\177", '\000' , "`\017\342\363\3= 77\177\000\000.\241K\000\000\000\000" nrprocs =3D 8 __FUNCTION__ =3D "main_loop" #14 0x000000000047030b in main (argc=3D13, argv=3D0x7ffff3e21128) at main.c:2= 533 cfg_stream =3D 0x1a7f010 c =3D -1 r =3D 0 tmp =3D 0x7ffff3e22f40 "" tmp_len =3D 0 port =3D 0 proto =3D 0 options =3D 0x5e02c0 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:= O:a:A:" ret =3D -1 seed =3D 2714878883 rfd =3D 4 debug_save =3D 0 debug_flag =3D 0 dont_fork_cnt =3D 0 ---Type to continue, or q to quit--- n_lst =3D 0x7f5b5645bb88 p =3D 0x5ca3e0 "H\211l$\330L\211d$\340H\215-\017\234*" __FUNCTION__ =3D "main" (gdb) On 01/29/2014 08:45 AM, Daniel Ciprus wrote: Unfortunately the only thing I have is core file and bt. But I can assure you= that there was absolutely no traffic between diameter interfaces. Looks like= I will need to reproduce the problem to get right input. thanks Dan On 01/29/2014 02:39 AM, Jason Penton wrote: Hi, can you send us a pcap as well as a log file? I can't debug much with what yo= u have given so far. Cheers Jason On Tue, Jan 28, 2014 at 8:42 PM, Daniel Ciprus > wrote: Hi, seems like CDP module is giving us hard time in last few days. For some reason s-cscf and i-cscf is loosing connection to HSS and is not even trying to close socket nor trying to reconnect back. Here is what I see on the kamailio node: Name : kamailio Relocations: (not relocatable) Version : 4.2.0 Vendor: kamailio.org Release : dev0.0.el6 Build Date: Wed Dec 18 12:46:11 2013 [root(a)kamailio-4-1-staging kamailio]# netstat -apn | grep 3868 tcp 0 0 10.96.173.17:34915 10.96.173.1= 8:3868 CLOSE_WAIT 10087/kamailio tcp 0 0 10.96.173.17:35361 10.96.173.1= 8:3868 CLOSE_WAIT 19308/kamailio [root(a)kamailio-4-1-staging kamailio]# and HSS: [root(a)hss-config-staging phss-sop]# netstat -apn | grep 3868 tcp 0 0 10.96.173.18:3868 0.0.0.0:* LISTEN 10549/ugc_server [root(a)hss-config-staging phss-sop]# I have core files (created by gcore) if this helps. thanks Dan This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. _______________________________________________ sr-dev mailing list sr-dev(a)lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev -- Daniel Ciprus Integration engineer http://www.acision.com 9954 Mayland Dr Suite 3100 Richmond, VA 23233 USA T: +1 804 762 5601 E: daniel.ciprus(a)acision.com ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. -- Daniel Ciprus Integration engineer http://www.acision.com 9954 Mayland Dr Suite 3100 Richmond, VA 23233 USA T: +1 804 762 5601 E: daniel.ciprus(a)acision.com ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. -- Daniel Ciprus Integration engineer http://www.acision.com 9954 Mayland Dr Suite 3100 Richmond, VA 23233 USA T: +1 804 762 5601 E: daniel.ciprus(a)acision.com ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. --===============1747955579== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CjxoZWFkPgo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRl eHQvaHRtbDsgY2hhcnNldD1pc28tODg1OS0xIj4KPC9oZWFkPgo8Ym9keSBzdHlsZT0iYmFja2dy b3VuZC1jb2xvcjogcmdiKDI1NSwgMjU1LCAyNTUpOyBjb2xvcjogcmdiKDAsIDAsCiAgICAwKTsi IGJnY29sb3I9IiNGRkZGRkYiIHRleHQ9IiMwMDAwMDAiPgpUaGFua3MgSmFzb24sIDxicj4KPGJy PgphcyBzb29uIGFzIEkgbm90aWNlIHRoaXMgYmVoYXZpb3IgYWdhaW4gSSB3aWxsIGdyYWIgZGF0 YSByZXF1ZXN0ZWQgZGF0YSAuLi4gPGJyPgo8YnI+CkRhbjxicj4KPGJyPgo8YnI+CjxkaXYgY2xh c3M9Im1vei1jaXRlLXByZWZpeCI+T24gMDEvMzAvMjAxNCAwMjoyOSBBTSwgSmFzb24gUGVudG9u IHdyb3RlOjxicj4KPC9kaXY+CjxibG9ja3F1b3RlIHN0eWxlPSJib3JkZXItbGVmdDogMnB4IHNv bGlkICMwMDk5MDAgIWltcG9ydGFudDsKICAgICAgYm9yZGVyLXJpZ2h0OiAycHggc29saWQgIzAw OTkwMCAhaW1wb3J0YW50OyBwYWRkaW5nOiAwcHggMTVweCAwcHgKICAgICAgMTVweDsgbWFyZ2lu OiA4cHggMnB4OyIgY2l0ZT0ibWlkOkNBTG9HWE5VTVAzaFlIYnRGT2FhcEpxR2I5dGNUaW95X2JB Q0tia2RKWUNaT1dKcFFzd0BtYWlsLmdtYWls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ogdG8s IHJldGFpbmVkIG9yIHVzZWQgYnksIGFueSBvdGhlciBwYXJ0eS4gSWYgeW91IGFyZSBub3QgYW4g aW50ZW5kZWQgcmVjaXBpZW50IHRoZW4gcGxlYXNlIHByb21wdGx5IGRlbGV0ZSB0aGlzIGUtbWFp bCBhbmQgYW55IGF0dGFjaG1lbnQgYW5kIGFsbCBjb3BpZXMgYW5kIGluZm9ybSB0aGUgc2VuZGVy LiBUaGFuayB5b3UgZm9yIHVuZGVyc3RhbmRpbmcuPGJyPgo8L2ZvbnQ+CjxiciBjbGVhcj1hbGw+ IAo8L2JvZHk+CjwvaHRtbD4KCg== --===============1747955579==-- From bugtracker@sip-router.org Tue Feb 4 05:51:42 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Tue, 04 Feb 2014 04:51:40 +0000 Message-ID: <1391489500.52f071dcce148@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0366949493==" --===============0366949493== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Nick Altmann (nikbyte) ---------- The problem can be reproduced also without topoh module... The simple script = to do it: loadmodule "timer.so" modparam("timer", "declare_timer", "ORIGINATE=3DORIGINATE,500,slow,enable"); route { xlog("L_INFO", "[MAIN] Incoming request LOGHDR$mb"); $ru =3D "sip:127.0.0.1:6060"; t_relay(); exit; } route[ORIGINATE] { $var(rip) =3D "127.0.0.1"; $uac_req(method)=3D"INVITE"; $uac_req(ruri)=3D"sip:127.0.0.1:5060"; $uac_req(furi)=3D"sip:" + "aaa(a)127.0.0.1"; $uac_req(turi)=3D"sip:" + "bbb(a)127.0.0.1"; $uac_req(hdrs)=3D"Contact: \r\n"; uac_req_send(); exit; } ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1285 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0366949493==-- From bugtracker@sip-router.org Tue Feb 4 06:32:50 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Tue, 04 Feb 2014 05:32:47 +0000 Message-ID: <1391491967.52f07b7ff16b3@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2016872047==" --===============2016872047== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Nick Altmann (nikbyte) ---------- It reproduced only with modparam("tm", "callid_matching", 1) ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1286 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============2016872047==-- From daniel@pocock.com.au Tue Feb 4 07:55:57 2014 From: Daniel Pocock To: sr-dev@lists.kamailio.org Subject: [sr-dev] WebSocket cookie authentication and passing data Date: Tue, 04 Feb 2014 07:55:53 +0100 Message-ID: <52F08EF9.8010806@pocock.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1658080628==" --===============1658080628== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Here is a full overview of the way we did this in reSIProcate / repro: http://www.resiprocate.org/SIP_Over_WebSocket_Cookies Here is a PHP test script which sets the cookies: http://svn.resiprocate.org/viewsvn/resiprocate/main/repro/test/web/websocket-= cookie-test.php?format=3Dmarkup JSCommunicator can set the extension header for passing supplementary data in config.js: https://github.com/opentelecoms-org/jscommunicator/blob/master/config-sample.= js#L62 (look for extra_headers) To build a complete solution, you can simply combine the phone.shtml code from JSCommunicator and the PHP test code into a simple script. Notice we put a version number in the cookie. If the Kamailio implementation of this evolves and adds extra fields, please increment the version number or use different cookie names to distinguish it from the reSIProcate cookie scheme. --===============1658080628==-- From bugtracker@sip-router.org Tue Feb 4 09:34:37 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: libsrdb1.so.1.0 in multiple debian packages Date: Tue, 04 Feb 2014 08:34:34 +0000 Message-ID: <1391502874.52f0a61ac6f5a@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1164991985==" --===============1164991985== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#389 - libsrdb1.so.1.0 in multiple debian packages User who did this - Torrey Searle (tsearle) ---------- I was able to resolve the issue for me by modifying the debian/rules file as = follows -LIBDIR ?=3D lib +LIBDIR ?=3D lib64 alternatively if you do 'make deb' instead of dpkg-buildpackage then the LIBD= IR gets correctly set ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D389#comment1287 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1164991985==-- From carsten@ng-voice.com Tue Feb 4 09:50:23 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: tm: Fix docs on t_relay_to (Typo) Date: Tue, 04 Feb 2014 09:50:23 +0100 Message-ID: <20140204085023.72938EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0005614863==" --===============0005614863== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 408178aa7516e661818b847f52185f4ac3cde941 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D408178aa7516e661818b847f52185f4ac3cde941 Author: Carsten Bock Committer: Carsten Bock Date: Tue Feb 4 09:49:20 2014 +0100 tm: Fix docs on t_relay_to (Typo) (as noticed by Victor V. Kustov) --- modules/tm/doc/functions.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml index fba4e92..25d2507 100644 --- a/modules/tm/doc/functions.xml +++ b/modules/tm/doc/functions.xml @@ -1618,7 +1618,7 @@ t_replicate_to_udp("1.2.3.4", "5060"); - <function>t_replicate</function> usage + <function>t_relay_to</function> usage ... # sent to 1.2.3.4:5060 over tcp --===============0005614863==-- From carsten@ng-voice.com Tue Feb 4 09:51:04 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: tm: Fix docs on t_relay_to (Typo) Date: Tue, 04 Feb 2014 09:51:03 +0100 Message-ID: <20140204085104.00361EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0146724330==" --===============0146724330== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: eb67bf1ddeb9945af754d5dcc9fd0b23788a1642 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Deb67bf1ddeb9945af754d5dcc9fd0b23788a1642 Author: Carsten Bock Committer: Carsten Bock Date: Tue Feb 4 09:49:20 2014 +0100 tm: Fix docs on t_relay_to (Typo) (as noticed by Victor V. Kustov) --- modules/tm/doc/functions.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml index fba4e92..25d2507 100644 --- a/modules/tm/doc/functions.xml +++ b/modules/tm/doc/functions.xml @@ -1618,7 +1618,7 @@ t_replicate_to_udp("1.2.3.4", "5060"); - <function>t_replicate</function> usage + <function>t_relay_to</function> usage ... # sent to 1.2.3.4:5060 over tcp --===============0146724330==-- From carsten@ng-voice.com Tue Feb 4 09:52:06 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: tm: Fix docs on t_relay_to (Typo) Date: Tue, 04 Feb 2014 09:52:05 +0100 Message-ID: <20140204085205.CFDB7EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0281865090==" --===============0281865090== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: 9c39db4c6cba2791d4c19772797b84179baffead URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D9c39db4c6cba2791d4c19772797b84179baffead Author: Carsten Bock Committer: Carsten Bock Date: Tue Feb 4 09:49:20 2014 +0100 tm: Fix docs on t_relay_to (Typo) (as noticed by Victor V. Kustov) --- modules/tm/doc/functions.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml index a5ce5a0..44efee9 100644 --- a/modules/tm/doc/functions.xml +++ b/modules/tm/doc/functions.xml @@ -1570,7 +1570,7 @@ t_replicate_to_udp("1.2.3.4", "5060"); - <function>t_replicate</function> usage + <function>t_relay_to</function> usage ... # sent to 1.2.3.4:5060 over tcp --===============0281865090==-- From carsten@ng-voice.com Tue Feb 4 09:53:21 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:3.3: tm: Fix docs on t_relay_to (Typo) Date: Tue, 04 Feb 2014 09:53:20 +0100 Message-ID: <20140204085320.C8200EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1671910907==" --===============1671910907== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 3.3 Commit: ac7a5f69285a73e31dd5bb3d3729cdeca1abc892 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Dac7a5f69285a73e31dd5bb3d3729cdeca1abc892 Author: Carsten Bock Committer: Carsten Bock Date: Tue Feb 4 09:49:20 2014 +0100 tm: Fix docs on t_relay_to (Typo) (as noticed by Victor V. Kustov) --- modules/tm/doc/functions.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml index 625e699..96e6c96 100644 --- a/modules/tm/doc/functions.xml +++ b/modules/tm/doc/functions.xml @@ -1488,7 +1488,7 @@ t_replicate_to_udp("1.2.3.4", "5060"); - <function>t_replicate</function> usage + <function>t_relay_to</function> usage ... # sent to 1.2.3.4:5060 over tcp --===============1671910907==-- From bugtracker@sip-router.org Tue Feb 4 10:09:15 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Tue, 04 Feb 2014 09:09:12 +0000 Message-ID: <1391504952.52f0ae3869a95@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0756596231==" --===============0756596231== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Alex Hermann (axlh) ---------- (gdb) p *p_cell->uas.request Cannot access memory at address 0x0 I'm really wondering how server transaction can exists without a uas.request = on that transaction. Preventing the segfault is easy but could someone explai= n how uas.request can be NULL at this stage, where the reply has already matc= hed the transaction? diff --git a/modules/tm/t_lookup.c b/modules/tm/t_lookup.c index fbc624b..cc1f4f3 100644 --- a/modules/tm/t_lookup.c +++ b/modules/tm/t_lookup.c @@ -984,6 +984,7 @@ int t_reply_matching( struct sip_msg *p_msg , int *p_bran= ch ) continue; =20 if (cfg_get(tm, tm_cfg, callid_matching) &&=20 + p_cell->uas.request && p_cell->uas.request->callid && (p_msg->callid->body.len !=3D p_cell->uas.request->ca= llid->body.len || memcmp(p_msg->callid->body.s, p_cell->uas.request->c= allid->body.s, p_msg->callid->body.len) !=3D 0) ) { ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1288 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0756596231==-- From bugtracker@sip-router.org Tue Feb 4 10:10:47 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Tue, 04 Feb 2014 09:10:46 +0000 Message-ID: <1391505046.52f0ae966d9f0@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1091569912==" --===============1091569912== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Nick Altmann (nikbyte) ---------- Something broken with modparam("tm", "callid_matching", 1) ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1289 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1091569912==-- From peter.dunkley@crocodilertc.net Tue Feb 4 10:27:04 2014 From: Peter Dunkley To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] WebSocket cookie authentication and passing data Date: Tue, 04 Feb 2014 09:26:57 +0000 Message-ID: In-Reply-To: <52F08EF9.8010806@pocock.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0246720553==" --===============0246720553== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I don't think this is relevant to the Kamailio implementation. The Kamailio implementation doesn't do anything with headers like Cookie: at all. If an implementer of a Kamailio solution wants to do anything with the Cookie: header (or any other), they can do whatever they want using the Kamailio configuration file "programming language". You can make use of all of the standard Kamailio header/parameter selects and transformations to help you do whatever you want with these headers. Regards, Peter On 4 February 2014 06:55, Daniel Pocock wrote: > > > > Here is a full overview of the way we did this in reSIProcate / repro: > > http://www.resiprocate.org/SIP_Over_WebSocket_Cookies > > Here is a PHP test script which sets the cookies: > > > http://svn.resiprocate.org/viewsvn/resiprocate/main/repro/test/web/websocke= t-cookie-test.php?format=3Dmarkup > > JSCommunicator can set the extension header for passing supplementary > data in config.js: > > > https://github.com/opentelecoms-org/jscommunicator/blob/master/config-sampl= e.js#L62 > (look for extra_headers) > > To build a complete solution, you can simply combine the phone.shtml > code from JSCommunicator and the PHP test code into a simple script. > > Notice we put a version number in the cookie. If the Kamailio > implementation of this evolves and adds extra fields, please increment > the version number or use different cookie names to distinguish it from > the reSIProcate cookie scheme. > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > --=20 Peter Dunkley Technical Director Crocodile RCS Ltd --===============0246720553== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBkaXI9Imx0ciI+SGVsbG8sPGRpdj48YnI+PC9kaXY+PGRpdj5JIGRvbiYjMzk7dCB0aGlu ayB0aGlzIGlzIHJlbGV2YW50IHRvIHRoZSBLYW1haWxpbyBpbXBsZW1lbnRhdGlvbi48L2Rpdj48 ZGl2Pjxicj48L2Rpdj48ZGl2PlRoZSBLYW1haWxpbyBpbXBsZW1lbnRhdGlvbiBkb2VzbiYjMzk7 dCBkbyBhbnl0aGluZyB3aXRoIGhlYWRlcnMgbGlrZSBDb29raWU6IGF0IGFsbC4goElmIGFuIGlt cGxlbWVudGVyIG9mIGEgS2FtYWlsaW8gc29sdXRpb24gd2FudHMgdG8gZG8gYW55dGhpbmcgd2l0 aCB0aGUgQ29va2llOiBoZWFkZXIgKG9yIGFueSBvdGhlciksIHRoZXkgY2FuIGRvIHdoYXRldmV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nQgZmFjZT0iY291cmllciBuZXcs IG1vbm9zcGFjZSI+UGV0ZXIgRHVua2xleTwvZm9udD48L2Rpdj48ZGl2Pjxmb250IGZhY2U9ImNv dXJpZXIgbmV3LCBtb25vc3BhY2UiPlRlY2huaWNhbCBEaXJlY3RvcjwvZm9udD48L2Rpdj48ZGl2 Pgo8Zm9udCBmYWNlPSJjb3VyaWVyIG5ldywgbW9ub3NwYWNlIj5Dcm9jb2RpbGUgUkNTIEx0ZDwv Zm9udD48L2Rpdj48L2Rpdj4KPC9kaXY+Cg== --===============0246720553==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 10:33:55 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: pkg/kamailio/deb: update debian copyright file Date: Tue, 04 Feb 2014 10:33:53 +0100 Message-ID: <20140204093354.6479BEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0028788632==" --===============0028788632== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 3d1541f9c2b09171e703ddae0137dbb5758f6969 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D3d1541f9c2b09171e703ddae0137dbb5758f6969 Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 14:13:15 2014 +0100 pkg/kamailio/deb: update debian copyright file --- pkg/kamailio/deb/debian/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/jessie/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/precise/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/squeeze/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/wheezy/copyright | 362 +++++++++++++++++++++++++++++++++-= -- 5 files changed, 1675 insertions(+), 135 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D3d1541f9c2b09171e703ddae0137dbb5758f6969 --===============0028788632==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 10:33:55 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: pkg/kamailio/deb: clean lintian errors Date: Tue, 04 Feb 2014 10:33:54 +0100 Message-ID: <20140204093355.23F3CEF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1321140820==" --===============1321140820== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 34720cbbf6f448a727a34164b690dabf393684ec URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D34720cbbf6f448a727a34164b690dabf393684ec Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 14:21:09 2014 +0100 pkg/kamailio/deb: clean lintian errors --- pkg/kamailio/deb/debian/control | 12 +++++++----- pkg/kamailio/deb/debian/kamailio.dirs | 2 -- pkg/kamailio/deb/debian/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/debian/rules | 1 + pkg/kamailio/deb/debian/source.lintian-overrides | 1 + pkg/kamailio/deb/jessie/control | 12 +++++++----- pkg/kamailio/deb/jessie/kamailio.dirs | 2 -- pkg/kamailio/deb/jessie/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/jessie/rules | 1 + pkg/kamailio/deb/jessie/source.lintian-overrides | 1 + pkg/kamailio/deb/precise/control | 10 ++++++---- pkg/kamailio/deb/precise/kamailio.dirs | 2 -- .../deb/precise/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/precise/rules | 1 + pkg/kamailio/deb/precise/source.lintian-overrides | 1 + pkg/kamailio/deb/squeeze/control | 10 ++++++---- pkg/kamailio/deb/squeeze/kamailio.dirs | 2 -- .../deb/squeeze/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/squeeze/rules | 1 + pkg/kamailio/deb/squeeze/source.lintian-overrides | 1 + pkg/kamailio/deb/wheezy/control | 10 ++++++---- pkg/kamailio/deb/wheezy/kamailio.dirs | 2 -- pkg/kamailio/deb/wheezy/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/wheezy/rules | 1 + pkg/kamailio/deb/wheezy/source.lintian-overrides | 1 + 25 files changed, 77 insertions(+), 32 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D34720cbbf6f448a727a34164b690dabf393684ec --===============1321140820==-- From miconda@gmail.com Tue Feb 4 10:53:07 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: [sr-dev] Kamailio World 2014 - New speakers and presentations Date: Tue, 04 Feb 2014 10:52:58 +0100 Message-ID: <52F0B87A.6010105@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0406539884==" --===============0406539884== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Slightly less than two months to the start of Kamailio World 2014 [1] the organization of the event is getting accelerated. We received plenty of interesting proposals so far, we expect to end the Call for Speakers very soon, earlier than previously announced. If you have plans to submit, you should really hurry up. The profiles of about 20 speakers have been published in Speakers page [2], few others that were accepted already will be added soon. Details for about 15 sessions during the conference days (April 3-4, 2014) are available in the Schedule page [3]. The technical workshop on the 2nd of April is getting to the final shape as well. Similar to last year, expect several exhibition spots where various companies will present their services or products during the conference days. In the evening of 3rd of April it will be the cocktail party, a relaxing event for social networking around good food and drinks. We are grateful to our sponsors [4], they are making possible this event: FhG Fokus , Asipto , Sipwise , Sipgate , IT Center and NG Voice . Should you consider sponsoring, contact us via email at **and we can present you more details. The event take place again at the very city center of Berlin, next to Island of Museums and Alexanderplatz. The number of seats is limited and they can fill up very quickly, if you plan to attend, do not delay the registration – see more details in Registration page [5]. /Looking forward to meeting many of you in Berlin! / Daniel/ / [1] - http://conference.kamailio.com [2] - http://conference.kamailio.com/k02/speakers/ [3] - http://conference.kamailio.com/k02/schedule/ [4] - http://conference.kamailio.com/k02/sponsors/ [5] - http://conference.kamailio.com/k02/registration/ -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0406539884== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CiAgPGhlYWQ+CgogICAgPG1ldGEgaHR0cC1lcXVpdj0iY29udGVudC10eXBlIiBjb250 ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9VVRGLTgiPgogIDwvaGVhZD4KICA8Ym9keSB0ZXh0PSIj MDAwMDAwIiBiZ2NvbG9yPSIjRkZGRkZGIj4KICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQt dHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04Ij4KICAgIFNsaWdodGx5IGxl c3MgdGhhbiB0d28gbW9udGhzIHRvIHRoZSBzdGFydCBvZiA8YQogICAgICBocmVmPSJodHRwOi8v d3d3LmthbWFpbGlvd29ybGQuY29tIj5LYW1haWxpbyBXb3JsZCAyMDE0PC9hPiBbMV0KICAgIHRo ZSBvcmdhbml6YXRpb24gb2YgdGhlIGV2ZW50IGlzIGdldHRpbmcgYWNjZWxlcmF0ZWQuIFdlIHJl Y2VpdmVkCiAgICBwbGVudHkgb2YgaW50ZXJlc3RpbmcgcHJvcG9zYWxzIHNvIGZhciwgd2UgZXhw ZWN0IHRvIGVuZCB0aGUgQ2FsbAogICAgZm9yIFNwZWFrZXJzIHZlcnkgc29vbiwgZWFybGllciB0 aGFuIHByZXZpb3VzbHkgYW5ub3VuY2VkLiBJZiB5b3UKICAgIGhhdmUgcGxhbnMgdG8gc3VibWl0 LCB5b3Ugc2hvdWxkIHJlYWxseSBodXJyeSB1cC4KICAgIDxwPlRoZSBwcm9maWxlcyBvZiBhYm91 dCAyMCBzcGVha2VycyBoYXZlIGJlZW4gcHVibGlzaGVkIGluIDxhCiAgICAgICAgaHJlZj0iaHR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nwb25zb3JzLzwvYT48YnI+CiAgICAgIFs1XSAt IDxhIGNsYXNzPSJtb3otdHh0LWxpbmstZnJlZXRleHQiIGhyZWY9Imh0dHA6Ly9jb25mZXJlbmNl LmthbWFpbGlvLmNvbS9rMDIvcmVnaXN0cmF0aW9uLyI+aHR0cDovL2NvbmZlcmVuY2Uua2FtYWls aW8uY29tL2swMi9yZWdpc3RyYXRpb24vPC9hPjxicj4KICAgIDwvcD4KICAgIDxwcmUgY2xhc3M9 Im1vei1zaWduYXR1cmUiIGNvbHM9IjcyIj4tLSAKRGFuaWVsLUNvbnN0YW50aW4gTWllcmxhIC0g PGEgY2xhc3M9Im1vei10eHQtbGluay1mcmVldGV4dCIgaHJlZj0iaHR0cDovL3d3dy5hc2lwdG8u Y29tIj5odHRwOi8vd3d3LmFzaXB0by5jb208L2E+CjxhIGNsYXNzPSJtb3otdHh0LWxpbmstZnJl ZXRleHQiIGhyZWY9Imh0dHA6Ly90d2l0dGVyLmNvbS8jIS9taWNvbmRhIj5odHRwOi8vdHdpdHRl ci5jb20vIyEvbWljb25kYTwvYT4gLSA8YSBjbGFzcz0ibW96LXR4dC1saW5rLWZyZWV0ZXh0IiBo cmVmPSJodHRwOi8vd3d3LmxpbmtlZGluLmNvbS9pbi9taWNvbmRhIj5odHRwOi8vd3d3Lmxpbmtl ZGluLmNvbS9pbi9taWNvbmRhPC9hPjwvcHJlPgogIDwvYm9keT4KPC9odG1sPgo= --===============0406539884==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 15:15:52 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: pkg/kamailio/deb: unifying debian packaging Date: Tue, 04 Feb 2014 15:15:51 +0100 Message-ID: <20140204141552.1FE9FEF8075@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1204411211==" --===============1204411211== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: 17c8242c7adaee70acedb96f01621e1b17dcc9bb URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D17c8242c7adaee70acedb96f01621e1b17dcc9bb Author: Victor Seva Committer: Victor Seva Date: Thu Jan 30 14:26:03 2014 +0100 pkg/kamailio/deb: unifying debian packaging --- pkg/kamailio/deb/debian/backports/jessie | 19 + pkg/kamailio/deb/debian/backports/precise | 25 + pkg/kamailio/deb/debian/backports/squeeze | 70 +++ pkg/kamailio/deb/debian/backports/wheezy | 31 + pkg/kamailio/deb/debian/control | 18 +- pkg/kamailio/deb/debian/rules | 2 +- pkg/kamailio/deb/jessie/control | 19 +- pkg/kamailio/deb/jessie/rules | 4 +- pkg/kamailio/deb/precise/changelog | 6 - pkg/kamailio/deb/precise/compat | 2 +- pkg/kamailio/deb/precise/control | 599 +++++++++++-------= -- .../deb/precise/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/precise/kamailio.README.Debian | 7 +- pkg/kamailio/deb/precise/kamailio.default | 26 +- pkg/kamailio/deb/precise/kamailio.init | 279 ++++------ pkg/kamailio/deb/precise/kamailio.postinst | 28 +- pkg/kamailio/deb/precise/rules | 140 ++--- pkg/kamailio/deb/precise/source/format | 1 + pkg/kamailio/deb/precise/watch | 3 + pkg/kamailio/deb/squeeze/control | 63 ++- pkg/kamailio/deb/squeeze/rules | 21 +- pkg/kamailio/deb/wheezy/control | 19 +- pkg/kamailio/deb/wheezy/rules | 6 +- 23 files changed, 763 insertions(+), 626 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D17c8242c7adaee70acedb96f01621e1b17dcc9bb --===============1204411211==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 15:15:53 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: pkg/kamailio/deb: clean lintian errors Date: Tue, 04 Feb 2014 15:15:52 +0100 Message-ID: <20140204141552.6A06EEF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1344653553==" --===============1344653553== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: 3e97f51e59b27ae4609ae3f650872e59e89e1c2a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D3e97f51e59b27ae4609ae3f650872e59e89e1c2a Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 14:21:09 2014 +0100 pkg/kamailio/deb: clean lintian errors (cherry picked from commit 34720cbbf6f448a727a34164b690dabf393684ec) --- pkg/kamailio/deb/debian/control | 12 +++++++----- pkg/kamailio/deb/debian/kamailio.dirs | 2 -- pkg/kamailio/deb/debian/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/debian/rules | 1 + pkg/kamailio/deb/debian/source.lintian-overrides | 1 + pkg/kamailio/deb/jessie/control | 12 +++++++----- pkg/kamailio/deb/jessie/kamailio.dirs | 2 -- pkg/kamailio/deb/jessie/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/jessie/rules | 1 + pkg/kamailio/deb/jessie/source.lintian-overrides | 1 + pkg/kamailio/deb/precise/control | 10 ++++++---- pkg/kamailio/deb/precise/kamailio.dirs | 2 -- .../deb/precise/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/precise/rules | 1 + pkg/kamailio/deb/precise/source.lintian-overrides | 1 + pkg/kamailio/deb/squeeze/control | 10 ++++++---- pkg/kamailio/deb/squeeze/kamailio.dirs | 2 -- .../deb/squeeze/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/squeeze/rules | 1 + pkg/kamailio/deb/squeeze/source.lintian-overrides | 1 + pkg/kamailio/deb/wheezy/control | 10 ++++++---- pkg/kamailio/deb/wheezy/kamailio.dirs | 2 -- pkg/kamailio/deb/wheezy/kamailio.lintian-overrides | 7 +++++++ pkg/kamailio/deb/wheezy/rules | 1 + pkg/kamailio/deb/wheezy/source.lintian-overrides | 1 + 25 files changed, 77 insertions(+), 32 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D3e97f51e59b27ae4609ae3f650872e59e89e1c2a --===============1344653553==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 15:15:53 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: pkg/kamailio/deb: update debian copyright file Date: Tue, 04 Feb 2014 15:15:52 +0100 Message-ID: <20140204141552.BE1BCEF8077@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1698874713==" --===============1698874713== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: 6fad72bd5b9ca64261589f1059c7edbecc19c379 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D6fad72bd5b9ca64261589f1059c7edbecc19c379 Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 14:13:15 2014 +0100 pkg/kamailio/deb: update debian copyright file (cherry picked from commit e1904a040001c82d691fbb42f6149c692143c109) --- pkg/kamailio/deb/debian/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/jessie/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/precise/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/squeeze/copyright | 362 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/wheezy/copyright | 362 +++++++++++++++++++++++++++++++++-= -- 5 files changed, 1675 insertions(+), 135 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D6fad72bd5b9ca64261589f1059c7edbecc19c379 --===============1698874713==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 15:15:53 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: pkg/kamailio/deb: wrap-and-sort control files Date: Tue, 04 Feb 2014 15:15:52 +0100 Message-ID: <20140204141552.E4DB7EF8076@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1640627727==" --===============1640627727== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: 316ac288977ff480e980b55426549c470233fe3c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D316ac288977ff480e980b55426549c470233fe3c Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 09:31:51 2014 +0100 pkg/kamailio/deb: wrap-and-sort control files --- pkg/kamailio/deb/debian/control | 168 ++++++++++++++++++++----------------- pkg/kamailio/deb/jessie/control | 166 ++++++++++++++++++++----------------- pkg/kamailio/deb/precise/control | 161 ++++++++++++++++++++---------------- pkg/kamailio/deb/squeeze/control | 135 +++++++++++++++++-------------- pkg/kamailio/deb/wheezy/control | 157 +++++++++++++++++++---------------- 5 files changed, 430 insertions(+), 357 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D316ac288977ff480e980b55426549c470233fe3c --===============1640627727==-- From daniel@pocock.com.au Tue Feb 4 15:38:05 2014 From: Daniel Pocock To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] WebSocket cookie authentication and passing data Date: Tue, 04 Feb 2014 15:37:58 +0100 Message-ID: <52F0FB46.8090306@pocock.com.au> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1349285309==" --===============1349285309== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 04/02/14 10:26, Peter Dunkley wrote: > Hello, > > I don't think this is relevant to the Kamailio implementation. > > The Kamailio implementation doesn't do anything with headers like > Cookie: at all. If an implementer of a Kamailio solution wants to do > anything with the Cookie: header (or any other), they can do whatever > they want using the Kamailio configuration file "programming language". > > You can make use of all of the standard Kamailio header/parameter > selects and transformations to help you do whatever you want with > these headers. Just to clarify: we are talking about HTTP Cookie headers sent during the WebSocket handshake, not about a Cookie header in any SIP message Does the Kamailio WebSocket transport provide access to the HTTP WebSocket handshake headers and their contents or only the SIP headers? Is there a way to invoke some route block in the configuration file to examine the HTTP headers and decide whether a WebSocket connection will be accepted? --===============1349285309== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CiAgPGhlYWQ+CiAgICA8bWV0YSBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9SVNP LTg4NTktMSIKICAgICAgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIj4KICA8L2hlYWQ+CiAgPGJv ZHkgYmdjb2xvcj0iI0ZGRkZGRiIgdGV4dD0iIzAwMDAwMCI+CiAgICA8ZGl2IGNsYXNzPSJtb3ot Y2l0ZS1wcmVmaXgiPk9uIDA0LzAyLzE0IDEwOjI2LCBQZXRlciBEdW5rbGV5IHdyb3RlOjxicj4K ICAgIDwvZGl2PgogICAgPGJsb2NrcXVvdGUKY2l0ZT0ibWlkOkNBRXFUazZUQlZqaUhvM284ekJa V01hYjRSX3F2cUNRSm1OV0RHNjk1VmZjNVB4LUptd0BtYWlsLmdtYWlsLmNvbSIKICAgICAgdHlw ZT0iY2l0ZSI+CiAgICAgIDxtZXRhIGh0dHAtZXF1aXY9IkNvbnRleHQtVHlwZSIgY29udGVudD0i dGV4dC9odG1sOwogICAgICAgIGNoYXJzZXQ9SVNPLTg4NTktMSI+CiAgICAgIDxkaXYgZGlyPSJs dHIiPkhlbGxvLAogICAgICAgIDxkaXY+PGJyPgogICAgICAgIDwvZGl2PgogICAgICAgIDxkaXY+ SSBkb24ndCB0aGluayB0aGlzIGlzIHJlbGV2YW50IHRvIHRoZSBLYW1haWxpbwogICAgICAgICAg aW1wbGVtZW50YXRpb24uPC9kaXY+CiAgICAgICAgPGRpdj48YnI+CiAgICAgICAgPC9kaXY+CiAg ICAgICA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byB0aGUgSFRUUAogICAgV2ViU29ja2V0IGhhbmRzaGFr ZSBoZWFkZXJzIGFuZCB0aGVpciBjb250ZW50cyBvciBvbmx5IHRoZSBTSVAKICAgIGhlYWRlcnM/ PGJyPgogICAgPGJyPgogICAgSXMgdGhlcmUgYSB3YXkgdG8gaW52b2tlIHNvbWUgcm91dGUgYmxv Y2sgaW4gdGhlIGNvbmZpZ3VyYXRpb24gZmlsZQogICAgdG8gZXhhbWluZSB0aGUgSFRUUCBoZWFk ZXJzIGFuZCBkZWNpZGUgd2hldGhlciBhIFdlYlNvY2tldAogICAgY29ubmVjdGlvbiB3aWxsIGJl IGFjY2VwdGVkPzxicj4KICAgIDxicj4KICA8L2JvZHk+CjwvaHRtbD4K --===============1349285309==-- From peter.dunkley@crocodilertc.net Tue Feb 4 15:50:28 2014 From: Peter Dunkley To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] WebSocket cookie authentication and passing data Date: Tue, 04 Feb 2014 14:50:22 +0000 Message-ID: In-Reply-To: <52F0FB46.8090306@pocock.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1430613965==" --===============1430613965== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, On Kamailio you handle the WebSocket handshake as just another HTTP request (in an event_route). You do any processing and checking of headers you want in that event_route before calling ws_handle_handshake(). That includes using URI parameters (often more useful than Cookies: for authentication), checking Cookie: contents, checking the Host: and Origin: headers, etc. You can use the auth_ephemeral module at this point or, (if you have a WebSocket client capable of handling a request for HTTP digest authentication) HTTP digest authentication. You can also use sqlops (and other similar modules) at this point too. ws_handle_handshake() validates the WebSocket specific headers and generates the 101 response if everything is OK from a protocol point-of-view. Regards, Peter On 4 February 2014 14:37, Daniel Pocock wrote: > On 04/02/14 10:26, Peter Dunkley wrote: > > Hello, > > I don't think this is relevant to the Kamailio implementation. > > The Kamailio implementation doesn't do anything with headers like > Cookie: at all. If an implementer of a Kamailio solution wants to do > anything with the Cookie: header (or any other), they can do whatever they > want using the Kamailio configuration file "programming language". > > You can make use of all of the standard Kamailio header/parameter > selects and transformations to help you do whatever you want with these > headers. > > > Just to clarify: we are talking about HTTP Cookie headers sent during the > WebSocket handshake, not about a Cookie header in any SIP message > > Does the Kamailio WebSocket transport provide access to the HTTP WebSocket > handshake headers and their contents or only the SIP headers? > > Is there a way to invoke some route block in the configuration file to > examine the HTTP headers and decide whether a WebSocket connection will be > accepted? > > -- Peter Dunkley Technical Director Crocodile RCS Ltd --===============1430613965== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBkaXI9Imx0ciI+SGVsbG8sPGRpdj48YnI+PC9kaXY+PGRpdj5PbiBLYW1haWxpbyB5b3Ug aGFuZGxlIHRoZSBXZWJTb2NrZXQgaGFuZHNoYWtlIGFzIGp1c3QgYW5vdGhlciBIVFRQIHJlcXVl c3QgKGluIGFuIGV2ZW50X3JvdXRlKS48ZGl2Pjxicj48L2Rpdj48ZGl2PllvdSBkbyBhbnkgcHJv Y2Vzc2luZyBhbmQgY2hlY2tpbmcgb2YgaGVhZGVycyB5b3Ugd2FudCBpbiB0aGF0IGV2ZW50X3Jv dXRlIGJlZm9yZSBjYWxsaW5nIHdzX2hhbmRsZV9oYW5kc2hha2UoKS4goFRoYXQgaW5jbHVkZXMg dXNpbmcgVVJJIHBhcmFtZXRlcnMgKG9mdGVuIG1vcmUgdXNlZnVsIHRoYW4gQ29va2llczogZm9y IGF1dGhlbnRpY2F0aW9uKSwgY2hlY2tpbmcgQ29va2llOiBjb250ZW50cywgY2hlY2tpbmcgdGhl IEhvc3Q6IGFuZCBPcmlnaW46IGhlYWRlcnMsIGV0Yy48L2Rpdj4KPGRpdj48YnI+PC9kaXY+PGRp dj5Zb3UgY2FuIHVzZSB0aGUgYXV0aF9lcGhlbWVyYWwgbW9kdWxlIGF0IHRoaXMgcG9pbnQgb3Is IChpZiB5b3UgaGF2ZSBhIFdlYlNvY2tldCBjbGllb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D48L2Rpdj48 ZGl2Pjxmb250IGZhY2U9ImNvdXJpZXIgbmV3LCBtb25vc3BhY2UiPlRlY2huaWNhbCBEaXJlY3Rv cjwvZm9udD48L2Rpdj48ZGl2Pgo8Zm9udCBmYWNlPSJjb3VyaWVyIG5ldywgbW9ub3NwYWNlIj5D cm9jb2RpbGUgUkNTIEx0ZDwvZm9udD48L2Rpdj48L2Rpdj4KPC9kaXY+Cg== --===============1430613965==-- From oyvind.kolbu@usit.uio.no Tue Feb 4 17:02:42 2014 From: =?utf-8?q?=C3=98yvind?= Kolbu To: sr-dev@lists.kamailio.org Subject: [sr-dev] Crash with coredump Date: Tue, 04 Feb 2014 16:01:07 +0000 Message-ID: <313febe04ef5478985fcd1773e6780e5@mail-ex01.exprod.uio.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0214142627==" --===============0214142627== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Messages from Kamailio: /usr/sbin/kamailio[26653]: : [mem/q_malloc.c:468]: qm_free(): BUG: qm_= free: freeing already freed pointer (0x7ff0bf995ea8), called from : mem= /shm_mem.c: sh_realloc(88), first free : mem/shm_mem.c: sh_realloc(88) = - aborting /usr/sbin/kamailio[26631]: ALERT: [main.c:775]: handle_sigs(): child p= rocess 26653 exited by a signal 6 /usr/sbin/kamailio[26631]: ALERT: [main.c:778]: handle_sigs(): core wa= s generated /usr/sbin/kamailio[26631]: INFO: [main.c:790]: handle_sigs(): INFO: te= rminating due to SIGCHLD Core was generated by `/usr/sbin/kamailio -P /var/run/kamailio.pid -m 128 -M = 8 -u kamailio -g kamailio'. (gdb) bt #0 0x000000395c032925 in raise () from /lib64/libc.so.6 #1 0x000000395c034105 in abort () from /lib64/libc.so.6 #2 0x00000000005486e0 in qm_free (qm=3D0x7ff0befe1000, p=3D0x7ff0bf995ea8, f= ile=3D0x61c530 ": mem/shm_mem.c", func=3D0x61cccc "sh_realloc", line=3D= 88) at mem/q_malloc.c:470 #3 0x000000000054e70e in sh_realloc (p=3D0x7ff0bf995ea8, size=3D1011) at mem= /shm_mem.c:88 #4 0x000000000054e8ad in _shm_resize (p=3D0x7ff0bf995ea8, s=3D1011, file=3D0= x7ff0cc2cfb4b "tm: t_reply.c", func=3D0x7ff0cc2d24d1 "relay_reply", line=3D19= 54) at mem/shm_mem.c:114 #5 0x00007ff0cc29a0ca in relay_reply (t=3D0x7ff0bf96f370, p_msg=3D0x7ff0cd56= 7828, branch=3D0, msg_status=3D180, cancel_data=3D0x7fff2689c160, do_put_on_w= ait=3D1) at t_reply.c:1953 #6 0x00007ff0cc29c935 in reply_received (p_msg=3D0x7ff0cd567828) at t_reply.= c:2496 #7 0x000000000045d66f in do_forward_reply (msg=3D0x7ff0cd567828, mode=3D0) a= t forward.c:777 #8 0x000000000045df30 in forward_reply (msg=3D0x7ff0cd567828) at forward.c:8= 60 #9 0x00000000004a558f in receive_msg (buf=3D0x9235e0 "SIP/2.0 180 Ringing\r\= nVia: SIP/2.0/UDP 129.240.254.5;branch=3Dz9hG4bK5308.7264ce2b6f84567135ea5d9f= dac037e8.0\r\nVia: SIP/2.0/UDP 129.240.254.6;rport=3D5060;branch=3Dz9hG4bK530= 8.90aa6ae9c3f480d0ba108044389e9387"..., len=3D937, rcv_info=3D0x7fff2689c4e0) at receive.c:273 #10 0x000000000053c394 in udp_rcv_loop () at udp_server.c:536 #11 0x000000000046d263 in main_loop () at main.c:1617 #12 0x000000000047030b in main (argc=3D21, argv=3D0x7fff2689c818) at main.c:2= 533 # /usr/sbin/kamailio -V version: kamailio 4.1.0 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE,= USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FU= TEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE= _DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=3D1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_U= RI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled on 15:29:28 Jan 7 2014 with gcc 4.4.7 Git rev d75bc3b69151a9d0391309e6bb51784f3b6b9a83. Have the core file available if needed. =C3=98yvind --===============0214142627==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:29:14 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: pkg/kamailio/deb: clean lintian errors Date: Tue, 04 Feb 2014 17:29:14 +0100 Message-ID: <20140204162914.30C73EF8075@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0766001024==" --===============0766001024== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: 259a99578a1e9f454a3cd027ac17f39b25c0aec0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D259a99578a1e9f454a3cd027ac17f39b25c0aec0 Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 14:21:09 2014 +0100 pkg/kamailio/deb: clean lintian errors --- pkg/kamailio/deb/debian/control | 8 +++++--- pkg/kamailio/deb/debian/kamailio.dirs | 2 -- pkg/kamailio/deb/debian/kamailio.lintian-overrides | 5 +++++ pkg/kamailio/deb/debian/rules | 1 + pkg/kamailio/deb/debian/source.lintian-overrides | 1 + pkg/kamailio/deb/lenny/control | 8 +++++--- pkg/kamailio/deb/lenny/kamailio.dirs | 2 -- pkg/kamailio/deb/lenny/kamailio.lintian-overrides | 5 +++++ pkg/kamailio/deb/lenny/rules | 1 + pkg/kamailio/deb/lenny/source.lintian-overrides | 1 + pkg/kamailio/deb/lucid/control | 8 +++++--- pkg/kamailio/deb/lucid/kamailio.dirs | 2 -- pkg/kamailio/deb/lucid/kamailio.lintian-overrides | 5 +++++ pkg/kamailio/deb/lucid/rules | 1 + pkg/kamailio/deb/lucid/source.lintian-overrides | 1 + pkg/kamailio/deb/precise/control | 8 +++++--- pkg/kamailio/deb/precise/kamailio.dirs | 2 -- .../deb/precise/kamailio.lintian-overrides | 5 +++++ pkg/kamailio/deb/precise/rules | 1 + pkg/kamailio/deb/precise/source.lintian-overrides | 1 + pkg/kamailio/deb/squeeze/control | 8 +++++--- pkg/kamailio/deb/squeeze/kamailio.dirs | 2 -- .../deb/squeeze/kamailio.lintian-overrides | 5 +++++ pkg/kamailio/deb/squeeze/rules | 1 + pkg/kamailio/deb/squeeze/source.lintian-overrides | 1 + pkg/kamailio/deb/wheezy/control | 8 +++++--- pkg/kamailio/deb/wheezy/kamailio.dirs | 2 -- pkg/kamailio/deb/wheezy/kamailio.lintian-overrides | 5 +++++ pkg/kamailio/deb/wheezy/rules | 1 + pkg/kamailio/deb/wheezy/source.lintian-overrides | 1 + 30 files changed, 72 insertions(+), 30 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D259a99578a1e9f454a3cd027ac17f39b25c0aec0 --===============0766001024==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:29:14 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: pkg/kamailio/deb: unifying debian packaging Date: Tue, 04 Feb 2014 17:29:13 +0100 Message-ID: <20140204162914.030E4EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0715145014==" --===============0715145014== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: ffff03d33273873076bf8bc92a84608b4271a1e3 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Dffff03d33273873076bf8bc92a84608b4271a1e3 Author: Victor Seva Committer: Victor Seva Date: Thu Jan 30 13:47:56 2014 +0100 pkg/kamailio/deb: unifying debian packaging --- pkg/kamailio/deb/debian/backports/lenny | 59 ++ pkg/kamailio/deb/debian/backports/lucid | 52 ++ pkg/kamailio/deb/debian/backports/precise | 19 + pkg/kamailio/deb/debian/backports/squeeze | 52 ++ pkg/kamailio/deb/debian/backports/wheezy | 25 + pkg/kamailio/deb/debian/compat | 2 +- pkg/kamailio/deb/debian/control | 605 ++++++++++--------= -- pkg/kamailio/deb/debian/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/debian/kamailio.README.Debian | 7 +- pkg/kamailio/deb/debian/kamailio.default | 26 +- pkg/kamailio/deb/debian/kamailio.init | 279 ++++------ pkg/kamailio/deb/debian/kamailio.postinst | 28 +- pkg/kamailio/deb/debian/rules | 137 ++--- pkg/kamailio/deb/debian/source/format | 1 + pkg/kamailio/deb/debian/watch | 3 + pkg/kamailio/deb/lenny/compat | 2 +- pkg/kamailio/deb/lenny/control | 445 ++++++++------- pkg/kamailio/deb/lenny/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/lenny/kamailio.README.Debian | 7 +- pkg/kamailio/deb/lenny/kamailio.default | 26 +- pkg/kamailio/deb/lenny/kamailio.init | 279 ++++------ pkg/kamailio/deb/lenny/kamailio.postinst | 28 +- pkg/kamailio/deb/lenny/rules | 135 ++--- pkg/kamailio/deb/lenny/source/format | 1 + pkg/kamailio/deb/lenny/watch | 3 + pkg/kamailio/deb/lucid/compat | 2 +- pkg/kamailio/deb/lucid/control | 472 ++++++++-------- pkg/kamailio/deb/lucid/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/lucid/kamailio.README.Debian | 7 +- pkg/kamailio/deb/lucid/kamailio.default | 26 +- pkg/kamailio/deb/lucid/kamailio.init | 279 ++++------ pkg/kamailio/deb/lucid/kamailio.postinst | 28 +- pkg/kamailio/deb/lucid/rules | 135 ++--- pkg/kamailio/deb/lucid/source/format | 1 + pkg/kamailio/deb/lucid/watch | 3 + pkg/kamailio/deb/precise/changelog | 6 - pkg/kamailio/deb/precise/compat | 2 +- pkg/kamailio/deb/precise/control | 598 ++++++++++--------- .../deb/precise/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/precise/kamailio.README.Debian | 7 +- pkg/kamailio/deb/precise/kamailio.default | 26 +- pkg/kamailio/deb/precise/kamailio.init | 279 ++++------ pkg/kamailio/deb/precise/kamailio.postinst | 28 +- pkg/kamailio/deb/precise/rules | 139 ++--- pkg/kamailio/deb/precise/source/format | 1 + pkg/kamailio/deb/precise/watch | 3 + pkg/kamailio/deb/squeeze/compat | 2 +- pkg/kamailio/deb/squeeze/control | 495 ++++++++-------- .../deb/squeeze/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/squeeze/kamailio.README.Debian | 7 +- pkg/kamailio/deb/squeeze/kamailio.default | 26 +- pkg/kamailio/deb/squeeze/kamailio.init | 279 ++++------ pkg/kamailio/deb/squeeze/kamailio.postinst | 28 +- pkg/kamailio/deb/squeeze/rules | 135 ++--- pkg/kamailio/deb/squeeze/source/format | 1 + pkg/kamailio/deb/squeeze/watch | 3 + pkg/kamailio/deb/wheezy/compat | 2 +- pkg/kamailio/deb/wheezy/control | 576 ++++++++++--------- pkg/kamailio/deb/wheezy/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/wheezy/kamailio.README.Debian | 7 +- pkg/kamailio/deb/wheezy/kamailio.default | 26 +- pkg/kamailio/deb/wheezy/kamailio.init | 279 ++++------ pkg/kamailio/deb/wheezy/kamailio.postinst | 28 +- pkg/kamailio/deb/wheezy/rules | 139 ++--- pkg/kamailio/deb/wheezy/source/format | 1 + pkg/kamailio/deb/wheezy/watch | 3 + 66 files changed, 2888 insertions(+), 3418 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3Dffff03d33273873076bf8bc92a84608b4271a1e3 --===============0715145014==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:29:14 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: pkg/kamailio/deb: wrap-and-sort control files Date: Tue, 04 Feb 2014 17:29:14 +0100 Message-ID: <20140204162914.18619EF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2081441286==" --===============2081441286== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: 6db8c1f426ed40e4ddcb2ba204816d9800302735 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D6db8c1f426ed40e4ddcb2ba204816d9800302735 Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 09:31:29 2014 +0100 pkg/kamailio/deb: wrap-and-sort control files --- pkg/kamailio/deb/debian/control | 180 +++++++++++++++++++++---------------= -- pkg/kamailio/deb/lenny/control | 160 ++++++++++++++++++--------------- pkg/kamailio/deb/lucid/control | 166 +++++++++++++++++++---------------- pkg/kamailio/deb/precise/control | 178 ++++++++++++++++++++----------------- pkg/kamailio/deb/squeeze/control | 166 +++++++++++++++++++---------------- pkg/kamailio/deb/wheezy/control | 174 ++++++++++++++++++++----------------- 6 files changed, 560 insertions(+), 464 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D6db8c1f426ed40e4ddcb2ba204816d9800302735 --===============2081441286==-- From jason.penton@gmail.com Tue Feb 4 17:30:10 2014 From: Jason Penton To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Tue, 04 Feb 2014 18:30:04 +0200 Message-ID: In-Reply-To: <313febe04ef5478985fcd1773e6780e5@mail-ex01.exprod.uio.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1415485987==" --===============1415485987== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Are you using async module? Anything else significant in your cfg file? This email was sent using my phone. It may be brief, to the point, or contain typos On 4 Feb 2014 18:02, "=C3=98yvind Kolbu" wrote: > Messages from Kamailio: > > /usr/sbin/kamailio[26653]: : [mem/q_malloc.c:468]: qm_free(): BUG: > qm_free: freeing already freed pointer (0x7ff0bf995ea8), called from > : mem/shm_mem.c: sh_realloc(88), first free : mem/shm_mem.c: > sh_realloc(88) - aborting > /usr/sbin/kamailio[26631]: ALERT: [main.c:775]: handle_sigs(): > child process 26653 exited by a signal 6 > /usr/sbin/kamailio[26631]: ALERT: [main.c:778]: handle_sigs(): core > was generated > /usr/sbin/kamailio[26631]: INFO: [main.c:790]: handle_sigs(): INFO: > terminating due to SIGCHLD > > Core was generated by `/usr/sbin/kamailio -P /var/run/kamailio.pid -m 128 > -M 8 -u kamailio -g kamailio'. > (gdb) bt > #0 0x000000395c032925 in raise () from /lib64/libc.so.6 > #1 0x000000395c034105 in abort () from /lib64/libc.so.6 > #2 0x00000000005486e0 in qm_free (qm=3D0x7ff0befe1000, p=3D0x7ff0bf995ea8, > file=3D0x61c530 ": mem/shm_mem.c", func=3D0x61cccc "sh_realloc", line= =3D88) > at mem/q_malloc.c:470 > #3 0x000000000054e70e in sh_realloc (p=3D0x7ff0bf995ea8, size=3D1011) at > mem/shm_mem.c:88 > #4 0x000000000054e8ad in _shm_resize (p=3D0x7ff0bf995ea8, s=3D1011, > file=3D0x7ff0cc2cfb4b "tm: t_reply.c", func=3D0x7ff0cc2d24d1 "relay_reply", > line=3D1954) at mem/shm_mem.c:114 > #5 0x00007ff0cc29a0ca in relay_reply (t=3D0x7ff0bf96f370, > p_msg=3D0x7ff0cd567828, branch=3D0, msg_status=3D180, cancel_data=3D0x7fff2= 689c160, > do_put_on_wait=3D1) at t_reply.c:1953 > #6 0x00007ff0cc29c935 in reply_received (p_msg=3D0x7ff0cd567828) at > t_reply.c:2496 > #7 0x000000000045d66f in do_forward_reply (msg=3D0x7ff0cd567828, mode=3D0)= at > forward.c:777 > #8 0x000000000045df30 in forward_reply (msg=3D0x7ff0cd567828) at > forward.c:860 > #9 0x00000000004a558f in receive_msg (buf=3D0x9235e0 "SIP/2.0 180 > Ringing\r\nVia: SIP/2.0/UDP > 129.240.254.5;branch=3Dz9hG4bK5308.7264ce2b6f84567135ea5d9fdac037e8.0\r\nVi= a: > SIP/2.0/UDP > 129.240.254.6;rport=3D5060;branch=3Dz9hG4bK5308.90aa6ae9c3f480d0ba108044389= e9387"..., > len=3D937, rcv_info=3D0x7fff2689c4e0) > at receive.c:273 > #10 0x000000000053c394 in udp_rcv_loop () at udp_server.c:536 > #11 0x000000000046d263 in main_loop () at main.c:1617 > #12 0x000000000047030b in main (argc=3D21, argv=3D0x7fff2689c818) at > main.c:2533 > > # /usr/sbin/kamailio -V > version: kamailio 4.1.0 (x86_64/linux) > flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, > DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, > DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, > USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES > ADAPTIVE_WAIT_LOOPS=3D1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, > MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB > poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. > id: unknown > compiled on 15:29:28 Jan 7 2014 with gcc 4.4.7 > > Git rev d75bc3b69151a9d0391309e6bb51784f3b6b9a83. > > Have the core file available if needed. > > =C3=98yvind > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > --===============1415485987== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PHAgZGlyPSJsdHIiPkFyZSB5b3UgdXNpbmcgYXN5bmMgbW9kdWxlPyBBbnl0aGluZyBlbHNlIHNp Z25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UZGRVJfU0laRSAyNjIxNDQsIE1BWF9MSVNURU4gMTYsIE1BWF9VUklfU0laRSAx MDI0LCBCVUZfU0laRSA2NTUzNSwgREVGQVVMVCBQS0dfU0laRSA0TUI8YnI+CnBvbGwgbWV0aG9k IHN1cHBvcnQ6IHBvbGwsIGVwb2xsX2x0LCBlcG9sbF9ldCwgc2lnaW9fcnQsIHNlbGVjdC48YnI+ CmlkOiB1bmtub3duPGJyPgpjb21waWxlZCBvbiAxNToyOToyOCBKYW4goDcgMjAxNCB3aXRoIGdj YyA0LjQuNzxicj4KPGJyPgpHaXQgcmV2IGQ3NWJjM2I2OTE1MWE5ZDAzOTEzMDllNmJiNTE3ODRm M2I2YjlhODMuPGJyPgo8YnI+CkhhdmUgdGhlIGNvcmUgZmlsZSBhdmFpbGFibGUgaWYgbmVlZGVk Ljxicj4KPGJyPgrYeXZpbmQ8YnI+Cjxicj4KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX188YnI+CnNyLWRldiBtYWlsaW5nIGxpc3Q8YnI+CjxhIGhyZWY9Im1h aWx0bzpzci1kZXZAbGlzdHMuc2lwLXJvdXRlci5vcmciPnNyLWRldkBsaXN0cy5zaXAtcm91dGVy Lm9yZzwvYT48YnI+CjxhIGhyZWY9Imh0dHA6Ly9saXN0cy5zaXAtcm91dGVyLm9yZy9jZ2ktYmlu L21haWxtYW4vbGlzdGluZm8vc3ItZGV2IiB0YXJnZXQ9Il9ibGFuayI+aHR0cDovL2xpc3RzLnNp cC1yb3V0ZXIub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9zci1kZXY8L2E+PGJyPgo8L2Js b2NrcXVvdGU+PC9kaXY+Cg== --===============1415485987==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:33:28 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:3.3: pkg/kamailio/deb: unifying debian packaging Date: Tue, 04 Feb 2014 17:33:27 +0100 Message-ID: <20140204163327.BE8FDEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0072539172==" --===============0072539172== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 3.3 Commit: 2e676f6fe9cba7d3deaadbf77d1316078d483007 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D2e676f6fe9cba7d3deaadbf77d1316078d483007 Author: Victor Seva Committer: Victor Seva Date: Thu Jan 30 09:33:55 2014 +0100 pkg/kamailio/deb: unifying debian packaging --- pkg/kamailio/deb/debian/backports/lenny | 59 ++ pkg/kamailio/deb/debian/backports/lucid | 52 ++ pkg/kamailio/deb/debian/backports/precise | 19 + pkg/kamailio/deb/debian/backports/squeeze | 52 ++ pkg/kamailio/deb/debian/backports/wheezy | 25 + pkg/kamailio/deb/debian/compat | 2 +- pkg/kamailio/deb/debian/control | 555 +++++++++++-------= -- pkg/kamailio/deb/debian/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/debian/kamailio.README.Debian | 7 +- pkg/kamailio/deb/debian/kamailio.default | 26 +- pkg/kamailio/deb/debian/kamailio.init | 283 ++++------- pkg/kamailio/deb/debian/kamailio.postinst | 28 +- pkg/kamailio/deb/debian/rules | 127 ++--- pkg/kamailio/deb/debian/source/format | 1 + pkg/kamailio/deb/debian/watch | 3 + pkg/kamailio/deb/lenny/compat | 2 +- pkg/kamailio/deb/lenny/control | 430 ++++++++-------- pkg/kamailio/deb/lenny/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/lenny/kamailio.README.Debian | 7 +- pkg/kamailio/deb/lenny/kamailio.default | 26 +- pkg/kamailio/deb/lenny/kamailio.init | 283 ++++------- pkg/kamailio/deb/lenny/kamailio.postinst | 28 +- pkg/kamailio/deb/lenny/rules | 125 ++--- pkg/kamailio/deb/lenny/source/format | 1 + pkg/kamailio/deb/lenny/watch | 3 + pkg/kamailio/deb/lucid/changelog | 2 +- pkg/kamailio/deb/lucid/compat | 2 +- pkg/kamailio/deb/lucid/control | 457 ++++++++-------- pkg/kamailio/deb/lucid/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/lucid/kamailio.README.Debian | 7 +- pkg/kamailio/deb/lucid/kamailio.default | 26 +- pkg/kamailio/deb/lucid/kamailio.init | 283 ++++------- pkg/kamailio/deb/lucid/kamailio.postinst | 28 +- pkg/kamailio/deb/lucid/rules | 125 ++--- pkg/kamailio/deb/lucid/source/format | 1 + pkg/kamailio/deb/lucid/watch | 3 + pkg/kamailio/deb/precise/changelog | 2 +- pkg/kamailio/deb/precise/compat | 2 +- pkg/kamailio/deb/precise/control | 550 +++++++++++-------= -- .../deb/precise/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/precise/kamailio.README.Debian | 7 +- pkg/kamailio/deb/precise/kamailio.default | 26 +- pkg/kamailio/deb/precise/kamailio.init | 283 ++++------- pkg/kamailio/deb/precise/kamailio.postinst | 28 +- pkg/kamailio/deb/precise/rules | 129 ++--- pkg/kamailio/deb/precise/source/format | 1 + pkg/kamailio/deb/precise/watch | 3 + pkg/kamailio/deb/squeeze/changelog | 2 +- pkg/kamailio/deb/squeeze/compat | 2 +- pkg/kamailio/deb/squeeze/control | 459 ++++++++-------- .../deb/squeeze/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/squeeze/kamailio.README.Debian | 7 +- pkg/kamailio/deb/squeeze/kamailio.default | 26 +- pkg/kamailio/deb/squeeze/kamailio.init | 283 ++++------- pkg/kamailio/deb/squeeze/kamailio.postinst | 28 +- pkg/kamailio/deb/squeeze/rules | 125 ++--- pkg/kamailio/deb/squeeze/source/format | 1 + pkg/kamailio/deb/squeeze/watch | 3 + pkg/kamailio/deb/wheezy/changelog | 2 +- pkg/kamailio/deb/wheezy/compat | 2 +- pkg/kamailio/deb/wheezy/control | 538 ++++++++++--------- pkg/kamailio/deb/wheezy/kamailio-berkeley-bin.dirs | 1 + pkg/kamailio/deb/wheezy/kamailio.README.Debian | 7 +- pkg/kamailio/deb/wheezy/kamailio.default | 26 +- pkg/kamailio/deb/wheezy/kamailio.init | 283 ++++------- pkg/kamailio/deb/wheezy/kamailio.postinst | 28 +- pkg/kamailio/deb/wheezy/rules | 127 ++--- pkg/kamailio/deb/wheezy/source/format | 1 + pkg/kamailio/deb/wheezy/watch | 3 + 69 files changed, 2784 insertions(+), 3284 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D2e676f6fe9cba7d3deaadbf77d1316078d483007 --===============0072539172==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:33:28 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:3.3: pkg/kamailio/deb: wrap-and-sort control files Date: Tue, 04 Feb 2014 17:33:27 +0100 Message-ID: <20140204163327.D6299EF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1997180384==" --===============1997180384== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 3.3 Commit: 0a9136d1305b4d62f82f0992370f206da9d518d0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D0a9136d1305b4d62f82f0992370f206da9d518d0 Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 09:30:42 2014 +0100 pkg/kamailio/deb: wrap-and-sort control files --- pkg/kamailio/deb/debian/control | 176 +++++++++++++++++++++---------------= -- pkg/kamailio/deb/lenny/control | 156 ++++++++++++++++++--------------- pkg/kamailio/deb/lucid/control | 162 +++++++++++++++++++---------------- pkg/kamailio/deb/precise/control | 174 ++++++++++++++++++++----------------- pkg/kamailio/deb/squeeze/control | 162 +++++++++++++++++++---------------- pkg/kamailio/deb/wheezy/control | 170 ++++++++++++++++++++----------------- 6 files changed, 548 insertions(+), 452 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D0a9136d1305b4d62f82f0992370f206da9d518d0 --===============1997180384==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:33:28 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:3.3: pkg/kamailio/deb: update debian changelog Date: Tue, 04 Feb 2014 17:33:27 +0100 Message-ID: <20140204163328.028FAEF8075@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0370804467==" --===============0370804467== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 3.3 Commit: 3584046e8da85feee5a207e53e17d19ce46e968f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D3584046e8da85feee5a207e53e17d19ce46e968f Author: Victor Seva Committer: Victor Seva Date: Tue Feb 4 09:20:03 2014 +0100 pkg/kamailio/deb: update debian changelog --- pkg/kamailio/deb/debian/copyright | 348 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/lenny/copyright | 348 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/lucid/copyright | 348 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/precise/copyright | 348 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/squeeze/copyright | 348 +++++++++++++++++++++++++++++++++-= -- pkg/kamailio/deb/wheezy/copyright | 348 +++++++++++++++++++++++++++++++++-= -- 6 files changed, 1926 insertions(+), 162 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D3584046e8da85feee5a207e53e17d19ce46e968f --===============0370804467==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:33:29 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:3.3: pkg/kamailio/deb: clean lintian errors Date: Tue, 04 Feb 2014 17:33:28 +0100 Message-ID: <20140204163328.2751BEF8076@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0577068913==" --===============0577068913== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 3.3 Commit: 0e0a2add2e13319a8385a9c00c92cbc750b0a213 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D0e0a2add2e13319a8385a9c00c92cbc750b0a213 Author: Victor Seva Committer: Victor Seva Date: Mon Feb 3 14:21:09 2014 +0100 pkg/kamailio/deb: clean lintian errors --- pkg/kamailio/deb/debian/control | 8 +++++--- pkg/kamailio/deb/debian/kamailio.dirs | 2 -- pkg/kamailio/deb/debian/kamailio.lintian-overrides | 1 + pkg/kamailio/deb/debian/rules | 1 + pkg/kamailio/deb/debian/source.lintian-overrides | 1 + pkg/kamailio/deb/lenny/control | 8 +++++--- pkg/kamailio/deb/lenny/kamailio.dirs | 2 -- pkg/kamailio/deb/lenny/kamailio.lintian-overrides | 2 ++ pkg/kamailio/deb/lenny/rules | 1 + pkg/kamailio/deb/lucid/control | 8 +++++--- pkg/kamailio/deb/lucid/kamailio.dirs | 2 -- pkg/kamailio/deb/lucid/kamailio.lintian-overrides | 2 ++ pkg/kamailio/deb/lucid/rules | 1 + pkg/kamailio/deb/precise/control | 8 +++++--- pkg/kamailio/deb/precise/kamailio.dirs | 2 -- .../deb/precise/kamailio.lintian-overrides | 2 ++ pkg/kamailio/deb/precise/rules | 1 + pkg/kamailio/deb/squeeze/control | 8 +++++--- pkg/kamailio/deb/squeeze/kamailio.dirs | 2 -- .../deb/squeeze/kamailio.lintian-overrides | 2 ++ pkg/kamailio/deb/squeeze/rules | 1 + pkg/kamailio/deb/wheezy/control | 8 +++++--- pkg/kamailio/deb/wheezy/kamailio.dirs | 2 -- pkg/kamailio/deb/wheezy/kamailio.lintian-overrides | 2 ++ pkg/kamailio/deb/wheezy/rules | 1 + 25 files changed, 48 insertions(+), 30 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D0e0a2add2e13319a8385a9c00c92cbc750b0a213 --===============0577068913==-- From oyvind.kolbu@usit.uio.no Tue Feb 4 17:34:11 2014 From: =?utf-8?q?=C3=98yvind?= Kolbu To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Tue, 04 Feb 2014 17:34:10 +0100 Message-ID: <52F11682.8020205@usit.uio.no> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0907739432==" --===============0907739432== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On 04.02.2014 17:30, Jason Penton wrote: > Are you using async module? Anything else significant in your cfg file? No async module. Depends on what you call significant.. We use dialog, db_postgres, ldap, siptrace and other pretty normal stuff. -- Øyvind --===============0907739432==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 17:35:33 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:3.3: pkg/kamailio/deb: update lintian for backports Date: Tue, 04 Feb 2014 17:35:33 +0100 Message-ID: <20140204163533.80313EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0462658408==" --===============0462658408== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 3.3 Commit: c0269b941d05bf0442baaf1402b9b107c71a3e6c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Dc0269b941d05bf0442baaf1402b9b107c71a3e6c Author: Victor Seva Committer: Victor Seva Date: Tue Feb 4 17:34:30 2014 +0100 pkg/kamailio/deb: update lintian for backports --- pkg/kamailio/deb/lenny/kamailio.lintian-overrides | 1 - pkg/kamailio/deb/lenny/source.lintian-overrides | 1 + pkg/kamailio/deb/lucid/kamailio.lintian-overrides | 1 - pkg/kamailio/deb/lucid/source.lintian-overrides | 1 + .../deb/precise/kamailio.lintian-overrides | 1 - pkg/kamailio/deb/precise/source.lintian-overrides | 1 + .../deb/squeeze/kamailio.lintian-overrides | 1 - pkg/kamailio/deb/squeeze/source.lintian-overrides | 1 + pkg/kamailio/deb/wheezy/kamailio.lintian-overrides | 1 - pkg/kamailio/deb/wheezy/source.lintian-overrides | 1 + 10 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/kamailio/deb/lenny/kamailio.lintian-overrides b/pkg/kamailio= /deb/lenny/kamailio.lintian-overrides index 1a05aa9..bbe0d37 100644 --- a/pkg/kamailio/deb/lenny/kamailio.lintian-overrides +++ b/pkg/kamailio/deb/lenny/kamailio.lintian-overrides @@ -1,2 +1 @@ kamailio-tls-modules binary: possible-gpl-code-linked-with-openssl -kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/lenny/source.lintian-overrides b/pkg/kamailio/d= eb/lenny/source.lintian-overrides new file mode 100644 index 0000000..620d9ff --- /dev/null +++ b/pkg/kamailio/deb/lenny/source.lintian-overrides @@ -0,0 +1 @@ +kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/lucid/kamailio.lintian-overrides b/pkg/kamailio= /deb/lucid/kamailio.lintian-overrides index 1a05aa9..bbe0d37 100644 --- a/pkg/kamailio/deb/lucid/kamailio.lintian-overrides +++ b/pkg/kamailio/deb/lucid/kamailio.lintian-overrides @@ -1,2 +1 @@ kamailio-tls-modules binary: possible-gpl-code-linked-with-openssl -kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/lucid/source.lintian-overrides b/pkg/kamailio/d= eb/lucid/source.lintian-overrides new file mode 100644 index 0000000..620d9ff --- /dev/null +++ b/pkg/kamailio/deb/lucid/source.lintian-overrides @@ -0,0 +1 @@ +kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/precise/kamailio.lintian-overrides b/pkg/kamail= io/deb/precise/kamailio.lintian-overrides index 1a05aa9..bbe0d37 100644 --- a/pkg/kamailio/deb/precise/kamailio.lintian-overrides +++ b/pkg/kamailio/deb/precise/kamailio.lintian-overrides @@ -1,2 +1 @@ kamailio-tls-modules binary: possible-gpl-code-linked-with-openssl -kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/precise/source.lintian-overrides b/pkg/kamailio= /deb/precise/source.lintian-overrides new file mode 100644 index 0000000..620d9ff --- /dev/null +++ b/pkg/kamailio/deb/precise/source.lintian-overrides @@ -0,0 +1 @@ +kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/squeeze/kamailio.lintian-overrides b/pkg/kamail= io/deb/squeeze/kamailio.lintian-overrides index 1a05aa9..bbe0d37 100644 --- a/pkg/kamailio/deb/squeeze/kamailio.lintian-overrides +++ b/pkg/kamailio/deb/squeeze/kamailio.lintian-overrides @@ -1,2 +1 @@ kamailio-tls-modules binary: possible-gpl-code-linked-with-openssl -kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/squeeze/source.lintian-overrides b/pkg/kamailio= /deb/squeeze/source.lintian-overrides new file mode 100644 index 0000000..620d9ff --- /dev/null +++ b/pkg/kamailio/deb/squeeze/source.lintian-overrides @@ -0,0 +1 @@ +kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/wheezy/kamailio.lintian-overrides b/pkg/kamaili= o/deb/wheezy/kamailio.lintian-overrides index 1a05aa9..bbe0d37 100644 --- a/pkg/kamailio/deb/wheezy/kamailio.lintian-overrides +++ b/pkg/kamailio/deb/wheezy/kamailio.lintian-overrides @@ -1,2 +1 @@ kamailio-tls-modules binary: possible-gpl-code-linked-with-openssl -kamailio source: debian-watch-file-in-native-package diff --git a/pkg/kamailio/deb/wheezy/source.lintian-overrides b/pkg/kamailio/= deb/wheezy/source.lintian-overrides new file mode 100644 index 0000000..620d9ff --- /dev/null +++ b/pkg/kamailio/deb/wheezy/source.lintian-overrides @@ -0,0 +1 @@ +kamailio source: debian-watch-file-in-native-package --===============0462658408==-- From jason.penton@gmail.com Tue Feb 4 19:04:26 2014 From: Jason Penton To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Tue, 04 Feb 2014 20:04:20 +0200 Message-ID: In-Reply-To: <52F11682.8020205@usit.uio.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0598520369==" --===============0598520369== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable okay, I see it is happening during resize of shm memory... Can you re-create on demand? load related? On Tue, Feb 4, 2014 at 6:34 PM, =C3=98yvind Kolbu wrote: > On 04.02.2014 17:30, Jason Penton wrote: > >> Are you using async module? Anything else significant in your cfg file? >> > > No async module. Depends on what you call significant.. We use dialog, > db_postgres, ldap, siptrace and other pretty normal stuff. > > > -- > =C3=98yvind > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > --===============0598520369== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBkaXI9Imx0ciI+b2theSwgSSBzZWUgaXQgaXMgaGFwcGVuaW5nIGR1cmluZyByZXNpemUg b2Ygc2htIG1lbW9yeS4uLiBDYW4geW91IHJlLWNyZWF0ZSBvbiBkZW1hbmQ/IGxvYWQgcmVsYXRl ZD88L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9leHRyYSI+PGJyPjxicj48ZGl2IGNsYXNzPSJnbWFp bF9xdW90ZSI+T24gVHVlLCBGZWIgNCwgMjAxNCBhdCA2OjM0IFBNLCDYeXZpbmQgS29sYnUgPHNw YW4gZGlyPSJsdHIiPiZsdDs8YSBocmVmPSJtYWlsdG86b3l2aW5kLmtvbGJ1QHVzaXQudWlvLm5v IiB0YXJnZXQ9Il9ibGFuayI+b3l2aW5kLmtvbGJ1QHVzaXQudWlvLm5vPC9hPiZndDs8L3NwYW4+ IHdyb3RlOjxicj4KPGJsb2NrcXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0ibWFyZ2lu OjAgMCAwIC44ZXg7Ym9yZGVyLWxlZnQ6MXB4ICNjY2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JyPgo8YSBocmVmPSJodHRwOi8v bGlzdHMuc2lwLXJvdXRlci5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3NyLWRldiIgdGFy Z2V0PSJfYmxhbmsiPmh0dHA6Ly9saXN0cy5zaXAtcm91dGVyLm9yZy88dT48L3U+Y2dpLWJpbi9t YWlsbWFuL2xpc3RpbmZvL3NyLTx1PjwvdT5kZXY8L2E+PGJyPgo8L2Rpdj48L2Rpdj48L2Jsb2Nr cXVvdGU+PC9kaXY+PGJyPjwvZGl2Pgo= --===============0598520369==-- From oyvind.kolbu@usit.uio.no Tue Feb 4 19:53:24 2014 From: =?utf-8?q?=C3=98yvind?= Kolbu To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Tue, 04 Feb 2014 18:51:50 +0000 Message-ID: <8bdc060107ac4448a26815d52e9a5b8e@mail-ex01.exprod.uio.no> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1408931366==" --===============1408931366== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >okay, I see it is happening during resize of shm memory... Can you re-create >on demand? load related? Can not re-create on demand, but this is the second time in two weeks somethi= ng like this has happened. From our graphs it happened just after a peak in CPU usage, and it = might actually been swapping slightly. Could add some more memory to the machine to see if t= he problems goes away. --=20 =C3=98yvind --===============1408931366==-- From consultoriaticesar@gmail.com Tue Feb 4 20:44:14 2014 From: Consultoria TI Cesar To: sr-dev@lists.kamailio.org Subject: [sr-dev] kamailio 3.3.1+asterisk 10.7.0 Date: Tue, 04 Feb 2014 17:43:59 -0300 Message-ID: <03d201cf21e9$d7bda3e0$8738eba0$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0416296742==" --===============0416296742== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello everyone, I have a billing and he previously owned the kamailio-1.5.4 + asterisk 1.6.1.x nolts today already managed to upgrade it to 3.3.1 + kamailio kamailio 1.6.2.13. It worked perfectly. Now I would like to do the same in asterisk10.7.0 + kamailio 3.3.1. I tried several times and it was not possible. Can someone help. Thanks in advance. Att, Joao Cesar --===============0416296742== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv VFIvUkVDLWh0bWw0MCI+PGhlYWQ+PG1ldGEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu dD0idGV4dC9odG1sOyBjaGFyc2V0PXVzLWFzY2lpIj48bWV0YSBuYW1lPUdlbmVyYXRvciBjb250 ZW50PSJNaWNyb3NvZnQgV29yZCAxNCAoZmlsdGVyZWQgbWVkaXVtKSI+PHN0eWxlPjwhLS0KLyog Rm9udCBEZWZpbml0aW9ucyAqLwpAZm9udC1mYWNlCgl7Zm9udC1mYW1pbHk6Q2FsaWJyaTsKCXBh bm9zZS0xOjIgMTUgNSAyIDIgMiA0IDMgMiA0O30KQGZvbnQtZmFjZQoJe2ZvbnQtZmFtaWx5OlRh aG9tYTsKCXBhbm9zZS0xOjIgMTEgNiA0IDMgNSA0IDQgMiA0O30KLyogU3R5bGUgRGVmaW5pdGlv bnMgKi8KcC5Nc29Ob3JtYWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1zb05vcm1hbAoJe21hcmdpbjow Y207CgltYXJnaW4tYm90dG9tOi4wMDAxcHQ7Cglmb250LXNpemU6MTEuMHB0OwoJZm9udC1mYW1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4gYXN0ZXJp c2sxMC43LjAgKyBrYW1haWxpbyAzLjMuMS4gSSB0cmllZCBzZXZlcmFsIHRpbWVzIGFuZCBpdCB3 YXMgbm90IHBvc3NpYmxlLiBDYW4gc29tZW9uZSBoZWxwLiA8L3NwYW4+VGhhbmtzIGluIGFkdmFu Y2UuPG86cD48L286cD48L3A+PHAgY2xhc3M9TXNvTm9ybWFsPjxvOnA+Jm5ic3A7PC9vOnA+PC9w PjxwIGNsYXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nbXNvLWZhcmVhc3QtbGFuZ3VhZ2U6UFQt QlInPkF0dCw8bzpwPjwvbzpwPjwvc3Bhbj48L3A+PHAgY2xhc3M9TXNvTm9ybWFsPjxzcGFuIHN0 eWxlPSdtc28tZmFyZWFzdC1sYW5ndWFnZTpQVC1CUic+Sm9hbyBDZXNhcjxvOnA+PC9vOnA+PC9z cGFuPjwvcD48cCBjbGFzcz1Nc29Ob3JtYWw+PHNwYW4gc3R5bGU9J21zby1mYXJlYXN0LWxhbmd1 YWdlOlBULUJSJz48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+PHAgY2xhc3M9TXNvTm9ybWFs PjxzcGFuIHN0eWxlPSdtc28tZmFyZWFzdC1sYW5ndWFnZTpQVC1CUic+PG86cD4mbmJzcDs8L286 cD48L3NwYW4+PC9wPjxwIGNsYXNzPU1zb05vcm1hbD48bzpwPiZuYnNwOzwvbzpwPjwvcD48L2Rp dj48L2JvZHk+PC9odG1sPg== --===============0416296742==-- From miconda@gmail.com Tue Feb 4 21:26:19 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Tue, 04 Feb 2014 21:26:11 +0100 Message-ID: <52F14CE3.6060306@gmail.com> In-Reply-To: <8bdc060107ac4448a26815d52e9a5b8e@mail-ex01.exprod.uio.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0550977747==" --===============0550977747== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, this happens due to an abort() that is executed only when MEMDBG is set=20 (memory debugging is turned on). It's main purpose is to spot double frees. For production, either MEMDBG is not set or you set mem_safety global=20 parameter. You will get the log message, but the application keeps running. I also recommend to upgrade to 4.1.1, there were some fixes that affect=20 this case as well. On the other side, I will try to see what could be the situation to end=20 in the two frees once I get a chance (still in the middle of a traveling=20 period for a while here). Cheers, Daniel On 04/02/14 19:51, =C3=98yvind Kolbu wrote: >> okay, I see it is happening during resize of shm memory... Can you re-crea= te >> on demand? load related? > Can not re-create on demand, but this is the second time in two weeks somet= hing like this has > happened. From our graphs it happened just after a peak in CPU usage, and i= t might actually > been swapping slightly. Could add some more memory to the machine to see if= the problems > goes away. > --=20 Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0550977747==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 21:26:38 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: pkg/kamailio/deb: add missing dependence Date: Tue, 04 Feb 2014 21:26:37 +0100 Message-ID: <20140204202638.07C13EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1263743921==" --===============1263743921== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: 432ed7a665f07c42dadf44d2596d346a7c8863fd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D432ed7a665f07c42dadf44d2596d346a7c8863fd Author: Victor Seva Committer: Victor Seva Date: Tue Feb 4 21:24:34 2014 +0100 pkg/kamailio/deb: add missing dependence --- pkg/kamailio/deb/debian/control | 1 + pkg/kamailio/deb/lenny/control | 1 + pkg/kamailio/deb/lucid/control | 1 + pkg/kamailio/deb/precise/control | 1 + pkg/kamailio/deb/squeeze/control | 1 + pkg/kamailio/deb/wheezy/control | 1 + 6 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control index a5e7f5f..e992aa0 100644 --- a/pkg/kamailio/deb/debian/control +++ b/pkg/kamailio/deb/debian/control @@ -34,6 +34,7 @@ Build-Depends: bison, libsqlite3-dev, libxml2-dev, libxmlrpc-c3-dev, + libunistring-dev, openssl, python, python-dev, diff --git a/pkg/kamailio/deb/lenny/control b/pkg/kamailio/deb/lenny/control index 8fac1cf..3f33895 100644 --- a/pkg/kamailio/deb/lenny/control +++ b/pkg/kamailio/deb/lenny/control @@ -28,6 +28,7 @@ Build-Depends: bison, libsqlite3-dev, libxml2-dev, libxmlrpc-c3-dev, + libunistring-dev, openssl, python, python-dev, diff --git a/pkg/kamailio/deb/lucid/control b/pkg/kamailio/deb/lucid/control index 2521972..e27f6e3 100644 --- a/pkg/kamailio/deb/lucid/control +++ b/pkg/kamailio/deb/lucid/control @@ -30,6 +30,7 @@ Build-Depends: bison, libsqlite3-dev, libxml2-dev, libxmlrpc-c3-dev, + libunistring-dev, openssl, python, python-dev, diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/cont= rol index 6974491..69857ff 100644 --- a/pkg/kamailio/deb/precise/control +++ b/pkg/kamailio/deb/precise/control @@ -33,6 +33,7 @@ Build-Depends: bison, libsnmp-dev, libsqlite3-dev, libxml2-dev, + libunistring-dev, openssl, python, python-dev, diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/cont= rol index dd3ac79..ca7d502 100644 --- a/pkg/kamailio/deb/squeeze/control +++ b/pkg/kamailio/deb/squeeze/control @@ -30,6 +30,7 @@ Build-Depends: bison, libsqlite3-dev, libxml2-dev, libxmlrpc-c3-dev, + libunistring-dev, openssl, python, python-dev, diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control index 02a0add..3b4a900 100644 --- a/pkg/kamailio/deb/wheezy/control +++ b/pkg/kamailio/deb/wheezy/control @@ -32,6 +32,7 @@ Build-Depends: bison, libsnmp-dev, libsqlite3-dev, libxml2-dev, + libunistring-dev, openssl, python, python-dev, --===============1263743921==-- From miconda@gmail.com Tue Feb 4 21:34:43 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] [PATCH 1/1] websocket: remove libunistring dependency Date: Tue, 04 Feb 2014 21:34:35 +0100 Message-ID: <52F14EDB.6020300@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0469871636==" --===============0469871636== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Was there any resolution on this topic? I would like to get rid of the unnecessary dependency, the code looked fine at a quick check -- if it is just about utf8 encoding/decoding. Eventually it can be made a compile time switch with defines for both options, keep the code for both cases and be able to easily switch from one to another. Cheers, Daniel On 20/12/13 15:45, Peter Dunkley wrote: > On 20 December 2013 14:09, Timo Teras > wrote: > > On Fri, 20 Dec 2013 13:56:08 +0000 > Peter Dunkley > wrote: > > > One of the reasons I used libunistring for this detection is > that for > > pretty much all of the code fragments I found online for doing this > > in a "simple" way I saw people pointing out flaws in those > > algorithms. Can you confirm that this code doesn't have any of > those > > flaws and is guaranteed to work in all cases (has this > implementation > > been stubbed out and tested fully by someone here)? > > Did you read the document on the URL it refers to? It is quite > thorough > explanation of what it does, it's correctness and speed. It also > explains that the motivation for implementing it was because all those > snippets in the internet are seriously flawed. > > I did see the document. It looks good. Does you have first hand > experience of whether that code is valid and correct or not? > > I personally tend to trust a release library from GNU somewhat more > than code on a web-site - however good that web-site and documentation > looks. > > > > Does this really improve performance? Only a tiny, tiny, subset of > > libunistring is used. As a result it doesn't really matter if > > libunistring in general is slow, just whether or not the one > function > > used from libunistring is slow. > > I'm referring specifically to the function you use. Please check the > URL for performance comparison. While libunistring is not benchmarked > separately, one can see with 0.1 second look at libunistring's > implementation that it will be slower in performance and is likely > something close to iconv()'s implementation. > > > I don't have any objection to this change as long as you are 100% sure > that the algorithm from that web-page works correctly. The algorithm > looks good, the web-page looks good, the documentation looks good, but > I'd really prefer it if the implementation was explicitly and fully > tested before the libunistring call is replaced. > > Something as simple as a loop through all possible values calling your > function, the libunistring function, and comparing the results would > be perfect. > > Regards, > > Peter > -- > Peter Dunkley > Technical Director > Crocodile RCS Ltd -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0469871636== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CiAgPGhlYWQ+CiAgICA8bWV0YSBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9SVNP LTg4NTktMSIKICAgICAgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIj4KICA8L2hlYWQ+CiAgPGJv ZHkgdGV4dD0iIzAwMDAwMCIgYmdjb2xvcj0iI0ZGRkZGRiI+CiAgICBXYXMgdGhlcmUgYW55IHJl c29sdXRpb24gb24gdGhpcyB0b3BpYz8gSSB3b3VsZCBsaWtlIHRvIGdldCByaWQgb2YKICAgIHRo ZSB1bm5lY2Vzc2FyeSBkZXBlbmRlbmN5LCB0aGUgY29kZSBsb29rZWQgZmluZSBhdCBhIHF1aWNr IGNoZWNrIC0tCiAgICBpZiBpdCBpcyBqdXN0IGFib3V0IHV0ZjggZW5jb2RpbmcvZGVjb2Rpbmcu PGJyPgogICAgPGJyPgogICAgRXZlbnR1YWxseSBpdCBjYW4gYmUgbWFkZSBhIGNvbXBpbGUgdGlt ZSBzd2l0Y2ggd2l0aCBkZWZpbmVzIGZvcgogICAgYm90aCBvcHRpb25zLCBrZWVwIHRoZSBjb2Rl IGZvciBib3RoIGNhc2VzIGFuZCBiZSBhYmxlIHRvIGVhc2lseQogICAgc3dpdGNoIGZyb20gb25l IHRvIGFub3RoZXIuPGJyPgogICAgPGJyPgogICAgQ2hlZXJzLDxicj4KICAgIERhbmllbDxicj4K ICAgIDxicj4KICAgIDxkaXYgY2xhc3M9Im1vei1j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5QGNy b2NvZGlsZS1yY3MuY29tPC9hPiZndDsKICAgICAgICAgICAgICAgIHdyb3RlOjxicj4KICAgICAg ICAgICAgICAgIDxicj4KICAgICAgICAgICAgICAgICZndDsgT25lIG9mIHRoZSByZWFzb25zIEkg dXNlZCBsaWJ1bmlzdHJpbmcgZm9yIHRoaXMKICAgICAgICAgICAgICAgIGRldGVjdGlvbiBpcyB0 aGF0IGZvcjxicj4KICAgICAgICAgICAgICAgICZndDsgcHJldHR5IG11Y2ggYWxsIG9mIHRoZSBj b2RlIGZyYWdtZW50cyBJIGZvdW5kCiAgICAgICAgICAgICAgICBvbmxpbmUgZm9yIGRvaW5nIHRo aXM8YnI+CiAgICAgICAgICAgICAgICAmZ3Q7IGluIGEgInNpbXBsZSIgd2F5IEkgc2F3IHBlb3Bs ZSBwb2ludGluZyBvdXQgZmxhd3MKICAgICAgICAgICAgICAgIGluIHRob3NlPGJyPgogICAgICAg ICAgICAgICAgJmd0OyBhbGdvcml0aG1zLiCgQ2FuIHlvdSBjb25maXJtIHRoYXQgdGhpcyBjb2Rl IGRvZXNuJ3QKICAgICAgICAgICAgICAgIGhhdmUgYW55IG9mIHRob3NlPGJyPgogICAgICAgICAg ICAgICAgJmd0OyBmbGF3cyBhbmQgaXMgZ3VhcmFudGVlZCB0byB3b3JrIGluIGFsbCBjYXNlcyAo aGFzCiAgICAgICAgICAgICAgICB0aGlzIGltcGxlbWVudGF0aW9uPGJyPgogICAgICAgICAgICAg ICAgJmd0OyBiZWVuIHN0dWJiZWQgb3V0IGFuZCB0ZXN0ZWQgZnVsbHkgYnkgc29tZW9uZSBoZXJl KT88YnI+CiAgICAgICAgICAgICAgICA8YnI+CiAgICAgICAgICAgICAgPC9kaXY+CiAgICAgICAg ICAgICAgRGlkIHlvdSByZWFkIHRoZSBkb2N1bWVudCBvbiB0aGUgVVJMIGl0IHJlZmVycyB0bz8g SXQgaXMKICAgICAgICAgICAgICBxdWl0ZSB0aG9yb3VnaDxicj4KICAgICAgICA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1bmN0aW9uIHlvdSB1c2UuIFBsZWFzZQogICAgICAgICAgICAgIGNoZWNrIHRoZTxicj4KICAg ICAgICAgICAgICBVUkwgZm9yIHBlcmZvcm1hbmNlIGNvbXBhcmlzb24uIFdoaWxlIGxpYnVuaXN0 cmluZyBpcyBub3QKICAgICAgICAgICAgICBiZW5jaG1hcmtlZDxicj4KICAgICAgICAgICAgICBz ZXBhcmF0ZWx5LCBvbmUgY2FuIHNlZSB3aXRoIDAuMSBzZWNvbmQgbG9vayBhdAogICAgICAgICAg ICAgIGxpYnVuaXN0cmluZydzPGJyPgogICAgICAgICAgICAgIGltcGxlbWVudGF0aW9uIHRoYXQg aXQgd2lsbCBiZSBzbG93ZXIgaW4gcGVyZm9ybWFuY2UgYW5kCiAgICAgICAgICAgICAgaXMgbGlr ZWx5PGJyPgogICAgICAgICAgICAgIHNvbWV0aGluZyBjbG9zZSB0byBpY29udigpJ3MgaW1wbGVt ZW50YXRpb24uPGJyPgogICAgICAgICAgICA8L2Jsb2NrcXVvdGU+CiAgICAgICAgICAgIDxkaXY+ PGJyPgogICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAgPGRpdj5JIGRvbid0IGhhdmUgYW55 IG9iamVjdGlvbiB0byB0aGlzIGNoYW5nZSBhcyBsb25nIGFzCiAgICAgICAgICAgICAgeW91IGFy ZSAxMDAlIHN1cmUgdGhhdCB0aGUgYWxnb3JpdGhtIGZyb20gdGhhdCB3ZWItcGFnZQogICAgICAg ICAgICAgIHdvcmtzIGNvcnJlY3RseS4goFRoZSBhbGdvcml0aG0gbG9va3MgZ29vZCwgdGhlIHdl Yi1wYWdlCiAgICAgICAgICAgICAgbG9va3MgZ29vZCwgdGhlIGRvY3VtZW50YXRpb24gbG9va3Mg Z29vZCwgYnV0IEknZCByZWFsbHkKICAgICAgICAgICAgICBwcmVmZXIgaXQgaWYgdGhlIGltcGxl bWVudGF0aW9uIHdhcyBleHBsaWNpdGx5IGFuZCBmdWxseQogICAgICAgICAgICA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gIDxwcmUgY2xhc3M9Im1vei1zaWduYXR1cmUiIGNvbHM9Ijcy Ij4tLSAKRGFuaWVsLUNvbnN0YW50aW4gTWllcmxhIC0gPGEgY2xhc3M9Im1vei10eHQtbGluay1m cmVldGV4dCIgaHJlZj0iaHR0cDovL3d3dy5hc2lwdG8uY29tIj5odHRwOi8vd3d3LmFzaXB0by5j b208L2E+CjxhIGNsYXNzPSJtb3otdHh0LWxpbmstZnJlZXRleHQiIGhyZWY9Imh0dHA6Ly90d2l0 dGVyLmNvbS8jIS9taWNvbmRhIj5odHRwOi8vdHdpdHRlci5jb20vIyEvbWljb25kYTwvYT4gLSA8 YSBjbGFzcz0ibW96LXR4dC1saW5rLWZyZWV0ZXh0IiBocmVmPSJodHRwOi8vd3d3LmxpbmtlZGlu LmNvbS9pbi9taWNvbmRhIj5odHRwOi8vd3d3LmxpbmtlZGluLmNvbS9pbi9taWNvbmRhPC9hPjwv cHJlPgogIDwvYm9keT4KPC9odG1sPgo= --===============0469871636==-- From linuxmaniac@torreviejawireless.org Tue Feb 4 21:45:09 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:3.3: pkg/kamailio/deb: no ims on 3.3 branch Date: Tue, 04 Feb 2014 21:45:08 +0100 Message-ID: <20140204204509.18BECEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1595499623==" --===============1595499623== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 3.3 Commit: 9f22f9f116aa2d7451cbd78346503db5f65083de URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D9f22f9f116aa2d7451cbd78346503db5f65083de Author: Victor Seva Committer: Victor Seva Date: Tue Feb 4 21:37:41 2014 +0100 pkg/kamailio/deb: no ims on 3.3 branch --- pkg/kamailio/deb/debian/control | 13 ------------- pkg/kamailio/deb/debian/rules | 2 +- pkg/kamailio/deb/lenny/control | 12 ------------ pkg/kamailio/deb/lenny/rules | 2 +- pkg/kamailio/deb/lucid/control | 12 ------------ pkg/kamailio/deb/lucid/rules | 2 +- pkg/kamailio/deb/precise/control | 13 ------------- pkg/kamailio/deb/precise/rules | 2 +- pkg/kamailio/deb/squeeze/control | 12 ------------ pkg/kamailio/deb/squeeze/rules | 2 +- pkg/kamailio/deb/wheezy/control | 13 ------------- pkg/kamailio/deb/wheezy/rules | 2 +- 12 files changed, 6 insertions(+), 81 deletions(-) diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control index ff32378..03420a5 100644 --- a/pkg/kamailio/deb/debian/control +++ b/pkg/kamailio/deb/debian/control @@ -420,19 +420,6 @@ Description: LDAP modules for Kamailio queries from the Kamailio config and storage of SIP account data in an LDAP directory. =20 -Package: kamailio-ims-modules -Architecture: linux-any -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: IMS module for Kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains various Diameter interfaces and modules for Kamailio - to run as an IMS core. - Package: kamailio-utils-modules Architecture: linux-any Multi-Arch: same diff --git a/pkg/kamailio/deb/debian/rules b/pkg/kamailio/deb/debian/rules index 1561128..c9da816 100755 --- a/pkg/kamailio/deb/debian/rules +++ b/pkg/kamailio/deb/debian/rules @@ -33,7 +33,7 @@ EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy PACKAGE_GROUPS=3Dmysql postgres berkeley unixodbc radius presence \ ldap xml perl utils lua memcached \ snmpstats carrierroute xmpp cpl redis python geoip\ - sqlite json mono ims purple tls + sqlite json mono purple tls =20 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b) LIBDIR ?=3D lib/$(DEB_HOST_MULTIARCH) diff --git a/pkg/kamailio/deb/lenny/control b/pkg/kamailio/deb/lenny/control index 1722275..f3d86a2 100644 --- a/pkg/kamailio/deb/lenny/control +++ b/pkg/kamailio/deb/lenny/control @@ -342,18 +342,6 @@ Description: LDAP modules for Kamailio queries from the Kamailio config and storage of SIP account data in an LDAP directory. =20 -Package: kamailio-ims-modules -Architecture: linux-any -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: IMS module for Kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains various Diameter interfaces and modules for Kamailio - to run as an IMS core. - Package: kamailio-utils-modules Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} diff --git a/pkg/kamailio/deb/lenny/rules b/pkg/kamailio/deb/lenny/rules index 406ec9e..07f8091 100755 --- a/pkg/kamailio/deb/lenny/rules +++ b/pkg/kamailio/deb/lenny/rules @@ -32,7 +32,7 @@ EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy g= eoip json redis mono PACKAGE_GROUPS=3Dmysql postgres berkeley unixodbc radius presence \ ldap xml perl utils lua memcached \ snmpstats carrierroute xmpp cpl python \ - sqlite ims purple tls + sqlite purple tls =20 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b) LIBDIR ?=3D lib diff --git a/pkg/kamailio/deb/lucid/control b/pkg/kamailio/deb/lucid/control index 70c6281..69c38ff 100644 --- a/pkg/kamailio/deb/lucid/control +++ b/pkg/kamailio/deb/lucid/control @@ -356,18 +356,6 @@ Description: LDAP modules for Kamailio queries from the Kamailio config and storage of SIP account data in an LDAP directory. =20 -Package: kamailio-ims-modules -Architecture: linux-any -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: IMS module for Kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains various Diameter interfaces and modules for Kamailio - to run as an IMS core. - Package: kamailio-utils-modules Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} diff --git a/pkg/kamailio/deb/lucid/rules b/pkg/kamailio/deb/lucid/rules index 808ffa8..1fd5dc2 100755 --- a/pkg/kamailio/deb/lucid/rules +++ b/pkg/kamailio/deb/lucid/rules @@ -32,7 +32,7 @@ EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy j= son redis mono PACKAGE_GROUPS=3Dmysql postgres berkeley unixodbc radius presence \ ldap xml perl utils lua memcached \ snmpstats carrierroute xmpp cpl python geoip\ - sqlite ims purple tls + sqlite purple tls =20 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b) LIBDIR ?=3D lib diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/cont= rol index ec6e333..c3a0446 100644 --- a/pkg/kamailio/deb/precise/control +++ b/pkg/kamailio/deb/precise/control @@ -419,19 +419,6 @@ Description: LDAP modules for Kamailio queries from the Kamailio config and storage of SIP account data in an LDAP directory. =20 -Package: kamailio-ims-modules -Architecture: linux-any -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: IMS module for Kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains various Diameter interfaces and modules for Kamailio - to run as an IMS core. - Package: kamailio-utils-modules Architecture: linux-any Multi-Arch: same diff --git a/pkg/kamailio/deb/precise/rules b/pkg/kamailio/deb/precise/rules index 7fdeaee..00468d3 100755 --- a/pkg/kamailio/deb/precise/rules +++ b/pkg/kamailio/deb/precise/rules @@ -33,7 +33,7 @@ EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy m= i_xmlrpc PACKAGE_GROUPS=3Dmysql postgres berkeley unixodbc radius presence \ ldap xml perl utils lua memcached \ snmpstats carrierroute xmpp cpl redis python geoip\ - sqlite json mono ims purple tls + sqlite json mono purple tls =20 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b) LIBDIR ?=3D lib/$(DEB_HOST_MULTIARCH) diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/cont= rol index 43acd56..4a8888d 100644 --- a/pkg/kamailio/deb/squeeze/control +++ b/pkg/kamailio/deb/squeeze/control @@ -356,18 +356,6 @@ Description: LDAP modules for Kamailio queries from the Kamailio config and storage of SIP account data in an LDAP directory. =20 -Package: kamailio-ims-modules -Architecture: linux-any -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: IMS module for Kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains various Diameter interfaces and modules for Kamailio - to run as an IMS core. - Package: kamailio-utils-modules Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} diff --git a/pkg/kamailio/deb/squeeze/rules b/pkg/kamailio/deb/squeeze/rules index 013c42f..56b20d9 100755 --- a/pkg/kamailio/deb/squeeze/rules +++ b/pkg/kamailio/deb/squeeze/rules @@ -32,7 +32,7 @@ EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy p= urple redis mono PACKAGE_GROUPS=3Dmysql postgres berkeley unixodbc radius presence \ ldap xml perl utils lua memcached \ snmpstats carrierroute xmpp cpl python geoip\ - sqlite json ims tls + sqlite json tls =20 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b) LIBDIR ?=3D lib diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control index c374b7b..5c21e7c 100644 --- a/pkg/kamailio/deb/wheezy/control +++ b/pkg/kamailio/deb/wheezy/control @@ -405,19 +405,6 @@ Description: LDAP modules for Kamailio queries from the Kamailio config and storage of SIP account data in an LDAP directory. =20 -Package: kamailio-ims-modules -Architecture: linux-any -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: IMS module for Kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains various Diameter interfaces and modules for Kamailio - to run as an IMS core. - Package: kamailio-utils-modules Architecture: linux-any Multi-Arch: same diff --git a/pkg/kamailio/deb/wheezy/rules b/pkg/kamailio/deb/wheezy/rules index 6fcafcb..fe9b8dd 100755 --- a/pkg/kamailio/deb/wheezy/rules +++ b/pkg/kamailio/deb/wheezy/rules @@ -33,7 +33,7 @@ EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy p= urple mi_xmlrpc PACKAGE_GROUPS=3Dmysql postgres berkeley unixodbc radius presence \ ldap xml perl utils lua memcached \ snmpstats carrierroute xmpp cpl redis python geoip\ - sqlite json mono ims tls + sqlite json mono tls =20 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b) LIBDIR ?=3D lib/$(DEB_HOST_MULTIARCH) --===============1595499623==-- From timo.teras@iki.fi Wed Feb 5 07:44:48 2014 From: Timo Teras To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] [PATCH 1/1] websocket: remove libunistring dependency Date: Wed, 05 Feb 2014 08:45:14 +0200 Message-ID: <20140205084514.51e01d83@vostro> In-Reply-To: <52F14EDB.6020300@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0905600594==" --===============0905600594== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 04 Feb 2014 21:34:35 +0100 Daniel-Constantin Mierla wrote: > Was there any resolution on this topic? I would like to get rid of > the unnecessary dependency, the code looked fine at a quick check -- > if it is just about utf8 encoding/decoding. > > Eventually it can be made a compile time switch with defines for both > options, keep the code for both cases and be able to easily switch > from one to another. I think the patch was not 'blessed' yet. Peter asked for testing results along the lines of: > Something as simple as a loop through all possible values calling your > function, the libunistring function, and comparing the results would > be perfect. The calling the function with every possible utf-8 string is impossible test plan. Dunno. Perhaps you want to push the patch with dictator hat on, or some sane test plan can be made. For now, I just applied the patch to my local builds and forgot this. - Timo --===============0905600594==-- From oyvind.kolbu@usit.uio.no Wed Feb 5 08:59:24 2014 From: =?utf-8?q?=C3=98yvind?= Kolbu To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Wed, 05 Feb 2014 07:57:48 +0000 Message-ID: In-Reply-To: <52F14CE3.6060306@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0870744650==" --===============0870744650== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >-----Original Message----- >From: Daniel-Constantin Mierla >Sent: Tuesday, February 04, 2014 9:26 PM > >Hello, > >this happens due to an abort() that is executed only when MEMDBG is set >(memory debugging is turned on). It's main purpose is to spot double frees. > >For production, either MEMDBG is not set or you set mem_safety global >parameter. You will get the log message, but the application keeps running. > >I also recommend to upgrade to 4.1.1, there were some fixes that affect this >case as well. > >On the other side, I will try to see what could be the situation to end in t= he >two frees once I get a chance (still in the middle of a traveling period for= a >while here). OK, will try a git after 4.1.1. I'm keeping the core file if you want it or a= full backtrace. Both MEMDBG and mem_safety are default. Neither config nor build changes them. --=20 =C3=98yvind --===============0870744650==-- From miconda@gmail.com Wed Feb 5 09:05:49 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] [PATCH 1/1] websocket: remove libunistring dependency Date: Wed, 05 Feb 2014 09:05:41 +0100 Message-ID: <52F1F0D5.3000408@gmail.com> In-Reply-To: <20140205084514.51e01d83@vostro> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0049069788==" --===============0049069788== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Thanks for update. Can you wrap your patch in some define, so it can be applied while keeping the libunistring as alternative? Something like: #ifdef USE_UTF8_EMBEDDED // your code here #else // libunistring function call #endif Then it can be pushed without any problem to the master branch, allowing me (and others) to test it easily. After that we can re-evaluate to remove libunistring completely or maybe just make the embedded version default. Cheers, Daniel On 05/02/14 07:45, Timo Teras wrote: > On Tue, 04 Feb 2014 21:34:35 +0100 > Daniel-Constantin Mierla wrote: > >> Was there any resolution on this topic? I would like to get rid of >> the unnecessary dependency, the code looked fine at a quick check -- >> if it is just about utf8 encoding/decoding. >> >> Eventually it can be made a compile time switch with defines for both >> options, keep the code for both cases and be able to easily switch >> from one to another. > I think the patch was not 'blessed' yet. > > Peter asked for testing results along the lines of: >> Something as simple as a loop through all possible values calling your >> function, the libunistring function, and comparing the results would >> be perfect. > The calling the function with every possible utf-8 string is > impossible test plan. > > Dunno. Perhaps you want to push the patch with dictator hat on, or some > sane test plan can be made. For now, I just applied the patch to my > local builds and forgot this. > > - Timo > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0049069788==-- From miconda@gmail.com Wed Feb 5 09:08:52 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Wed, 05 Feb 2014 09:08:45 +0100 Message-ID: <52F1F18D.6040505@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1747588374==" --===============1747588374== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 05/02/14 08:57, =C3=98yvind Kolbu wrote: >> -----Original Message----- >> From: Daniel-Constantin Mierla >> Sent: Tuesday, February 04, 2014 9:26 PM >> >> Hello, >> >> this happens due to an abort() that is executed only when MEMDBG is set >> (memory debugging is turned on). It's main purpose is to spot double frees. >> >> For production, either MEMDBG is not set or you set mem_safety global >> parameter. You will get the log message, but the application keeps running. >> >> I also recommend to upgrade to 4.1.1, there were some fixes that affect th= is >> case as well. >> >> On the other side, I will try to see what could be the situation to end in= the >> two frees once I get a chance (still in the middle of a traveling period f= or a >> while here). > OK, will try a git after 4.1.1. I'm keeping the core file if you want it or= a full backtrace. > > Both MEMDBG and mem_safety are default. Neither config nor build changes th= em. Indeed, I checked 4.1, MEMDBG is set for the branch. You can set in config: mem_safety=3D1 Cheers, Daniel --=20 Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============1747588374==-- From bugtracker@sip-router.org Wed Feb 5 09:45:31 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Wed, 05 Feb 2014 08:45:29 +0000 Message-ID: <1391589929.52f1fa2901580@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2059077449==" --===============2059077449== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Daniel-Constantin Mierla (miconda) ---------- There is no p_cell->uas.request because it is for a local generated request. = The p_cell->uas.request is set with the incoming request. In one of the comme= nts is shown that the $uac_req(...) and uac_req_send() are used in a timer fu= nction. Perhaps the function has to be changed to match the call id from transaction = structure, if p_cell->uas.request is NULL (that could be uac, but iirc, there= should be some special fields in this case). ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1290 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============2059077449==-- From bugtracker@sip-router.org Wed Feb 5 09:47:57 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: Bug in tm with topoh modules - segfault on callid comparison. Date: Wed, 05 Feb 2014 08:47:56 +0000 Message-ID: <1391590076.52f1fabc1505e@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0731568013==" --===============0731568013== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#390 - Bug in tm with topoh modules - segfault on callid comparison. User who did this - Nick Altmann (nikbyte) ---------- There are two requests. FIrst is local generated, but then it goes into netwo= rk socket and received again. And after network it's incoming, not local gene= rated. ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D390#comment1291 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0731568013==-- From miconda@gmail.com Wed Feb 5 09:53:42 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: core: fix condition on script callback number done inside EXTRA_DEBUG Date: Wed, 05 Feb 2014 09:53:41 +0100 Message-ID: <20140205085342.07B12EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1237002202==" --===============1237002202== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 740d407be4e35ee945658365ae38a1bba30fafc7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D740d407be4e35ee945658365ae38a1bba30fafc7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: Wed Feb 5 09:52:19 2014 +0100 core: fix condition on script callback number done inside EXTRA_DEBUG - reported by Seudin Kasumovic, FS#388 --- script_cb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script_cb.c b/script_cb.c index fe17819..b8a053b 100644 --- a/script_cb.c +++ b/script_cb.c @@ -162,8 +162,8 @@ int exec_pre_script_cb( struct sip_msg *msg, enum script_= cb_type type) unsigned int flags; =20 #ifdef EXTRA_DEBUG - if (type >=3D SCRIPT_CB_NUM) { - LOG(L_BUG, "exec_pre_script_cb: Uknown callback type\n"); + if (type > SCRIPT_CB_NUM) { + LOG(L_BUG, "Uknown callback type\n"); abort(); } #endif @@ -185,7 +185,7 @@ int exec_post_script_cb( struct sip_msg *msg, enum script= _cb_type type) unsigned int flags; =20 #ifdef EXTRA_DEBUG - if (type >=3D SCRIPT_CB_NUM) { + if (type > SCRIPT_CB_NUM) { LOG(L_BUG, "exec_pre_script_cb: Uknown callback type\n"); abort(); } --===============1237002202==-- From miconda@gmail.com Wed Feb 5 09:54:09 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: core: fix condition on script callback number done inside EXTRA_DEBUG Date: Wed, 05 Feb 2014 09:54:09 +0100 Message-ID: <20140205085409.53E21EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1963313066==" --===============1963313066== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: c02f12d21539d4735a2ad9c840409c8512b2c3e2 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Dc02f12d21539d4735a2ad9c840409c8512b2c3e2 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: Wed Feb 5 09:52:19 2014 +0100 core: fix condition on script callback number done inside EXTRA_DEBUG - reported by Seudin Kasumovic, FS#388 (cherry picked from commit 740d407be4e35ee945658365ae38a1bba30fafc7) --- script_cb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script_cb.c b/script_cb.c index fe17819..b8a053b 100644 --- a/script_cb.c +++ b/script_cb.c @@ -162,8 +162,8 @@ int exec_pre_script_cb( struct sip_msg *msg, enum script_= cb_type type) unsigned int flags; =20 #ifdef EXTRA_DEBUG - if (type >=3D SCRIPT_CB_NUM) { - LOG(L_BUG, "exec_pre_script_cb: Uknown callback type\n"); + if (type > SCRIPT_CB_NUM) { + LOG(L_BUG, "Uknown callback type\n"); abort(); } #endif @@ -185,7 +185,7 @@ int exec_post_script_cb( struct sip_msg *msg, enum script= _cb_type type) unsigned int flags; =20 #ifdef EXTRA_DEBUG - if (type >=3D SCRIPT_CB_NUM) { + if (type > SCRIPT_CB_NUM) { LOG(L_BUG, "exec_pre_script_cb: Uknown callback type\n"); abort(); } --===============1963313066==-- From miconda@gmail.com Wed Feb 5 09:54:58 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: core: fix condition on script callback number done inside EXTRA_DEBUG Date: Wed, 05 Feb 2014 09:54:58 +0100 Message-ID: <20140205085458.81444EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1135599722==" --===============1135599722== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: 403d553b30bfeb4aab5575666ab9638a7799317d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D403d553b30bfeb4aab5575666ab9638a7799317d Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: Wed Feb 5 09:52:19 2014 +0100 core: fix condition on script callback number done inside EXTRA_DEBUG - reported by Seudin Kasumovic, FS#388 (cherry picked from commit 740d407be4e35ee945658365ae38a1bba30fafc7) --- script_cb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script_cb.c b/script_cb.c index a10df7d..72fa568 100644 --- a/script_cb.c +++ b/script_cb.c @@ -162,8 +162,8 @@ int exec_pre_script_cb( struct sip_msg *msg, enum script_= cb_type type) unsigned int flags; =20 #ifdef EXTRA_DEBUG - if (type >=3D SCRIPT_CB_NUM) { - LOG(L_BUG, "exec_pre_script_cb: Uknown callback type\n"); + if (type > SCRIPT_CB_NUM) { + LOG(L_BUG, "Uknown callback type\n"); abort(); } #endif @@ -185,7 +185,7 @@ int exec_post_script_cb( struct sip_msg *msg, enum script= _cb_type type) unsigned int flags; =20 #ifdef EXTRA_DEBUG - if (type >=3D SCRIPT_CB_NUM) { + if (type > SCRIPT_CB_NUM) { LOG(L_BUG, "exec_pre_script_cb: Uknown callback type\n"); abort(); } --===============1135599722==-- From bugtracker@sip-router.org Wed Feb 5 09:55:22 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task closed: bt:Program terminated with signal 6, Aborted. (kamailio 4.1.1) Date: Wed, 05 Feb 2014 08:55:21 +0000 Message-ID: <1391590521.52f1fc79b5f11@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1761350950==" --===============1761350950== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task is now closed: FS#388 - bt:Program terminated with signal 6, Aborted. (kamailio 4.1.1) User who did this - Daniel-Constantin Mierla (miconda) Reason for closing: Fixed Additional comments about closing: Thanks, fixed in master and 4.x branches. More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D388 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1761350950==-- From oyvind.kolbu@usit.uio.no Wed Feb 5 10:15:33 2014 From: =?utf-8?q?=C3=98yvind?= Kolbu To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Crash with coredump Date: Wed, 05 Feb 2014 09:13:56 +0000 Message-ID: <45c7809377e14d59858b1609a4758f4c@mail-ex01.exprod.uio.no> In-Reply-To: <52F1F18D.6040505@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1355665086==" --===============1355665086== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >Indeed, I checked 4.1, MEMDBG is set for the branch. You can set in config: > >mem_safety=3D1 OK, will try it! Seems like the default should be switched, to better cope wi= th bugs in code on production systems. Another server crashed with same error message just before I saw your advice = ;/ --=20 =C3=98yvind --===============1355665086==-- From peter.dunkley@crocodile-rcs.com Wed Feb 5 10:23:14 2014 From: Peter Dunkley To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] [PATCH 1/1] websocket: remove libunistring dependency Date: Wed, 05 Feb 2014 09:23:07 +0000 Message-ID: In-Reply-To: <52F1F0D5.3000408@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1828282681==" --===============1828282681== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, I have no problem in principle with the patch, I am just wary of changing something that works. I do Kamailio builds on four (very different) Linux variants (CentOS 6, Fedora 19, Ubuntu 13.10, Rasbian (Debian Wheezy on Raspberry Pi)) and have never had a problem with the libunistring dependency for WebSockets. The code in the patch looks straight forward, and the information appears compelling, my question was just about verification and testing of this code copied from the webpage before using it to replace something that currently works. Regards, Peter On 5 February 2014 08:05, Daniel-Constantin Mierla wrote: > Thanks for update. Can you wrap your patch in some define, so it can be > applied while keeping the libunistring as alternative? Something like: > > #ifdef USE_UTF8_EMBEDDED > // your code here > #else > // libunistring function call > #endif > > Then it can be pushed without any problem to the master branch, allowing > me (and others) to test it easily. After that we can re-evaluate to remove > libunistring completely or maybe just make the embedded version default. > > Cheers, > Daniel > > > On 05/02/14 07:45, Timo Teras wrote: > >> On Tue, 04 Feb 2014 21:34:35 +0100 >> Daniel-Constantin Mierla wrote: >> >> Was there any resolution on this topic? I would like to get rid of >>> the unnecessary dependency, the code looked fine at a quick check -- >>> if it is just about utf8 encoding/decoding. >>> >>> Eventually it can be made a compile time switch with defines for both >>> options, keep the code for both cases and be able to easily switch >>> from one to another. >>> >> I think the patch was not 'blessed' yet. >> >> Peter asked for testing results along the lines of: >> >>> Something as simple as a loop through all possible values calling your >>> function, the libunistring function, and comparing the results would >>> be perfect. >>> >> The calling the function with every possible utf-8 string is >> impossible test plan. >> >> Dunno. Perhaps you want to push the patch with dictator hat on, or some >> sane test plan can be made. For now, I just applied the patch to my >> local builds and forgot this. >> >> - Timo >> >> _______________________________________________ >> sr-dev mailing list >> sr-dev(a)lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >> > > > -- > Daniel-Constantin Mierla - http://www.asipto.com > http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda > > -- Peter Dunkley Technical Director Crocodile RCS Ltd --===============1828282681== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBkaXI9Imx0ciI+SGVsbG8sPGRpdj48YnI+PC9kaXY+PGRpdj5JIGhhdmUgbm8gcHJvYmxl bSBpbiBwcmluY2lwbGUgd2l0aCB0aGUgcGF0Y2gsIEkgYW0ganVzdCB3YXJ5IG9mIGNoYW5naW5n IHNvbWV0aGluZyB0aGF0IHdvcmtzLiCgSSBkbyBLYW1haWxpbyBidWlsZHMgb24gZm91ciAodmVy eSBkaWZmZXJlbnQpIExpbnV4IHZhcmlhbnRzIChDZW50T1MgNiwgRmVkb3JhIDE5LCBVYnVudHUg MTMuMTAsIFJhc2JpYW4gKERlYmlhbiBXaGVlenkgb24gUmFzcGJlcnJ5IFBpKSkgYW5kIGhhdmUg bmV2ZXIgaGFkIGEgcHJvYmxlbSB3aXRoIHRoZSBsaWJ1bmlzdHJpbmcgZGVwZW5kZW5jeSBmb3Ig V2ViU29ja2V0cy48ZGl2Pgo8YnI+PC9kaXY+PGRpdj5UaGUgY29kZSBpbiB0aGUgcGF0Y2ggbG9v a3Mgc3RyYWlnaHQgZm9yd2FyZCwgYW5kIHRoZSBpbmZvcm1hdGlvbiBhcHBlYXJzIGNvbXBlbGxp bmcsIG15IHF1ZXN0aW9uIHdhcyBqdXN0IGFib3V0IHZlcmlmaWNhdGlvbiBhbmQgdGVzdGluZyBv ZiB0aGlzIGNvZGUgY29waWVkIGZyb20gdGhlIHdlYnBhZ2UgYmVmb3JlIHVzaW5nIGl0IHRvIHJl cGxhY2Ugc29tZ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2V0PSJfYmxhbmsiPmh0dHA6Ly93d3cubGlua2VkaW4uY29tL2lu Lzx1PjwvdT5taWNvbmRhPC9hPjxicj4KPGJyPgo8L2Rpdj48L2Rpdj48L2Jsb2NrcXVvdGU+PC9k aXY+PGJyPjxiciBjbGVhcj0iYWxsIj48ZGl2Pjxicj48L2Rpdj4tLSA8YnI+PGRpdiBkaXI9Imx0 ciI+PGRpdj48Zm9udCBmYWNlPSJjb3VyaWVyIG5ldywgbW9ub3NwYWNlIj5QZXRlciBEdW5rbGV5 PC9mb250PjwvZGl2PjxkaXY+PGZvbnQgZmFjZT0iY291cmllciBuZXcsIG1vbm9zcGFjZSI+VGVj aG5pY2FsIERpcmVjdG9yPC9mb250PjwvZGl2Pgo8ZGl2Pjxmb250IGZhY2U9ImNvdXJpZXIgbmV3 LCBtb25vc3BhY2UiPkNyb2NvZGlsZSBSQ1MgTHRkPC9mb250PjwvZGl2PjwvZGl2Pgo8L2Rpdj4K --===============1828282681==-- From oej@edvina.net Wed Feb 5 13:37:14 2014 From: "Olle E. Johansson" To: sr-dev@lists.kamailio.org Subject: [sr-dev] CAcert.org root certs in trunk Date: Wed, 05 Feb 2014 13:37:13 +0100 Message-ID: <80EB8830-2670-4F19-9B91-ECD481793AE0@edvina.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1566684163==" --===============1566684163== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi! I would like to add cacert.org root certificates to the Kamailio distribution= , so that every Kamailio server gets these as approved certificates by defaul= t with the default TLS settings. Anyone having problems with doing that? /O --===============1566684163==-- From linuxmaniac@torreviejawireless.org Wed Feb 5 13:46:07 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Wed, 05 Feb 2014 13:45:41 +0100 Message-ID: In-Reply-To: <80EB8830-2670-4F19-9B91-ECD481793AE0@edvina.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0092379121==" --===============0092379121== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, 2014-02-05 Olle E. Johansson : > I would like to add cacert.org root certificates to the Kamailio distributi= on, so that every Kamailio server gets these as approved certificates by defa= ult with the default TLS settings. from my POV this should be archived at the packaging level. In Debian, adding a dependence for ca-certificates in tls module package. Cheers, Victor --===============0092379121==-- From oej@edvina.net Wed Feb 5 13:50:39 2014 From: "Olle E. Johansson" To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Wed, 05 Feb 2014 13:50:38 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2086243691==" --===============2086243691== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 05 Feb 2014, at 13:45, Victor Seva = wrote: > Hi, >=20 > 2014-02-05 Olle E. Johansson : >> I would like to add cacert.org root certificates to the Kamailio distribut= ion, so that every Kamailio server gets these as approved certificates by def= ault with the default TLS settings. >=20 > from my POV this should be archived at the packaging level. In Debian, > adding a dependence for ca-certificates in tls module package. Do you really mean "archived" ?=20 I think doing it at the packaging level is fine, but it does not cover all ca= ses. /O --===============2086243691==-- From linuxmaniac@torreviejawireless.org Wed Feb 5 14:08:13 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Wed, 05 Feb 2014 14:07:47 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1757882049==" --===============1757882049== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 2014-02-05 Olle E. Johansson : > On 05 Feb 2014, at 13:45, Victor Seva wrote: >> 2014-02-05 Olle E. Johansson : >>> I would like to add cacert.org root certificates to the Kamailio distribu= tion, so that every Kamailio server gets these as approved certificates by de= fault with the default TLS settings. >> >> from my POV this should be archived at the packaging level. In Debian, >> adding a dependence for ca-certificates in tls module package. > > Do you really mean "archived" ? I meant "achieved" :-) > I think doing it at the packaging level is fine, but it does not cover all = cases. Fine. But please do that in a configurable way. Cheers, Victor --===============1757882049==-- From linuxmaniac@torreviejawireless.org Wed Feb 5 15:03:09 2014 From: Victor Seva To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: pkg/kamailio/deb/debian: no websocket nor outbound on lenny. Date: Wed, 05 Feb 2014 15:03:08 +0100 Message-ID: <20140205140308.9B4C4EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0083050686==" --===============0083050686== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: 46b75d34f4941cb0e425183e70c8cf5eba7b6ab0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D46b75d34f4941cb0e425183e70c8cf5eba7b6ab0 Author: Victor Seva Committer: Victor Seva Date: Wed Feb 5 15:00:31 2014 +0100 pkg/kamailio/deb/debian: no websocket nor outbound on lenny. Remove kamailio-mono-modules from Suggests --- pkg/kamailio/deb/debian/backports/lenny | 14 +++++++++++++- pkg/kamailio/deb/debian/backports/lucid | 1 + pkg/kamailio/deb/debian/backports/squeeze | 1 + pkg/kamailio/deb/lenny/control | 24 ------------------------ pkg/kamailio/deb/lenny/rules | 4 ++-- pkg/kamailio/deb/lucid/control | 1 - pkg/kamailio/deb/squeeze/control | 1 - 7 files changed, 17 insertions(+), 29 deletions(-) diff --git a/pkg/kamailio/deb/debian/backports/lenny b/pkg/kamailio/deb/debia= n/backports/lenny index 7e2ae6e..157c54e 100755 --- a/pkg/kamailio/deb/debian/backports/lenny +++ b/pkg/kamailio/deb/debian/backports/lenny @@ -32,7 +32,6 @@ sed -i -e '/libgeoip-dev/d' -e '/^Package: kamailio-geoip-m= odules/,/^$/d' \ sed -i -e 's/ geoip[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ geoip/' ${DIST}/rules =20 - # No json module: sed -i -e '/libevent-dev/d' -e '/libjson0-dev/d' -e '/^Package: kamailio-jso= n-modules/,/^$/d' \ ${DIST}/control @@ -47,10 +46,23 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ redis/' ${DIS= T}/rules =20 # No mono module sed -i -e '/libmono-2.0-dev/d' -e '/^Package: kamailio-mono-modules/,/^$/d' \ + -e '/kamailio-mono-modules/d' \ ${DIST}/control sed -i -e 's/ mono[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ mono/' ${DIST}/rules =20 +# No websocket module +sed -i -e '/libunistring-dev/d' -e '/^Package: kamailio-websocket-modules/,/= ^$/d' \ + ${DIST}/control +sed -i -e 's/ websocket[ ,$]*/ /' ${DIST}/rules +sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ websocket/' ${DIST}/rules + +# No outbound module +sed -i -e '/^Package: kamailio-outbound-modules/,/^$/d' \ + ${DIST}/control +sed -i -e 's/ outbound[ ,$]*/ /' ${DIST}/rules +sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ outbound/' ${DIST}/rules + # db-util version sed -i -e 's/db-util/db4.8-util/' ${DIST}/control =20 diff --git a/pkg/kamailio/deb/debian/backports/lucid b/pkg/kamailio/deb/debia= n/backports/lucid index 36c0a1f..846afd1 100755 --- a/pkg/kamailio/deb/debian/backports/lucid +++ b/pkg/kamailio/deb/debian/backports/lucid @@ -40,6 +40,7 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ redis/' ${DIST}= /rules =20 # No mono module sed -i -e '/libmono-2.0-dev/d' -e '/^Package: kamailio-mono-modules/,/^$/d' \ + -e '/kamailio-mono-modules/d' \ ${DIST}/control sed -i -e 's/ mono[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ mono/' ${DIST}/rules diff --git a/pkg/kamailio/deb/debian/backports/squeeze b/pkg/kamailio/deb/deb= ian/backports/squeeze index b890abe..be9618a 100755 --- a/pkg/kamailio/deb/debian/backports/squeeze +++ b/pkg/kamailio/deb/debian/backports/squeeze @@ -40,6 +40,7 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ redis/' ${DIST}= /rules =20 # No mono module sed -i -e '/libmono-2.0-dev/d' -e '/^Package: kamailio-mono-modules/,/^$/d' \ + -e '/kamailio-mono-modules/d' \ ${DIST}/control sed -i -e 's/ mono[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=3D/s/$/ mono/' ${DIST}/rules diff --git a/pkg/kamailio/deb/lenny/control b/pkg/kamailio/deb/lenny/control index 3f33895..5afc70c 100644 --- a/pkg/kamailio/deb/lenny/control +++ b/pkg/kamailio/deb/lenny/control @@ -28,7 +28,6 @@ Build-Depends: bison, libsqlite3-dev, libxml2-dev, libxmlrpc-c3-dev, - libunistring-dev, openssl, python, python-dev, @@ -50,7 +49,6 @@ Suggests: kamailio-berkeley-modules, kamailio-dbg, kamailio-ldap-modules, kamailio-lua-modules, - kamailio-mono-modules, kamailio-mysql-modules, kamailio-perl-modules, kamailio-postgres-modules, @@ -374,28 +372,6 @@ Description: contains the TLS kamailio transport module This has been split out of the main kamailio package, so that kamailio will not depend on openssl. This module will enable you to use the TLS transport. =20 -Package: kamailio-outbound-modules -Architecture: linux-any -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: Outbound module for Kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains the module implementing SIP outbound extension. - -Package: kamailio-websocket-modules -Architecture: linux-any -Pre-Depends: ${misc:Pre-Depends} -Depends: kamailio (=3D ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: Websocket module for kamailio - Kamailio is a very fast and flexible SIP (RFC3261) - proxy server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package contains the module implementing WebSocket transport layer. - Package: kamailio-nth Architecture: any Pre-Depends: ${misc:Pre-Depends} diff --git a/pkg/kamailio/deb/lenny/rules b/pkg/kamailio/deb/lenny/rules index 97d200d..5f8ac36 100755 --- a/pkg/kamailio/deb/lenny/rules +++ b/pkg/kamailio/deb/lenny/rules @@ -26,7 +26,7 @@ EXCLUDED_MODULES=3D # extra modules to skip, because they are not compilable now # - regardless if they go to the main kamailio package or to some module pac= kage, # they will be excluded from compile and install of all -EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy geoip json redis m= ono +EXTRA_EXCLUDED_MODULES=3Dbdb dbtext oracle pa iptrtpproxy geoip json redis m= ono websocket outbound =20 # module groups that are packaged in seperate packages # (with the name kamailio-$(group_name)-modules) @@ -36,7 +36,7 @@ PACKAGE_GROUPS=3Dmysql postgres berkeley unixodbc radius pr= esence \ ldap xml perl utils lua memcached \ snmpstats carrierroute xmpp cpl python \ sqlite ims \ - purple tls outbound websocket + purple tls=20 =20 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b) LIBDIR ?=3D lib diff --git a/pkg/kamailio/deb/lucid/control b/pkg/kamailio/deb/lucid/control index e27f6e3..c23e331 100644 --- a/pkg/kamailio/deb/lucid/control +++ b/pkg/kamailio/deb/lucid/control @@ -52,7 +52,6 @@ Suggests: kamailio-berkeley-modules, kamailio-dbg, kamailio-ldap-modules, kamailio-lua-modules, - kamailio-mono-modules, kamailio-mysql-modules, kamailio-perl-modules, kamailio-postgres-modules, diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/cont= rol index ca7d502..c185afc 100644 --- a/pkg/kamailio/deb/squeeze/control +++ b/pkg/kamailio/deb/squeeze/control @@ -52,7 +52,6 @@ Suggests: kamailio-berkeley-modules, kamailio-dbg, kamailio-ldap-modules, kamailio-lua-modules, - kamailio-mono-modules, kamailio-mysql-modules, kamailio-perl-modules, kamailio-postgres-modules, --===============0083050686==-- From carsten@ng-voice.com Wed Feb 5 15:09:08 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Problem with Registration on pcscf Date: Wed, 05 Feb 2014 15:09:02 +0100 Message-ID: In-Reply-To: <254f01cf1d05$aa85c850$ff9158f0$@crocodile-rcs.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0404690389==" --===============0404690389== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi Paul, since probably i'm the guilty one, i would check. In order to quickly reproduce that issue, some quick questions: - you are using GIT master? I've made some changes in GIT master (compared to 4.1) in terms of detecting, if a user is registered... Can you send me the SIPP-Scripts? I will then check next week for this topic. Thanks for testing, Carsten 2014-01-29 Paul Pankhurst : > Hi Jason, > > > > I've not done anything further on this since Friday, as I've been busy on > other things. > > > > If you have trouble reproducing it I can send you my sipp scripts and some > wireshark traces if it helps. > > > > Paul > > > > > > From: sr-dev-bounces(a)lists.sip-router.org > [mailto:sr-dev-bounces(a)lists.sip-router.org] On Behalf Of Jason Penton > Sent: 29 January 2014 07:52 > To: Kamailio (SER) - Development Mailing List > Subject: Re: [sr-dev] Problem with Registration on pcscf > > > > Hey Paul, > > > > Sorry for the delay on this. I had missed it. I will see if I can re-create > and get back to you. Have you maanged to do any more testing since? > > > > Cheers > > Jason > > > > On Fri, Jan 24, 2014 at 5:42 PM, Paul Pankhurst > wrote: > > I've noticed a problem with registrations on the pcscf when doing some > testing with sipp > > If I send in a REGISTER with SIPP followed by an INVITE calls go through my > system no problem. > If I then stop the sipp script and run it again, I find that although the > registration succeeds, subsequent INVITES are rejected telling me that I > have not registered! > If I unregister at the end of my script everything is fine, and the problem > goes away after the original REGISTRATION times out, so this led me to think > that we had a problem with multiple registrations entries in the system. > > The problem seems to be a result of the fact that sipp always places the > same ip address and port number on the contact line when using tcp > connections. > > I've had a look through the code and believe that we are getting multiple > entries in the usrloc hash table in this scenario, and ul_get_pcontact only > ever returns the first one which causes pcscf_is_registered to incorrectly > report that the UE is not registered. > > Paul > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > > > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > -- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany http://www.ng-voice.com mailto:carsten(a)ng-voice.com Office +49 40 34927219 Fax +49 40 34927220 Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/ --===============0404690389==-- From daniel.ciprus@acision.com Wed Feb 5 18:13:33 2014 From: Daniel Ciprus To: sr-dev@lists.kamailio.org Subject: [sr-dev] scscf modifying contact: Date: Wed, 05 Feb 2014 12:13:17 -0500 Message-ID: <52F2712D.4030502@acision.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1201579687==" --===============1201579687== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, For our application to work we'd like to see not modified Contact: from Kamai= lio being sent towards our AS. Unfortunately this is not happening now. Below= are REGISTER messages from client and message which is sent to AS. I wasn't = able to find any logic in .cfg file so I thought this would be the place wher= e I should post my problem. According to 3GPP TS 24.229, RFC 3261, RFC 5626 i= t seems like this is not the behavior which should be happening. Thanks for any hints on this topic . Dan from client: REGISTER sip:cloud.us.intinfra.com SIP/2.0 Via: SIP/2.0/TCP 10.66.134.82:49457;branch=3Dz9hG4bK-1221069401;rport From: ;tag=3D1648902213 To: Contact: ;expires=3D300;+g.oma.sip-im;l= anguage=3D"en,fr"';+u.asmc.apn=3D Call-ID: 5576f9d5-7540-1450-115d-daf9bfbc9ac8 CSeq: 1051036861 REGISTER Content-Length: 0 Max-Forwards: 70 Authorization: Digest username=3D"18042522750(a)cloud.us.intinfra.com",realm=3D"cloud.us.intinfra.com",nonce= =3D"",uri=3D"sip:cloud.us.intinfra.com",response=3D"" Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REF= ER Privacy: none P-Access-Network-Info: ADSL;utran-cell-id-3gpp=3D00000000 User-Agent: RCSClient/OMA1.0 P-Preferred-Identity: Supported: path to aps: REGISTER sip:imc-02.cloud.us.intinfra.com:5070 SIP/2.0 Via: SIP/2.0/UDP 10.96.173.249:6060;branch=3Dz9hG4bK6261.27bddf04000000000000= 000000000000.0 To: From: ;tag=3D182e61d5f332391bf011fae37904ee7= 1-bdf8 CSeq: 10 REGISTER Call-ID: 6de2ae0e57d6b4ff-31487(a)10.96.173.249 Content-Length: 0 User-Agent: Kamailio S-CSCF Event: registration Max-Forwards: 10 Expires: 420 Contact: P-Visited-Network-ID: cloud.us.intinfra.com P-Access-Network-Info: ADSL;utran-cell-id-3gpp=3D00000000 ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. --===============1201579687== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CjxoZWFkPgo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRl eHQvaHRtbDsgY2hhcnNldD1pc28tODg1OS0xIj4KPC9oZWFkPgo8Ym9keSBzdHlsZT0iYmFja2dy b3VuZC1jb2xvcjogcmdiKDI1NSwgMjU1LCAyNTUpOyBjb2xvcjogcmdiKDAsIDAsCiAgICAwKTsi IGFsaW5rPSIjRUUwMDAwIiBiZ2NvbG9yPSIjOTkwMDAwIiBsaW5rPSIjMEI2Q0RBIiB0ZXh0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DAwMDAwMDA8YnI+Cjxicj4KPGJyPgo8YnI+ Cjxocj4KPGZvbnQgZmFjZT0iQXJpYWwiIGNvbG9yPSJHcmF5IiBzaXplPSIxIj5UaGlzIGUtbWFp bCBhbmQgYW55IGF0dGFjaG1lbnQgaXMgZm9yIGF1dGhvcmlzZWQgdXNlIGJ5IHRoZSBpbnRlbmRl ZCByZWNpcGllbnQocykgb25seS4gSXQgbWF5IGNvbnRhaW4gcHJvcHJpZXRhcnkgbWF0ZXJpYWws IGNvbmZpZGVudGlhbCBpbmZvcm1hdGlvbiBhbmQvb3IgYmUgc3ViamVjdCB0byBsZWdhbCBwcml2 aWxlZ2UuIEl0IHNob3VsZCBub3QgYmUgY29waWVkLCBkaXNjbG9zZWQKIHRvLCByZXRhaW5lZCBv ciB1c2VkIGJ5LCBhbnkgb3RoZXIgcGFydHkuIElmIHlvdSBhcmUgbm90IGFuIGludGVuZGVkIHJl Y2lwaWVudCB0aGVuIHBsZWFzZSBwcm9tcHRseSBkZWxldGUgdGhpcyBlLW1haWwgYW5kIGFueSBh dHRhY2htZW50IGFuZCBhbGwgY29waWVzIGFuZCBpbmZvcm0gdGhlIHNlbmRlci4gVGhhbmsgeW91 IGZvciB1bmRlcnN0YW5kaW5nLjxicj4KPC9mb250Pgo8YnIgY2xlYXI9YWxsPiAKPC9ib2R5Pgo8 L2h0bWw+Cgo= --===============1201579687==-- From klaus.mailinglists@pernau.at Wed Feb 5 18:53:14 2014 From: Klaus Darilion To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Wed, 05 Feb 2014 18:53:08 +0100 Message-ID: <52F27A84.5060608@pernau.at> In-Reply-To: <80EB8830-2670-4F19-9B91-ECD481793AE0@edvina.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1471998283==" --===============1471998283== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 05.02.2014 13:37, Olle E. Johansson wrote: > Hi! > > I would like to add cacert.org root certificates to the Kamailio distributi= on, so that every Kamailio server gets these as approved certificates by defa= ult with the default TLS settings. > > Anyone having problems with doing that? I do not trust cacert anything more than all the commercials CA. Thus I=20 do not want to trust the cacert automatically. What would be fine for is something like that in kamailio.cfg: # remove the comments from the following lines to accept # certificates signed by cacert.org: #modparam("tls", "ca_list", "......cacert.org.pem") regards Klaus --===============1471998283==-- From klaus.mailinglists@pernau.at Wed Feb 5 18:55:12 2014 From: Klaus Darilion To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Wed, 05 Feb 2014 18:55:06 +0100 Message-ID: <52F27AFA.6010002@pernau.at> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0581148884==" --===============0581148884== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 05.02.2014 13:45, Victor Seva wrote: > Hi, > > 2014-02-05 Olle E. Johansson : >> I would like to add cacert.org root certificates to the Kamailio distribut= ion, so that every Kamailio server gets these as approved certificates by def= ault with the default TLS settings. > > from my POV this should be archived at the packaging level. In Debian, > adding a dependence for ca-certificates in tls module package. That sounds nice (I'm a Debian guy), except that I would like to have to=20 comment the cacert inclusion by default, as written in the other email. regards Klaus --===============0581148884==-- From camille.oudot@orange.com Wed Feb 5 20:20:04 2014 From: Camille Oudot To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] scscf modifying contact: Date: Wed, 05 Feb 2014 20:16:46 +0100 Message-ID: <20140205201646.35ecbd45@l-at9676.rd.francetelecom.fr> In-Reply-To: <52F2712D.4030502@acision.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0433694850==" --===============0433694850== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Le Wed, 5 Feb 2014 12:13:17 -0500, Daniel Ciprus a écrit : > For our application to work we'd like to see not modified Contact: > from Kamailio being sent towards our AS. Unfortunately this is not > happening now. Below are REGISTER messages from client and message > which is sent to AS. I wasn't able to find any logic in .cfg file so > I thought this would be the place where I should post my problem. > According to 3GPP TS 24.229, RFC 3261, RFC 5626 it seems like this is > not the behavior which should be happening. Hi Daniel, This looks like a third party register sent on the ISC interface. AFAIK, the behavior you are seeing is normal. The original REGISTER is not proxied: a new dialog between S-CSCF and AS is started instead (the S-CSCF becomes the UAC). The IMPU of the user that is triggering the third party register cans be seen in the To: header field, and the original Contact URI info is lost. Regards -- Camille Oudot --===============0433694850==-- From daniel.ciprus@acision.com Wed Feb 5 23:16:34 2014 From: Daniel Ciprus To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] scscf modifying contact: Date: Wed, 05 Feb 2014 17:16:22 -0500 Message-ID: <52F2B836.30301@acision.com> In-Reply-To: <20140205201646.35ecbd45@l-at9676.rd.francetelecom.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0699200874==" --===============0699200874== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Camille, Thanks for quick response. Yes, this is 3rd party registration. Unfortunately= this (according to specs I listed below) shouldn't happen. Is there any work= around except messing around with textops and replacing things in Contact: ? = I will need to add optional parameters from original REGISTER to 3rd party RE= GISTER, that's the goal. Dan On 02/05/2014 02:16 PM, Camille Oudot wrote: Le Wed, 5 Feb 2014 12:13:17 -0500, Daniel Ciprus a =C3=A9crit : For our application to work we'd like to see not modified Contact: from Kamailio being sent towards our AS. Unfortunately this is not happening now. Below are REGISTER messages from client and message which is sent to AS. I wasn't able to find any logic in .cfg file so I thought this would be the place where I should post my problem. According to 3GPP TS 24.229, RFC 3261, RFC 5626 it seems like this is not the behavior which should be happening. Hi Daniel, This looks like a third party register sent on the ISC interface. AFAIK, the behavior you are seeing is normal. The original REGISTER is not proxied: a new dialog between S-CSCF and AS is started instead (the S-CSCF becomes the UAC). The IMPU of the user that is triggering the third party register cans be seen in the To: header field, and the original Contact URI info is lost. Regards -- Daniel Ciprus Integration engineer http://www.acision.com 9954 Mayland Dr Suite 3100 Richmond, VA 23233 USA T: +1 804 762 5601 E: daniel.ciprus(a)acision.com ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. --===============0699200874== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CjxoZWFkPgo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRl eHQvaHRtbDsgY2hhcnNldD1pc28tODg1OS0xIj4KPC9oZWFkPgo8Ym9keSBzdHlsZT0iYmFja2dy b3VuZC1jb2xvcjogcmdiKDI1NSwgMjU1LCAyNTUpOyBjb2xvcjogcmdiKDAsIDAsCiAgICAwKTsi IGJnY29sb3I9IiNGRkZGRkYiIHRleHQ9IiMwMDAwMDAiPgpDYW1pbGxlLCA8YnI+Cjxicj4KVGhh bmtzIGZvciBxdWljayByZXNwb25zZS4gWWVzLCB0aGlzIGlzIDNyZCBwYXJ0eSByZWdpc3RyYXRp b24uIFVuZm9ydHVuYXRlbHkgdGhpcyAoYWNjb3JkaW5nIHRvIHNwZWNzIEkgbGlzdGVkIGJlbG93 KSBzaG91bGRuJ3QgaGFwcGVuLiBJcyB0aGVyZSBhbnkgd29ya2Fyb3VuZCBleGNlcHQgbWVzc2lu ZyBhcm91bmQgd2l0aCB0ZXh0b3BzIGFuZCByZXBsYWNpbmcgdGhpbmdzIGluIENvbnRhY3Q6ID8g SSB3aWxsIG5lZWQgdG8gYWRkIG9wdGlvbmFsCiBwYXJhbWV0ZXJzIGZyb20gb3JpZ2luYWwgUkVH SVNURVIgdG8gM3JkIHBhcnR5IFJFR0lTVEVSLCB0aGF0J3MgdGhlIGdvYWwuIDxicj4KPGJyPgpE YW48YnI+Cjxicj4KPGRpdiBjbGFzcz0ibW96LWNpdGUtcHJlZml4Ij5PbiAwMi8wNS8yMD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Bmb3IgYXV0aG9yaXNlZCB1c2Ug YnkgdGhlIGludGVuZGVkIHJlY2lwaWVudChzKSBvbmx5LiBJdCBtYXkgY29udGFpbiBwcm9wcmll dGFyeSBtYXRlcmlhbCwgY29uZmlkZW50aWFsIGluZm9ybWF0aW9uIGFuZC9vciBiZSBzdWJqZWN0 IHRvIGxlZ2FsIHByaXZpbGVnZS4gSXQgc2hvdWxkIG5vdCBiZSBjb3BpZWQsIGRpc2Nsb3NlZAog dG8sIHJldGFpbmVkIG9yIHVzZWQgYnksIGFueSBvdGhlciBwYXJ0eS4gSWYgeW91IGFyZSBub3Qg YW4gaW50ZW5kZWQgcmVjaXBpZW50IHRoZW4gcGxlYXNlIHByb21wdGx5IGRlbGV0ZSB0aGlzIGUt bWFpbCBhbmQgYW55IGF0dGFjaG1lbnQgYW5kIGFsbCBjb3BpZXMgYW5kIGluZm9ybSB0aGUgc2Vu ZGVyLiBUaGFuayB5b3UgZm9yIHVuZGVyc3RhbmRpbmcuPGJyPgo8L2ZvbnQ+CjxiciBjbGVhcj1h bGw+IAo8L2JvZHk+CjwvaHRtbD4KCg== --===============0699200874==-- From daniel.ciprus@acision.com Wed Feb 5 23:54:33 2014 From: Daniel Ciprus To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] scscf modifying contact: (closed) Date: Wed, 05 Feb 2014 17:54:19 -0500 Message-ID: <52F2C11B.3010804@acision.com> In-Reply-To: <52F2B836.30301@acision.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1119601806==" --===============1119601806== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Camille, Don't waste your time on this topic. Apparently this is "normal" behavior and= the thing we're trying to do is just a violation of existing specifications.= 3rd party registration is done on ISC level and can't be modified in configu= ration. Anyway, I will jump deeper into specification and try to find the way= we should be achieving this goal. thank you Dan On 02/05/2014 05:16 PM, Daniel Ciprus wrote: Camille, Thanks for quick response. Yes, this is 3rd party registration. Unfortunately= this (according to specs I listed below) shouldn't happen. Is there any work= around except messing around with textops and replacing things in Contact: ? = I will need to add optional parameters from original REGISTER to 3rd party RE= GISTER, that's the goal. Dan On 02/05/2014 02:16 PM, Camille Oudot wrote: Le Wed, 5 Feb 2014 12:13:17 -0500, Daniel Ciprus a =C3=A9crit : For our application to work we'd like to see not modified Contact: from Kamailio being sent towards our AS. Unfortunately this is not happening now. Below are REGISTER messages from client and message which is sent to AS. I wasn't able to find any logic in .cfg file so I thought this would be the place where I should post my problem. According to 3GPP TS 24.229, RFC 3261, RFC 5626 it seems like this is not the behavior which should be happening. Hi Daniel, This looks like a third party register sent on the ISC interface. AFAIK, the behavior you are seeing is normal. The original REGISTER is not proxied: a new dialog between S-CSCF and AS is started instead (the S-CSCF becomes the UAC). The IMPU of the user that is triggering the third party register cans be seen in the To: header field, and the original Contact URI info is lost. Regards -- Daniel Ciprus Integration engineer http://www.acision.com 9954 Mayland Dr Suite 3100 Richmond, VA 23233 USA T: +1 804 762 5601 E: daniel.ciprus(a)acision.com ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. -- Daniel Ciprus Integration engineer http://www.acision.com 9954 Mayland Dr Suite 3100 Richmond, VA 23233 USA T: +1 804 762 5601 E: daniel.ciprus(a)acision.com ________________________________ This e-mail and any attachment is for authorised use by the intended recipien= t(s) only. It may contain proprietary material, confidential information and/= or be subject to legal privilege. It should not be copied, disclosed to, reta= ined or used by, any other party. If you are not an intended recipient then p= lease promptly delete this e-mail and any attachment and all copies and infor= m the sender. Thank you for understanding. --===============1119601806== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CjxoZWFkPgo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRl eHQ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--===============1119601806==-- From jh@tutpro.com Thu Feb 6 01:29:54 2014 From: Juha Heinanen To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git:4.1: presence: bugfix: Add option to disable per-Table lock for database layer Date: Tue, 04 Feb 2014 23:32:40 +0200 Message-ID: <21233.23672.919666.816537@tutpro.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1625821405==" --===============1625821405== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Carsten Bock writes: > all i can say is, that the locks make the presence module completely > unusable with a MySQL backend in DB_ONLY mode. The current database layer > will only lock the current table for a transaction, not all tables used > during one transaction. And that results in an unusable database connection. > In order to change that, i'd have to the complete database API. .. > The RLS-Module has a similar option already... What option is that? I could not find any lock related option in rls module README. -- Juha --===============1625821405==-- From jaybinks@gmail.com Thu Feb 6 05:30:30 2014 From: jay binks To: sr-dev@lists.kamailio.org Subject: [sr-dev] Fwd: [SR-Users] bug in authdb_mod ?? Date: Thu, 06 Feb 2014 14:30:03 +1000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0858100217==" --===============0858100217== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit So I posted this to the user list in December, and got nowhere.. Can someone familiar with db_cassandra review my patch ( possibly clean this up and commit it ) # git diff dbcassa_base.cpp diff --git a/modules/db_cassandra/dbcassa_base.cpp b/modules/db_cassandra/dbcassa_base.cpp index e9d3a32..155221d 100644 --- a/modules/db_cassandra/dbcassa_base.cpp +++ b/modules/db_cassandra/dbcassa_base.cpp @@ -439,6 +439,7 @@ ColumnVecPtr cassa_translate_query(const db1_con_t* _h, const db_key_t* _k, int key_len=0, seckey_len = 0; int no_kc, no_sec_kc; dbcassa_table_p tbc; + char pk[255]; /** Lock table schema and construct primary and secondary key **/ if(_k) { @@ -495,8 +496,12 @@ ColumnVecPtr cassa_translate_query(const db1_con_t* _h, const db_key_t* _k, } else { /* the table doesn't have any secondary key defined */ if(_c) { for(int i=0; i< _nc; i++) { - sp.column_names.push_back(_c[i]->s); - LM_DBG("Query col: %s\n", _c[i]->s); + sprintf(pk, "%.*s", _c[i]->len, _c[i]->s ); + sp.column_names.push_back( pk); + //sp.column_names.push_back(_c[i]->s); + LM_DBG("Query col: %s\n", pk ); + //LM_DBG("Query col: %s\n", _c[i]->s); + LM_DBG("JAY Query col: %.*s\n", _c[i]->len, _c[i]->s); } LM_DBG("get %d columns\n", _nc); sp.__isset.column_names = true; // set yea I know I left crap in there, but it gives you an idea... also... yea pk is a crap name... copy paste... and I havnt given any thought to the size 255 , but thats probably fairly safe and anything smaller might not be so safe. ( unless there is a limit elsewhere I should observe ) Jay --===============0858100217== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBkaXI9Imx0ciI+U28gSSBwb3N0ZWQgdGhpcyB0byB0aGUgdXNlciBsaXN0IGluIERlY2Vt YmVyLCBhbmQgZ290IG5vd2hlcmUuLjxkaXY+PGJyPjwvZGl2PjxkaXY+Q2FuIHNvbWVvbmUgZmFt aWxpYXIgd2l0aCBkYl9jYXNzYW5kcmEgcmV2aWV3IG15IHBhdGNoICggcG9zc2libHkgY2xlYW4g dGhpcyB1cCBhbmQgY29tbWl0IGl0ICk8L2Rpdj48ZGl2PjxkaXYgY2xhc3M9ImdtYWlsX3F1b3Rl Ij4KCjxkaXYgZGlyPSJsdHIiPjxkaXY+PGJyPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+PGRp dj4jIGdpdCBkaWZmIGRiY2Fzc2FfYmFzZS5jcHCgPC9kaXY+PGRpdj5kaWZmIC0tZ2l0IGEvbW9k dWxlcy9kYl9jYXNzYW5kcmEvZGJjYXNzYV9iYXNlLmNwcCBiL21vZHVsZXMvZGJfY2Fzc2FuZHJh L2RiY2Fzc2FfYmFzZS5jcHA8L2Rpdj48ZGl2PmluZGV4IGU5ZDNhMzIuLjE1NTIyMWQgMTAwNjQ0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aXY+PGJyPjwvZGl2PjxkaXY+SmF5PC9kaXY+PC9kaXY+PC9kaXY+PC9kaXY+PC9kaXY+Cg== --===============0858100217==-- From jason.penton@gmail.com Thu Feb 6 06:48:14 2014 From: Jason Penton To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] scscf modifying contact: Date: Thu, 06 Feb 2014 07:48:07 +0200 Message-ID: In-Reply-To: <52F2B836.30301@acision.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0129976120==" --===============0129976120== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Daniel, Can you be more specific about where in the specs you say contact should not be modified. If current functionality is wrong I'm happy to change in code Cheers Jason This email was sent using my phone. It may be brief, to the point, or contain typos On 6 Feb 2014 00:16, "Daniel Ciprus" wrote: > Camille, > > Thanks for quick response. Yes, this is 3rd party registration. > Unfortunately this (according to specs I listed below) shouldn't happen. Is > there any workaround except messing around with textops and replacing > things in Contact: ? I will need to add optional parameters from original > REGISTER to 3rd party REGISTER, that's the goal. > > Dan > > On 02/05/2014 02:16 PM, Camille Oudot wrote: > > Le Wed, 5 Feb 2014 12:13:17 -0500, > Daniel Ciprus a= =C3=A9crit : > > > For our application to work we'd like to see not modified Contact: > from Kamailio being sent towards our AS. Unfortunately this is not > happening now. Below are REGISTER messages from client and message > which is sent to AS. I wasn't able to find any logic in .cfg file so > I thought this would be the place where I should post my problem. > According to 3GPP TS 24.229, RFC 3261, RFC 5626 it seems like this is > not the behavior which should be happening. > > Hi Daniel, > > This looks like a third party register sent on the ISC interface. > AFAIK, the behavior you are seeing is normal. The original REGISTER is > not proxied: a new dialog between S-CSCF and AS is started instead (the > S-CSCF becomes the UAC). The IMPU of the user that is triggering the > third party register cans be seen in the To: header field, and the > original Contact URI info is lost. > > Regards > > > > -- > *Daniel Ciprus* > Integration engineer > http://www.acision.com > > 9954 Mayland Dr > Suite 3100 > Richmond, VA 23233 > USA > T: +1 804 762 5601 > E: daniel.ciprus(a)acision.com > > ------------------------------ > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you for > understanding. > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > > --===============0129976120== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PHAgZGlyPSJsdHIiPkhpIERhbmllbCwgPC9wPgo8cCBkaXI9Imx0ciI+Q2FuIHlvdSBiZSBtb3Jl IHNwZWNpZmljIGFib3V0IHdoZXJlIGluIHRoZSBzcGVjcyB5b3Ugc2F5IGNvbnRhY3Qgc2hvdWxk IG5vdCBiZSBtb2RpZmllZC4gSWYgY3VycmVudCBmdW5jdGlvbmFsaXR5IGlzIHdyb25nIEkmIzM5 O20gaGFwcHkgdG8gY2hhbmdlIGluIGNvZGUgPC9wPgo8cCBkaXI9Imx0ciI+Q2hlZXJzIDxicj4K SmFzb24gPC9wPgo8cCBkaXI9Imx0ciI+VGhpcyBlbWFpbCB3YXMgc2VudCB1c2luZyBteSBwaG9u ZS4gSXQgbWF5IGJlIGJyaWVmLCB0byB0aGUgcG9pbnQsIG9yIGNvbnRhaW4gdHlwb3MgPC9wPgo8 ZGl2IGNsYXNzPSJnbWFpbF9xdW90ZSI+T24gNiBGZWIgMjAxNCAwMDoxNiwgJnF1b3Q7RGFuaWVs IENpcHJ1cyZxdW90OyAmbHQ7PGEgaHJlZj0ibWFpbHRvOmRhbmllbC5jaXBydXNAYWNpc2lvbi5j b20iPmRhbmllbC5jaXBydXNAYWNpc2lvbi5jb208L2E+Jmd0OyB3cm90ZTo8YnIgdHlwZT0iYXR0 cmlidXRpb24iPjxibG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9Im1hcmdpbjow IDA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tYWlsbWFuL2xpc3RpbmZvL3NyLWRl djwvYT48YnI+Cjxicj48L2Jsb2NrcXVvdGU+PC9kaXY+Cg== --===============0129976120==-- From oej@edvina.net Thu Feb 6 08:25:37 2014 From: "Olle E. Johansson" To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Thu, 06 Feb 2014 08:25:37 +0100 Message-ID: <3EE75262-CE20-4F98-B355-64065C245829@edvina.net> In-Reply-To: <52F27A84.5060608@pernau.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1843628062==" --===============1843628062== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 05 Feb 2014, at 18:53, Klaus Darilion wro= te: >=20 > On 05.02.2014 13:37, Olle E. Johansson wrote: >> Hi! >>=20 >> I would like to add cacert.org root certificates to the Kamailio distribut= ion, so that every Kamailio server gets these as approved certificates by def= ault with the default TLS settings. >>=20 >> Anyone having problems with doing that? >=20 > I do not trust cacert anything more than all the commercials CA. Thus I do = not want to trust the cacert automatically. >=20 > What would be fine for is something like that in kamailio.cfg: >=20 > # remove the comments from the following lines to accept > # certificates signed by cacert.org: > #modparam("tls", "ca_list", "......cacert.org.pem") >=20 I can live with that. /O --===============1843628062==-- From miconda@gmail.com Thu Feb 6 10:28:37 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Thu, 06 Feb 2014 10:28:29 +0100 Message-ID: <52F355BD.7090601@gmail.com> In-Reply-To: <3EE75262-CE20-4F98-B355-64065C245829@edvina.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0204454882==" --===============0204454882== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I think that importing the certificate in the repository will add some=20 overhead, as we have to periodically check if it was revoked or updated. Maybe we can add a make target or a script to download and install it on=20 demand. Regarding the config options, perhaps is better to add a=20 kamailio-secure.cfg for the time being, where to build a config file=20 targeting secure deployments. I guess we have to do more changes than=20 just few parameter for tls module (or tls config). Over the time, we can=20 push parts (or all) in kamailio.cfg. Cheers, Daniel On 06/02/14 08:25, Olle E. Johansson wrote: > On 05 Feb 2014, at 18:53, Klaus Darilion w= rote: > >> On 05.02.2014 13:37, Olle E. Johansson wrote: >>> Hi! >>> >>> I would like to add cacert.org root certificates to the Kamailio distribu= tion, so that every Kamailio server gets these as approved certificates by de= fault with the default TLS settings. >>> >>> Anyone having problems with doing that? >> I do not trust cacert anything more than all the commercials CA. Thus I do= not want to trust the cacert automatically. >> >> What would be fine for is something like that in kamailio.cfg: >> >> # remove the comments from the following lines to accept >> # certificates signed by cacert.org: >> #modparam("tls", "ca_list", "......cacert.org.pem") >> > I can live with that. > > /O > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev --=20 Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0204454882==-- From miconda@gmail.com Thu Feb 6 10:28:59 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Thu, 06 Feb 2014 10:28:49 +0100 Message-ID: <52F355D1.9040705@gmail.com> In-Reply-To: <3EE75262-CE20-4F98-B355-64065C245829@edvina.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0779585416==" --===============0779585416== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I think that importing the certificate in the repository will add some=20 overhead, as we have to periodically check if it was revoked or updated. Maybe we can add a make target or a script to download and install it on=20 demand. Regarding the config options, perhaps is better to add a=20 kamailio-secure.cfg for the time being, where to build a config file=20 targeting secure deployments. I guess we have to do more changes than=20 just few parameter for tls module (or tls config). Over the time, we can=20 push parts (or all) in kamailio.cfg. Cheers, Daniel On 06/02/14 08:25, Olle E. Johansson wrote: > On 05 Feb 2014, at 18:53, Klaus Darilion w= rote: > >> On 05.02.2014 13:37, Olle E. Johansson wrote: >>> Hi! >>> >>> I would like to add cacert.org root certificates to the Kamailio distribu= tion, so that every Kamailio server gets these as approved certificates by de= fault with the default TLS settings. >>> >>> Anyone having problems with doing that? >> I do not trust cacert anything more than all the commercials CA. Thus I do= not want to trust the cacert automatically. >> >> What would be fine for is something like that in kamailio.cfg: >> >> # remove the comments from the following lines to accept >> # certificates signed by cacert.org: >> #modparam("tls", "ca_list", "......cacert.org.pem") >> > I can live with that. > > /O > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev --=20 Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0779585416==-- From oej@edvina.net Thu Feb 6 10:33:00 2014 From: "Olle E. Johansson" To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] CAcert.org root certs in trunk Date: Thu, 06 Feb 2014 10:32:58 +0100 Message-ID: <7D0762E1-3BE7-4E78-92ED-D03359AC6962@edvina.net> In-Reply-To: <52F355BD.7090601@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1095139445==" --===============1095139445== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 06 Feb 2014, at 10:28, Daniel-Constantin Mierla wrot= e: > Hello, >=20 > I think that importing the certificate in the repository will add some over= head, as we have to periodically check if it was revoked or updated. Root certificates typically have a long timespan to be able to be imported.=20 >=20 > Maybe we can add a make target or a script to download and install it on de= mand. I wanted it to be included to make sure that there's no excuse. We can of cou= rse download during install so it's in there. Maybe that's a good idea. >=20 > Regarding the config options, perhaps is better to add a kamailio-secure.cf= g for the time being, where to build a config file targeting secure deploymen= ts. I guess we have to do more changes than just few parameter for tls module= (or tls config). Over the time, we can push parts (or all) in kamailio.cfg. Ok. /O >=20 > Cheers, > Daniel >=20 >=20 > On 06/02/14 08:25, Olle E. Johansson wrote: >> On 05 Feb 2014, at 18:53, Klaus Darilion = wrote: >>=20 >>> On 05.02.2014 13:37, Olle E. Johansson wrote: >>>> Hi! >>>>=20 >>>> I would like to add cacert.org root certificates to the Kamailio distrib= ution, so that every Kamailio server gets these as approved certificates by d= efault with the default TLS settings. >>>>=20 >>>> Anyone having problems with doing that? >>> I do not trust cacert anything more than all the commercials CA. Thus I d= o not want to trust the cacert automatically. >>>=20 >>> What would be fine for is something like that in kamailio.cfg: >>>=20 >>> # remove the comments from the following lines to accept >>> # certificates signed by cacert.org: >>> #modparam("tls", "ca_list", "......cacert.org.pem") >>>=20 >> I can live with that. >>=20 >> /O >> _______________________________________________ >> sr-dev mailing list >> sr-dev(a)lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >=20 > --=20 > Daniel-Constantin Mierla - http://www.asipto.com > http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda >=20 >=20 > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev --===============1095139445==-- From hugh.waite@crocodile-rcs.com Thu Feb 6 15:50:50 2014 From: Hugh Waite To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Problem with Registration on pcscf Date: Thu, 06 Feb 2014 14:50:37 +0000 Message-ID: <52F3A13D.4030201@crocodile-rcs.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0325841813==" --===============0325841813== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, This system is using GIT master built on December 18th and has the=20 'fallback to ip' modparam set - which is being used in this case because=20 all clients are behind a cloud based NAT. The problem occurs when there are multiple entries for a user in the=20 usrloc table, but ul.get_pcontact(...) only ever returns one. which may=20 not match the contact or the source IP/port. We believe that the multiple entries should be returned and looped round=20 to check for matches. Multiple entries can be easily created by disconnecting a TCP client (or=20 sipp script) without deregistering and connecting + registering again=20 from a different ephemeral port. Regards, Hugh On 05/02/2014 14:09, Carsten Bock wrote: > Hi Paul, > > since probably i'm the guilty one, i would check. In order to quickly > reproduce that issue, some quick questions: > - you are using GIT master? I've made some changes in GIT master > (compared to 4.1) in terms of detecting, if a user is registered... > > Can you send me the SIPP-Scripts? > I will then check next week for this topic. > > Thanks for testing, > Carsten > > > > 2014-01-29 Paul Pankhurst : >> Hi Jason, >> >> >> >> I've not done anything further on this since Friday, as I've been busy on >> other things. >> >> >> >> If you have trouble reproducing it I can send you my sipp scripts and some >> wireshark traces if it helps. >> >> >> >> Paul >> >> >> >> >> >> From: sr-dev-bounces(a)lists.sip-router.org >> [mailto:sr-dev-bounces(a)lists.sip-router.org] On Behalf Of Jason Penton >> Sent: 29 January 2014 07:52 >> To: Kamailio (SER) - Development Mailing List >> Subject: Re: [sr-dev] Problem with Registration on pcscf >> >> >> >> Hey Paul, >> >> >> >> Sorry for the delay on this. I had missed it. I will see if I can re-create >> and get back to you. Have you maanged to do any more testing since? >> >> >> >> Cheers >> >> Jason >> >> >> >> On Fri, Jan 24, 2014 at 5:42 PM, Paul Pankhurst >> wrote: >> >> I've noticed a problem with registrations on the pcscf when doing some >> testing with sipp >> >> If I send in a REGISTER with SIPP followed by an INVITE calls go through my >> system no problem. >> If I then stop the sipp script and run it again, I find that although the >> registration succeeds, subsequent INVITES are rejected telling me that I >> have not registered! >> If I unregister at the end of my script everything is fine, and the problem >> goes away after the original REGISTRATION times out, so this led me to thi= nk >> that we had a problem with multiple registrations entries in the system. >> >> The problem seems to be a result of the fact that sipp always places the >> same ip address and port number on the contact line when using tcp >> connections. >> >> I've had a look through the code and believe that we are getting multiple >> entries in the usrloc hash table in this scenario, and ul_get_pcontact only >> ever returns the first one which causes pcscf_is_registered to incorrectly >> report that the UE is not registered. >> >> Paul >> >> _______________________________________________ >> sr-dev mailing list >> sr-dev(a)lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >> >> >> >> >> _______________________________________________ >> sr-dev mailing list >> sr-dev(a)lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >> > > --=20 Hugh Waite Principal Design Engineer Crocodile RCS Ltd. --===============0325841813==-- From miconda@gmail.com Thu Feb 6 16:07:05 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: db_cassandra: clone key in a zero-termniated local buffer Date: Thu, 06 Feb 2014 16:07:03 +0100 Message-ID: <20140206150704.116C5EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0653713453==" --===============0653713453== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 3cde37cf10795b4eb785ffd141a8b28e64864f5d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D3cde37cf10795b4eb785ffd141a8b28e64864f5d Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: Thu Feb 6 16:03:27 2014 +0100 db_cassandra: clone key in a zero-termniated local buffer - rework from a patch by Jay Binks --- modules/db_cassandra/dbcassa_base.cpp | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/modules/db_cassandra/dbcassa_base.cpp b/modules/db_cassandra/dbc= assa_base.cpp index ffa9e3b..1a721bb 100644 --- a/modules/db_cassandra/dbcassa_base.cpp +++ b/modules/db_cassandra/dbcassa_base.cpp @@ -440,6 +440,7 @@ ColumnVecPtr cassa_translate_query(const db1_con_t* _h, c= onst db_key_t* _k, int key_len=3D0, seckey_len =3D 0; int no_kc, no_sec_kc; dbcassa_table_p tbc; + char pk[256]; =20 /** Lock table schema and construct primary and secondary key **/ if(_k) { @@ -496,7 +497,14 @@ ColumnVecPtr cassa_translate_query(const db1_con_t* _h, = const db_key_t* _k, } else { /* the table doesn't have any secondary key defined */ if(_c) { for(int i=3D0; i< _nc; i++) { - sp.column_names.push_back(_c[i]->s); + /*sp.column_names.push_back(_c[i]->s);*/ + if(_c[i]->len>255) { + LM_ERR("column key is too long [%.*s]\n", _c[i]->len, _c[i]->s); + return ColumnVecPtr(NULL); + } + memcpy(pk, _c[i]->s, _c[i]->len); + pk[_c[i]->len] =3D '\0'; + sp.column_names.push_back(pk); LM_DBG("Query col: %s\n", _c[i]->s); } LM_DBG("get %d columns\n", _nc); --===============0653713453==-- From miconda@gmail.com Thu Feb 6 16:10:14 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Fwd: [SR-Users] bug in authdb_mod ?? Date: Thu, 06 Feb 2014 16:09:57 +0100 Message-ID: <52F3A5C5.3080601@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0697564519==" --===============0697564519== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I pushed a rework-ed patch. Can you try with the patch from commit: -=20 http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h=3D3cde3= 7cf10795b4eb785ffd141a8b28e64864f5d I don't use cassandra, so didn't test it. If all goes fine with the=20 tests, then I can backport. Cheersm Daniel On 06/02/14 05:30, jay binks wrote: > So I posted this to the user list in December, and got nowhere.. > > Can someone familiar with db_cassandra review my patch ( possibly=20 > clean this up and commit it ) > > > # git diff dbcassa_base.cpp > diff --git a/modules/db_cassandra/dbcassa_base.cpp=20 > b/modules/db_cassandra/dbcassa_base.cpp > index e9d3a32..155221d 100644 > --- a/modules/db_cassandra/dbcassa_base.cpp > +++ b/modules/db_cassandra/dbcassa_base.cpp > @@ -439,6 +439,7 @@ ColumnVecPtr cassa_translate_query(const=20 > db1_con_t* _h, const db_key_t* _k, > int key_len=3D0, seckey_len =3D 0; > int no_kc, no_sec_kc; > dbcassa_table_p tbc; > + char pk[255]; > /** Lock table schema and construct primary and secondary key **/ > if(_k) { > @@ -495,8 +496,12 @@ ColumnVecPtr cassa_translate_query(const=20 > db1_con_t* _h, const db_key_t* _k, > } else { /* the table doesn't have any secondary key=20 > defined */ > if(_c) { > for(int i=3D0; i< _nc; i++) { > - sp.column_names.push_back(_c[i]->s); > - LM_DBG("Query col: %s\n", _c[i]->s); > + sprintf(pk, "%.*s",=20 > _c[i]->len, _c[i]->s ); > + sp.column_names.push_back( pk); > + //sp.column_names.push_back(_c[i]->s); > + LM_DBG("Query col: %s\n", pk ); > + //LM_DBG("Query col: %s\n", _c[i]->s); > + LM_DBG("JAY Query col: %.*s\n", _c[i]->len, _c[i]->s); > } > LM_DBG("get %d columns\n", _nc); > sp.__isset.column_names =3D true; // set > > > > > yea I know I left crap in there, but it gives you an idea... also... > yea pk is a crap name... copy paste... and I havnt given any thought=20 > to the size 255 , but thats probably fairly safe and anything smaller=20 > might not be so safe. > ( unless there is a limit elsewhere I should observe ) > > Jay > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev --=20 Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============0697564519== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CiAgPGhlYWQ+CiAgICA8bWV0YSBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9SVNP LTg4NTktMSIKICAgICAgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIj4KICA8L2hlYWQ+CiAgPGJv ZHkgdGV4dD0iIzAwMDAwMCIgYmdjb2xvcj0iI0ZGRkZGRiI+CiAgICBJIHB1c2hlZCBhIHJld29y ay1lZCBwYXRjaC4gQ2FuIHlvdSB0cnkgd2l0aCB0aGUgcGF0Y2ggZnJvbSBjb21taXQ6PGJyPgog ICAgPGJyPgogICAgLQo8YSBjbGFzcz0ibW96LXR4dC1saW5rLWZyZWV0ZXh0IiBocmVmPSJodHRw Oi8vZ2l0LnNpcC1yb3V0ZXIub3JnL2NnaS1iaW4vZ2l0d2ViLmNnaS9zaXAtcm91dGVyLz9hPWNv bW1pdDt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tjLCBub19zZWNfa2M7PC9kaXY+CiAg ICAgICAgICAgICAgICA8ZGl2PqAgoCCgIKAgZGJjYXNzYV90YWJsZV9wIHRiYzs8L2Rpdj4KICAg ICAgICAgICAgICAgIDxkaXY+KyCgIKAgoCBjaGFyIHBrWzI1NV07PC9kaXY+CiAgICAgICAgICAg ICAgICA8ZGl2PqA8L2Rpdj4KICAgICAgICAgICAgICAgIDxkaXY+oCCgIKAgoCAvKiogTG9jayB0 YWJsZSBzY2hlbWEgYW5kIGNvbnN0cnVjdCBwcmltYXJ5CiAgICAgICAgICAgICAgICAgIGFuZCBz ZWNvbmRhcnkga2V5ICoqLzwvZGl2PgogICAgICAgICAgICAgICAgPGRpdj6gIKAgoCCgIGlmKF9r KSB7PC9kaXY+CiAgICAgICAgICAgICAgICA8ZGl2PkBAIC00OTUsOCArNDk2LDEyIEBAIENvbHVt blZlY1B0cgogICAgICAgICAgICAgICAgICBjYXNzYV90cmFuc2xhdGVfcXVlcnkoY29uc3QgZGIx X2Nvbl90KiBfaCwgY29uc3QKICAgICAgICAgICAgICAgICAgZGJfa2V5X3QqIF9rLDwvZGl2Pgog ICAgICAgICAgICAgICAgPGRpdj6gIKAgoCCgIKAgoCCgIKAgfSBlbHNlIHsgLyogdGhlIHRhYmxl IGRvZXNuJ3QgaGF2ZQogICAgICAgICAgICAgICAgICBhbnkgc2Vjb25kYXJ5IGtleSBkZWZpbmVk ICovPC9kaXY+CiAgICAgICAgICAgICAgICA8ZGl2PqAgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIGlm KF9jKSB7PC9kaXY+CiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSJpbSI+CiAgICAgICAgICAg ICAgICAgIDxkaXY+oCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoCBmb3IoaW50IGk9MDsK ICAgICAgICAgICAgICAgICAgICBpJmx0OyBfbmM7IGkrKykgezwvZGl2PgogICAgICAgICAgICAg ICAgPC9kaXY+CiAgICAgIC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gICAgICA8ZGl2 PisgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoAogICAgICAgICAgICAgICAg ICAvL0xNX0RCRygiUXVlcnkgY29sOiAlc1xuIiwgX2NbaV0tJmd0O3MpOzwvZGl2PgogICAgICAg ICAgICAgICAgPGRpdiBjbGFzcz0iaW0iPgogICAgICAgICAgICAgICAgICA8ZGl2PisgoCCgIKAg oCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoAogICAgICAgICAgICAgICAgICAgIExNX0RC RygiSkFZIFF1ZXJ5IGNvbDogJS4qc1xuIiwgX2NbaV0tJmd0O2xlbiwKICAgICAgICAgICAgICAg ICAgICBfY1tpXS0mZ3Q7cyk7PC9kaXY+CiAgICAgICAgICAgICAgICAgIDxkaXY+oCCgIKAgoCCg IKAgoCCgIKAgoCCgIKAgoCCgIKAgoCB9PC9kaXY+CiAgICAgICAgICAgICAgICA8L2Rpdj4KICAg ICAgICAgICAgICAgIDxkaXYgY2xhc3M9ImltIj4KICAgICAgICAgICAgICAgICAgPGRpdj6gIKAg oCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIExNX0RCRygiZ2V0ICVkCiAgICAgICAgICAgICAg ICAgICAgY29sdW1uc1xuIiwgX25jKTs8L2Rpdj4KICAgICAgICAgICAgICAgIDwvZGl2PgogICAg ICAgICAgICAgICAgPGRpdiBjbGFzcz0iaW0iPgogICAgICAgICAgICAgICAgICA8ZGl2PqAgoCCg IKAgoCCgIKAgoCCgIKAgoCCgIKAgoCCgIKAKICAgICAgICAgICAgICAgICAgICBzcC5fX2lzc2V0 LmNvbHVtbl9uYW1lcyA9IHRydWU7IC8vIHNldDwvZGl2PgogICAgICAgICAgICAgICAgPC9kaXY+ CiAgICAgICAgICAgICAgPC9kaXY+CiAgICAgICAgICAgICAgPGRpdj48YnI+CiAgICAgICAgICAg ICAgPC9kaXY+CiAgICAgICAgICAgICAgPGRpdj48YnI+CiAgICAgICAgICAgICAgPC9kaXY+CiAg ICAgICAgICAgICAgPGRpdj48YnI+CiAgICAgICAgICAgICAgPC9kaXY+CiAgICAgICAgICAgICAg PGRpdj48YnI+CiAgICAgICAgICAgICAgPC9kaXY+CiAgICAgICAgICAgICAgPGRpdj55ZWEgSSBr bm93IEkgbGVmdCBjcmFwIGluIHRoZXJlLCBidXQgaXQgZ2l2ZXMgeW91IGFuCiAgICAgICAgICAg ICAgICBpZGVhLi4uIGFsc28uLi48L2Rpdj4KICAgICAgICAgICAgICA8ZGl2PnllYSBwayBpcyBh IGNyYXAgbmFtZS4uLiBjb3B5IHBhc3RlLi4uIGFuZCBJIGhhdm50CiAgICAgICAgICAgICAgICBn aXZlbiBhbnkgdGhvdWdodCB0byB0aGUgc2l6ZSAyNTUgLCCgYnV0IHRoYXRzIHByb2JhYmx5CiAg ICAgICAgICAgICAgICBmYWlybHkgc2FmZSBhbmQgYW55dGhpbmcgc21hbGxlciBtaWdodCBub3Qg YmUgc28gc2FmZS48L2Rpdj4KICAgICAgICAgICAgICA8ZGl2PiggdW5sZXNzIHRoZXJlIGlzIGEg bGltaXQgZWxzZXdoZXJlIEkgc2hvdWxkIG9ic2VydmUKICAgICAgICAgICAgICAgICk8L2Rpdj4K ICAgICAgICAgICAgICA8ZGl2Pjxicj4KICAgICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAg ICA8ZGl2PkpheTwvZGl2PgogICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgIDwvZGl2PgogICAg ICAgIDwvZGl2PgogICAgICA8L2Rpdj4KICAgICAgPGJyPgogICAgICA8ZmllbGRzZXQgY2xhc3M9 Im1pbWVBdHRhY2htZW50SGVhZGVyIj48L2ZpZWxkc2V0PgogICAgICA8YnI+CiAgICAgIDxwcmUg d3JhcD0iIj5fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpz ci1kZXYgbWFpbGluZyBsaXN0CjxhIGNsYXNzPSJtb3otdHh0LWxpbmstYWJicmV2aWF0ZWQiIGhy ZWY9Im1haWx0bzpzci1kZXZAbGlzdHMuc2lwLXJvdXRlci5vcmciPnNyLWRldkBsaXN0cy5zaXAt cm91dGVyLm9yZzwvYT4KPGEgY2xhc3M9Im1vei10eHQtbGluay1mcmVldGV4dCIgaHJlZj0iaHR0 cDovL2xpc3RzLnNpcC1yb3V0ZXIub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9zci1kZXYi Pmh0dHA6Ly9saXN0cy5zaXAtcm91dGVyLm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vc3It ZGV2PC9hPgo8L3ByZT4KICAgIDwvYmxvY2txdW90ZT4KICAgIDxicj4KICAgIDxwcmUgY2xhc3M9 Im1vei1zaWduYXR1cmUiIGNvbHM9IjcyIj4tLSAKRGFuaWVsLUNvbnN0YW50aW4gTWllcmxhIC0g PGEgY2xhc3M9Im1vei10eHQtbGluay1mcmVldGV4dCIgaHJlZj0iaHR0cDovL3d3dy5hc2lwdG8u Y29tIj5odHRwOi8vd3d3LmFzaXB0by5jb208L2E+CjxhIGNsYXNzPSJtb3otdHh0LWxpbmstZnJl ZXRleHQiIGhyZWY9Imh0dHA6Ly90d2l0dGVyLmNvbS8jIS9taWNvbmRhIj5odHRwOi8vdHdpdHRl ci5jb20vIyEvbWljb25kYTwvYT4gLSA8YSBjbGFzcz0ibW96LXR4dC1saW5rLWZyZWV0ZXh0IiBo cmVmPSJodHRwOi8vd3d3LmxpbmtlZGluLmNvbS9pbi9taWNvbmRhIj5odHRwOi8vd3d3Lmxpbmtl ZGluLmNvbS9pbi9taWNvbmRhPC9hPjwvcHJlPgogIDwvYm9keT4KPC9odG1sPgo= --===============0697564519==-- From bugtracker@sip-router.org Thu Feb 6 18:15:29 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: fixes for memory leak in TLS module Date: Thu, 06 Feb 2014 17:15:25 +0000 Message-ID: <1391706925.52f3c32d8cb94@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0790865323==" --===============0790865323== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#380 - fixes for memory leak in TLS module User who did this - Ding Ma (mading087) ---------- Reviewed the code and agreed with most of your changes: - the removal of the history parts is fine - using lock on the config updates is a lot better than locking around the lo= ading of tls config file However, think the lock around decrementing the reference count may be needed= when the -- operation is not atomic. Based on Intel document: INC and DEC belong to the family of instructions that can read, modify, and w= rite a data value in memory. Thus, their operation is not guaranteed to be at= omic unless the LOCK prefix is used for these instructions (when referencing = a location in memory). The XCHG instruction automatically causes the LOCK beh= avior to occur regardless of whether the prefix is used or not. Here is an example of race condition for the ref_count decrement in tls_h_tcp= conn_clean(). Assuming 2 threads are trying to tear down two connections, the= correct way would be=20 thread1 (ref_count 2->1), then thread2 (ref_count 1->0) But if thread2 reads the ref_count before thread1 writes, you'd get thread1 (ref_count 2->1) and thread2 (ref_count 2->1). The result would be wr= ong, and could cause dangling memory block. Realistically, this would be a ra= re case, but can still happen.=20 Volatile just tells the compiler not to optimize the ref_count, won't guarant= ee atomicity. Think your suggestion of using atomic_t type and atomic ops for= the ref_count is the absolute right fix. The potential issue with atomic_t i= s that it would cause some extra work when porting kamailio to non-linux or l= inux with older kernel. The other alternative would be to use lock around the= ref_count decrement, which would have impact on performance when there are a= large number of IP phones in the system.=20 If you agree with my assessment, I can take a shoot at changing the ref_count= to atomic_t, and provide that as another patch on top of your changes. Or yo= u can make this change and give me a patch, which I can test for you in a rea= l system. let me know whichever way works for you. If possible, wonder if it would be better to merge the current patch plus you= r changes to the stable main line. This would address the original memory lea= k issue for 99.9% of the cases. The atomic_t change can come later. Thanks. ---------- More information can be found at the following URL: https://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D380#comment12= 92 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0790865323==-- From jason.penton@gmail.com Fri Feb 7 14:17:41 2014 From: Jason Penton To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Problem with Registration on pcscf Date: Fri, 07 Feb 2014 15:17:35 +0200 Message-ID: In-Reply-To: <52F3A13D.4030201@crocodile-rcs.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0695099710==" --===============0695099710== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi guys, just had a look at this and in my opinion there are a few problems here. Firstly and most NB, I think the hash is incorrect. The hash function should be over IP:PORT:(maybe proto too) and not include the user part, etc. IMO the P-CSCF cares about "devices" ie. IP;PORT;PROTO and their associated IMPUs. Let me give an example: let's say you register a 4G phone using USIM. The device will register with something like: IMPI: imsi(a)ims.test IMPU: imsi(a)ims.test Contact: imsi(a)ip:port..... At this stage in usrloc the hash will be over the contact imsi(a)ip:port Let's say this SIM has an implicit registration set which includes for example: tel:1234 sip:1234(a)ims.test, and sip:jason.penton(a)ims.test. Now, when I make a call from my device my contact *could* be either of my unbarred IMPUs as the user part.... For example, 1234(a)10.0.0.10:4434. In fact, there is nothing stopping a UE from using it's contact as just 10.0.0.10:443... ie without userpart. The above scenario will fail in the current codebase as the hash that stored my original contact was based on a different user part (viz, imsi(a)ip :port). The structure in usrloc should be IMO: device (IP:PRT:PROTO) =3D> list of associated IMPUs Then, coming to the search,, we can have two overloaded getPcontacts. One that will return a list of contacts built from the list if IMPUs associated with the device and second which can be overloaded to send in more information in the hope that you only return one contact. Here you can pass in things like received port, userpart, etc, etc. If you use the first version then you will have to search through the list for whichever contact you are looking for in your consumer code. Please let me know what you guys think so I can proceed on this. Currently it is breaking as well in our tests with 4G devices.... Cheers Jason On Thu, Feb 6, 2014 at 4:50 PM, Hugh Waite wr= ote: > Hi, > This system is using GIT master built on December 18th and has the > 'fallback to ip' modparam set - which is being used in this case because > all clients are behind a cloud based NAT. > > The problem occurs when there are multiple entries for a user in the > usrloc table, but ul.get_pcontact(...) only ever returns one. which may not > match the contact or the source IP/port. > > We believe that the multiple entries should be returned and looped round > to check for matches. > Multiple entries can be easily created by disconnecting a TCP client (or > sipp script) without deregistering and connecting + registering again from > a different ephemeral port. > > Regards, > Hugh > > > On 05/02/2014 14:09, Carsten Bock wrote: > >> Hi Paul, >> >> since probably i'm the guilty one, i would check. In order to quickly >> reproduce that issue, some quick questions: >> - you are using GIT master? I've made some changes in GIT master >> (compared to 4.1) in terms of detecting, if a user is registered... >> >> Can you send me the SIPP-Scripts? >> I will then check next week for this topic. >> >> Thanks for testing, >> Carsten >> >> >> >> 2014-01-29 Paul Pankhurst : >> >>> Hi Jason, >>> >>> >>> >>> I've not done anything further on this since Friday, as I've been busy on >>> other things. >>> >>> >>> >>> If you have trouble reproducing it I can send you my sipp scripts and >>> some >>> wireshark traces if it helps. >>> >>> >>> >>> Paul >>> >>> >>> >>> >>> >>> From: sr-dev-bounces(a)lists.sip-router.org >>> [mailto:sr-dev-bounces(a)lists.sip-router.org] On Behalf Of Jason Penton >>> Sent: 29 January 2014 07:52 >>> To: Kamailio (SER) - Development Mailing List >>> Subject: Re: [sr-dev] Problem with Registration on pcscf >>> >>> >>> >>> Hey Paul, >>> >>> >>> >>> Sorry for the delay on this. I had missed it. I will see if I can >>> re-create >>> and get back to you. Have you maanged to do any more testing since? >>> >>> >>> >>> Cheers >>> >>> Jason >>> >>> >>> >>> On Fri, Jan 24, 2014 at 5:42 PM, Paul Pankhurst >>> wrote: >>> >>> I've noticed a problem with registrations on the pcscf when doing some >>> testing with sipp >>> >>> If I send in a REGISTER with SIPP followed by an INVITE calls go through >>> my >>> system no problem. >>> If I then stop the sipp script and run it again, I find that although the >>> registration succeeds, subsequent INVITES are rejected telling me that I >>> have not registered! >>> If I unregister at the end of my script everything is fine, and the >>> problem >>> goes away after the original REGISTRATION times out, so this led me to >>> think >>> that we had a problem with multiple registrations entries in the system. >>> >>> The problem seems to be a result of the fact that sipp always places the >>> same ip address and port number on the contact line when using tcp >>> connections. >>> >>> I've had a look through the code and believe that we are getting multiple >>> entries in the usrloc hash table in this scenario, and ul_get_pcontact >>> only >>> ever returns the first one which causes pcscf_is_registered to >>> incorrectly >>> report that the UE is not registered. >>> >>> Paul >>> >>> _______________________________________________ >>> sr-dev mailing list >>> sr-dev(a)lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >>> >>> >>> >>> >>> _______________________________________________ >>> sr-dev mailing list >>> sr-dev(a)lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >>> >>> >> >> > > -- > Hugh Waite > Principal Design Engineer > Crocodile RCS Ltd. > > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > --===============0695099710== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBkaXI9Imx0ciI+SGkgZ3V5cyw8ZGl2Pjxicj48L2Rpdj48ZGl2Pmp1c3QgaGFkIGEgbG9v ayBhdCB0aGlzIGFuZCBpbiBteSBvcGluaW9uIHRoZXJlIGFyZSBhIGZldyBwcm9ibGVtcyBoZXJl LiBGaXJzdGx5IGFuZCBtb3N0IE5CLCBJIHRoaW5rIHRoZSBoYXNoIGlzIGluY29ycmVjdC4gVGhl IGhhc2ggZnVuY3Rpb24gc2hvdWxkIGJlIG92ZXIgSVA6UE9SVDoobWF5YmUgcHJvdG8gdG9vKSBh bmQgbm90IGluY2x1ZGUgdGhlIHVzZXIgcGFydCwgZXRjLiBJTU8gdGhlIFAtQ1NDRiBjYXJlcyBh Ym91dCAmcXVvdDtkZXZpY2VzJnF1b3Q7IGllLiBJUDtQT1JUO1BST1RPIGFuZCB0aGVpciBhc3Nv Y2lhdGVkIElNUFVzLiBMZXQgbWUgZ2l2ZSBhbiBleGFtcGxlOjwvZGl2Pgo8ZGl2Pjxicj48L2Rp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X2JsYW5rIj5zci1kZXZAbGlzdHMuc2lwLXJvdXRl ci5vcmc8L2E+PGJyPgo8YSBocmVmPSJodHRwOi8vbGlzdHMuc2lwLXJvdXRlci5vcmcvY2dpLWJp bi9tYWlsbWFuL2xpc3RpbmZvL3NyLWRldiIgdGFyZ2V0PSJfYmxhbmsiPmh0dHA6Ly9saXN0cy5z aXAtcm91dGVyLm9yZy88dT48L3U+Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3NyLTx1PjwvdT5k ZXY8L2E+PGJyPgo8L2Rpdj48L2Rpdj48L2Jsb2NrcXVvdGU+PC9kaXY+PGJyPjwvZGl2Pgo= --===============0695099710==-- From carsten@ng-voice.com Fri Feb 7 17:02:00 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Problem with Registration on pcscf Date: Fri, 07 Feb 2014 17:01:53 +0100 Message-ID: In-Reply-To: <52F3A13D.4030201@crocodile-rcs.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2124083392==" --===============2124083392== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi Hugh, Hi Paul. any chance, that you send us your SIPP-scripts? We can test all our own use-cases (but they work already), but in order to fix (and correctly understand) this, we need to reproduce your problem... Thanks, Carsten 2014-02-06 Hugh Waite : > Hi, > This system is using GIT master built on December 18th and has the 'fallback > to ip' modparam set - which is being used in this case because all clients > are behind a cloud based NAT. > > The problem occurs when there are multiple entries for a user in the usrloc > table, but ul.get_pcontact(...) only ever returns one. which may not match > the contact or the source IP/port. > > We believe that the multiple entries should be returned and looped round to > check for matches. > Multiple entries can be easily created by disconnecting a TCP client (or > sipp script) without deregistering and connecting + registering again from a > different ephemeral port. > > Regards, > Hugh > > > On 05/02/2014 14:09, Carsten Bock wrote: >> >> Hi Paul, >> >> since probably i'm the guilty one, i would check. In order to quickly >> reproduce that issue, some quick questions: >> - you are using GIT master? I've made some changes in GIT master >> (compared to 4.1) in terms of detecting, if a user is registered... >> >> Can you send me the SIPP-Scripts? >> I will then check next week for this topic. >> >> Thanks for testing, >> Carsten >> >> >> >> 2014-01-29 Paul Pankhurst : >>> >>> Hi Jason, >>> >>> >>> >>> I've not done anything further on this since Friday, as I've been busy on >>> other things. >>> >>> >>> >>> If you have trouble reproducing it I can send you my sipp scripts and >>> some >>> wireshark traces if it helps. >>> >>> >>> >>> Paul >>> >>> >>> >>> >>> >>> From: sr-dev-bounces(a)lists.sip-router.org >>> [mailto:sr-dev-bounces(a)lists.sip-router.org] On Behalf Of Jason Penton >>> Sent: 29 January 2014 07:52 >>> To: Kamailio (SER) - Development Mailing List >>> Subject: Re: [sr-dev] Problem with Registration on pcscf >>> >>> >>> >>> Hey Paul, >>> >>> >>> >>> Sorry for the delay on this. I had missed it. I will see if I can >>> re-create >>> and get back to you. Have you maanged to do any more testing since? >>> >>> >>> >>> Cheers >>> >>> Jason >>> >>> >>> >>> On Fri, Jan 24, 2014 at 5:42 PM, Paul Pankhurst >>> wrote: >>> >>> I've noticed a problem with registrations on the pcscf when doing some >>> testing with sipp >>> >>> If I send in a REGISTER with SIPP followed by an INVITE calls go through >>> my >>> system no problem. >>> If I then stop the sipp script and run it again, I find that although the >>> registration succeeds, subsequent INVITES are rejected telling me that I >>> have not registered! >>> If I unregister at the end of my script everything is fine, and the >>> problem >>> goes away after the original REGISTRATION times out, so this led me to >>> think >>> that we had a problem with multiple registrations entries in the system. >>> >>> The problem seems to be a result of the fact that sipp always places the >>> same ip address and port number on the contact line when using tcp >>> connections. >>> >>> I've had a look through the code and believe that we are getting multiple >>> entries in the usrloc hash table in this scenario, and ul_get_pcontact >>> only >>> ever returns the first one which causes pcscf_is_registered to >>> incorrectly >>> report that the UE is not registered. >>> >>> Paul >>> >>> _______________________________________________ >>> sr-dev mailing list >>> sr-dev(a)lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >>> >>> >>> >>> >>> _______________________________________________ >>> sr-dev mailing list >>> sr-dev(a)lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >>> >> >> > > > -- > Hugh Waite > Principal Design Engineer > Crocodile RCS Ltd. > > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev -- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany http://www.ng-voice.com mailto:carsten(a)ng-voice.com Office +49 40 34927219 Fax +49 40 34927220 Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/ --===============2124083392==-- From paul@crocodile-rcs.com Fri Feb 7 17:35:18 2014 From: Paul Pankhurst To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Problem with Registration on pcscf Date: Fri, 07 Feb 2014 16:35:06 +0000 Message-ID: <000601cf2422$936a50e0$ba3ef2a0$@crocodile-rcs.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0918877310==" --===============0918877310== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi Carsten, I'll tar up the scripts and send them across to your direct email shortly Paul -----Original Message----- From: sr-dev-bounces(a)lists.sip-router.org [mailto:sr-dev-bounces(a)lists.sip-router.org] On Behalf Of Carsten Bock Sent: 07 February 2014 16:02 To: Kamailio (SER) - Development Mailing List Subject: Re: [sr-dev] Problem with Registration on pcscf Hi Hugh, Hi Paul. any chance, that you send us your SIPP-scripts? We can test all our own use-cases (but they work already), but in order to fix (and correctly understand) this, we need to reproduce your problem... Thanks, Carsten 2014-02-06 Hugh Waite : > Hi, > This system is using GIT master built on December 18th and has the > 'fallback to ip' modparam set - which is being used in this case > because all clients are behind a cloud based NAT. > > The problem occurs when there are multiple entries for a user in the > usrloc table, but ul.get_pcontact(...) only ever returns one. which > may not match the contact or the source IP/port. > > We believe that the multiple entries should be returned and looped > round to check for matches. > Multiple entries can be easily created by disconnecting a TCP client > (or sipp script) without deregistering and connecting + registering > again from a different ephemeral port. > > Regards, > Hugh > > > On 05/02/2014 14:09, Carsten Bock wrote: >> >> Hi Paul, >> >> since probably i'm the guilty one, i would check. In order to quickly >> reproduce that issue, some quick questions: >> - you are using GIT master? I've made some changes in GIT master >> (compared to 4.1) in terms of detecting, if a user is registered... >> >> Can you send me the SIPP-Scripts? >> I will then check next week for this topic. >> >> Thanks for testing, >> Carsten >> >> >> >> 2014-01-29 Paul Pankhurst : >>> >>> Hi Jason, >>> >>> >>> >>> I've not done anything further on this since Friday, as I've been >>> busy on other things. >>> >>> >>> >>> If you have trouble reproducing it I can send you my sipp scripts >>> and some wireshark traces if it helps. >>> >>> >>> >>> Paul >>> >>> >>> >>> >>> >>> From: sr-dev-bounces(a)lists.sip-router.org >>> [mailto:sr-dev-bounces(a)lists.sip-router.org] On Behalf Of Jason >>> Penton >>> Sent: 29 January 2014 07:52 >>> To: Kamailio (SER) - Development Mailing List >>> Subject: Re: [sr-dev] Problem with Registration on pcscf >>> >>> >>> >>> Hey Paul, >>> >>> >>> >>> Sorry for the delay on this. I had missed it. I will see if I can >>> re-create and get back to you. Have you maanged to do any more >>> testing since? >>> >>> >>> >>> Cheers >>> >>> Jason >>> >>> >>> >>> On Fri, Jan 24, 2014 at 5:42 PM, Paul Pankhurst >>> >>> wrote: >>> >>> I've noticed a problem with registrations on the pcscf when doing >>> some testing with sipp >>> >>> If I send in a REGISTER with SIPP followed by an INVITE calls go >>> through my system no problem. >>> If I then stop the sipp script and run it again, I find that >>> although the registration succeeds, subsequent INVITES are rejected >>> telling me that I have not registered! >>> If I unregister at the end of my script everything is fine, and the >>> problem goes away after the original REGISTRATION times out, so this >>> led me to think that we had a problem with multiple registrations >>> entries in the system. >>> >>> The problem seems to be a result of the fact that sipp always places >>> the same ip address and port number on the contact line when using >>> tcp connections. >>> >>> I've had a look through the code and believe that we are getting >>> multiple entries in the usrloc hash table in this scenario, and >>> ul_get_pcontact only ever returns the first one which causes >>> pcscf_is_registered to incorrectly report that the UE is not >>> registered. >>> >>> Paul >>> >>> _______________________________________________ >>> sr-dev mailing list >>> sr-dev(a)lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >>> >>> >>> >>> >>> _______________________________________________ >>> sr-dev mailing list >>> sr-dev(a)lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >>> >> >> > > > -- > Hugh Waite > Principal Design Engineer > Crocodile RCS Ltd. > > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev -- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany http://www.ng-voice.com mailto:carsten(a)ng-voice.com Office +49 40 34927219 Fax +49 40 34927220 Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/ _______________________________________________ sr-dev mailing list sr-dev(a)lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev --===============0918877310==-- From bugtracker@sip-router.org Sat Feb 8 08:52:35 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: dlg_end_dlg on a two-armed proxy only sends bye to one party Date: Sat, 08 Feb 2014 07:52:32 +0000 Message-ID: <1391845952.52f5e240c5bc7@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2006635775==" --===============2006635775== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#382 - dlg_end_dlg on a two-armed proxy only sends bye to one party User who did this - Daniel-Constantin Mierla (miconda) ---------- Can you try with mhomed=3D1 in kamailio.cfg? ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D382#comment1293 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============2006635775==-- From bugtracker@sip-router.org Sat Feb 8 08:56:11 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task closed: send_reply() bug when called from branch route Date: Sat, 08 Feb 2014 07:56:10 +0000 Message-ID: <1391846170.52f5e31a945c3@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1140016511==" --===============1140016511== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task is now closed: FS#362 - send_reply() bug when called from branch route User who did this - Daniel-Constantin Mierla (miconda) Reason for closing: Fixed Additional comments about closing: Readme was updated a while ago to reflect = where send_reply() can be used. More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D362 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1140016511==-- From sherwood.mcgowan@gmail.com Sun Feb 9 07:04:49 2014 From: Sherwood McGowan To: sr-dev@lists.kamailio.org Subject: [sr-dev] Kamailio Pacemaker RA Script Issue? Date: Sun, 09 Feb 2014 00:04:34 -0600 Message-ID: <52F71A72.3040001@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0320225688==" --===============0320225688== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Ladies & Gentlemen, I was recently given the Kamailio Pacemaker RA script as posted in: http://lists.sip-router.org/pipermail/sr-dev/2014-January/022639.html Via the Pacemaker mailing list. I wanted to inquire if anyone else has had issues with monitoring portion of the script. I have manually verified that the sipsak command does in fact work from the command line as the user that pacemaker is running as, but for some reason I am not seeing the monitoring command being run. I added the appropriate portion of call routing code to the configuration: if (is_method("OPTIONS") && ($ru=~"sip:monitor(a).*")) { xlog("L_INFO", "Kamailio Monitoring Request"); sl_send_reply("200", "Kamailio is alive"); exit; } Unfortunately, when I parse my logs, I never see the log entry, nor do I see any entry in syslog about kamailio monitoring being performed (even though I see MySQL and everything being tested) Furthermore, when I kill the kamailio process, Pacemaker does not "notice" this happening and continues on as if Kamailio is running properly. Has anyone else used this script (I'm on Ubuntu 12.04 LTS 64bit, and adapted the RA script to specifically run /bin/bash due to Ubuntu using /bin/dash) and run into this issue? Thank you, Sherwood McGowan VOIP Solutions Consultant --===============0320225688==-- From jh@tutpro.com Sun Feb 9 10:01:20 2014 From: Juha Heinanen To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/lcr: added capability to inactive a faulty gateway and re-activate Date: Sun, 09 Feb 2014 10:01:19 +0100 Message-ID: <20140209090119.8C27AEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1247868687==" --===============1247868687== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 85fdd590ca7b8e29c9fb7b8385d534418da05cf1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D85fdd590ca7b8e29c9fb7b8385d534418da05cf1 Author: Juha Heinanen Committer: Juha Heinanen Date: Sun Feb 9 10:58:48 2014 +0200 modules/lcr: added capability to inactive a faulty gateway and re-activate it automatically by successful response to OPTIONS ping --- modules/lcr/README | 205 +++++++++++++++----- modules/lcr/doc/lcr.xml | 2 +- modules/lcr/doc/lcr_admin.xml | 162 +++++++++++++++ modules/lcr/lcr_mod.c | 439 +++++++++++++++++++++++++++++++--------= -- modules/lcr/lcr_mod.h | 19 ++- modules/lcr/lcr_rpc.c | 39 +--- modules/sctp/sctp_mod.c | 4 + 7 files changed, 690 insertions(+), 180 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D85fdd590ca7b8e29c9fb7b8385d534418da05cf1 --===============1247868687==-- From jh@tutpro.com Sun Feb 9 10:08:23 2014 From: Juha Heinanen To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/sctp: reverted accidental commit on sctp module while committing Date: Sun, 09 Feb 2014 10:08:23 +0100 Message-ID: <20140209090823.24153EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0072384802==" --===============0072384802== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 5e5377bc0f4f30b84cfdd2ac50813f82a6b52870 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D5e5377bc0f4f30b84cfdd2ac50813f82a6b52870 Author: Juha Heinanen Committer: Juha Heinanen Date: Sun Feb 9 11:07:08 2014 +0200 modules/sctp: reverted accidental commit on sctp module while committing lcr changes --- modules/sctp/sctp_mod.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/modules/sctp/sctp_mod.c b/modules/sctp/sctp_mod.c index 9b33177..1469e6d 100644 --- a/modules/sctp/sctp_mod.c +++ b/modules/sctp/sctp_mod.c @@ -37,9 +37,7 @@ MODULE_VERSION =20 static int mod_init(void); -#ifdef USE_SCTP static int sctp_mod_pre_init(void); -#endif =20 =20 static cmd_export_t cmds[]=3D{ @@ -124,7 +122,6 @@ static int mod_init(void) #endif /* USE_SCTP */ } =20 -#ifdef USE_SCTP static int sctp_mod_pre_init(void) { sctp_srapi_t api; @@ -146,4 +143,3 @@ static int sctp_mod_pre_init(void) } return 0; } -#endif --===============0072384802==-- From droancea@yahoo.com Mon Feb 10 10:47:53 2014 From: Dragos Oancea To: sr-dev@lists.kamailio.org Subject: [sr-dev] crash with 4.0.4 - st_delete_ucontact() Date: Mon, 10 Feb 2014 01:47:45 -0800 Message-ID: <1392025665.32707.YahooMailNeo@web122604.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2144318446==" --===============2144318446== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Everyone, Kamailio 4.0.4 crashes for us once a few weeks, apparently in the same point: #0 =C2=A0st_delete_ucontact (_c=3D0x3a746361746e6f43) at ucontact.c:358 #1 =C2=A00x00007f2c7a9b3836 in delete_ucontact (_r=3D0x7f2c37e1be40, _c=3D0x3= a746361746e6f43) at urecord.c:509 #2 =C2=A00x00007f2c7a373d52 in update_contacts (_m=3D0x7f2c7bc7e930, _r=3D0x7= f2c37e1be40, _mode=3D1) at save.c:697 #3 =C2=A00x00007f2c7a375782 in add_contacts (_m=3D0x7f2c7bc7e930, _d=3D0x7f2c= 35fbae20, _cflags=3D5, _uri=3D) at save.c:800 #4 =C2=A0save (_m=3D0x7f2c7bc7e930, _d=3D0x7f2c35fbae20, _cflags=3D5, _uri=3D= ) at save.c:876 #5 =C2=A00x0000000000414ebf in do_action (h=3D0x7fff7c928790, a=3D0x7f2c7bb52= e70, msg=3D0x7f2c7bc7e930) at action.c:1086 #6 =C2=A00x000000000041c6e6 in run_actions (h=3D0x7fff7c928790, a=3D0x7f2c7bb= 52e70, msg=3D0x7f2c7bc7e930) at action.c:1573 #7 =C2=A00x000000000041cdd4 in run_actions_safe (h=3D0x7fff7c92aaf0, a=3D, msg=3D) at action.c:1637 #8 =C2=A00x00000000004be90d in rval_get_int (h=3D0x7fff7c92aaf0, msg=3D, i=3D0x7fff7c928b8c, rv=3D, cache=3D) at rvalue.c:920 #9 =C2=A00x00000000004c3074 in rval_expr_eval_int (h=3D0x7fff7c92aaf0, msg=3D= 0x7f2c7bc7e930, res=3D0x7fff7c928b8c, rve=3D0x7f2c7bb53790) at rvalue.c:1914 #10 0x00000000004c3139 in rval_expr_eval_int (h=3D0x7fff7c92aaf0, msg=3D0x7f2= c7bc7e930, res=3D0x7fff7c928ff8, rve=3D0x7f2c7bb53010) at rvalue.c:1922 #11 0x0000000000415662 in do_action (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb54df0, = msg=3D0x7f2c7bc7e930) at action.c:1050 #12 0x000000000041c6e6 in run_actions (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb32980= , msg=3D0x7f2c7bc7e930) at action.c:1573 #13 0x00000000004174fa in do_action (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb60090, = msg=3D0x7f2c7bc7e930) at action.c:1069 #14 0x000000000041c6e6 in run_actions (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb21c00= , msg=3D0x7f2c7bc7e930) at action.c:1573 #15 0x00000000004174fa in do_action (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb60190, = msg=3D0x7f2c7bc7e930) at action.c:1069 #16 0x000000000041c6e6 in run_actions (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb1a990= , msg=3D0x7f2c7bc7e930) at action.c:1573 #17 0x00000000004174fa in do_action (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb60290, = msg=3D0x7f2c7bc7e930) at action.c:1069 #18 0x000000000041c6e6 in run_actions (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bb60290= , msg=3D0x7f2c7bc7e930) at action.c:1573 #19 0x000000000041581a in do_action (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bafbcb0, = msg=3D0x7f2c7bc7e930) at action.c:690 #20 0x000000000041c6e6 in run_actions (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bafbb10= , msg=3D0x7f2c7bc7e930) at action.c:1573 #21 0x00000000004156bb in do_action (h=3D0x7fff7c92aaf0, a=3D0x7f2c7bafc050, = msg=3D0x7f2c7bc7e930) at action.c:1065 #22 0x000000000041c6e6 in run_actions (h=3D0x7fff7c92aaf0, a=3D0x7f2c7badc5d0= , msg=3D0x7f2c7bc7e930) at action.c:1573 #23 0x000000000041cd60 in run_top_route (a=3D0x7f2c7badc5d0, msg=3D0x7f2c7bc7= e930, c=3D) at action.c:1658 #24 0x000000000049f51e in receive_msg (buf=3D, len=3D, rcv_info=3D) at receive.c:211 #25 0x0000000000532306 in udp_rcv_loop () at udp_server.c:557 #26 0x0000000000467a7a in main_loop () at main.c:1638 #27 0x000000000046a912 in main (argc=3D, argv=3D) at main.c:2566 (gdb)=C2=A0 flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISA= BLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, USE_FUTEX, = FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_= BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=3D1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_U= RI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown=C2=A0 compiled on 14:47:59 Dec =C2=A09 2013 with gcc 4.4.7 Output of `bt full` here: http://pastebin.com/3qY8B1eC Will upgrading to 4.0.5 solve this issue ?=C2=A0 Regards, Dragos --===============2144318446== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+PGJvZHk+PGRpdiBzdHlsZT0iY29sb3I6IzAwMDsgYmFja2dyb3VuZC1jb2xvcjojZmZm OyBmb250LWZhbWlseTpIZWx2ZXRpY2FOZXVlLCBIZWx2ZXRpY2EgTmV1ZSwgSGVsdmV0aWNhLCBB cmlhbCwgTHVjaWRhIEdyYW5kZSwgc2Fucy1zZXJpZjtmb250LXNpemU6MTBwdCI+PGRpdj48YnI+ PC9kaXY+PGRpdiBzdHlsZT0iY29sb3I6IHJnYigwLCAwLCAwKTsgZm9udC1zaXplOiAxM3B4OyBm b250LWZhbWlseTogSGVsdmV0aWNhTmV1ZSwgJ0hlbHZldGljY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===============2144318446==-- From carsten@ng-voice.com Mon Feb 10 11:13:13 2014 From: Carsten Bock To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git:4.1: presence: bugfix: Add option to disable per-Table lock for database layer Date: Mon, 10 Feb 2014 11:13:07 +0100 Message-ID: In-Reply-To: <21233.23672.919666.816537@tutpro.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1373003916==" --===============1373003916== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Juha, you're right... weird: I wonder, where i did see that. Carsten 2014-02-04 22:32 GMT+01:00 Juha Heinanen : > Carsten Bock writes: > >> all i can say is, that the locks make the presence module completely >> unusable with a MySQL backend in DB_ONLY mode. The current database layer >> will only lock the current table for a transaction, not all tables used >> during one transaction. And that results in an unusable database connectio= n. >> In order to change that, i'd have to the complete database API. .. >> The RLS-Module has a similar option already... > > What option is that? I could not find any lock related option in rls > module README. > > -- Juha > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev --=20 Carsten Bock CEO (Gesch=C3=A4ftsf=C3=BChrer) ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany http://www.ng-voice.com mailto:carsten(a)ng-voice.com Office +49 40 34927219 Fax +49 40 34927220 Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Gesch=C3=A4ftsf=C3=BChrer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/ --===============1373003916==-- From bugtracker@sip-router.org Mon Feb 10 12:04:31 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task opened: ws or wss port in kamailio.cfg file Date: Mon, 10 Feb 2014 11:04:29 +0000 Message-ID: <1392030269.52f8b23dd20a4@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0950576094==" --===============0950576094== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below.=20 User who did this - Jagdish Bairagi (jagdish020586)=20 Attached to Project - sip-router Summary - ws or wss port in kamailio.cfg file Task Type - Bug Report Category - Core Status - Unconfirmed Assigned To -=20 Operating System - All Severity - Low Priority - Normal Reported Version - Development Due in Version - Undecided Due Date - Undecided Details - i can't add ws or wss port in kamailio.cfg file, what is the syntex= for that.. More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D391 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0950576094==-- From bugtracker@sip-router.org Mon Feb 10 12:06:49 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task closed: ws or wss port in kamailio.cfg file Date: Mon, 10 Feb 2014 11:06:47 +0000 Message-ID: <1392030407.52f8b2c7a097c@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1206201691==" --===============1206201691== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task is now closed: FS#391 - ws or wss port in kamailio.cfg file User who did this - V=C3=ADctor Seva (linuxmaniac) Reason for closing: Not a bug Additional comments about closing: Please ask on the user mail list. More information can be found at the following URL: https://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D391 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1206201691==-- From bugtracker@sip-router.org Mon Feb 10 12:14:01 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task opened: websocket WS / WSS port support Date: Mon, 10 Feb 2014 11:13:50 +0000 Message-ID: <1392030830.52f8b46ec5be6@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1148768874==" --===============1148768874== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below.=20 User who did this - Jagdish Bairagi (jagdish020586)=20 Attached to Project - sip-router Summary - websocket WS / WSS port support Task Type - Feature Request Category - Module Status - Unconfirmed Assigned To -=20 Operating System - Linux Severity - High Priority - Normal Reported Version - Development Due in Version - Undecided Due Date - Undecided Details - Please enable feature so that we can specify WS / WSS port to kamai= lio server More information can be found at the following URL: https://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D392 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============1148768874==-- From bugtracker@sip-router.org Mon Feb 10 12:33:53 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task closed: websocket WS / WSS port support Date: Mon, 10 Feb 2014 11:33:51 +0000 Message-ID: <1392032031.52f8b91faf006@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0127225223==" --===============0127225223== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task is now closed: FS#392 - websocket WS / WSS port support User who did this - V=C3=ADctor Seva (linuxmaniac) Reason for closing: Not a bug Additional comments about closing: really? [0] [0] https://www.google.at/search?q=3Dwebsocket+kamailio+example+config More information can be found at the following URL: https://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D392 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0127225223==-- From coyote@bks.tv Mon Feb 10 15:42:08 2014 From: "Victor V. Kustov" To: sr-dev@lists.kamailio.org Subject: [sr-dev] FreeBSD rc-file Date: Mon, 10 Feb 2014 18:41:54 +0400 Message-ID: <20140210184154.7a5ace2c@bkstv> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0946003735==" --===============0946003735== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi all! Here modern FreeBSD rc-file attached. Provide start/stop/restart and checkconfig. -- WBR, Victor JID: coyote(a)bks.tv JID: coyote(a)bryansktel.ru I use FREE operation system: 3.12.9-calculate GNU/Linux --===============0946003735== Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kamailio.bin" MIME-Version: 1.0 IyEvYmluL3NoCgojIFBST1ZJREU6IGthbWFpbGlvCiMgUkVRVUlSRTogTE9HSU4KIyBLRVlXT1JE OiBzaHV0ZG93bgojCiMgQWRkIHRoZSBmb2xsb3dpbmcgbGluZXMgdG8gL2V0Yy9yYy5jb25mIHRv IGVuYWJsZSBrYW1haWxpbzoKIwojIGthbWFpbGlvX2VuYWJsZT0iWUVTIgojCgouIC9ldGMvcmMu c3VicgoKbmFtZT1rYW1haWxpbwpyY3Zhcj1rYW1haWxpb19lbmFibGUKCmxvYWRfcmNfY29uZmln ICRuYW1lCjogJHtrYW1haWxpb19lbmFibGU9Ik5PIn0KOiAke2thbWFpbGlvX2NvbmY9Ii91c3Iv bG9jYWwvZXRjL2thbWFpbGlvL2thbWFpbGlvLmNmZyJ9CjogJHtrYW1haWxpb19waWRmaWxlPSIv dmFyL3J1bi8ke25hbWV9LnBpZCJ9CgprYW1haWxpb19mbGFncz0iJHtrYW1haWxpb19mbGFnc30g LWYgJHtrYW1haWxpb19jb25mfSAtUCAke2thbWFpbGlvX3BpZGZpbGV9IgoKY29tbWFuZD0iL3Vz ci9sb2NhbC9zYmluL2thbWFpbGlvIgpleHRyYV9jb21tYW5kcz0iY2hlY2tjb25maWciCmNoZWNr Y29uZmlnX2NtZD0iY2hlY2tjb25maWciCgpjaGVja2NvbmZpZygpCnsKICAgIGVjaG8gIlBlcmZv cm1pbmcgc2FuaXR5IGNoZWNrIG9uICR7bmFtZX0gY29uZmlnIGZpbGU6IgogICAgZXZhbCAke2Nv bW1hbmR9IC1jIC1mICR7a2FtYWlsaW9fY29uZn0KfQoKcnVuX3JjX2NvbW1hbmQgIiQxIiAK --===============0946003735==-- From bugtracker@sip-router.org Mon Feb 10 15:57:11 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task opened: kamailio crashed time to time in the different places Date: Mon, 10 Feb 2014 14:57:09 +0000 Message-ID: <1392044229.52f8e8c501242@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0768273660==" --===============0768273660== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below.=20 User who did this - Sergey (lagutas)=20 Attached to Project - sip-router Summary - kamailio crashed time to time in the different places Task Type - Bug Report Category - Core Status - Unconfirmed Assigned To -=20 Operating System - Linux Severity - Critical Priority - Normal Reported Version - 4.0 Due in Version - Undecided Due Date - Undecided Details - #0 auth_check (_m=3D0x7fbfdc7be4e0, _realm=3D, _table= =3D0x7fbfdc7d1240 "\300\305x=DC=BF\177", _flags=3D0x7fbfdc7d12a0 "\300\357x=DC=BF\177") at authorize.c:487 #1 0x000000000041777d in do_action (h=3D, a=3D0x7fbfdc7= 90cd0, msg=3D) at action.c:1092 #2 0x000000000041f056 in run_actions (h=3D0x7fff0dc6ea40, a=3D, msg=3D) at action.c:1573 #3 0x000000000041f744 in run_actions_safe (h=3D0x7fff0dc70340, a=3D0x40, msg= =3D0x80) at action.c:1637 #4 0x00000000004bf03d in rval_get_int (h=3D0x7fff0dc70340, msg=3D0x7fbfdc7df= c30, i=3D0x7fff0dc6ee3c, rv=3D0x40, cache=3D0x4) at rvalue.c:920 #5 0x00000000004c37e4 in rval_expr_eval_int (h=3D0x7fff0dc70340, msg=3D0x7fb= fdc7be4e0, res=3D0x7fff0dc6ee3c, rve=3D0x7fbfdc791990) at rvalue.c:1914 #6 0x00000000004c38a9 in rval_expr_eval_int (h=3D0x7fff0dc70340, msg=3D0x7fb= fdc7be4e0, res=3D0x7fff0dc6f2a8, rve=3D0x7fbfdc7912b0) at rvalue.c:1922 #7 0x0000000000417f42 in do_action (h=3D, a=3D0x7fbfdc7= 92a50, msg=3D) at action.c:1050 #8 0x000000000041f056 in run_actions (h=3D0x7fff0dc70340, a=3D, msg=3D) at action.c:1573 #9 0x0000000000417f9b in do_action (h=3D, a=3D0x7fbfdc7= 97ac0, msg=3D) at action.c:1065 #10 0x000000000041f056 in run_actions (h=3D0x7fff0dc70340, a=3D, msg=3D) at action.c:1573 #11 0x0000000000417f9b in do_action (h=3D, a=3D0x7fbfdc7= 97bc0, msg=3D) at action.c:1065 #12 0x000000000041f056 in run_actions (h=3D0x7fff0dc70340, a=3D, msg=3D) at action.c:1573 #13 0x0000000000418108 in do_action (h=3D, a=3D0x7fbfdc7= 119d0, msg=3D) at action.c:690 #14 0x000000000041f056 in run_actions (h=3D0x7fff0dc70340, a=3D, msg=3D) at action.c:1573 #15 0x000000000041f6d0 in run_top_route (a=3D0x7fbfdc70c9f0, msg=3D0x7fbfdc7b= e4e0, c=3D) at action.c:1658 #16 0x00000000004a0296 in receive_msg ( buf=3D0x8d4140 "REGISTER sip:sip.zadarma.com SIP/2.0\r\nVia: SIP/2.0/UDP = 213.190.215.57:49153;branch=3Dz9hG4bKqHGvdzYD7eXTadvH;rport\r\nContact: ;rinstance=3DF3C3D830;expires=3D600\r\nMax-Forwa= rds"..., len=3D, rcv_info=3D0x7fff0dc705e0) at receive.c:209 #17 0x00000000005321be in udp_rcv_loop () at udp_server.c:557 #18 0x0000000000468c8e in main_loop () at main.c:1638 #19 0x000000000046bba2 in main (argc=3D, argv=3D0x0) at = main.c:2566=E2=80=8F segfault moment auth_check (_m=3D0x7f0bb1458a40, _realm=3D, _table=3D0x7= f0bb147cc50 "\300\365B\261\v\177", _flags=3D0x7f0bb147ccb0 "\300\037C\261\v\177") at authorize.c:487 srealm =3D {s =3D 0x7f0bb1432020 "sip.zadarma.com", len =3D 15} stable =3D {s =3D 0x7f0bb142f5c0 "sip_buddies", len =3D 11} iflags =3D ret =3D hdr =3D 0x7f0bb1471d50 uri =3D turi =3D furi =3D __FUNCTION__ =3D "auth_check" These crashes happen in the auth, sometimes in the time to receive OPTIONS me= ssages. Version of my kamailio installation 4.0.3 Server:: kamailio (4.0.3 (x86_64/linux)) Build:: mi_core.c compiled on 17:07:17 Aug 19 2013 with gcc 4.4.5 Flags:: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DIS= ABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, USE_FUTEX,= FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST= _BLACKLIST, HAVE_RESOLV_RES UsrLoc Stats: usrloc:location-contacts =3D 3166 usrloc:location-expires =3D 1558 usrloc:location-users =3D 3042 usrloc:registered_users =3D 3042 Transaction Statistics: tmx:UAS_transactions =3D 14993 tmx:UAC_transactions =3D 517 tmx:inuse_transactions =3D 32 Stateless Server Statistics: sl:sent_replies =3D 291243 sl:sent_err_replies =3D 0 sl:received_ACKs =3D 3807 Operation system debian squeeze. =20 More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D393 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0768273660==-- From richard.good@smilecoms.com Mon Feb 10 17:06:12 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/ims_registrar_pcscf: Add domain unlock to prevent deadlock when processing notifies Date: Mon, 10 Feb 2014 17:06:11 +0100 Message-ID: <20140210160611.94E4CEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0755382618==" --===============0755382618== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 3630f36c1e34562e93267d87f9e83a69cf8dd861 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D3630f36c1e34562e93267d87f9e83a69cf8dd861 Author: Richard Good Committer: Richard Good Date: Mon Feb 10 18:05:12 2014 +0200 modules/ims_registrar_pcscf: Add domain unlock to prevent deadlock when proce= ssing notifies --- modules/ims_registrar_pcscf/notify.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/modules/ims_registrar_pcscf/notify.c b/modules/ims_registrar_pcs= cf/notify.c index 719f1dc..67f03ac 100644 --- a/modules/ims_registrar_pcscf/notify.c +++ b/modules/ims_registrar_pcscf/notify.c @@ -106,7 +106,8 @@ int process_contact(udomain_t * _d, int expires, str cont= act_uri, int contact_st if (ul.get_pcontact(_d, &contact_uri, &pcontact) !=3D 0) { //contact does n= ot exist if (contact_state =3D=3D STATE_TERMINATED) { LM_DBG("This contact: <%.*s> is in state terminated and is not in usrloc, = ignore\n", contact_uri.len, contact_uri.s); - return 1; + ret =3D RESULT_CONTACTS_FOUND; + goto done; } LM_DBG("This contact: <%.*s> is in state active and is not in usrloc so ad= ding it to usrloc, expires: %d which is in %d seconds\n", contact_uri.len, co= ntact_uri.s, expires, expires-local_time_now); if (ul.insert_pcontact(_d, &contact_uri, &ci, &pcontact) !=3D 0) { --===============0755382618==-- From bugtracker@sip-router.org Mon Feb 10 19:10:07 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Comment added: dlg_end_dlg on a two-armed proxy only sends bye to one party Date: Mon, 10 Feb 2014 18:10:05 +0000 Message-ID: <1392055805.52f915fdaa4af@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0003220975==" --===============0003220975== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#382 - dlg_end_dlg on a two-armed proxy only sends bye to one party User who did this - Per Carlen (peca) ---------- It was already in there. Sorry. ---------- More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=3Ddetails&task_id=3D382#comment1294 You are receiving this message because you have requested it from the Flyspra= y bugtracking system. If you did not expect this message or don't want to re= ceive mails in future, you can change your notification settings at the URL s= hown above. --===============0003220975==-- From osas@voipembedded.com Tue Feb 11 01:42:28 2014 From: Ovidiu Sas To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: htable: fix crash if key_value is not string Date: Tue, 11 Feb 2014 01:42:28 +0100 Message-ID: <20140211004228.2A3CBEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1841376070==" --===============1841376070== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 065439c0fbabe2806fcd615cec5e2445db59beec URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D065439c0fbabe2806fcd615cec5e2445db59beec Author: Ovidiu Sas Committer: Ovidiu Sas Date: Mon Feb 10 19:41:20 2014 -0500 htable: fix crash if key_value is not string --- modules/htable/ht_db.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/modules/htable/ht_db.c b/modules/htable/ht_db.c index 0dc512a..280e08a 100644 --- a/modules/htable/ht_db.c +++ b/modules/htable/ht_db.c @@ -261,6 +261,11 @@ int ht_db_load_table(ht_t *ht, str *dbtable, int mode) hname =3D kname; } vtype =3D RES_ROWS(db_res)[i].values[2].val.int_val; + if (RES_ROWS(db_res)[i].values[3].type !=3D DB1_STRING) { + LM_ERR("Wrong db type [%d] for key_value column\n", + RES_ROWS(db_res)[i].values[3].type); + goto error; + } kvalue.s =3D (char*)(RES_ROWS(db_res)[i].values[3].val.string_val); if(kvalue.s=3D=3DNULL) { LM_ERR("null value in row %d\n", i); --===============1841376070==-- From osas@voipembedded.com Tue Feb 11 01:43:13 2014 From: Ovidiu Sas To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.1: htable: fix crash if key_value is not string Date: Tue, 11 Feb 2014 01:43:12 +0100 Message-ID: <20140211004312.A7C4AEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2110053761==" --===============2110053761== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.1 Commit: 80c70b7d423c3e137a7c7610928abc20fdc9a647 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D80c70b7d423c3e137a7c7610928abc20fdc9a647 Author: Ovidiu Sas Committer: Ovidiu Sas Date: Mon Feb 10 19:41:20 2014 -0500 htable: fix crash if key_value is not string (cherry picked from commit 065439c0fbabe2806fcd615cec5e2445db59beec) --- modules/htable/ht_db.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/modules/htable/ht_db.c b/modules/htable/ht_db.c index 0dc512a..280e08a 100644 --- a/modules/htable/ht_db.c +++ b/modules/htable/ht_db.c @@ -261,6 +261,11 @@ int ht_db_load_table(ht_t *ht, str *dbtable, int mode) hname =3D kname; } vtype =3D RES_ROWS(db_res)[i].values[2].val.int_val; + if (RES_ROWS(db_res)[i].values[3].type !=3D DB1_STRING) { + LM_ERR("Wrong db type [%d] for key_value column\n", + RES_ROWS(db_res)[i].values[3].type); + goto error; + } kvalue.s =3D (char*)(RES_ROWS(db_res)[i].values[3].val.string_val); if(kvalue.s=3D=3DNULL) { LM_ERR("null value in row %d\n", i); --===============2110053761==-- From osas@voipembedded.com Tue Feb 11 01:43:53 2014 From: Ovidiu Sas To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:4.0: htable: fix crash if key_value is not string Date: Tue, 11 Feb 2014 01:43:53 +0100 Message-ID: <20140211004353.64CE8EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1434015314==" --===============1434015314== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: 4.0 Commit: 9c2b372615705199805186b6bc3346fbbfaea670 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D9c2b372615705199805186b6bc3346fbbfaea670 Author: Ovidiu Sas Committer: Ovidiu Sas Date: Mon Feb 10 19:41:20 2014 -0500 htable: fix crash if key_value is not string (cherry picked from commit 065439c0fbabe2806fcd615cec5e2445db59beec) --- modules/htable/ht_db.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/modules/htable/ht_db.c b/modules/htable/ht_db.c index 0dc512a..280e08a 100644 --- a/modules/htable/ht_db.c +++ b/modules/htable/ht_db.c @@ -261,6 +261,11 @@ int ht_db_load_table(ht_t *ht, str *dbtable, int mode) hname =3D kname; } vtype =3D RES_ROWS(db_res)[i].values[2].val.int_val; + if (RES_ROWS(db_res)[i].values[3].type !=3D DB1_STRING) { + LM_ERR("Wrong db type [%d] for key_value column\n", + RES_ROWS(db_res)[i].values[3].type); + goto error; + } kvalue.s =3D (char*)(RES_ROWS(db_res)[i].values[3].val.string_val); if(kvalue.s=3D=3DNULL) { LM_ERR("null value in row %d\n", i); --===============1434015314==-- From jason.penton@gmail.com Tue Feb 11 06:54:18 2014 From: Jason Penton To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/ims_usrloc_pcscf: added new hash storage based on IP: PORT. backwards compatible with original scheme using new modparam Date: Tue, 11 Feb 2014 06:54:17 +0100 Message-ID: <20140211055418.02D36EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1971572854==" --===============1971572854== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 5b7255d8861d699903692f1457e3e60d9f39837c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D5b7255d8861d699903692f1457e3e60d9f39837c Author: Jason Penton Committer: Jason Penton Date: Tue Feb 11 07:52:50 2014 +0200 modules/ims_usrloc_pcscf: added new hash storage based on IP:PORT. backwards = compatible with original scheme using new modparam - new modparam is hashing_type - see module documentation --- .../doc/ims_usrloc_pcscf_admin.xml | 50 ++++++++++++++++ modules/ims_usrloc_pcscf/pcontact.c | 13 ++++- modules/ims_usrloc_pcscf/pcontact.h | 3 + modules/ims_usrloc_pcscf/udomain.c | 55 ++++++++++++++++- modules/ims_usrloc_pcscf/ul_mod.c | 4 +- modules/ims_usrloc_pcscf/usrloc.c | 61 ++++++++++++++++++= ++ modules/ims_usrloc_pcscf/usrloc.h | 2 + 7 files changed, 182 insertions(+), 6 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D5b7255d8861d699903692f1457e3e60d9f39837c --===============1971572854==-- From richard.good@smilecoms.com Tue Feb 11 07:45:09 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/ims_qos: use asserted_identity for subscription-id and allow e164 as subscription type Date: Tue, 11 Feb 2014 07:45:08 +0100 Message-ID: <20140211064508.4F7C2EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1818384667==" --===============1818384667== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 532459374af8354c030fdce8ff837beab793be6c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D532459374af8354c030fdce8ff837beab793be6c Author: Richard Good Committer: Richard Good Date: Tue Feb 11 08:41:27 2014 +0200 modules/ims_qos: use asserted_identity for subscription-id and allow e164 as = subscription type use p_asserted_identity as default subscription-id for AAR requests allow E164 to be used as subscription type for AAR requests --- modules/ims_qos/rx_aar.c | 54 ++++++++++++++++++++++++++++++--------------- 1 files changed, 36 insertions(+), 18 deletions(-) diff --git a/modules/ims_qos/rx_aar.c b/modules/ims_qos/rx_aar.c index b5e7293..69d04c0 100644 --- a/modules/ims_qos/rx_aar.c +++ b/modules/ims_qos/rx_aar.c @@ -412,8 +412,9 @@ int rx_send_aar(struct sip_msg *req, struct sip_msg *res, =20 AAAMessage* aar =3D 0; =20 - - //AAAMessage* aaa =3D 0; + =20 + str identifier; + int identifier_type; =20 =20 AAA_AVP* avp =3D 0; @@ -488,15 +489,38 @@ int rx_send_aar(struct sip_msg *req, struct sip_msg *re= s, } =20 LM_DBG("Adding subscription id...\n"); - /* Add Subscription ID AVP*/ - int identifier_type =3D AVP_Subscription_Id_Type_SIP_URI; //we only do I= MPU now - //to get the SIP URI I use the dlg direction - if its mo I get the from = uri from the req, if its mt I get the to uri from the req - str identifier; + //if its mo we use p_asserted_identity in request - if that not there we= use from_uri + //if its mt we use p_asserted_identity in reply - if that not there we u= se to_uri + =20 if (dlg_direction =3D=3D DLG_MOBILE_ORIGINATING) { - cscf_get_from_uri(req, &identifier); + LM_DBG("originating direction\n"); + if ((identifier =3D cscf_get_asserted_identity(req)).len =3D=3D 0) { + LM_DBG("No P-Asserted-Identity hdr found in request. Using From hdr in = req"); + + if (!cscf_get_from_uri(req, &identifier)) { + LM_ERR("Error assigning P-Asserted-Identity using From hdr in req"); + goto error; + } + } } else { - cscf_get_to_uri(req, &identifier); - } + LM_DBG("terminating direction\n"); + if ((identifier =3D cscf_get_asserted_identity(res)).len =3D=3D 0) { + LM_DBG("No P-Asserted-Identity hdr found in response. Using To hdr in r= esp"); + + if (!cscf_get_to_uri(res, &identifier)) { + LM_ERR("Error assigning P-Asserted-Identity using To hdr in resp"); + goto error; + } + } + } + =20 + if (strncasecmp(identifier.s,"tel:",4)=3D=3D0) { + identifier_type =3D AVP_Subscription_Id_Type_E164; // + }else{ + identifier_type =3D AVP_Subscription_Id_Type_SIP_URI; //default is END_USER= _SIP_URI + } + =20 + =20 rx_add_subscription_id_avp(aar, identifier, identifier_type); =20 LM_DBG("Adding reservation priority...\n"); @@ -552,14 +576,6 @@ int rx_send_aar(struct sip_msg *req, struct sip_msg *res, =20 return ret; =20 - // LM_DBG("sending AAR to PCRF\n"); - // if (rx_forced_peer.len) - // aaa =3D cdpb.AAASendRecvMessageToPeer(aar, &rx_forced_peer); - // else - // aaa =3D cdpb.AAASendRecvMessage(aar); - // - // return aaa; - error: LM_ERR("unexpected error\n"); if (aar) @@ -587,6 +603,7 @@ int rx_send_aar_register(struct sip_msg *msg, AAASession*= auth, str *ip, int ret =3D 0; AAA_AVP* avp =3D 0; char x[4]; + str identifier; =20 LM_DBG("Send AAR register\n"); =20 @@ -614,8 +631,9 @@ int rx_send_aar_register(struct sip_msg *msg, AAASession*= auth, str *ip, } =20 /* Add Subscription ID AVP*/ - str identifier; - cscf_get_from_uri(msg, &identifier); + =20 + identifier =3D cscf_get_public_identity(msg); + =20 int identifier_type =3D AVP_Subscription_Id_Type_SIP_URI; //we only do I= MPU now rx_add_subscription_id_avp(aar, identifier, identifier_type); =20 --===============1818384667==-- From richard.good@smilecoms.com Tue Feb 11 07:45:09 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/ims_charging: allow E164 to be used as subscription-type in CCR requests Date: Tue, 11 Feb 2014 07:45:08 +0100 Message-ID: <20140211064508.DABC5EF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1966774036==" --===============1966774036== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: b6abf075448de90a7b135dfa42e58fa61255ca2e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Db6abf075448de90a7b135dfa42e58fa61255ca2e Author: Richard Good Committer: Richard Good Date: Tue Feb 11 08:44:26 2014 +0200 modules/ims_charging: allow E164 to be used as subscription-type in CCR reque= sts --- modules/ims_charging/ims_ro.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/ims_charging/ims_ro.c b/modules/ims_charging/ims_ro.c index 72a6fe5..da2e3d8 100644 --- a/modules/ims_charging/ims_ro.c +++ b/modules/ims_charging/ims_ro.c @@ -458,10 +458,15 @@ Ro_CCR_t * dlg_create_ro_session(struct sip_msg * req, = struct sip_msg * reply, A event_type =3D 0; time_stamps =3D 0; =20 - subscr.type =3D Subscription_Type_IMPU; + =20 subscr.id.s =3D from_uri.s; subscr.id.len =3D from_uri.len; - + if (strncasecmp(subscr.id.s,"tel:",4)=3D=3D0) { + subscr.type =3D Subscription_Type_MSISDN; + }else{ + subscr.type =3D Subscription_Type_IMPU; //default is END_USER_SIP_URI + } + =20 ro_ccr_data =3D new_Ro_CCR(acc_record_type, &user_name, ims_info, &subsc= r); if (!ro_ccr_data) { LM_ERR("dlg_create_ro_session: no memory left for generic\n"); --===============1966774036==-- From richard.good@smilecoms.com Tue Feb 11 07:52:56 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: lib/ims: added function to get Called-Party_ID AVP from message Date: Tue, 11 Feb 2014 07:52:55 +0100 Message-ID: <20140211065255.CA8FBEF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0451514916==" --===============0451514916== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 12d0feed38cd036cbc0e7c9f0c0c540d0e9eca4a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D12d0feed38cd036cbc0e7c9f0c0c540d0e9eca4a Author: Richard Good Committer: Richard Good Date: Tue Feb 11 08:48:34 2014 +0200 lib/ims: added function to get Called-Party_ID AVP from message --- lib/ims/ims_getters.c | 38 ++++++++++++++++++++++++++++++++++++++ lib/ims/ims_getters.h | 8 ++++++++ 2 files changed, 46 insertions(+), 0 deletions(-) diff --git a/lib/ims/ims_getters.c b/lib/ims/ims_getters.c index a41cd31..fb8598c 100644 --- a/lib/ims/ims_getters.c +++ b/lib/ims/ims_getters.c @@ -1473,3 +1473,41 @@ int cscf_get_cseq(struct sip_msg *msg,struct hdr_field= **hr) return nr; } =20 +static str s_called_party_id=3D{"P-Called-Party-ID",17}; +/** + * Looks for the P-Called-Party-ID header and extracts its content. + * @param msg - the sip message + * @param hr - ptr to return the found hdr_field=20 + * @returns the P-Called_Party-ID + */ +str cscf_get_called_party_id(struct sip_msg *msg,struct hdr_field **hr) +{ + str id=3D{0,0}; + struct hdr_field *h; + if (hr) *hr=3D0; + if (!msg) return id; + if (parse_headers(msg, HDR_EOH_F, 0)<0) { + return id; + } + h =3D msg->headers; + while(h) + { + if (h->name.len =3D=3D s_called_party_id.len && + strncasecmp(h->name.s,s_called_party_id.s,s_called_party_id.len)=3D=3D0) + { + id =3D h->body; + while(id.len && (id.s[0]=3D=3D' ' || id.s[0]=3D=3D'\t' || id.s[0]=3D=3D'<= ')){ + id.s =3D id.s+1; + id.len --; + } + while(id.len && (id.s[id.len-1]=3D=3D' ' || id.s[id.len-1]=3D=3D'\t' || i= d.s[id.len-1]=3D=3D'>')){ + id.len--; + }=09 + if (hr) *hr =3D h; + return id; + } + h =3D h->next; + } + return id; +} + diff --git a/lib/ims/ims_getters.h b/lib/ims/ims_getters.h index e78310f..0b01ffc 100644 --- a/lib/ims/ims_getters.h +++ b/lib/ims/ims_getters.h @@ -418,5 +418,13 @@ int cscf_add_header_rpl(struct sip_msg *msg, str *hdr); */ int cscf_get_cseq(struct sip_msg *msg,struct hdr_field **hr); =20 +/** + * Looks for the P-Called-Party-ID header and extracts its content. + * @param msg - the sip message + * @param hr - ptr to return the found hdr_field=20 + * @returns the P-Called_Party-ID + */ +str cscf_get_called_party_id(struct sip_msg *msg,struct hdr_field **hr); + #endif =20 --===============0451514916==-- From richard.good@smilecoms.com Tue Feb 11 07:52:56 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/ims_registrar_pcscf: Added new exported function pcscf_assert_called_identity Date: Tue, 11 Feb 2014 07:52:55 +0100 Message-ID: <20140211065255.DFDDEEF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0288410042==" --===============0288410042== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: b1d0d33276071f6c69d5cb2215a7b2b1e044764d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Db1d0d33276071f6c69d5cb2215a7b2b1e044764d Author: Richard Good Committer: Richard Good Date: Tue Feb 11 08:49:44 2014 +0200 modules/ims_registrar_pcscf: Added new exported function pcscf_assert_called_= identity pcscf_assert_called_identity function used to assert the identity for SIP re= sponses Function retrieves Called-Party-ID AVP from SIP request and adds to SIP resp= onse as P-Asserted-Identity as per TS 24.229 section 5.2.6.4.4 --- modules/ims_registrar_pcscf/reg_mod.c | 8 ++- modules/ims_registrar_pcscf/save.h | 1 + modules/ims_registrar_pcscf/service_routes.c | 85 ++++++++++++++++++++++--- modules/ims_registrar_pcscf/service_routes.h | 5 ++ 4 files changed, 87 insertions(+), 12 deletions(-) diff --git a/modules/ims_registrar_pcscf/reg_mod.c b/modules/ims_registrar_pc= scf/reg_mod.c index 7aa000f..ff622ff 100644 --- a/modules/ims_registrar_pcscf/reg_mod.c +++ b/modules/ims_registrar_pcscf/reg_mod.c @@ -104,6 +104,7 @@ static int w_is_registered(struct sip_msg* _m, char* _d, = char* _foo); static int w_reginfo_handle_notify(struct sip_msg* _m, char* _d, char* _foo); =20 static int w_assert_identity(struct sip_msg* _m, char* _d, char* _preferred_= uri); +static int w_assert_called_identity(struct sip_msg* _m, char* _d, char* _foo= ); =20 /*! \brief Fixup functions */ static int domain_fixup(void** param, int param_no); @@ -131,9 +132,10 @@ static cmd_export_t cmds[] =3D { {"pcscf_follows_service_routes", (cmd_function)w_follows_service_routes, = 1, save_fixup2, 0, REQUEST_ROUTE }, {"pcscf_force_service_routes", (cmd_function)w_force_service_routes, = 1, save_fixup2, 0, REQUEST_ROUTE }, =20 - {"pcscf_is_registered", (cmd_function)w_is_registered, 1, save_fix= up2, 0, REQUEST_ROUTE }, + {"pcscf_is_registered", (cmd_function)w_is_registered, 1, save_fix= up2, 0, REQUEST_ROUTE|ONREPLY_ROUTE }, =20 {"pcscf_assert_identity", (cmd_function)w_assert_identity, 2, assert= _identity_fixup, 0, REQUEST_ROUTE }, + {"pcscf_assert_called_identity", (cmd_function)w_assert_called_identity, = 1, assert_identity_fixup, 0, ONREPLY_ROUTE }, =20 {"reginfo_handle_notify", (cmd_function)w_reginfo_handle_notify, 1, domain_= fixup, 0, REQUEST_ROUTE}, =09 @@ -416,6 +418,10 @@ static int w_assert_identity(struct sip_msg* _m, char* _= d, char* _preferred_uri) return assert_identity( _m, (udomain_t*)_d, identity); } =20 +static int w_assert_called_identity(struct sip_msg* _m, char* _d, char* _foo= ) { + return assert_called_identity( _m, (udomain_t*)_d); +} + /* * Get the asserted Identity for the current user */ diff --git a/modules/ims_registrar_pcscf/save.h b/modules/ims_registrar_pcscf= /save.h index f400145..d11d84b 100644 --- a/modules/ims_registrar_pcscf/save.h +++ b/modules/ims_registrar_pcscf/save.h @@ -56,6 +56,7 @@ int save(struct sip_msg* _m, udomain_t* _d, int _cflags); int save_pending(struct sip_msg* _m, udomain_t* _d); int unregister(struct sip_msg* _m, char* _d, char* _uri); +struct sip_msg* get_request_from_reply(struct sip_msg* reply); =20 =20 #endif /* SAVE_H */ diff --git a/modules/ims_registrar_pcscf/service_routes.c b/modules/ims_regis= trar_pcscf/service_routes.c index 937d152..452548a 100644 --- a/modules/ims_registrar_pcscf/service_routes.c +++ b/modules/ims_registrar_pcscf/service_routes.c @@ -22,6 +22,7 @@ =20 #include "service_routes.h" #include "reg_mod.h" +#include "save.h" #include "../../data_lump.h" #include "../../lib/ims/ims_getters.h" =20 @@ -418,25 +419,31 @@ str * get_asserted_identity(struct sip_msg* _m) { } =20 /** - * Add proper asserted identies based on registration + * checked if passed identity is an asserted identity */ int assert_identity(struct sip_msg* _m, udomain_t* _d, str identity) { // Public identities of this contact struct ppublic * p; - + //remove <> braces if there are + if(identity.s[0]=3D=3D'<' && identity.s[identity.len-1]=3D=3D'>') { + identity.s++; + identity.len -=3D 2; + } + LM_DBG("Identity to assert: %.*s\n", identity.len, identity.s); +=09 if (getContactP(_m, _d) !=3D NULL) { for (p =3D c->head; p; p =3D p->next) { LM_DBG("Public identity: %.*s\n", p->public_identity.len, p->public_ident= ity.s); - /* Check length: */ - if (identity.len =3D=3D p->public_identity.len) { - /* Check contents: */ - if (strncasecmp(identity.s, p->public_identity.s, identity.len) =3D=3D 0= ) { - LM_DBG("Match!\n"); - return 1; - } - } else LM_DBG("Length does not match.\n"); + /* Check length: */ + if (identity.len =3D=3D p->public_identity.len) { + /* Check contents: */ + if (strncasecmp(identity.s, p->public_identity.s, identity.len) =3D= =3D 0) { + LM_DBG("Match!\n"); + return 1; + } + } else LM_DBG("Length does not match.\n"); + } } - } LM_WARN("Contact not found based on Contact, trying IP/Port/Proto\n"); str received_host =3D {0, 0}; char srcip[50];=09 @@ -449,3 +456,59 @@ int assert_identity(struct sip_msg* _m, udomain_t* _d, s= tr identity) { return 1; } =20 + +/** + * Add proper asserted identities based on registration + */ + +static str p_asserted_identity_s=3D{"P-Asserted-Identity: ",21}; +static str p_asserted_identity_m=3D{"<",1}; +static str p_asserted_identity_e=3D{">\r\n",3}; + +int assert_called_identity(struct sip_msg* _m, udomain_t* _d) { +=09 + int ret=3DCSCF_RETURN_FALSE; + str called_party_id=3D{0,0},x=3D{0,0}; + struct sip_msg* req; + struct hdr_field *h=3D0; + =09 + //get request from reply + req =3D get_request_from_reply(_m); + if (!req) { + LM_ERR("Unable to get request from reply for REGISTER. No transaction\n"); + goto error; + } +=09 + called_party_id =3D cscf_get_called_party_id(req, &h); +=09 + =09 + if (!called_party_id.len){ + goto error;=09 + }else{ + LM_DBG("Called Party ID from request: %.*s\n", called_party_id.len, called= _party_id.s);=09 + x.len =3D p_asserted_identity_s.len+p_asserted_identity_m.len+called_party= _id.len+p_asserted_identity_e.len; + x.s =3D pkg_malloc(x.len); + if (!x.s){ + LM_ERR("P_assert_called_identity: Error allocating %d bytes\n", x.len); + x.len=3D0; + goto error; =09 + } + x.len=3D0; + STR_APPEND(x,p_asserted_identity_s); + STR_APPEND(x,p_asserted_identity_m); + STR_APPEND(x,called_party_id); + STR_APPEND(x,p_asserted_identity_e); + =09 + if (cscf_add_header(_m,&x,HDR_OTHER_T)) + ret =3D CSCF_RETURN_TRUE; + else + goto error; + } +=09 + return ret; +=09 +error: + ret=3DCSCF_RETURN_FALSE; + return ret; +} + diff --git a/modules/ims_registrar_pcscf/service_routes.h b/modules/ims_regis= trar_pcscf/service_routes.h index dc7aef7..f9db932 100644 --- a/modules/ims_registrar_pcscf/service_routes.h +++ b/modules/ims_registrar_pcscf/service_routes.h @@ -51,4 +51,9 @@ str * get_asserted_identity(struct sip_msg* _m); */ int assert_identity(struct sip_msg* _m, udomain_t* _d, str identity); =20 +/** + * Assert a given called identity of a user + */ +int assert_called_identity(struct sip_msg* _m, udomain_t* _d); + #endif /* SERVICE_ROUTES_H */ --===============0288410042==-- From richard.good@smilecoms.com Tue Feb 11 10:01:58 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 11:01:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0948159048==" --===============0948159048== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi I'm getting connection timed out when trying to do any git operations - is this just me or is git.sip-router.org unavailable? Regards Richard. This email is subject to the disclaimer of Smile Communications at http://www= .smilecoms.com/disclaimer --===============0948159048== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBkaXI9Imx0ciI+PGRpdj48ZGl2PkhpPGJyPjxicj48L2Rpdj5JJiMzOTttIGdldHRpbmcg Y29ubmVjdGlvbiB0aW1lZC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IHRoZSBkaXNjbGFpbWVyIG9mIFNtaWxlIENvbW11bmljYXRpb25zIGF0IGh0dHA6Ly93d3cuc21p bGVjb21zLmNvbS9kaXNjbGFpbWVyCg0= --===============0948159048==-- From miconda@gmail.com Tue Feb 11 14:00:23 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 14:00:13 +0100 Message-ID: <52FA1EDD.4050501@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1778636154==" --===============1778636154== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 11/02/14 10:01, Richard Good wrote: Hello, I cannot access it either. I am traveling and cannot look right now to=20 it. Maybe Jan or Henning can check it meanwhile. Cheers, Daniel > Hi > > I'm getting connection timed out when trying to do any git operations=20 > - is this just me or is git.sip-router.org =20 > unavailable? > > Regards > Richard. > > =09 > > > This email is subject to the disclaimer of Smile Communications at http://w= ww.smilecoms.com/disclaimer > > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > > --=20 Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============1778636154== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+CiAgPGhlYWQ+CiAgICA8bWV0YSBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9SVNP LTg4NTktMSIKICAgICAgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIj4KICA8L2hlYWQ+CiAgPGJv ZHkgdGV4dD0iIzAwMDAwMCIgYmdjb2xvcj0iI0ZGRkZGRiI+CiAgICA8ZGl2IGNsYXNzPSJtb3ot Y2l0ZS1wcmVmaXgiPk9uIDExLzAyLzE0IDEwOjAxLCBSaWNoYXJkIEdvb2Qgd3Jvd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aXI9Imx0ciI+CiAgICAgICAgICAgICAgICAgIDx0YWJsZSBzdHls ZT0id2lkdGg6NDUwcHQiIHdpZHRoPSI2MDAiIGJvcmRlcj0iMCIKICAgICAgICAgICAgICAgICAg ICBjZWxscGFkZGluZz0iMCIgY2VsbHNwYWNpbmc9IjAiPgogICAgICAgICAgICAgICAgICAgIDx0 Ym9keT4KICAgICAgICAgICAgICAgICAgICAgIDx0ciBzdHlsZT0ibWluLWhlaWdodDoxMC41cHQi PgogICAgICAgICAgICAgICAgICAgICAgICA8dGQgcm93c3Bhbj0iMyIKICAgICAgICAgICAgICAg ICAgICAgICAgICBzdHlsZT0id2lkdGg6MTczLjI1cHQ7cGFkZGluZzowY207bWluLWhlaWdodDox MC41cHQiCiAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsaWduPSJ0b3AiIHdpZHRoPSIyMzEi PgogICAgICAgICAgICAgICAgICAgICAgICAgIDxicj4KICAgICAgICAgICAgICAgICAgICAgICAg PC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPSJwYWRkaW5nOjBjbTttaW4t aGVpZ2h0OjEwLjVwdCIKICAgICAgICAgICAgICAgICAgICAgICAgICB2YWxpZ249InRvcCI+PGJy PgogICAgICAgICAgICAgICAgICAgICAgICA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgPC90 cj4KICAgICAgICAgICAgICAgICAgICAgIDx0ciBzdHlsZT0ibWluLWhlaWdodDo0Mi43NXB0Ij4K ICAgICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPSJwYWRkaW5nOjBjbTttaW4taGVpZ2h0 OjQyLjc1cHQiCiAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsaWduPSJ0b3AiPjxicj4KICAg ICAgICAgICAgICAgICAgICAgICAgICA8YnI+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+ CiAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+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L3ByZT4KCjwvcHJlPgogICAgPC9ibG9j a3F1b3RlPgogICAgPGJyPgogICAgPGJyPgogICAgPHByZSBjbGFzcz0ibW96LXNpZ25hdHVyZSIg Y29scz0iNzIiPi0tIApEYW5pZWwtQ29uc3RhbnRpbiBNaWVybGEgLSA8YSBjbGFzcz0ibW96LXR4 dC1saW5rLWZyZWV0ZXh0IiBocmVmPSJodHRwOi8vd3d3LmFzaXB0by5jb20iPmh0dHA6Ly93d3cu YXNpcHRvLmNvbTwvYT4KPGEgY2xhc3M9Im1vei10eHQtbGluay1mcmVldGV4dCIgaHJlZj0iaHR0 cDovL3R3aXR0ZXIuY29tLyMhL21pY29uZGEiPmh0dHA6Ly90d2l0dGVyLmNvbS8jIS9taWNvbmRh PC9hPiAtIDxhIGNsYXNzPSJtb3otdHh0LWxpbmstZnJlZXRleHQiIGhyZWY9Imh0dHA6Ly93d3cu bGlua2VkaW4uY29tL2luL21pY29uZGEiPmh0dHA6Ly93d3cubGlua2VkaW4uY29tL2luL21pY29u ZGE8L2E+PC9wcmU+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== --===============1778636154==-- From abalashov@evaristesys.com Tue Feb 11 19:18:40 2014 From: Alex Balashov To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 13:18:33 -0500 Message-ID: <52FA6979.3060109@evaristesys.com> In-Reply-To: <52FA1EDD.4050501@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1251752446==" --===============1251752446== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable It's definitely not accessible. On 02/11/2014 08:00 AM, Daniel-Constantin Mierla wrote: > On 11/02/14 10:01, Richard Good wrote: > Hello, > > I cannot access it either. I am traveling and cannot look right now to > it. Maybe Jan or Henning can check it meanwhile. > > Cheers, > Daniel > >> Hi >> >> I'm getting connection timed out when trying to do any git operations >> - is this just me or is git.sip-router.org >> unavailable? >> >> Regards >> Richard. >> >> =09 >> >> >> This email is subject to the disclaimer of Smile Communications athttp://w= ww.smilecoms.com/disclaimer >> >> >> >> _______________________________________________ >> sr-dev mailing list >> sr-dev(a)lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev >> >> > > > -- > Daniel-Constantin Mierla -http://www.asipto.com > http://twitter.com/#!/miconda -http://www.linkedin.com/in/miconda > > > > _______________________________________________ > sr-dev mailing list > sr-dev(a)lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > --=20 Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ --===============1251752446==-- From abalashov@evaristesys.com Tue Feb 11 19:30:40 2014 From: Alex Balashov To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 13:30:33 -0500 Message-ID: <52FA6C49.6050803@evaristesys.com> In-Reply-To: <52FA6979.3060109@evaristesys.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1611464494==" --===============1611464494== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit It seems to be back now. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ --===============1611464494==-- From miconda@gmail.com Tue Feb 11 19:33:42 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 19:33:32 +0100 Message-ID: <52FA6CFC.6090105@gmail.com> In-Reply-To: <52FA6C49.6050803@evaristesys.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1544412940==" --===============1544412940== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I succeeded to get access to the net and issue a reset of the server. Don't know yet what caused the trouble, logs have to be analyzed. Cheers, Daniel On 11/02/14 19:30, Alex Balashov wrote: > It seems to be back now. > -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============1544412940==-- From abalashov@evaristesys.com Tue Feb 11 19:34:56 2014 From: Alex Balashov To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 13:34:49 -0500 Message-ID: <52FA6D49.5050902@evaristesys.com> In-Reply-To: <52FA6CFC.6090105@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1477214895==" --===============1477214895== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Thank you. I'm due to give a presentation in an hour that involves a live checkout of the Kamailio source from Git, so it would have been quite inconvenient to have it down (although, if I had to, I could make do with the source tarball of 4.1.1). On 02/11/2014 01:33 PM, Daniel-Constantin Mierla wrote: > I succeeded to get access to the net and issue a reset of the server. > Don't know yet what caused the trouble, logs have to be analyzed. > > Cheers, > Daniel > > On 11/02/14 19:30, Alex Balashov wrote: >> It seems to be back now. >> > -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ --===============1477214895==-- From miconda@gmail.com Tue Feb 11 19:37:48 2014 From: Daniel-Constantin Mierla To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 19:37:40 +0100 Message-ID: <52FA6DF4.8000401@gmail.com> In-Reply-To: <52FA6D49.5050902@evaristesys.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1864193753==" --===============1864193753== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The clone on github is synchronized with every commit, in real time -- so it should be with the same content as the main git repo. Cheers, Daniel On 11/02/14 19:34, Alex Balashov wrote: > Thank you. I'm due to give a presentation in an hour that involves a > live checkout of the Kamailio source from Git, so it would have been > quite inconvenient to have it down (although, if I had to, I could > make do with the source tarball of 4.1.1). > > On 02/11/2014 01:33 PM, Daniel-Constantin Mierla wrote: > >> I succeeded to get access to the net and issue a reset of the server. >> Don't know yet what caused the trouble, logs have to be analyzed. >> >> Cheers, >> Daniel >> >> On 11/02/14 19:30, Alex Balashov wrote: >>> It seems to be back now. >>> >> > > -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda --===============1864193753==-- From abalashov@evaristesys.com Tue Feb 11 19:38:30 2014 From: Alex Balashov To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] git.sip-router.org down? Date: Tue, 11 Feb 2014 13:38:23 -0500 Message-ID: <52FA6E1F.2040501@evaristesys.com> In-Reply-To: <52FA6DF4.8000401@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0488452869==" --===============0488452869== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 02/11/2014 01:37 PM, Daniel-Constantin Mierla wrote: > The clone on github is synchronized with every commit, in real time -- > so it should be with the same content as the main git repo. That's true; I hadn't considered that. Thanks. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ --===============0488452869==-- From jh@tutpro.com Wed Feb 12 04:12:00 2014 From: Juha Heinanen To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/lcr: fixed name of ping_inactivate_threshold param in README Date: Wed, 12 Feb 2014 04:11:59 +0100 Message-ID: <20140212031200.059C7EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1078189034==" --===============1078189034== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 289c33fcaf2cc93dfad517c8b7bb2a9fcfb4b773 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D289c33fcaf2cc93dfad517c8b7bb2a9fcfb4b773 Author: Juha Heinanen Committer: Juha Heinanen Date: Wed Feb 12 05:11:03 2014 +0200 modules/lcr: fixed name of ping_inactivate_threshold param in README --- modules/lcr/README | 8 ++++---- modules/lcr/doc/lcr_admin.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/lcr/README b/modules/lcr/README index 733f59d..58268cf 100644 --- a/modules/lcr/README +++ b/modules/lcr/README @@ -64,7 +64,7 @@ Juha Heinanen 3.37. dont_strip_or_tag_flag (integer) 3.38. fetch_rows (integer) 3.39. ping_interval (integer) - 3.40. ping_inactive_threshold (integer) + 3.40. ping_inactivate_threshold (integer) 3.41. ping_valid_reply_codes (string) 3.42. ping_from (string) 3.43. ping_socket (string) @@ -199,7 +199,7 @@ Chapter 1. Admin Guide 3.37. dont_strip_or_tag_flag (integer) 3.38. fetch_rows (integer) 3.39. ping_interval (integer) - 3.40. ping_inactive_threshold (integer) + 3.40. ping_inactivate_threshold (integer) 3.41. ping_valid_reply_codes (string) 3.42. ping_from (string) 3.43. ping_socket (string) @@ -351,7 +351,7 @@ Chapter 1. Admin Guide 3.37. dont_strip_or_tag_flag (integer) 3.38. fetch_rows (integer) 3.39. ping_interval (integer) - 3.40. ping_inactive_threshold (integer) + 3.40. ping_inactivate_threshold (integer) 3.41. ping_valid_reply_codes (string) 3.42. ping_from (string) 3.43. ping_socket (string) @@ -831,7 +831,7 @@ modparam("lcr", "fetch_rows", 3000) modparam("lcr", "ping_interval", 15) ... =20 -3.40. ping_inactive_threshold (integer) +3.40. ping_inactivate_threshold (integer) =20 Tells after how many failures (=3D inactivate_gw() function calls) a gateway is marked as inactive. diff --git a/modules/lcr/doc/lcr_admin.xml b/modules/lcr/doc/lcr_admin.xml index 8271cfe..fcd8d55 100644 --- a/modules/lcr/doc/lcr_admin.xml +++ b/modules/lcr/doc/lcr_admin.xml @@ -1032,7 +1032,7 @@ modparam("lcr", "ping_interval", 15)
=20
- <varname>ping_inactive_threshold</varname> (integer) + <varname>ping_inactivate_threshold</varname> (integer) Tells after how many failures (=3D inactivate_gw() function calls) a gateway is marked as inactive. @@ -1040,16 +1040,16 @@ modparam("lcr", "ping_interval", 15) Default value is 1, i.e., gateway is - marked inactive after first failure. + inactivated after first failure. - Set <varname>ping_inactive_threshold</varname> parameter + Set <varname>ping_inactivate_threshold</varname> parameter ... -modparam("lcr", "ping_inactive_threshold", 3) +modparam("lcr", "ping_inactivate_threshold", 3) ... --===============1078189034==-- From richard.good@smilecoms.com Wed Feb 12 07:57:08 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: Merge branch 'master' of ssh://git.sip-router.org/sip-router Date: Wed, 12 Feb 2014 07:57:07 +0100 Message-ID: <20140212065708.03FA8EF804E@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2113446088==" --===============2113446088== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: ec24f51a8efc31864c560054a039aa0c2cd5ab62 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3Dec24f51a8efc31864c560054a039aa0c2cd5ab62 Author: Richard Good Committer: Richard Good Date: Wed Feb 12 08:56:37 2014 +0200 Merge branch 'master' of ssh://git.sip-router.org/sip-router --- --===============2113446088==-- From richard.good@smilecoms.com Wed Feb 12 07:57:08 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: examples/config: added p-asserted-identity logic on P-CSCF and add Called-Party_ID AVP on S-CSCF Date: Wed, 12 Feb 2014 07:57:07 +0100 Message-ID: <20140212065707.A0171EF8075@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1821284702==" --===============1821284702== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 71f2247cf4dc6f8d3a0b148461322f6b680f1174 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D71f2247cf4dc6f8d3a0b148461322f6b680f1174 Author: Richard Good Committer: Richard Good Date: Tue Feb 11 09:42:27 2014 +0200 examples/config: added p-asserted-identity logic on P-CSCF and add Called-Par= ty_ID AVP on S-CSCF --- examples/pcscf/kamailio.cfg | 46 ++++++++++++++++++++++++++++++++++-------- examples/scscf/kamailio.cfg | 12 +++++++--- 2 files changed, 45 insertions(+), 13 deletions(-) diff --git a/examples/pcscf/kamailio.cfg b/examples/pcscf/kamailio.cfg index 9925089..6185310 100644 --- a/examples/pcscf/kamailio.cfg +++ b/examples/pcscf/kamailio.cfg @@ -857,6 +857,22 @@ route[Orig_Initial] send_reply("403","Forbidden - You must register first with a S-CSCF"); break; } + + #asserted identity header =20 + if (is_present_hf("P-Preferred-Identity") && pcscf_assert_identity("= location", "$hdr(P-Preferred-Identity)")) { + xlog("L_DBG", "P-Preferred-Identity is asserted " + "$hdr(P-= Preferred-Identity)"); + append_hf("P-Asserted-Identity: $hdr(P-Preferred-Identity)\r= \n"); + } else { + xlog("L_DBG", "P-Preferred-Identity not asserted - using def= ault " + "$pcscf_asserted_identity"); + append_hf("P-Asserted-Identity: <$pcscf_asserted_identity>\r= \n"); + } + if(is_present_hf("P-Preferred-Identity")) { + remove_hf("P-Preferred-Identity"); + } + + msg_apply_changes(); + + if (!pcscf_follows_service_routes("location")){ #Variant 1 - deny access to the network #send_reply("400","Bad Request - Not following indicated service routes"); @@ -879,15 +895,6 @@ route[Orig_Initial] $avp(RR_CUSTOM_USER_AVP)=3D"mo"; record_route(); =20 - if (is_present_hf("P-Preferred-Identity") && pcscf_assert_identity("locatio= n", "$hdr(P-Preferred-Identity)")) { - remove_hf("P-Preferred-Identity"); - append_hf("P-Asserted-Identity: $hdr(P-Preferred-Identity)\r\n"); - } else if (pcscf_assert_identity("location", "$fu")) { - append_hf("P-Asserted-Identity: <$fu>\r\n"); - } else { - append_hf("P-Asserted-Identity: <$pcscf_asserted_identity>\r\n"); - } - # Do RTP-Relaying, if necessary: route(RTPPROXY_ORIG); =20 @@ -1092,6 +1099,27 @@ route[Term_Initial] ###################################################################### onreply_route[Term_Initial_reply] { + + if (t_check_status("183")||t_check_status("200")){ + if (!pcscf_is_registered("location")) { + xlog("L_DBG", "IMS: INSIDE TERM_INITIAL_REPLY: can't= find contact [$ct] in P-CSCF usrloc\n"); + send_reply("403","Forbidden - not registered with P-= CSCF"); + break; + } + + #asserted identity header =20 + if (pcscf_assert_called_identity("location")) { + xlog("L_DBG", "P-Called-Party-ID asserted"); + } else { + xlog("L_DBG", "P-Called-Party-ID not asserted - usin= g default " + "$pcscf_asserted_identity"); + append_hf("P-Asserted-Identity: <$pcscf_asserted_ide= ntity>\r\n"); + } + if(is_present_hf("P-Preferred-Identity")) { + remove_hf("P-Preferred-Identity"); + } + msg_apply_changes(); + } + #!ifdef WITH_RX if (t_check_status("180|183|200")){ xlog("L_DBG","Diameter Term authorizing media via Rx\n"); diff --git a/examples/scscf/kamailio.cfg b/examples/scscf/kamailio.cfg index 24670d8..aea60b2 100644 --- a/examples/scscf/kamailio.cfg +++ b/examples/scscf/kamailio.cfg @@ -717,6 +717,10 @@ route[orig] record_route(); =20 } =20 + if (is_method("INVITE|MESSAGE")) { + append_hf("P-Called-Party-ID: <$ruri>\r\n"); + } + #!ifdef WITH_RO # before we allow call - lets check credit if (is_method("INVITE")) { @@ -737,10 +741,10 @@ route[orig] exit; } =20 - if (!isc_from_as("orig")) { - remove_hf("P-Asserted-Identity"); - append_hf("P-Asserted-Identity: \r\n"); - } + #if (!isc_from_as("orig")) { + # remove_hf("P-Asserted-Identity"); + # append_hf("P-Asserted-Identity: \r\n"); + #} =20 # Check for PSTN destinations: if (is_method("INVITE")) { --===============1821284702==-- From richard.good@smilecoms.com Wed Feb 12 08:01:24 2014 From: Richard Good To: sr-dev@lists.kamailio.org Subject: [sr-dev] git:master: modules/ims_charging: change to use asserted_identities for subscription id if present Date: Wed, 12 Feb 2014 08:01:22 +0100 Message-ID: <20140212070123.40228EF8074@rimmer.ryngle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0817529873==" --===============0817529873== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Module: sip-router Branch: master Commit: 574765a22cbf6844418948c13d07f49f119c0363 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommit;h= =3D574765a22cbf6844418948c13d07f49f119c0363 Author: Richard Good Committer: Richard Good Date: Wed Feb 12 08:59:43 2014 +0200 modules/ims_charging: change to use asserted_identities for subscription id i= f present Change to use asserted-identity header and called-party-id header as subscri= ption id when present, otherwise use from_uri and to_uri as before Change to use asserted-identity for subscription id when direction is orig a= nd called-asserted-identity when direction is term --- modules/ims_charging/ims_ro.c | 169 +++++++++++++++++++++---------- modules/ims_charging/ro_session_hash.c | 20 ++-- modules/ims_charging/ro_session_hash.h | 6 +- modules/ims_charging/ro_timer.c | 4 +- 4 files changed, 129 insertions(+), 70 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=3Dcommitdi= ff;h=3D574765a22cbf6844418948c13d07f49f119c0363 --===============0817529873==-- From bugtracker@sip-router.org Wed Feb 12 14:37:11 2014 From: sip-router To: sr-dev@lists.kamailio.org Subject: [sr-dev] [tracker] Task opened: $od and $rd missing in reply route Date: Wed, 12 Feb 2014 13:37:08 +0000 Message-ID: <1392212228.52fb790445495@sip-router.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1594578404==" --===============1594578404== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below.=20 User who did this - Sebastian Damm (sdamm)=20 Attached to Project - sip-router Summary - $od and $rd missing in reply route Task Type - Bug Report Category - Core Status - Unconfirmed Assigned To -=20 Operating System - Linux Severity - Low Priority - Normal Reported Version - 4.1 Due in Version - Undecided Due Date - Undecided Details - We just noticed that our acc module doesn't work as expected due to= the contents of $od and $rd missing in the reply route. To verify, we took a pretty simple setup, and put the following in the kamail= io.cfg: route { if (is_method("INVITE")) { t_on_reply("INVITE"); xlog("L_NOTICE", "route: Original Domain: $od Request Domain: $rd\n"); } } onreply_route[INVITE] { xlog("L_NOTICE", "reply: Original Domain: $od Request Domain: $rd\n"); } Then in our log the following lines appeared: Feb 12 14:18:56 host /usr/sbin/kamailio[18829]: NOTICE: