#### Pre-Submission Checklist
- [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
- [x] 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:
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
we send "480 All servers busy" when no servers available for failover
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2602
-- Commit Summary --
* dispatcher: updated failover example
-- File Changes --
M src/modules/dispatcher/doc/dispatcher.cfg (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2602.patchhttps://github.com/kamailio/kamailio/pull/2602.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/2602
Actually we have installed kamailio 5.4.2 and rtpengine like load balancer in a NAT environmet. behind the nat we have 2 identycal nodes using REFER for transfer calls to another destiny. This nodes does not have another SIP message. in the other NAT side we have our public carrier.
When some nodes send to kamailio the REFER message and kamailio reroute this message to the carrier. The call is rejected due company policies.
We want know how can we do for convert or modify the REFER message into INVITE for finally transfer the call.
thank you in advance.
kamailio -v:
version: kamailio 5.4.2 (x86_64/linux) 4fdc21
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 4fdc21
compiled on 20:43:45 Dec 1 2020 with unknown
Uname -a:
Linux proxy 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
rtpengine -v:
Version: 9.2.0.0+0~mr9.2.0.0 git-master-aa5e0244
--
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/2601
Module: kamailio
Branch: master
Commit: 0f962dca0953ef4461d1c82e229df0eb3efd9b99
URL: https://github.com/kamailio/kamailio/commit/0f962dca0953ef4461d1c82e229df0e…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-01-12T12:01:20+01:00
modules: readme files regenerated - lost ... [skip ci]
---
Modified: src/modules/lost/README
---
Diff: https://github.com/kamailio/kamailio/commit/0f962dca0953ef4461d1c82e229df0e…
Patch: https://github.com/kamailio/kamailio/commit/0f962dca0953ef4461d1c82e229df0e…
---
diff --git a/src/modules/lost/README b/src/modules/lost/README
index 81a4fa4833..07c5835483 100644
--- a/src/modules/lost/README
+++ b/src/modules/lost/README
@@ -27,6 +27,8 @@ Wolfgang Kampichler
3.1. exact_type (int)
3.2. response_time (int)
3.3. location_type (string)
+ 3.4. geoheader_type (int)
+ 3.5. geoheader_order (int)
4. Functions
@@ -41,8 +43,10 @@ Wolfgang Kampichler
1.1. Set exact_type parameter
1.2. Set response_time parameter
1.3. Set location_type parameter
- 1.4. lost_held_query() usage
- 1.5. lost() usage
+ 1.4. Set geoheader_type parameter
+ 1.5. Set geoheader_order parameter
+ 1.6. lost_held_query() usage
+ 1.7. lost() usage
Chapter 1. Admin Guide
@@ -59,6 +63,8 @@ Chapter 1. Admin Guide
3.1. exact_type (int)
3.2. response_time (int)
3.3. location_type (string)
+ 3.4. geoheader_type (int)
+ 3.5. geoheader_order (int)
4. Functions
@@ -131,6 +137,8 @@ Chapter 1. Admin Guide
3.1. exact_type (int)
3.2. response_time (int)
3.3. location_type (string)
+ 3.4. geoheader_type (int)
+ 3.5. geoheader_order (int)
Besides parameters listed, this module uses http_client therefore
according parameters may apply.
@@ -182,6 +190,40 @@ Chapter 1. Admin Guide
modparam("lost", "location_type, "civic geodetic locationURI")
...
+3.4. geoheader_type (int)
+
+ A Geolocation header may include a list of locationValues pointing to
+ either a Presence Information Data Format Location Object (PIDF-LO) in
+ the SIP body using a content-indirection (cid:) URI per RFC4483
+ (https://tools.ietf.org/html/rfc4483), or an http(s) URI pointing to an
+ external source. This parameter supports filtering of the following
+ types:
+ * 0 (any) - any URI (first or last)
+ * 1 (cid) - cid URI (aka Location-by-Value)
+ * 2 (http) - http URI (aka Location-by-Reference)
+ * 3 (https) - https URI (aka Location-by-Reference)
+
+ Default: 0 (any)
+
+ Example 1.4. Set geoheader_type parameter
+ ...
+ modparam("lost", "geoheader_type", 1)
+ ...
+
+3.5. geoheader_order (int)
+
+ A Geolocation header may include a list of locationValues. This
+ parameter sets the order of the URI used to retrieve location
+ information, either the first element of a certain type or the last.
+ Values are 0 (first) or 1 (last).
+
+ Default: 0 (first)
+
+ Example 1.5. Set geoheader_order parameter
+ ...
+ modparam("lost", "geoheader_order", 0)
+ ...
+
4. Functions
4.1. lost_held_query(con, [id,] pidf-lo, url, error)
@@ -210,7 +252,7 @@ Chapter 1. Admin Guide
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
FAILURE_ROUTE, and BRANCH_ROUTE.
- Example 1.4. lost_held_query() usage
+ Example 1.6. lost_held_query() usage
...
modparam("http_client", "httpcon", "heldsrv=>http://service.org/api/held");
...
@@ -246,7 +288,7 @@ r(pidf)\n");
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
FAILURE_ROUTE, and BRANCH_ROUTE.
- Example 1.5. lost() usage
+ Example 1.7. lost() usage
...
modparam("http_client", "httpcon", "heldsrv=>http://service.org/api/held");
modparam("http_client", "httpcon", "lostsrv=>http://service.org/api/lost");
@@ -307,3 +349,6 @@ var(name)\n");
Note: to test the module with a mapping service (LOST), an API key may
be requested under the following link (search for "GET ACCESS"):
https://gridgears.at/.
+
+ Note: in case modparam "geoheader_type" is set to 2 (http), the module
+ may use 3 (https) as fallback and vice versa.
Module: kamailio
Branch: master
Commit: f9f26adc11d96367a40947642b20bfdda246875e
URL: https://github.com/kamailio/kamailio/commit/f9f26adc11d96367a40947642b20bfd…
Author: Wolfgang Kampichler <dev(a)kampichler.info>
Committer: Wolfgang Kampichler <dev(a)kampichler.info>
Date: 2021-01-12T11:56:47+01:00
lost: added Geolocation header value list support
- the Geolocation header value parsing now supports
a list of location URIs of type (cid, http and https).
- types may be filtered and the list sequence may be
changed via new module parameters.
- besides: README update and code refactoring.
---
Modified: src/modules/lost/doc/lost_admin.xml
Modified: src/modules/lost/functions.c
Modified: src/modules/lost/lost.c
Modified: src/modules/lost/pidf.c
Modified: src/modules/lost/pidf.h
Modified: src/modules/lost/utilities.c
Modified: src/modules/lost/utilities.h
---
Diff: https://github.com/kamailio/kamailio/commit/f9f26adc11d96367a40947642b20bfd…
Patch: https://github.com/kamailio/kamailio/commit/f9f26adc11d96367a40947642b20bfd…