Module: kamailio
Branch: master
Commit: 5e54b72fe8afa6710a51c65ed942b671ab0249d9
URL: https://github.com/kamailio/kamailio/commit/5e54b72fe8afa6710a51c65ed942b67…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-08T09:49:35+01:00
misc/examples: updates for basic and advanced configs for v5.1
---
Modified: misc/examples/pkg/kamailio-basic.cfg
Modified: misc/examples/pkg/kamailio-oob.cfg
---
Diff: https://github.com/kamailio/kamailio/commit/5e54b72fe8afa6710a51c65ed942b67…
Patch: https://github.com/kamailio/kamailio/commit/5e54b72fe8afa6710a51c65ed942b67…
---
diff --git a/misc/examples/pkg/kamailio-basic.cfg b/misc/examples/pkg/kamailio-basic.cfg
index 34b1466963..c53fe8af5c 100644
--- a/misc/examples/pkg/kamailio-basic.cfg
+++ b/misc/examples/pkg/kamailio-basic.cfg
@@ -1,10 +1,10 @@
#!KAMAILIO
#
-# Kamailio (OpenSER) SIP Server v5.0 - default configuration script
+# Kamailio (OpenSER) SIP Server v5.1 - default basic configuration script
# - web: http://www.kamailio.org
# - git: http://sip-router.org
#
-# Direct your questions about this file to: <sr-users(a)lists.sip-router.org>
+# Direct your questions about this file to: <sr-users(a)lists.kamailio.org>
#
# Refer to the Core CookBook at http://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.
@@ -129,18 +129,14 @@ port=5060
enable_tls=yes
#!endif
-# life time of TCP connection when there is no traffic
-# - a bit higher than registration expires to cope with UA behind NAT
+/* life time of TCP connection when there is no traffic
+ * - a bit higher than registration expires to cope with UA behind NAT */
tcp_connection_lifetime=3605
####### Modules Section ########
-# set paths to location of modules (to sources or installation folders)
-#!ifdef WITH_SRCPATH
-mpath="modules"
-#!else
-mpath="/usr/local/lib/kamailio/modules/"
-#!endif
+/* set the path to location of modules */
+# mpath="/usr/local/lib/kamailio/modules/"
#!ifdef WITH_MYSQL
loadmodule "db_mysql.so"
@@ -329,18 +325,20 @@ request_route {
exit;
}
+ # handle retransmissions
+ if (!is_method("ACK")) {
+ if(t_precheck_trans()) {
+ t_check_trans();
+ exit;
+ }
+ t_check_trans();
+ }
+
# handle requests within SIP dialogs
route(WITHINDLG);
### only initial requests (no To tag)
- # handle retransmissions
- if(t_precheck_trans()) {
- t_check_trans();
- exit;
- }
- t_check_trans();
-
# authentication
route(AUTH);
diff --git a/misc/examples/pkg/kamailio-oob.cfg b/misc/examples/pkg/kamailio-oob.cfg
index 5a82680166..c76d5c47d7 100644
--- a/misc/examples/pkg/kamailio-oob.cfg
+++ b/misc/examples/pkg/kamailio-oob.cfg
@@ -1,10 +1,10 @@
#!KAMAILIO
#
-# Kamailio (OpenSER) SIP Server v5.0 - default configuration script
+# Kamailio (OpenSER) SIP Server v5.1 - default advanced configuration script
# - web: http://www.kamailio.org
# - git: http://sip-router.org
#
-# Direct your questions about this file to: <sr-users(a)lists.sip-router.org>
+# Direct your questions about this file to: <sr-users(a)lists.kamailio.org>
#
# Refer to the Core CookBook at http://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.
@@ -512,18 +512,20 @@ request_route {
exit;
}
+ # handle retransmissions
+ if (!is_method("ACK")) {
+ if(t_precheck_trans()) {
+ t_check_trans();
+ exit;
+ }
+ t_check_trans();
+ }
+
# handle requests within SIP dialogs
route(WITHINDLG);
### only initial requests (no To tag)
- # handle retransmissions
- if(t_precheck_trans()) {
- t_check_trans();
- exit;
- }
- t_check_trans();
-
# authentication
route(AUTH);
<!-- 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/1307
-- Commit Summary --
* uac: increase UAC message size to 32kbytes
-- File Changes --
M src/modules/uac/uac_send.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1307.patchhttps://github.com/kamailio/kamailio/pull/1307.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/1307