i tried to use change_reply_status() to change 415 to 200, but got:
ERROR: textopsx [textopsx.c:283]: change_reply_status_f(): ERROR:
textops: the class of provisional or positive final replies cannot be
changed
textopsx/README does not mention anything about what can or cannot be
changed. why is it that the above change cannot be made?
-- juha
Hi,
I am trying to install a Kamailio server in a HA configuration, with IP's for 3 attached networks. I am using Keepalived/VRRP to manage the VIP's. I have tested v 4.1.6 and latest 4.2.2
I have 3 x listen entries, one for each network and mhomed=1. Also, for info, we have net.ipv4.ip_nonlocal_bind = 1 in sysctl.conf
listen=udp:my.public.net.46:5060
listen=udp:192.168.106.46:5060
listen=udp:192.168.116.46:5060
mhomed=1
I have dispatcher set up to load balance over two seperate groups of Asterisk servers, one on each private network. Dispatcher does probing to know which Asterisks are 'alive'.
When I ran the system, Kamailio/Dispatcher was not able to send any probing OPTIONS to any Asterisk (normal PINGS work fine in all networks in/out of Asterisk/Kamailio)
Looking at the log, I see these entries for all 3 networks:
Feb 12 17:28:19 app-srv-dev-1-01 /usr/local/sbin/kamailio[2992]: ERROR: <core> [forward.c:218]: get_out_socket(): no socket found
Feb 12 17:28:19 app-srv-dev-1-01 /usr/local/sbin/kamailio[2992]: ERROR: <core> [forward.c:220]: get_out_socket(): no corresponding socket found for(u
dp:192.168.116.38:5060)
Feb 12 17:28:19 app-srv-dev-1-01 /usr/local/sbin/kamailio[2992]: ERROR: tm [ut.h:345]: uri2dst2(): no corresponding socket found for "192.168.116.38"
af 2 (udp:192.168.116.38:5060)
Feb 12 17:28:19 app-srv-dev-1-01 /usr/local/sbin/kamailio[2992]: ERROR: tm [uac.c:307]: t_uac_prepare(): t_uac: no socket found
Feb 12 17:28:19 app-srv-dev-1-01 /usr/local/sbin/kamailio[2992]: ERROR: dispatcher [dispatch.c:2564]: ds_check_timer(): unable to ping [sip:192.168.1
16.38:5060]
I notice from other logging that Kamailio is receiving and processing incoming OPTIONS messages, and sending appropriate replies.
Now, this might not be a Kamailio issue, as when I run the same config with 3 IP's, but NOT using VRRP/Keepalived/Aliased IP's, everything works normally.
However, I do need to run this setup in HA, so would welcome any suggestions as to how I might resolve this issue.
Kind regards,
Mark Hall
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
Hello all.
I'm consistently watching a memory increase in kamailio when dealing with
PRESENCE events, namely SIP PUBLISH events. The system eventually hangs
running out of memory.
This behavior is seen at least in kamailio 4.1 and 4.2. I'm currently using
the latest stable 4.2.2.
If I disable the SIP PUBLISH handling in kamailio i don't observe the issue
anymore but as a side effect I don't have presence (name BLFs) also.
What do you think can be the right approach here? Should I open an issue in
github for this? Should I run kamailio under valgrind for some time? Are
there any other possible debug hints here?
Please find attached a code snippet with the presence related parts I'm
using right now.
Looking forward to hear from you.
Best Regards,
--
*Nuno Miguel Reis* | *Unified Communication** Systems*
M. +351 913907481 | nreis(a)wavecom.pt
WAVECOM-Soluções Rádio, S.A.
Cacia Park | Rua do Progresso, Lote 15
3800-639 AVEIRO | Portugal
T. +351 309 700 225 | F. +351 234 919 191
*GPS
<http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a…>
| www.wavecom.pt <http://www.wavecom.pt/>** <http://www.wavecom.pt/>*
[image: Description: Description: WavecomSignature]
<http://www.wavecom.pt/pt/wavecom/premios.php>
[image: Publicity] <http://www.wavecom.pt/pt/mail_eventos.php>
Hello,
being discussed yesterday during the IRC devel meeting, the proposed
planning for next major release (v4.3.0) is:
- freeze the development sometime in April - after mid of March decide
the exact date when the development is going to be frozen
- testing during last part of April and May
- based on testing results, release in the time frame: end of May till
mid of June
>From git activity, there are already several new modules and plenty of
new features -- don't forget to add them to:
- http://www.kamailio.org/wiki/features/new-in-devel
Also, any detail that is relevant for upgrading has to added to:
- https://www.kamailio.org/wiki/install/upgrade/stable-to-devel
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
Does anyone know if the async queries of kamailio work with mariadb? I'm on
kamailio 4.2.3, and I can't get the async way of querying to work. I don't
get any errors, but I don't see the queries to be executed.
the relevant part of my config is:
loadmodule "db_mysql.so"
loadmodule "sqlops.so"
modparam("sqlops","sqlcon","ca=>mysql://kamailio:kamailiorw@localhost
/kamailio")
sql_query_async("ca", "insert into cdr_events (callid) values ('$ci') ");
When just replace sql_query_async with sql_query, I do see inserts passing
by.
Do I just bluntly miss something? Or does someone have some good pointers?
Thx!
Davy
Hello,
rpc funcions:
reg_info,reg_enable,reg_disable not work if l_uuid is number and size >
than 10,
for 1234567890 is O.K. and for 12345678901 try to find 18446744073170328629.
kamcmd uac.reg_enable l_uuid 1234567890 -- found
kamcmd uac.reg_enable l_uuid 12345678901 -- not found
and if number start with zero then zero is cut.
kamcmd uac.reg_enable l_uuid 0034567890 -- 34567890
I add debug to uac_reg.c
1615 LM_ERR("START %.*s,%.*s\n", attr.len,attr.s,val.len, val.s);
Thaks
Hey Everyone!
I'm currently working on a database module and I've come across some issues/confusion that I was hoping someone could clear up for me. I've been looking at the existing modules and the docs online for help but I can't find a definitive answer for them.
1. I see there are 2 DB APIs (srdb1 and srdb2) and I gather that srdb2 is the newer version? Should I aim to use srdb2 exclusively or should I also use srdb1?
2. It looks like srdb2 provides a db_uri command that can be used to implement custom URI parsing but I can't figure out how to hook into it. I added it to my exported commands but it was never called. When I looked through the code I saw the only place that ever really uses it is db_ctx, which itself looks to be used in the child_init of modules. I'm developing a database module that I want to be a drop-in replacement for others, but it needs multiple hosts specified in the connection uri (similar to the URI example here http://docs.mongodb.org/manual/reference/connection-string/) and I can't figure out the best place to do it. Should I be doing it in db_func_t.init because it has the full string version of the uri and parse it there? Do I then have to reimplement everything that db_do_init would be doing?
3. Do I need to implement multiple database interfaces to get full module coverage in Kamailio? I was looking at db_berkeley as a reference and it looks like it has the KAMAILIO_MOD_INTERFACE as well as the SER_MOD_INTERFACE implemented.
4. Is there a preferred way to handle the API binding (such as db_ commands vs db_bind_api)?
Thanks for any help or direction you can give me!
- Erik Davidson
-----------------------------------------
CONFIDENTIALITY NOTICE: The information contained in this e-mail message and any attachments is for the sole use of the intended recipients and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient and have received this communication in error, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.
Hello,
I thought to propose organizing the next IRC meeting to discuss and sync
each other about Kamailio development and surrounding ecosystem.
First date proposal is next week, Wednesday, 15:00GMT, Feb 11, 2015, on
the usual #kamailio channel at freenode.net. The date can be changed,
based on feedback from the people that want to attends.
I made a wiki page for the event at:
- http://www.kamailio.org/wiki/devel/irc-meetings/2015a
Feel free to propose topics to the agenda and/or new date.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello everyone,
I got a little trouble on using the RTIMER module.
Sometimes the route block I set using the "exec" parameter in RTIMER module
doesn't be executed,
this will happen from Kamailio server being started,
and only work (not always) after restarting server.
I have no idea why this happen,
does anyone ever met this?
Which part should I notice?
Thx :)