Hello,
It looks like kamailio.org is having issues. When I try and access it I
get a perpetual "waiting for reply".
--
Isaac McDonald
SusCall, LLC
E-Mail: imcdona(a)suscall.com
Hello,
I set SIP users using kamctl add command with username ( I put the phone numbers) doamin (doamin name) and password. Is their a way to add caller id name? when I make a call , i see the phone number but for caller id name I displayline1.
Thank you for your help.
Abdul
anybody have idea on how to dynamically access mysql URLs using avp?
reason being is, i have the mysql URLs in an htable. how can i avoid using
modparam for it? is it doable?
Kelvin Chua
Hey,
No, that is totally correct. What is strange is that it doesn’t trigger on the BYE coming back where direction is (should be) = 1. It never unmasks it when it goes back upstream.
I will run a scenario in our setup again on Monday and send you the output.
Have a nice weekend!
// Samuel
I have a CentOS 6 installation with the following packages installed from the RPM build service from Kamailio:
kamailio-unixodbc-4.1.2-1.1.x86_64
kamailio-4.1.2-1.1.x86_64
kamailio-presence-4.1.2-1.1.x86_64
kamailio-utils-4.1.2-1.1.x86_64
I am also using db_unixodbc for all database accesses (with MySQL backend). The problem is that after a few hours, a single Kamailio process (never more than one) starts complaining that it has run out of memory:
9(11479) ERROR: uac [uac_reg.c:638]: uac_reg_tm_callback(): got sip response 408 while registering [admin_pbx.elastix.com]
9(11479) ERROR: db_unixodbc [dbase.c:335]: db_unixodbc_fetch_result(): no memory left
9(11479) ERROR: <core> [db_query.c:502]: db_fetch_next(): unable to fetch next rows
9(11479) ERROR: db_unixodbc [dbase.c:224]: db_unixodbc_free_result(): invalid parameter value
9(11479) ERROR: db_unixodbc [dbase.c:327]: db_unixodbc_fetch_result(): no private memory left
9(11479) ERROR: <core> [db_query.c:434]: db_fetch_query_internal(): unable to fetch the db result
9(11479) ERROR: presence [publish.c:108]: msg_presentity_clean(): failed to query database for expired messages
9(11479) ERROR: db_unixodbc [dbase.c:327]: db_unixodbc_fetch_result(): no private memory left
9(11479) ERROR: <core> [db_query.c:434]: db_fetch_query_internal(): unable to fetch the db result
9(11479) ERROR: presence [publish.c:108]: msg_presentity_clean(): failed to query database for expired messages
9(11479) ERROR: db_unixodbc [dbase.c:327]: db_unixodbc_fetch_result(): no private memory left
9(11479) ERROR: <core> [db_query.c:434]: db_fetch_query_internal(): unable to fetch the db result
I have attached the stderr output when I kill the offending process. From what I can see, the memory leak somehow involves database allocations that fail to be freed, consuming more than 3 MB out of 4 MB allocated:
9(11479) NOTICE: <core> [main.c:857]: sig_usr(): Memory still-in-use summary (pkg):
9(11479) NOTICE: qm_sums: summarizing all alloc'ed. fragments:
9(11479) NOTICE: qm_sums: count= 1 size= 10240 bytes from mi_fifo: mi_writer.c: mi_writer_init(57)
9(11479) NOTICE: qm_sums: count= 378 size= 3029384 bytes from db_unixodbc: dbase.c: db_unixodbc_fetch_result(333)
9(11479) NOTICE: qm_sums: count= 1 size= 4096 bytes from db_unixodbc: dbase.c: db_unixodbc_fetch_result(325)
9(11479) NOTICE: qm_sums: count= 1 size= 16 bytes from <core>: sr_module.c: init_modules(1002)
9(11479) NOTICE: qm_sums: count= 1 size= 56 bytes from textops: textops.c: hname_fixup(1634)
9(11479) NOTICE: qm_sums: count= 1 size= 32 bytes from rr: rr_cb.c: register_rrcb(63)
I have the setup to compile my own RPMS, and I intend to track down the memory leak on my own. However, I would like your help in focusing my search, on whether this is a known issue, or where in db_unixodbc should I look.
Hello,
I set duplicate_uri to store sip messages in an external server
#!ifdef WITH_SIPTRACE
modparam("siptrace", "db_url", mysql_conn_data)
modparam("siptrace", "traced_user_avp", "$avp(s:traced_user)")
modparam("siptrace", "trace_on",1) # disable siptrace
modparam("siptrace", "trace_flag",FLT_SIPTRACE)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "duplicate_uri", "sip:siptracesrv:6060")
#!endif
In the route section
setflag(FLT_SIPTRACE);
but most of the time I get those error messages in log files when kamailio
tries to send the message out
/usr/local/sbin/kamailio[11946]: ERROR: <core> [forward.c:220]:
get_out_socket(): ERROR: get_out_socket: no socket found
/usr/local/sbin/kamailio[11946]: ERROR: siptrace [siptrace.c:1487]:
trace_send_duplicate(): can't forward to af 2, proto 1 no corresponding
listening socket
Do you have any ideas?
Thanks for your help,
Integrics would like to hire a contract support engineer to provide
level two support to Enswitch customers. This is a contract, work at
home role. It entails:
* 10 to 20 hours per week (with the possibility of more in future)
answering support questions. This is primarily via web ticketing system,
though occasional calls with customers may be required. Questions are
submitted by customers' engineers, so are generally highly technical.
Many involve substantial investigation, debugging, reading of SIP
traces, etc. You will not be dealing with end users or the general public.
* Being on call for emergency support up to around 50% of the time. This
will normally be daytime in North America as we have staff in other
countries to cover night, but may occasionally be night time if
necessary. You will be compensated for any callouts.
* Optionally, some Perl development. If you're not interested in this,
or lack the necessary skills, that's no problem.
The following are hard requirements. Please do not reply unless you
fulfil all of these:
* Strong skills in Linux (Redhat and Debian based distributions),
Asterisk, and SIP.
* Moderate or better skills in Perl, MySQL, and networking.
* At least a basic familiarity with Kamailio and/or OpenSIPS.
* Experience of providing technical support to IT professionals.
* Strong communication and diplomacy skills.
* Be physically located in the Americas. Most of the customers you will
be supporting are in the USA and Canada, and expect support during
business hours. Please do not reply if located outside the Americas.
* Be able to speak and write English fluently, and with a professional
demeanour, spelling, and grammar.
If you're interested in this role and meet the above requirements,
please email me off-list. Please include details of your skills and
experience, and a rough indication of hourly rates and availability.
--
Alistair Cunningham
+1 888 468 3111
+44 20 799 39 799
http://integrics.com/
Hello Sirs,
How can I extend subscriber profile with some information like avatar,
name, surname, other custom attributes in order to consume those
information from a WebRTC app? Is there any standard way or we should use
custom code for that?
Thank you.
Best regards,
Mihai M
Hello, I am trying to set up my Kamailio config file with geoip but I keep getting the following error:
ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <geoip> found
I have set my modparam as follows:
modparam("geoip", "path", "/usr/share/GeoIP/GeoLiteCity.dat")
I am using Ubuntu 12.04 and have loaded the geoip libraries and the database. Is there something I am missing?
Thank you,
Arun