Module: kamailio
Branch: master
Commit: 60e8036f2cab2eeb50b6bcc7b9a06532ecfd55eb
URL: https://github.com/kamailio/kamailio/commit/60e8036f2cab2eeb50b6bcc7b9a0653…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2016-06-24T12:46:15+02:00
modules: readme files regenerated - ims_qos ...
---
Modified: modules/ims_qos/README
---
Diff: https://github.com/kamailio/kamailio/commit/60e8036f2cab2eeb50b6bcc7b9a0653…
Patch: https://github.com/kamailio/kamailio/commit/60e8036f2cab2eeb50b6bcc7b9a0653…
---
diff --git a/modules/ims_qos/README b/modules/ims_qos/README
index 9bf7f7d..b74172f 100644
--- a/modules/ims_qos/README
+++ b/modules/ims_qos/README
@@ -51,6 +51,7 @@ Carsten Bock
3.10. video_default_bandwidth (integer)
3.11. early_qosrelease_reason (String)
3.12. confirmed_qosrelease_headers (String)
+ 3.13. regex_sdp_ip_prefix_to_maintain_in_fd (String)
4. Functions
@@ -77,8 +78,9 @@ Carsten Bock
1.10. video_default_bandwidth parameter usage
1.11. early_qosrelease_reason parameter usage
1.12. confirmed_qosrelease_headers parameter usage
- 1.13. Rx_AAR_Register
- 1.14. Rx_AAR
+ 1.13. regex_sdp_ip_prefix_to_maintain_in_fd parameter usage
+ 1.14. Rx_AAR_Register
+ 1.15. Rx_AAR
Chapter 1. Admin Guide
@@ -104,6 +106,7 @@ Chapter 1. Admin Guide
3.10. video_default_bandwidth (integer)
3.11. early_qosrelease_reason (String)
3.12. confirmed_qosrelease_headers (String)
+ 3.13. regex_sdp_ip_prefix_to_maintain_in_fd (String)
4. Functions
@@ -156,6 +159,7 @@ Chapter 1. Admin Guide
3.10. video_default_bandwidth (integer)
3.11. early_qosrelease_reason (String)
3.12. confirmed_qosrelease_headers (String)
+ 3.13. regex_sdp_ip_prefix_to_maintain_in_fd (String)
3.1. rx_dest_realm (string)
@@ -311,6 +315,23 @@ modparam("ims_qos", "early_qosrelease_reason", "Sorry - QoS failed")
modparam("ims_qos", "confirmed_qosrelease_headers", "X-Reason: QoS failed\r\n")
...
+3.13. regex_sdp_ip_prefix_to_maintain_in_fd (String)
+
+ The flow-description AVP is typically populated using IP:port
+ information present in the SDP. Certain (buggy) UEs can change ports
+ midway during calls which causes the flow-description to no longer
+ match the traffic. This parameter allows the flow-description AVP to
+ use to the any keyword instead of certain IP:port combinations in the
+ SDP. The parameter is a regex that if set replaces all IPs that do not
+ match the regex with the any keyword in the flow-description AVP
+
+ Default value is "", no IPs replaced
+
+ Example 1.13. regex_sdp_ip_prefix_to_maintain_in_fd parameter usage
+...
+modparam("ims_qos", "regex_sdp_ip_prefix_to_maintain_in_fd", "10.21.0.1")
+...
+
4. Functions
4.1. Rx_AAR_Register(route_block, domain)
@@ -341,7 +362,7 @@ modparam("ims_qos", "confirmed_qosrelease_headers", "X-Reason: QoS failed\r\n")
p.s. this is executed asynchronously. See example on how to retrieve
return value
- Example 1.13. Rx_AAR_Register
+ Example 1.14. Rx_AAR_Register
...
if(Rx_AAR_Register("REG_AAR_REPLY","location")==0){
exit;
@@ -383,7 +404,7 @@ route[REG_AAR_REPLY]
p.s. this is executed asynchronously. See example on how to retrieve
return value
- Example 1.14. Rx_AAR
+ Example 1.15. Rx_AAR
...
if(Rx_AAR("ORIG_SESSION_AAR_REPLY","orig","",-1)==0){
exit;
Hi,
Corex module has only raw SIP message and no other pseudo variables
available. Can anybody shade some light on how to get source and
destination IP and port details for that particular SIP message?
--
Niraj
Hi,
I'm developing a new module that writes logs in a log file using the function fprintf.
My question is, do I have to implement any lock to write safely in the file? As far as I know fprintf is thread-safe, but even though it, I don't know if it is necessary or not.
Thanks,
Laura
---
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/681
```
Jun 17 14:40:25 sp1 (local7.crit) proxy[16946]: : <core> [mem/q_malloc.c:439]: qm_free(): BUG: qm_free: bad pointer 0x7efb557e3680 (out of memory block!) called from <core>: parser/hf.c: free_hdr_field_lst(213) - aborting
Jun 17 14:40:30 sp1 (local7.crit) proxy[16951]: CRITICAL: <core> [pass_fd.c:275]: receive_fd(): EOF on 39
```
```
#0 0x00007efc5e752067 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007efc5e753448 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00000000005ec6e7 in qm_free (qm=0x7efc5c71c010, p=0x0, file=0x6f2c25 "<core>: parser/hf.c", func=0x0, line=10007232) at mem/q_malloc.c:441
#3 0x000000000060533e in free_hdr_field_lst (hf=0x7efb557e36c0) at parser/hf.c:213
#4 0x000000000062bd99 in free_sip_msg (msg=0x7ffcc50d45c0) at parser/msg_parser.c:717
#5 0x00007efc519cd316 in msg_apply_changes_f (msg=0x7ffcc50d45c0, str1=0x4232 <error: Cannot access memory at address 0x4232>,
str2=0x6 <error: Cannot access memory at address 0x6>) at textopsx.c:203
#6 0x000000000055e920 in do_action (h=0x7ffcc50d4480, a=0x7efc5cb77080, msg=0x7ffcc50d45c0) at action.c:1059
#7 0x000000000055d558 in run_actions (h=0x4232, a=0x4232, msg=0x6) at action.c:1548
#8 0x000000000055ee56 in do_action (h=0x7ffcc50d4480, a=0x7efc5cb771c8, msg=0x7ffcc50d45c0) at action.c:1048
#9 0x000000000055d558 in run_actions (h=0x4232, a=0x4232, msg=0x6) at action.c:1548
#10 0x000000000055f013 in do_action (h=0x7ffcc50d4480, a=0x7efc5d307218, msg=0x7ffcc50d45c0) at action.c:677
#11 0x000000000055d558 in run_actions (h=0x4232, a=0x4232, msg=0x6) at action.c:1548
#12 0x000000000055ee56 in do_action (h=0x7ffcc50d4480, a=0x7efc5ce6ef38, msg=0x7ffcc50d45c0) at action.c:1048
#13 0x000000000055d558 in run_actions (h=0x4232, a=0x4232, msg=0x6) at action.c:1548
#14 0x000000000055f013 in do_action (h=0x7ffcc50d4480, a=0x7efc5d307218, msg=0x7ffcc50d45c0) at action.c:677
#15 0x000000000055d558 in run_actions (h=0x4232, a=0x4232, msg=0x6) at action.c:1548
#16 0x000000000055f013 in do_action (h=0x7ffcc50d4480, a=0x7efc5d307218, msg=0x7ffcc50d45c0) at action.c:677
#17 0x000000000055d558 in run_actions (h=0x4232, a=0x4232, msg=0x6) at action.c:1548
#18 0x000000000055ee56 in do_action (h=0x7ffcc50d4480, a=0x7efc5da6da88, msg=0x7ffcc50d45c0) at action.c:1048
#19 0x000000000055d558 in run_actions (h=0x4232, h@entry=0x7ffcc50d4480, a=0x4232, a@entry=0x7efc5da4f3b0, msg=0x6, msg@entry=0x7ffcc50d45c0)
at action.c:1548
#20 0x00000000005693f5 in run_top_route (a=0x7efc5da4f3b0, msg=0x7ffcc50d45c0, c=<optimized out>) at action.c:1634
#21 0x00007efc5a679412 in t_continue (hash_index=0, label=3305981376, route=0x7efc5da4f3b0) at t_suspend.c:272
#22 0x00007efb53138071 in send_to_script (val=0x4232, req_cmd=0x4232) at janssonrpc_io.c:149
#23 0x00007efb5313eb7e in handle_response (response=0x7efb533567d0 <jsontoval>) at janssonrpc_io.c:690
#24 0x00007efb531403e8 in handle_netstring (server=0x7efb554a16d0) at janssonrpc_io.c:919
#25 0x00007efb53141223 in bev_read_cb (bev=0x4232, arg=0x7efb554a16d0) at janssonrpc_io.c:975
#26 0x00007efb52eeb2aa in ?? () from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
#27 0x00007efb52ee03dc in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
#28 0x00007efb53139fba in jsonrpc_io_child_process (cmd_pipe=6) at janssonrpc_io.c:109
#29 0x0000000000522f0b in init_mod_child (m=0x4232, rank=16946) at sr_module.c:927
#30 0x0000000000522e54 in init_mod_child (m=0x4232, rank=16946) at sr_module.c:924
#31 0x0000000000522e54 in init_mod_child (m=0x4232, rank=16946) at sr_module.c:924
#32 0x0000000000521cec in main_loop () at main.c:1654
```
---
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/676
i read log_custom readme and found statement:
It requires that core parameters log_engine_type to be set to 'udp' and
log_engine_data to be set to target 'address:port'.
but did not find these params in core cookbook.
-- juha