Module: kamailio
Branch: master
Commit: 249e96f7409a8c954b9512c1b351eb67cb293ced
URL: https://github.com/kamailio/kamailio/commit/249e96f7409a8c954b9512c1b351eb6…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2019-01-10T23:27:43+01:00
github: small syntax fix for contribution guide
---
Modified: .github/CONTRIBUTING.md
---
Diff: https://github.com/kamailio/kamailio/commit/249e96f7409a8c954b9512c1b351eb6…
Patch: https://github.com/kamailio/kamailio/commit/249e96f7409a8c954b9512c1b351eb6…
---
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 936f606017..227f212fcf 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -71,7 +71,7 @@ and commit history, there are several *rules* required for each contribution.
will be regenerated by a automatic script that is executed every few hours
* so if you modify an existing module **README** don't commit the changes
of this file to the git repository
- * if you create a new module that includes also a **README file, you
+ * if you create a new module that includes also a **README** file, you
need to commit the README to the git repository one time
* code **should** be formatted with **clang-format** or to match the style of
the component that the commit applies to. The `.clang-format` file is part of
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
added new function that helps to extract IP address family at c line from SDP body.
it returns -1 on error , 4 for IP4 , 6 for IP6
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1801
-- Commit Summary --
* sdpops : removed commented function
* sdpops : added new function as named get_sdp_address_family()
* sdpops : added documentation about get_sdp_address_family
-- File Changes --
M src/modules/sdpops/doc/sdpops_admin.xml (25)
M src/modules/sdpops/sdpops_mod.c (66)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1801.patchhttps://github.com/kamailio/kamailio/pull/1801.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/1801
Module: kamailio
Branch: master
Commit: a142b781edf2c6c22128987c32cb38b029005fe4
URL: https://github.com/kamailio/kamailio/commit/a142b781edf2c6c22128987c32cb38b…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2019-01-10T23:18:55+01:00
github: update contribution guidelines about our README file change process
---
Modified: .github/CONTRIBUTING.md
---
Diff: https://github.com/kamailio/kamailio/commit/a142b781edf2c6c22128987c32cb38b…
Patch: https://github.com/kamailio/kamailio/commit/a142b781edf2c6c22128987c32cb38b…
---
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index a09a8c0ef7..936f606017 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -67,13 +67,12 @@ and commit history, there are several *rules* required for each contribution.
file. Instead, edit the xml files located in **modules/modname/doc/** folder
* to regenerate the README, run **make modules-readme modules=modules/modname**
* docbook utils and xsl packages are needed for the above command to work
- * it is ok to modify only the xml doc file, the readme can be regenerated by
- another developer who has the required tools installed
- * if it is a change to README that needs to be backported, make separate
- commits to xml doc file and README. The changes to README files are very
- likely to rise merge conflicts. With separate commit, that won't be
- backported, only the commit to xml doc file, then README will be manually
- regenerated in the corresponding branch.
+ * it is only necessary to modify and commit the xml doc file, the **README**
+ will be regenerated by a automatic script that is executed every few hours
+ * so if you modify an existing module **README** don't commit the changes
+ of this file to the git repository
+ * if you create a new module that includes also a **README file, you
+ need to commit the README to the git repository one time
* code **should** be formatted with **clang-format** or to match the style of
the component that the commit applies to. The `.clang-format` file is part of
Kamailio source code tree, in the root folder.
Module: kamailio
Branch: master
Commit: 14b4d23a06fdc9b9f6b17781c50902beaff0cd94
URL: https://github.com/kamailio/kamailio/commit/14b4d23a06fdc9b9f6b17781c50902b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-01-10T23:09:07+01:00
dispatcher: docs - typo and indentation for the rpc flags paragraph
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/14b4d23a06fdc9b9f6b17781c50902b…
Patch: https://github.com/kamailio/kamailio/commit/14b4d23a06fdc9b9f6b17781c50902b…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index c0a55b27ad..6092349cf7 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -1713,13 +1713,15 @@ DEST: {
}
...
</programlisting>
-<para>FLAGS consist out of 2 letters. First letter describe status of destination: A-active,
- I – inactive, T – trying, D – disabled. Second letter might be P or X. P is for probing,
- so AP means destination is active and it is tested by SIP options continuously.
- X means that there are no probing or sip pinging. So AX means that destination is assumed as active
- and it is not tested by SIP options. DX respectively is disabled destination what is not tested and etc.
-</para>
- </section>
+ <para>FLAGS consist out of 2 letters. First letter describe status of
+ destination: A-active, I – inactive, T – trying, D – disabled. Second
+ letter might be P or X. P is for probing, so AP means destination
+ is active and it is tested by SIP options continuously. X means that
+ there are no probing or sip pinging. So AX means that destination is
+ assumed as active and it is not tested by SIP options. DX
+ respectively is disabled destination that is not tested, etc.
+ </para>
+ </section>
<section id="dispatcher.r.reload">
<title>
<function moreinfo="none">dispatcher.reload</function>
Module: kamailio
Branch: master
Commit: 547a40dca93cb30769d57d51e299f85dd0980416
URL: https://github.com/kamailio/kamailio/commit/547a40dca93cb30769d57d51e299f85…
Author: Yasin CANER <caner_yaso(a)hotmail.com>
Committer: Henning Westerholt <henningw(a)users.noreply.github.com>
Date: 2019-01-10T23:08:24+01:00
sdpops : added new function named as get_sdp_address_family (#1801)
- added new function as named get_sdp_address_family() to extract the IP address family from
the SDP body 'c' part. it returns:4 for IP4, 6 for IP6, -1 for error
- also added documentation about get_sdp_address_family() function
- removed commented out function sdp_remove_str_codec_id_attrs() from year 2016
---
Modified: src/modules/sdpops/doc/sdpops_admin.xml
Modified: src/modules/sdpops/sdpops_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/547a40dca93cb30769d57d51e299f85…
Patch: https://github.com/kamailio/kamailio/commit/547a40dca93cb30769d57d51e299f85…
Module: kamailio
Branch: master
Commit: d0831cf336f6f4a2cad87698f60ecd151dcd28b9
URL: https://github.com/kamailio/kamailio/commit/d0831cf336f6f4a2cad87698f60ecd1…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-01-10T22:01:38+01:00
modules: readme files regenerated - dispatcher ... [skip ci]
---
Modified: src/modules/dispatcher/README
---
Diff: https://github.com/kamailio/kamailio/commit/d0831cf336f6f4a2cad87698f60ecd1…
Patch: https://github.com/kamailio/kamailio/commit/d0831cf336f6f4a2cad87698f60ecd1…
---
diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README
index 53a464d8ff..55cc631c1f 100644
--- a/src/modules/dispatcher/README
+++ b/src/modules/dispatcher/README
@@ -697,10 +697,15 @@ Note
Controls what gateways are tested to see if they are reachable.
* Value 0: If set to 0, only the gateways with state PROBING are
tested. After a gateway is probed, the PROBING state is cleared in
- this mode.
+ this mode. This means that no probing will be executed at all only
+ if flag in config file is set to 8/PROBING (please check
+ destination list file syntaxis for more details), it will probe
+ only one time at startup or after dispatcher reload.
* Value 1: If set to 1, all gateways are tested. If set to 1 and
there is a failure of keepalive to an active gateway, then it is
- set to TRYING state.
+ set to TRYING state. This means that probing will be executed all
+ the time, but you can skip some servers with flag 4 in destination
+ list file, for example.
* Value 2: if set to 2, only gateways in inactive state with probing
mode set are tested.
* Value 3: If set to 3, any gateway with state PROBING is continually
@@ -1388,6 +1393,21 @@ kamcmd dispatcher.set_state ip 3 all
Example:
kamcmd dispatcher.list
+ ...
+DEST: {
+ URI: sip:192.168.0.1:5060
+ FLAGS: AP
+ PRIORITY: 12
+}
+ ...
+
+ FLAGS consist out of 2 letters. First letter describe status of
+ destination: A-active, I â inactive, T â trying, D â disabled.
+ Second letter might be P or X. P is for probing, so AP means
+ destination is active and it is tested by SIP options continuously. X
+ means that there are no probing or sip pinging. So AX means that
+ destination is assumed as active and it is not tested by SIP options.
+ DX respectively is disabled destination what is not tested and etc.
5.3. dispatcher.reload
Update for Readme Dispatcher module. I added some minor comments for dispatcher module, what I think might be useful for somebody. Additionally I added description, what several states means when dispatcher list are executed, as discussed.
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1804
-- Commit Summary --
* Update for Readme Dispatcher module
-- File Changes --
M src/modules/dispatcher/doc/dispatcher_admin.xml (25)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1804.patchhttps://github.com/kamailio/kamailio/pull/1804.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/1804