We just updated our development environment from 4.2.2 to 4.2.5 and
started noticing the server sending a 500 I'm terribly sorry, server
error occurred (1/TM) error back as soon as the async_route block gets
called. I have removed everything from our async route other than an
xlog statement trying to determine if something in that route block was
causing the 500 to occur. It still happens even with only the xlog.
If the async_route is not in the config, then the server does not send
the 500 response.
We rolled back to 4.2.2 and the problem no longer occurs.
I have attached a sip trace of the messages. I believe the relevant
parts of our config are below, please let me know if you need more from
the config however.
Any ideas?
async_route("PUSHJOIN", "2");
--------------------------
route[PUSHJOIN] {
xlog("L_INFO", "Does it get here?\n");
exit;
}
Thanks in Advance,
Aaron
Hi,
lookup("location") functions extracts username from Request-URI and relay INVITE without any username, causing UAC sends a CANCEL message. Is the function suppose to replace uri with "contact" field in the found entry in "location" table?
INVITE uri arrives at Kamailio:Request-Line: INVITE sip:8181111111@example.net:5060 SIP/2.0
INVITE uri leaves Kamilio:Request-Line: INVITE sip:10.10.10.1:5060 SIP/2.0
lookup("location") function finding match and returns 1: $rc=1
entry in "location" table for this call:*************************** 1. row *************************** id: 104 ruid: uloc-557ad93a-2d6-1 username: 8181111111 domain: NULL contact: sip:8181111111@10.10.10.1:5060 received: NULL path: NULL
Any help in this regard would be greatly appreciated
Al,Thanks
Hi all,
I have an issue with mobile devices which get a different IP address
each time they lose network.
The scscf keeps the registration datas from the previous
registrations, and forks requests toward all known identities.
Is it possible to override the contact address at each register and
keep only the last registration address per impi ?
Thanks
Regards
JM
Hi,
I'm finding a problem submitting a HTTP POST using the http_query(). Currently running on kamailio version: 4.1.8 on Debian wheezy.
Normally this command has been worked fine, but since the body of the message increased (the POST data size is around 2000 bytes ) I start to get the following problem:
8(49381) ERROR: <core> [pvapi.c:1338]: pv_printf(): no more space for spec value
8(49381) ERROR: <core> [pvapi.c:1347]: pv_printf(): buffer overflow -- increase the buffer size...
8(49381) ERROR: <core> [sr_module.c:1696]: get_str_fparam(): Could not convert the PV-formated string to str
8(49381) ERROR: utils [functions.c:112]: http_query(): cannot get post value
I've searched on how to increase buffer and found some global settings that could be directly, however the problem persist despite having set very high values for those:
pv_buffer_size=32768
tcp_rd_buf_size=32768
maxbuffer=262144
Can someone assist and suggest a solution.
Thanks,
Joao Alves
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
Hi,
I'm looking for an option to mark CANCELs which are generated locally by
Kamailio after receiving a 200 OK for another fork of the same call.
In the tm module documentation I found the option
local_cancel_reason
which enables this. This option is available (and turned on by default) in
newer Kamailios. But we have a legacy system still running 1.5 (and we
don't want to upgrade it anymore, it will be obsolete pretty soon), which
doesn't have this option yet.
Is there a possibility to add a header to this locally generated CANCEL via
some function in the config file, too?
Thanks in advance.
Best Regards,
Sebastian
Hello,
I'm using LCR module where I have 44 million rules and 13 million rule
targets (not all rules have destinations).
Noting that I'm running Ubuntu on virtual machine with 8GB allocated memory.
When I'm setting lcr_rule_hash_size parameter to 268435456 (2 power 28) I
got the following error : "no memory for rules hash table" in the log ,
noting that when I run ipcs -lm command I got max total shared memory shared
memory (kbytes) : 8388608.
When I'm setting lcr_rule_hash_size parameter to 1024,meaning 1024 rules
will be fetched from the database (please correct if I'm wrong) Kamailio
takes around 2 minutes and 30 seconds to start , which is worrying for me :(
Please advise how many rules Kamailio can support (if 8 GB RAM are allocated
to the server) , and what size every rule takes in the hash table built in
the shared memory.
Thanks,
Ali
Hello,
I am considering to release next major version of Kamailio (v4.3.0) next
week, on Wednesday (June 10) or Thursday (June 11). The pool of things
to fix is minor, Victor already updated deb packaging for 4.3, left to
do: add docs for 4.3 series in wiki, prepare RPM packaging and build
proper 'what is new' list of features.
Testing didn't reveal new issues for me in the recent past as I run in
two servers with live traffic. If you have issues with 4.3 branch, be
sure you report them on Github tracker:
- https://github.com/kamailio/kamailio/issues
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hi!
Making calls via different trunks through kamailio
for simply so
uac_replace_from ("sip:regname@ipaddress");
if (! t_relay ())
{
uac_replace_from ("sip:regname2@ipaddress");
t_relay ()
}
exit
and run tcpdump i see in fisrt INVITE
From: "testname" <sip: regname @ ipaddress>; tag = as21aea6e0
in second INVITE
From: "testname" <sip: regname @ ipaddress sipregname2 @ ipaddress>; tag = as21aea6e0
and in the log file EROOR: can not parse From URI, and then can not find a BYE to terminate the call
I try do
remove_hf
insert_hf
but then i do second remove_hf it realy not delete and i have two field From.
Who can tell me how few times to change the From field in a one dialog?