Hello All,
I am trying to have all dialogs terminated after one hour.
So I have set the following parameters
modparam("dialog", "enable_stats", 1)
modparam("dialog", "profiles_with_value", "caller")
modparam("dialog", "dlg_flag", 24)
modparam("dialog", "dlg_match_mode", 1)
modparam("dialog", "default_timeout", 3600)
modparam("dialog", "send_bye", 1)
But when I check the Kamailio configuration I get the following error:
# kamailio -c
loading modules under
/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/
0(10335) ERROR: <core> [modparam.c:151]: set_mod_param_regex: parameter
<send_bye> not found in module <dialog>
0(10335) : <core> [cfg.y:3532]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 495, column 33: Can't set module
parameter
ERROR: bad config file (1 errors)
Does anyone have an idea where I go wrong...?
Rgds,
Gertjan Wolzak
Hi everyone,
I'm using Kamailio 3.2.1 with a quite big config file. After adding some
new config lines I did a syntax check of the configuration file with
"kamailio -c -f <file>" and got the following error output:
loading modules under
/opt/kamailio/lib/kamailio/modules_k/:/opt/kamailio/lib/kamailio/modules/
0(28755) : <core> [cfg.lex:1426]: ERROR:lex:addstr: memory allocation
error
0(28755) : <core> [cfg.lex:1428]: ERROR:lex:addstr: try to increase
pkg size with -M parameter
increasing the pkg memory (-M) or shared memory (-m) has no effect.
I played around with the size of the configuration file with xlog lines
and the cause really seems to be the size of the config file.
Restart of Kamailio is possible without problems, it is only the syntax
check that leads to the memory error output
Is there any possibility to increase the memory for the syntax check?
Regards
Fred
Hi,
we are building a setup where we use an rtpproxy in all cases. This works
fine except for one scenario.
Caller -> SIP(+rtpproxy) -> B2BUA -> SIP(+rtpproxy) -> Called
In this case, the B2BUA implements forwarding and sends the call back
through our setup. The B2BUA does not send out a 183 reponse by itself.
Now, when the caller sends the INVITE, the rtpproxy gets enabled in both
cases. The caller sends his RTP to the rtpproxy, after a 183 or 200 OK
response, the called sends RTP to the rtpproxy, too, But since the B2BUA
doesn't send any audio, both rtpproxies don't know where to pass on the
RTP.
Does anybody know how to circumvent this issue? I searched for an option to
tell rtpproxy to send the RTP to the address advertised in the SDP as long
as it hasn't received any packets on the port, but couldn't find it.
Any hints?
Thanks in advance,
Sebastian
Hi,
I need to modify Allow header that is sent from Freeswitch, to restrict it
to only some very important ones. Do you think it really violates RFC ? :))
M
Hello, when I run this command : kamctl fifo nh_show_rtpp
I get an error saying nh_show_rtpp is not available, can someone let me know what the issue could be? Thank you.
7(13032) ERROR: mi_fifo [fifo_fnc.c:470]: mi_fifo_server(): fifo command nh_show_rtpp is not available
7(13032) DEBUG: mi_fifo [fifo_fnc.c:549]: mi_fifo_server(): entered consume
7(13032) DEBUG: mi_fifo [fifo_fnc.c:549]: mi_fifo_server(): **** done consume
500 command 'nh_show_rtpp' not available
Thank you,
Arun
I'm trying to get cap_server.so running in kamailio so i can pull contact
list from the server to the client. I install all the dependencies I saw in
the documentation but it isn't working. Please let me know if I'm doing
something wrong. I attach my debug file, the dependency install plus my
syslog file.
Thanks for the help.
--
Kethzer Docteur
Kamailio 3.3.3
I am using dialog module to do the concurrent call limit. Once a while I
got a dead unconfirmed dialog hung in memory. The only way I know to
cleanup this is to restart kamailio. So my questions are:
1) Does anybody know a better way to cleanup the dead dialog without having
to restart the kamailio server? This is a production server. I really
really hate to restart the server.
2) How easy to modify the source code to timeout the dead unconfirmed
dialog in memory?
Gary
I am still a little baffled by the new LCR table structures and i am having
a hard time figuring out how to use them. I want to different LCR gateways
for two different prefixes. When I load up this configuration,
lcr.dump_gws is only returning the Gateway with Lcr ID: 1. What am I doing
wrong here?
Here is my current table structure:
----------------------------------------
LCR Gateway List
----------------------------------------
Id 1
Lcr Id 1
Gw Name: Host 1
Ip Addr: X.X.X.X
Uri: 1
Transport 1
Id 2
Lcr ID 2
Gw Name: Host 2
Ip Addr: Y.Y.Y.Y
Uri: 1
Transport 1
----------------------------------------
LCR Rule List:
----------------------------------------
Id: 1
Lcr Id: 1
Prefix: 1555
Stopper 0
Enabled 1
Id: 2
Lcr Id: 2
Prefix: 1444
Stopper: 0
Enabled: 1
----------------------------------------
LCR Target List:
----------------------------------------
Id: 1
Lcr Id: 1
Rule Id: 1
Gw Id: 1
Id: 2
Lcr Id: 2
Rule Id: 2
Gw Id: 2
Hello,
can anybody give me a hint, how I could delete the _empty_ (blank) last
line of the message body / SDP (it consists of #012#015 only)? This blank
line is the rest of the original MIME message, which was reduced to a
standard message with content SDP only by kamailio-3.3.4, which is
principally working fine.
I´ve tried using the textops functions "subst" and "subst_body", but they
do not behave as like as real SED. When I try this string manipulation
with SED, it is working fine with [sed '${/^$/d}']. But the subst
implementation does not support the additional parameters '${' / '}'.
Does anybody know how to delete the last line of the whole message?
regards,
Klaus
P.S. the end of the message looks like this:
[...]#015#012a=rtpmap:8 PCMA/8000#015#012a=ptime:20#015#012#015#012