Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread vinzens
Same with me. Still see wrong cseq in ACK on an 403


[debug.log.zip](https://github.com/kamailio/kamailio/files/698102/debug.log.zip)



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271788447___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] permissions: fixed rpc fault messages for several commands (bb132a7)

2017-01-10 Thread Anthony Messina
spelling error

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/bb132a716628725c425e150565c2eb0a9a02f793#commitcomment-20430303___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] unittest updates (#923)

2017-01-10 Thread Mikko Lehto
more bashism removal
some mi_fifo to jsonrpcs conversions
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/923

-- Commit Summary --

  * test/unit: fix unit test 33
  * test/unit: update unit test 7
  * test/unit: update unit test 12
  * test/unit: update unit test 2 & 4
  * test/unit: update unit test 18
  * test/unit: update unit test 19
  * test/unit: update unit test 20
  * test/unit: update unit test 27
  * test/unit: update unit test 34
  * test/unit: use sh instead of bash in unit test 5

-- File Changes --

M test/unit/12.cfg (5)
M test/unit/12.sh (22)
M test/unit/18.sh (4)
M test/unit/19.cfg (5)
M test/unit/19.sh (8)
M test/unit/2.cfg (7)
M test/unit/2.sh (6)
M test/unit/20.cfg (5)
M test/unit/20.sh (8)
M test/unit/27.sh (2)
M test/unit/33.cfg (7)
M test/unit/33.sh (40)
M test/unit/34.cfg (5)
M test/unit/34.sh (12)
M test/unit/4.sh (11)
M test/unit/5.sh (2)
M test/unit/7.cfg (5)
M test/unit/7.sh (2)
M test/unit/include/common (7)
M test/unit/presence.cfg (10)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/923.patch
https://github.com/kamailio/kamailio/pull/923.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/923
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread greggcz
I compiled from source with no luck. The CSeq is still incorrect

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271730371___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread greggcz
What prefix etc do you use to build debian binaries ? I'd like to build it from 
source and install in same places as the package does


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271729252___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:d081ee4e: dispatcher: use clang format across the module

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: d081ee4e12e36e8f13d0a845f639b8699ac9d772
URL: 
https://github.com/kamailio/kamailio/commit/d081ee4e12e36e8f13d0a845f639b8699ac9d772

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T23:37:00+01:00

dispatcher: use clang format across the module

---

Modified: src/modules/dispatcher/api.h
Modified: src/modules/dispatcher/config.c
Modified: src/modules/dispatcher/config.h
Modified: src/modules/dispatcher/dispatch.c
Modified: src/modules/dispatcher/dispatch.h
Modified: src/modules/dispatcher/dispatcher.c
Modified: src/modules/dispatcher/ds_ht.c
Modified: src/modules/dispatcher/ds_ht.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/d081ee4e12e36e8f13d0a845f639b8699ac9d772.diff
Patch: 
https://github.com/kamailio/kamailio/commit/d081ee4e12e36e8f13d0a845f639b8699ac9d772.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:57a81bb4: modules: readme files regenerated - app_jsdt ...

2017-01-10 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: 57a81bb414413980a1f294aae91624bae416f2d5
URL: 
https://github.com/kamailio/kamailio/commit/57a81bb414413980a1f294aae91624bae416f2d5

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2017-01-10T23:31:22+01:00

modules: readme files regenerated - app_jsdt ...

---

Modified: src/modules/app_jsdt/README
Modified: src/modules/app_lua/README
Modified: src/modules/htable/README
Modified: src/modules/ims_dialog/README
Modified: src/modules/lcr/README
Modified: src/modules/malloc_test/README
Modified: src/modules/ratelimit/README
Modified: src/modules/tsilo/README
Modified: src/modules/uid_gflags/README
Modified: src/modules/xhttp_pi/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/57a81bb414413980a1f294aae91624bae416f2d5.diff
Patch: 
https://github.com/kamailio/kamailio/commit/57a81bb414413980a1f294aae91624bae416f2d5.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:af298284: modules: docs - coherent name for rpc commands section

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: af29828431805d972a2c156c4b5fd4506bc7834c
URL: 
https://github.com/kamailio/kamailio/commit/af29828431805d972a2c156c4b5fd4506bc7834c

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T23:16:34+01:00

modules: docs - coherent name for rpc commands section

---

Modified: src/modules/app_jsdt/doc/app_jsdt_admin.xml
Modified: src/modules/app_lua/doc/app_lua_admin.xml
Modified: src/modules/domainpolicy/doc/domainpolicy_admin.xml
Modified: src/modules/htable/doc/htable_admin.xml
Modified: src/modules/ims_dialog/doc/ims_dialog_admin.xml
Modified: src/modules/lcr/doc/lcr_admin.xml
Modified: src/modules/malloc_test/doc/malloc_test_rpc.xml
Modified: src/modules/ratelimit/doc/ratelimit_admin.xml
Modified: src/modules/tsilo/doc/tsilo_admin.xml
Modified: src/modules/xhttp_pi/doc/xhttp_pi.xml
Modified: src/modules/xhttp_pi/doc/xhttp_pi_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/af29828431805d972a2c156c4b5fd4506bc7834c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/af29828431805d972a2c156c4b5fd4506bc7834c.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:979b6b39: modules: readme files regenerated - nsq ...

2017-01-10 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: 979b6b3980c4c7a386779154836d88021dff901f
URL: 
https://github.com/kamailio/kamailio/commit/979b6b3980c4c7a386779154836d88021dff901f

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2017-01-10T20:46:15+01:00

modules: readme files regenerated - nsq ...

---

Modified: src/modules/nsq/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/979b6b3980c4c7a386779154836d88021dff901f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/979b6b3980c4c7a386779154836d88021dff901f.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:bb132a71: permissions: fixed rpc fault messages for several commands

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: bb132a716628725c425e150565c2eb0a9a02f793
URL: 
https://github.com/kamailio/kamailio/commit/bb132a716628725c425e150565c2eb0a9a02f793

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T20:42:56+01:00

permissions: fixed rpc fault messages for several commands

---

Modified: src/modules/permissions/rpc.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/bb132a716628725c425e150565c2eb0a9a02f793.diff
Patch: 
https://github.com/kamailio/kamailio/commit/bb132a716628725c425e150565c2eb0a9a02f793.patch

---

diff --git a/src/modules/permissions/rpc.c b/src/modules/permissions/rpc.c
index feaa2fd..99be594 100644
--- a/src/modules/permissions/rpc.c
+++ b/src/modules/permissions/rpc.c
@@ -87,7 +87,7 @@ void rpc_address_dump(rpc_t* rpc, void* c) {
return;
}
if(addr_hash_table_rpc_print(*addr_hash_table, rpc, c) < 0 ) {
-   LM_DBG("failed to print a subnet_table dump\n");
+   LM_DBG("failed to print address table dump\n");
}
return;
 }
@@ -102,7 +102,7 @@ void rpc_subnet_dump(rpc_t* rpc, void* c) {
return;
}
if(subnet_table_rpc_print(*subnet_table, rpc, c) < 0) {
-   LM_DBG("failed to print a subnet_table dump\n");
+   LM_DBG("failed to pria subnet table dump\n");
}
 
return;
@@ -119,7 +119,7 @@ void rpc_domain_name_dump(rpc_t* rpc, void* c) {
return;
}
if ( domain_name_table_rpc_print(*domain_list_table, rpc, c) < 0 ) {
-   LM_DBG("failed to print a subnet_table dump\n");
+   LM_DBG("failed to print domain table dump\n");
}
return;
 }


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:83c58678: Merge pull request #921 from kamailio/nsq-update-doc

2017-01-10 Thread GitHub
Module: kamailio
Branch: master
Commit: 83c5867815193dec7317e1372a46ddb36ce48412
URL: 
https://github.com/kamailio/kamailio/commit/83c5867815193dec7317e1372a46ddb36ce48412

Author: Emmanuel Schmidbauer 
Committer: GitHub 
Date: 2017-01-10T14:37:05-05:00

Merge pull request #921 from kamailio/nsq-update-doc

nsq: update doc

---

Modified: src/modules/nsq/doc/nsq_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/83c5867815193dec7317e1372a46ddb36ce48412.diff
Patch: 
https://github.com/kamailio/kamailio/commit/83c5867815193dec7317e1372a46ddb36ce48412.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Anyone thinking about adding JWT (JSON Web Token) support to Kamailio (#29)

2017-01-10 Thread Daniel-Constantin Mierla
Closed #29.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/29#event-918059357___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Anyone thinking about adding JWT (JSON Web Token) support to Kamailio (#29)

2017-01-10 Thread Daniel-Constantin Mierla
No follow up for more than an year from @mading087 on the JWT module. I am 
closing this one. If somebody is considering to add a auth jwt module, then it 
can go ahead and just push a pull request.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/29#issuecomment-271676357___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] nsq module doc (#905)

2017-01-10 Thread Emmanuel Schmidbauer
Closed #905.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/905#event-918055574___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] nsq: update doc (#921)

2017-01-10 Thread Emmanuel Schmidbauer
Merged #921.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/921#event-918054419___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:6f0c96da: nsq: update doc

2017-01-10 Thread Emmanuel Schmidbauer
Module: kamailio
Branch: master
Commit: 6f0c96da5a5caa8197132f6a2d5ffb3fc2123340
URL: 
https://github.com/kamailio/kamailio/commit/6f0c96da5a5caa8197132f6a2d5ffb3fc2123340

Author: Emmanuel Schmidbauer 
Committer: Emmanuel Schmidbauer 
Date: 2017-01-09T10:21:23-05:00

nsq: update doc

---

Modified: src/modules/nsq/doc/nsq_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/6f0c96da5a5caa8197132f6a2d5ffb3fc2123340.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6f0c96da5a5caa8197132f6a2d5ffb3fc2123340.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] permissions: RPC AddressDump doesn't include mask size (#250)

2017-01-10 Thread Daniel-Constantin Mierla
This was not picked up for long time. subnetDump offers the requested 
behaviour. Anyone can start implementing new rpc commands and combine existing 
behaviours of current rpc commands, but this doesn't feel any longer like a 
missing feature. I am closing this one. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/250#issuecomment-271675353___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] permissions: RPC AddressDump doesn't include mask size (#250)

2017-01-10 Thread Daniel-Constantin Mierla
Closed #250.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/250#event-918054630___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] TMX module statistics reset not working (#820)

2017-01-10 Thread Daniel-Constantin Mierla
Finally got some time to look at this issue. The tmx stats are returned with 
function callbacks, so there is no value that can be reset. The values are 
computed each time on demand by executing the callback functions. The docs were 
wrong.

You can try to use the counters module, which provides some commands to control 
the counters (some of them are behind the stats).

I am closing this item, the docs of tmx were updated on master branch (to be 
eventually backported).

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/820#issuecomment-271672631___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] TMX module statistics reset not working (#820)

2017-01-10 Thread Daniel-Constantin Mierla
Closed #820.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/820#event-918040140___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] rtpproxy: Add missing RPC commands, delete MI (#907)

2017-01-10 Thread Daniel-Constantin Mierla
Closed #907.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/907#event-918027200___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] rtpproxy: Add missing RPC commands, delete MI (#907)

2017-01-10 Thread Daniel-Constantin Mierla
They are now implemented in master branch.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/907#issuecomment-271670145___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:c7ca2d35: modules: readme files regenerated - tmx ...

2017-01-10 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: c7ca2d351af4240e8b062dc34650a1a45b432c11
URL: 
https://github.com/kamailio/kamailio/commit/c7ca2d351af4240e8b062dc34650a1a45b432c11

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2017-01-10T20:16:15+01:00

modules: readme files regenerated - tmx ...

---

Modified: src/modules/tmx/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/c7ca2d351af4240e8b062dc34650a1a45b432c11.diff
Patch: 
https://github.com/kamailio/kamailio/commit/c7ca2d351af4240e8b062dc34650a1a45b432c11.patch

---

diff --git a/src/modules/tmx/README b/src/modules/tmx/README
index 46611d0..c6963b3 100644
--- a/src/modules/tmx/README
+++ b/src/modules/tmx/README
@@ -455,8 +455,8 @@ event_route [tm:branch-failure:contact] {
6.13. rpl_generated
6.14. rpl_sent
 
-   Exported statistics are listed in the next sections. All statistics
-   except “inuse_transactions” can be reset.
+   Exported statistics are listed in the next sections. These statistics
+   cannot be reset (see counters module for alternative).
 
 6.1. UAS_transactions
 


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Add kpcre group (#901)

2017-01-10 Thread Daniel-Constantin Mierla
Maybe @linuxmaniac can have an additional opinion on this topic. There is a 
conflict already due to other changes, so cannot be just merged any longer, but 
the question of this PR is whether to to create or not a pcre group.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/901#issuecomment-271669440___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] nsq: update doc (#921)

2017-01-10 Thread Daniel-Constantin Mierla
I guess you can merge this PR and close related issue item. If one finds other 
missing doc parts, can open a new issue. Thanks.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/921#issuecomment-271668795___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:ef9dcadd: tmx: adjusted the docs to specify that tmx stats cannot be reset

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: ef9dcaddd441a97062d764b1f4e8dc8976174202
URL: 
https://github.com/kamailio/kamailio/commit/ef9dcaddd441a97062d764b1f4e8dc8976174202

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T20:11:07+01:00

tmx: adjusted the docs to specify that tmx stats cannot be reset

---

Modified: src/modules/tmx/doc/tmx_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/ef9dcaddd441a97062d764b1f4e8dc8976174202.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ef9dcaddd441a97062d764b1f4e8dc8976174202.patch

---

diff --git a/src/modules/tmx/doc/tmx_admin.xml 
b/src/modules/tmx/doc/tmx_admin.xml
index 4e56eea..3f5b751 100644
--- a/src/modules/tmx/doc/tmx_admin.xml
+++ b/src/modules/tmx/doc/tmx_admin.xml
@@ -505,8 +505,8 @@ event_route [tm:branch-failure:contact] {

Statistics

-   Exported statistics are listed in the next sections. All 
statistics
-   except inuse_transactions can be reset.
+   Exported statistics are listed in the next sections. These 
statistics
+   cannot be reset (see counters module for alternative).

 



___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:cac99b3d: modules: readme files regenerated - counters ...

2017-01-10 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: cac99b3d784fc253d4b658d898c154137b15f4f9
URL: 
https://github.com/kamailio/kamailio/commit/cac99b3d784fc253d4b658d898c154137b15f4f9

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2017-01-10T20:01:16+01:00

modules: readme files regenerated - counters ...

---

Modified: src/modules/counters/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/cac99b3d784fc253d4b658d898c154137b15f4f9.diff
Patch: 
https://github.com/kamailio/kamailio/commit/cac99b3d784fc253d4b658d898c154137b15f4f9.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:7d3d5ac3: etc: load counters module in config files

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 7d3d5ac32654797b813858dc2d7eb1a3e95b3056
URL: 
https://github.com/kamailio/kamailio/commit/7d3d5ac32654797b813858dc2d7eb1a3e95b3056

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T19:51:19+01:00

etc: load counters module in config files

- it provides control interface to counters/stats

---

Modified: etc/kamailio-basic.cfg
Modified: etc/kamailio-oob.cfg
Modified: etc/kamailio.cfg

---

Diff:  
https://github.com/kamailio/kamailio/commit/7d3d5ac32654797b813858dc2d7eb1a3e95b3056.diff
Patch: 
https://github.com/kamailio/kamailio/commit/7d3d5ac32654797b813858dc2d7eb1a3e95b3056.patch

---

diff --git a/etc/kamailio-basic.cfg b/etc/kamailio-basic.cfg
index 6da7aef..554201d 100644
--- a/etc/kamailio-basic.cfg
+++ b/etc/kamailio-basic.cfg
@@ -164,6 +164,7 @@ loadmodule "sanity.so"
 loadmodule "ctl.so"
 loadmodule "cfg_rpc.so"
 loadmodule "acc.so"
+loadmodule "counters.so"
 
 #!ifdef WITH_AUTH
 loadmodule "auth.so"
diff --git a/etc/kamailio-oob.cfg b/etc/kamailio-oob.cfg
index 6e097f0..40410ff 100644
--- a/etc/kamailio-oob.cfg
+++ b/etc/kamailio-oob.cfg
@@ -250,6 +250,7 @@ loadmodule "sanity.so"
 loadmodule "ctl.so"
 loadmodule "cfg_rpc.so"
 loadmodule "acc.so"
+loadmodule "counters.so"
 
 #!ifdef WITH_AUTH
 loadmodule "auth.so"
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 8b4a1d3..cf8df43 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -239,6 +239,7 @@ loadmodule "sanity.so"
 loadmodule "ctl.so"
 loadmodule "cfg_rpc.so"
 loadmodule "acc.so"
+loadmodule "counters.so"
 
 #!ifdef WITH_AUTH
 loadmodule "auth.so"


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:c75d50bb: kex: adjustment to rpc fault message

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: c75d50bb92d579136d92a01b5d35e74258cca27a
URL: 
https://github.com/kamailio/kamailio/commit/c75d50bb92d579136d92a01b5d35e74258cca27a

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T19:45:03+01:00

kex: adjustment to rpc fault message

---

Modified: src/modules/kex/core_stats.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/c75d50bb92d579136d92a01b5d35e74258cca27a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/c75d50bb92d579136d92a01b5d35e74258cca27a.patch

---

diff --git a/src/modules/kex/core_stats.c b/src/modules/kex/core_stats.c
index 89fcc5a..3dd58a0 100644
--- a/src/modules/kex/core_stats.c
+++ b/src/modules/kex/core_stats.c
@@ -533,7 +533,7 @@ static void stats_reset_or_clear_statistics(rpc_t* rpc, 
void* ctx, int clear)
return;
}
if (rpc->scan(ctx, "s", ) < 1) {
-   rpc->fault(ctx, 400, "Please provide which stats to retrieve");
+   rpc->fault(ctx, 400, "Please provide stats name");
return;
}
stats_reset_or_clear_all(rpc, ctx, stat, clear);


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:8fd94912: counters: rpc commands aliases for more explicit naming

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 8fd9491212bf61c94969b17e7b32f6a15fbfaad3
URL: 
https://github.com/kamailio/kamailio/commit/8fd9491212bf61c94969b17e7b32f6a15fbfaad3

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T19:46:14+01:00

counters: rpc commands aliases for more explicit naming

---

Modified: src/modules/counters/counters.c
Modified: src/modules/counters/doc/counters_rpc.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/8fd9491212bf61c94969b17e7b32f6a15fbfaad3.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8fd9491212bf61c94969b17e7b32f6a15fbfaad3.patch


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] Diameter AVP handling from kamailio.cfg (#922)

2017-01-10 Thread miricz
Below feature were discussed with Carsten Bock

Currently Diameter AVP values and especially Experimental Result Code is not 
available from the kamailio.cfg
Therefore I would like to request such kind of feature. I would like to use it 
mainly on Cx interface for Server-Assignment-Answer (SAA), Location-Info-Answer 
(LIA), Multimedia-Auth-Answer (MAA), Push-Profile-Answer (PPA)
It should be implemented such a way like in the ims_charging module. 

Thank you very much in advance!

_Cheers,
Zoltan_

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/922___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] Fwd: Overlapping functions

2017-01-10 Thread Olle E. Johansson
Hi!
I don’t see any comments on this, nor any protests. If I missed them, please 
let me know.
Otherwise I’ll take the liberty of going ahead and removing the old functions 
in the utils module tomorrow.

Cheers,
/O

> Begin forwarded message:
> 
> From: "Olle E. Johansson" 
> Subject: Overlapping functions
> Date: 2 January 2017 at 17:18:43 GMT+1
> To: "Kamailio (SER) - Development Mailing List" 
> Cc: Olle E Johansson 
> 
> Hi friends!
> 
> For a few releases we’ve had the http_query and the http_client_query 
> functions that are the same in two modules. I would like to get permission to 
> remove the old function from the utils module. We said that this would happen 
> earlier and I would like to clean this up before the 5.0 release.
> 
> Cheers,
> /O


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] Build-Depends / Debian/Ubuntu

2017-01-10 Thread Carsten Bock
Hi,

until recently, we only had build-depends (in pkg/kamailio/deb/jessie
or pkg/kamailio/deb/trusty), which were available in the official
repositories of the OS (e.g. of Debian or Ubuntu).

Recently, some new build-depends were added:
- libradcli-dev
- libxmlrpc-c3-dev

However, those two packages are not or no longer available on Standard
Ubuntu 14.04 LTS (trusty) or Debian 8:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libradcli-dev
E: Unable to locate package libxmlrpc-c3-dev

At least, "libradcli-dev" can be found in jessie-backports (not in
trusty-backports(!)), while I haven't found a proper source for
"libxmlrpc-c3-dev".

Is it supposed to be that way?
Or should we use the "pkg/kamailio/deb/debian/" files and the script
in the backports folder? If yes, then I would vote for removing the
other build scripts.

Thanks,
Carsten


-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Millerntorplatz 1
20359 Hamburg / Germany

http://www.ng-voice.com
mailto:cars...@ng-voice.com

Office +49 40 5247593-40
Fax +49 40 5247593-99

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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] Kamailio on Cluecon Weekly – Jan 11, 2017

2017-01-10 Thread Daniel-Constantin Mierla
Hello,

for those interested in participating to a (video) chat tomorrow, Wed,
Jan 11, I will be joining the ClueCon Weekly at 12:00CT (USA) to discuss
about latest Kamailio, what's new and the plans for the near future.
Integration with FreeSwitch is going to be among the topics.

You can join the video conference call with a webrtc capable browser.
You can also join only for audio using a SIP phone or dialing from PSTN
or mobile networks.

More specific details are available at:

  -
https://www.kamailio.org/w/2017/01/kamailio-on-cluecon-weekly-jan-11-2017/

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread Daniel-Constantin Mierla
They are built over the night, so you have to do the testing tomorrow. You can 
check the date and time of the packages at:

  * http://deb.kamailio.org/kamailiodev-nightly/pool/main/k/kamailio/


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271579956___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread Victor Seva
> Can I use dev debian package http://deb.kamailio.org/kamailiodev-nightly or 
> do I have to compile ?
@greggcz if you wait for the new package to be built this night then yes

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271579802___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread greggcz
Can I use dev debian package http://deb.kamailio.org/kamailiodev-nightly or do 
I have to compile ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271578103___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq issues with CANCEL after INVITE (#918)

2017-01-10 Thread Daniel-Constantin Mierla
Can you test with laster master branch?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/918#issuecomment-271575864___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:526ec68f: tm: if transaction had an uac auth, propagate cseq headers for local ACK and CANCEL

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 526ec68fa56cb8066db9da3a4b82f9e20aebf8c3
URL: 
https://github.com/kamailio/kamailio/commit/526ec68fa56cb8066db9da3a4b82f9e20aebf8c3

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T14:27:06+01:00

tm: if transaction had an uac auth, propagate cseq headers for local ACK and 
CANCEL

- related to GH #870, #918, #919

---

Modified: src/modules/tm/t_msgbuilder.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/526ec68fa56cb8066db9da3a4b82f9e20aebf8c3.diff
Patch: 
https://github.com/kamailio/kamailio/commit/526ec68fa56cb8066db9da3a4b82f9e20aebf8c3.patch

---

diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c
index 09b0f4f..dadba50 100644
--- a/src/modules/tm/t_msgbuilder.c
+++ b/src/modules/tm/t_msgbuilder.c
@@ -35,6 +35,7 @@
 #include "../../core/parser/parser_f.h"
 #include "../../core/parser/parse_to.h"
 #include "../../core/ut.h"
+#include "../../core/srapi.h"
 #include "../../core/parser/msg_parser.h"
 #include "../../core/parser/contact/parse_contact.h"
 #include "lw_parser.h"
@@ -276,6 +277,8 @@ char *build_local_reparse(struct cell *Trans,unsigned int 
branch,
int reason_len, code_len;
struct hdr_field *reas1, *reas_last, *hdr;
 #endif /* CANCEL_REASON_SUPPORT */
+   int hadded = 0;
+   sr_cfgenv_t *cenv = NULL;
 
invite_buf = Trans->uac[branch].request.buffer;
invite_len = Trans->uac[branch].request.buffer_len;
@@ -353,6 +356,8 @@ char *build_local_reparse(struct cell *Trans,unsigned int 
branch,
s = eat_line(s, invite_buf_end - s);
append_str(d, s1, s - s1);
 
+   cenv = sr_cfgenv_get();
+
/* check every header field name,
we must exclude and modify some of the headers */
first_via = 1;
@@ -470,15 +475,35 @@ char *build_local_reparse(struct cell *Trans,unsigned int 
branch,
 
default:
s = lw_next_line(s, invite_buf_end);
+   hadded = 0;
+
+   /* uac auth headers */
+   if(Trans->uas.request &&
+   (Trans->uas.request->msg_flags 
& FL_UAC_AUTH)) {
+   if(s1 + cenv->uac_cseq_auth.len + 2 < 
invite_buf_end) {
+   
if(s1[cenv->uac_cseq_auth.len]==':'
+   && strncmp(s1, 
cenv->uac_cseq_auth.s,
+   
cenv->uac_cseq_auth.len)==0) {
+   hadded = 1;
+   append_str(d, s1, s - 
s1);
+   } else 
if(s1[cenv->uac_cseq_refresh.len]==':'
+   && strncmp(s1, 
cenv->uac_cseq_refresh.s,
+   
cenv->uac_cseq_refresh.len)==0) {
+   hadded = 1;
+   append_str(d, s1, s - 
s1);
+   }
+   }
+   }
 
-   if (cfg_get(tm, tm_cfg, ac_extra_hdrs).len
-   && (s1 + cfg_get(tm, tm_cfg, ac_extra_hdrs).len 
< invite_buf_end)
-   && (strncasecmp(s1,
-   cfg_get(tm, tm_cfg, 
ac_extra_hdrs).s,
-   cfg_get(tm, tm_cfg, 
ac_extra_hdrs).len) == 0)
-   ) {
-   append_str(d, s1, s - s1);
-   } /* else skip this line */
+   if(likely(hadded==0)) {
+   if (cfg_get(tm, tm_cfg, 
ac_extra_hdrs).len
+   && (s1 + cfg_get(tm, 
tm_cfg, ac_extra_hdrs).len < invite_buf_end)
+   && (strncasecmp(s1,
+   
cfg_get(tm, tm_cfg, ac_extra_hdrs).s,
+   
cfg_get(tm, tm_cfg, ac_extra_hdrs).len) == 0)) {
+   append_str(d, s1, s - s1);
+   }
+   }
break;
}
}


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread Daniel-Constantin Mierla
Can you try with latest master branch?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271575777___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:a1189074: dialog: use uac cseq header names from cfg env

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: a1189074af0946b1a4b57dff795d0f642818ad35
URL: 
https://github.com/kamailio/kamailio/commit/a1189074af0946b1a4b57dff795d0f642818ad35

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T14:26:27+01:00

dialog: use uac cseq header names from cfg env

---

Modified: src/modules/dialog/dlg_cseq.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/a1189074af0946b1a4b57dff795d0f642818ad35.diff
Patch: 
https://github.com/kamailio/kamailio/commit/a1189074af0946b1a4b57dff795d0f642818ad35.patch

---

diff --git a/src/modules/dialog/dlg_cseq.c b/src/modules/dialog/dlg_cseq.c
index c8dbcb9..3f70bbc 100644
--- a/src/modules/dialog/dlg_cseq.c
+++ b/src/modules/dialog/dlg_cseq.c
@@ -37,6 +37,7 @@
 #include "../../core/ut.h"
 #include "../../core/trim.h"
 #include "../../core/data_lump.h"
+#include "../../core/srapi.h"
 #include "../../core/parser/parse_to.h"
 #include "../../core/parser/parse_from.h"
 #include "../../core/parser/parse_cseq.h"
@@ -127,6 +128,7 @@ int dlg_cseq_update(sip_msg_t *msg)
unsigned int vinc = 0;
str nval;
str *pval;
+   sr_cfgenv_t *cenv = NULL;
 
if(dlg_cseq_prepare_msg(msg)!=0) {
goto error;
@@ -152,6 +154,7 @@ int dlg_cseq_update(sip_msg_t *msg)
goto done;
}
 
+   cenv = sr_cfgenv_get();
ninc = 1;
 
/* take the increment value from dialog */
@@ -185,7 +188,7 @@ int dlg_cseq_update(sip_msg_t *msg)
 
LM_DBG("adding auth cseq header value: %.*s\n", nval.len, nval.s);
parse_headers(msg, HDR_EOH_F, 0);
-   sr_hdr_add_zs(msg, "P-K-Auth-CSeq", );
+   sr_hdr_add_zs(msg, cenv->uac_cseq_auth.s, );
 
 done:
if(dlg!=NULL) dlg_release(dlg);
@@ -207,6 +210,7 @@ int dlg_cseq_refresh(sip_msg_t *msg, dlg_cell_t *dlg,
unsigned int vinc = 0;
str nval;
str *pval;
+   sr_cfgenv_t *cenv = NULL;
 
if(dlg_cseq_prepare_msg(msg)!=0) {
goto error;
@@ -254,7 +258,8 @@ int dlg_cseq_refresh(sip_msg_t *msg, dlg_cell_t *dlg,
 
LM_DBG("adding cseq refresh header value: %.*s\n", nval.len, nval.s);
parse_headers(msg, HDR_EOH_F, 0);
-   sr_hdr_add_zs(msg, "P-K-CSeq-Refresh", );
+   cenv = sr_cfgenv_get();
+   sr_hdr_add_zs(msg, cenv->uac_cseq_refresh.s, );
 
 done:
return 0;
@@ -354,11 +359,13 @@ int dlg_cseq_msg_sent(void *data)
int tbuf_len = 0;
struct via_body *via;
hdr_field_t *hfk = NULL;
+   sr_cfgenv_t *cenv = NULL;
 
obuf = (str*)data;
memset(, 0, sizeof(sip_msg_t));
msg.buf = obuf->s;
msg.len = obuf->len;
+   cenv = sr_cfgenv_get();
 
if(dlg_cseq_prepare_new_msg()!=0) {
goto done;
@@ -395,7 +402,7 @@ int dlg_cseq_msg_sent(void *data)
 
/* check if transaction is marked for a new increment */
if(get_cseq()->method_id!=METHOD_ACK) {
-   hfk = sr_hdr_get_z(, "P-K-Auth-CSeq");
+   hfk = sr_hdr_get_z(, cenv->uac_cseq_auth.s);
if(hfk!=NULL) {
LM_DBG("new cseq inc requested\n");
nval = hfk->body;
@@ -406,7 +413,7 @@ int dlg_cseq_msg_sent(void *data)
}
 
if(nval.len<=0) {
-   hfk = sr_hdr_get_z(, "P-K-CSeq-Refresh");
+   hfk = sr_hdr_get_z(, cenv->uac_cseq_refresh.s);
if(hfk!=NULL) {
LM_DBG("cseq refresh requested\n");
nval = hfk->body;


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:391dce68: core: keep names for uac cseq helper headers in cfg env

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 391dce68f712d7b38eb48188f3ae2413da0f70c6
URL: 
https://github.com/kamailio/kamailio/commit/391dce68f712d7b38eb48188f3ae2413da0f70c6

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T14:25:13+01:00

core: keep names for uac cseq helper headers in cfg env

- shared by dialog and tm for cseq updates after uac auth

---

Modified: src/core/srapi.c
Modified: src/core/srapi.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/391dce68f712d7b38eb48188f3ae2413da0f70c6.diff
Patch: 
https://github.com/kamailio/kamailio/commit/391dce68f712d7b38eb48188f3ae2413da0f70c6.patch

---

diff --git a/src/core/srapi.c b/src/core/srapi.c
index e01659b..2a2b7ec 100644
--- a/src/core/srapi.c
+++ b/src/core/srapi.c
@@ -56,6 +56,10 @@ static sr_cfgenv_t _sr_cfgenv;
 void sr_cfgenv_init(void)
 {
memset(&_sr_cfgenv, 0, sizeof(sr_cfgenv_t));
+   _sr_cfgenv.uac_cseq_auth.s = "P-K-CSeq-Auth";
+   _sr_cfgenv.uac_cseq_auth.len = strlen(_sr_cfgenv.uac_cseq_auth.s);
+   _sr_cfgenv.uac_cseq_refresh.s = "P-K-CSeq-Refresh";
+   _sr_cfgenv.uac_cseq_refresh.len = strlen(_sr_cfgenv.uac_cseq_refresh.s);
 }
 
 /**
diff --git a/src/core/srapi.h b/src/core/srapi.h
index d480fbf..e415537 100644
--- a/src/core/srapi.h
+++ b/src/core/srapi.h
@@ -31,6 +31,8 @@ sr_generate_callid_f sr_get_callid_func(void);
 typedef int (*sr_cseq_update_f)(sip_msg_t*);
 typedef struct sr_cfgenv {
sr_cseq_update_f cb_cseq_update;
+   str uac_cseq_auth;
+   str uac_cseq_refresh;
 } sr_cfgenv_t;
 
 void sr_cfgenv_init(void);


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:4648e40b: modules: readme files regenerated - cfg_rpc ...

2017-01-10 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: 4648e40b8dd12c73d575ca2c894e75e9bc7cb3f1
URL: 
https://github.com/kamailio/kamailio/commit/4648e40b8dd12c73d575ca2c894e75e9bc7cb3f1

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2017-01-10T12:01:24+01:00

modules: readme files regenerated - cfg_rpc ...

---

Modified: src/modules/cfg_rpc/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/4648e40b8dd12c73d575ca2c894e75e9bc7cb3f1.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4648e40b8dd12c73d575ca2c894e75e9bc7cb3f1.patch

---

diff --git a/src/modules/cfg_rpc/README b/src/modules/cfg_rpc/README
index 85732f7..d031543 100644
--- a/src/modules/cfg_rpc/README
+++ b/src/modules/cfg_rpc/README
@@ -17,7 +17,7 @@ Miklos Tirpak
   2.1. SIP Router Modules
   2.2. External Libraries or Applications
 
-3. RPC Interface
+3. RPC Commands
 
   3.1. cfg.list
   3.2. cfg.get
@@ -43,6 +43,7 @@ Miklos Tirpak
1.1. Use cfg.get RPC command
1.2. Use cfg.get RPC command
1.3. Use cfg.seti RPC command
+   1.4. Use cfg.sets RPC command
 
 Chapter 1. Admin Guide
 
@@ -54,7 +55,7 @@ Chapter 1. Admin Guide
 2.1. SIP Router Modules
 2.2. External Libraries or Applications
 
-   3. RPC Interface
+   3. RPC Commands
 
 3.1. cfg.list
 3.2. cfg.get
@@ -106,7 +107,7 @@ Chapter 1. Admin Guide
running SIP Router with this module loaded:
  * None.
 
-3. RPC Interface
+3. RPC Commands
 
3.1. cfg.list
3.2. cfg.get
@@ -173,6 +174,11 @@ Chapter 1. Admin Guide
variable name, string value. The group name can optionally contain the
group instance id, for example foo[5].
 
+   Example 1.4. Use cfg.sets RPC command
+...
+# kamcmd cfg.sets voicemail srv_ip "1.2.3.4"
+...
+
 3.6. cfg.set_now_string
 
cfg.set_now_string - This is an alias to the command cfg.sets.


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:cb456e9d: cfg_rpc: added example for rpc command cfg.sets

2017-01-10 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: cb456e9d36e12e711f5e511211892a2e6592101a
URL: 
https://github.com/kamailio/kamailio/commit/cb456e9d36e12e711f5e511211892a2e6592101a

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-01-10T12:00:19+01:00

cfg_rpc: added example for rpc command cfg.sets

---

Modified: src/modules/cfg_rpc/doc/rpc.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/cb456e9d36e12e711f5e511211892a2e6592101a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/cb456e9d36e12e711f5e511211892a2e6592101a.patch

---

diff --git a/src/modules/cfg_rpc/doc/rpc.xml b/src/modules/cfg_rpc/doc/rpc.xml
index 4b1dd9b..9810762 100644
--- a/src/modules/cfg_rpc/doc/rpc.xml
+++ b/src/modules/cfg_rpc/doc/rpc.xml
@@ -9,7 +9,7 @@
 
 http://www.w3.org/2001/XInclude;>
 
-RPC Interface
+RPC Commands
 
 
The module implements the RPC commands documented in the next sections.
@@ -60,7 +60,7 @@
Use cfg.seti RPC command

 ...
-#  cfg.seti core debug 1
+#  cfg.seti core debug 1
 ...
 

@@ -81,6 +81,14 @@
name, string value. The group name can optionally contain the
group instance id, for example foo[5].

+   
+   Use cfg.sets RPC command
+   
+...
+#  cfg.sets voicemail srv_ip "1.2.3.4"
+...
+
+   


 cfg.set_now_string


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] kamcmd: fatal error while compiling on FreeBSD-11.0 (#920)

2017-01-10 Thread Daniel-Constantin Mierla
Thanks for testing and reporting back.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/920#issuecomment-271518312___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] kamcmd: fatal error while compiling on FreeBSD-11.0 (#920)

2017-01-10 Thread Daniel-Constantin Mierla
Closed #920.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/920#event-917159730___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] kamcmd: fatal error while compiling on FreeBSD-11.0 (#920)

2017-01-10 Thread Rick
Works for me.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/920#issuecomment-271514124___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] CSeq missmatch with UAC module (#919)

2017-01-10 Thread vinzens
I have set no parameter. Everything should be default.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/919#issuecomment-271512583___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev