Hello,
with no relevant new bugs reported lately, it is time to fix the date
for releasing next major version, respectively Kamailio v5.1.0.
I am proposing Monday, December 11, 2018, as the release date for
v5.1.0, with a fallback option to next day, if a bit of time is still
needed.
Currently there are ongoing efforts to make rpm packaging a first class
citizen via docker and obs, credits to Sergey Safarov for it, and get
(auto-generated) reference list of Kemi functions, credits to Samuel
Förnes for it. In the next two weeks, they can get in good shape and
also do a bit more testing as well as update relevant tutorials.
Regarding Kemi exports, if you are using a module, check the master
branch version to see if it has any sr_kemi_t exports, if not, report it
in the case you want to try using the new config framework that allows
reloading routing logic script without restart (you will have to use
Lua, JavaScript or Squirrel scripting).
And of course, if you are aware of any problem not yet reported to the
bug tracker, open an issue as soon as possible to allow time to try to
fix it before the release:
* https://github.com/kamailio/kamailio/issues
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
Trying to call a python script using exec_msg and haven't had any luck.
The following works:
exec_msg("echo 'TEST' > /usr/local/etc/kamailio/test.txt");
The following works from shell:
/usr/local/etc/kamailio/script.py arg1 arg2 arg3
The following does not work from kamailio:
exec_msg("/usr/local/etc/kamailio/script.py arg1 arg2 arg3");
(The arguments are just strings for test purposes)
Kamailio is running as kamailio user
Permissions:
755 script.py
Any idea what could be going wrong?
-dan
Looking for clarification on how the timers work, such as 'dialog_expire'.
Are these hard-set timeouts meaning if a dialog lasts longer than 'dialog_expire' there could be risk of the dialog not completing successfully?
If yes, any plans to integrate with DIALOG module to keep topos records up-to-date per active dialogs?
Thanks,
-dan
Hi all,
So for a while now I've been working with our engineering team to
troubleshoot these random events where the UPDATE message sent from the
server never made it to the client side. Here is the the topology:
Server -(tcp)-> kamailio -(tls)-> client
So looks pretty straight forward and I have logging messages stating
t_relay() was successful in sending the message.
The question is how do we know t_relay really successfully sent it? Does
it actually monitor the physical interface as it goes out?
Please advise.
Thanks.
--
Andy Chen
--
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
I want to experiment with using the async module. I added the module and updated my request_route to call async_task_route() and put all the existing routing logic in a new route. Unfortunately my kamailio is crashing looking up a cfg_get variable. The exact same route logic works fine in the normal child process, its only when its run in a async_worker that it fails.
Is this a known issue?
I can see in the core file that there is no group handle in the cfg_group_t (its 0x0), but I know nothing about how that gets set and where.
Thanks in advance for any help
Malcolm
Hello All,
Problem: My main issue is that when I "REGISTER" a client via Kamailio, and I attempt to "Dial" a different endpoint within an Asterisk Dial Plan, Asterisk throws an error stating that the endpoint (the number I am dialing via "Dial") is not registered or reachable. However, commands like "Playback" do work correctly for the client I "REGISTERED" via Kamailio.
E.g. I register client 10001 in Kamailio, I then register another client 10002 in Kamalio; both 10001 and 10002 can exercise an Asterisk Dial Plan which will play videos/audio (No Problem). But, now I want 10001 to Call (Dial) 10002; it is at this point that Asterisk throws the error "10002 is not registered or reachable".
I have tried many of the suggestion on many different help boards (several times) but I am still unable to forward a registration from Kamailio to Asterisk.
With my current Kamailio configuration (I do use dispatching), I see , via tcpdump, Asterisk receiving a "REGISTER" request, and Asterisk sends back the "unauthorized" as expected, however, Kamailio does not re-send the "REGISTER" as is customary. I am not sure of the next step to take, but I feel I have a couple of options.
* I can continue to try and figure out why Kamailio is not sending the second "REGISTER" (I have not yet been able to figure this out).
* Tell Asterisk to not require authentication. (I am using pjsip and do not know how to not require authentication in Asterisk when the request is from Kamailio).
I have put a lot of time into this one, and I am at a sticking point. Any help or suggestions would be very much appreciated.
Thank you,
One of our clients expiriences strange error.
Their system sends BYE with different from address (which IP is
presented in Contact header of initial INVITE) and Kamailio
immediately responded with "400 Bad From URI".
In which module can be generated this response? We use 4.3 version.
--
Skype: konstantin.tumalevich
Hi all,
I'm trying to parse the result of a json rpc call to get the register
statistics.
# Get registrar stats
jsonrpc_exec('{"jsonrpc": "2.0", "method": "stats.get_statistics",
"params": ["accepted_regs"], "id": 1}');
jansson_get("result[0]", $jsonrpl(body), "$var(registrar_accepted)");
xlog("LOG_LOCAL3","L_WARN","$jsonrpl(body)\n");
The $jsonrpl(body) var contains:
{"jsonrpc":"2.0","result":["registrar:accepted_regs = 2"],"id":1}
With this code the result stored in $var(registrar_accepted) is :
"AcceptedRegistrations":"registrar:accepted_regs = 1"
I'm trying to get only the value. I have tried:
jansson_get("result[0].registrar:accepted_regs", $jsonrpl(body),
"$var(registrar_accepted)");
jansson_get("result[0].['registrar:accepted_regs']", $jsonrpl(body),
"$var(registrar_accepted)");
jansson_get("result[0]['registrar:accepted_regs']", $jsonrpl(body),
"$var(registrar_accepted)");
But this does not work. Do i need to escape the colon in the object name
"registrar:accepted_regs" ?
Thanks,
Jan
Hello,
anyone around here that can do a quick test with http_async_module? I
don't have a testbed for it right now and I would spend the time on
other resources if someone here can run some tests with
http_async_client module from master branch. I did a bit of internal
refactoring in order to be able to export the function to kemi interface
-- nothing radical, but it would be good to know it didn't break anything.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com