Hi all,
No Audio flows between the two parties when one side resumes the call after
putting on hold.
Configuration - WebRTC <--> Kamailio <--> Asterisk
Below is the warning I'm getting in asterisk console
WARNING[32388]: chan_sip.c:10425 process_sdp: Declining non-primary audio
stream: audio 10596 UDP/TLS/RTP/SAVPF 107 103 104 9 0 8 106 105 13 110 112
113 101
Is this a codec issue or something else.
Thanks,
Arish
hi
i using kamailio 5.2
is it possible to use environmental variables value in kamailio.cfg
like i want to use local ip and public ip in config file
listen=udp:$(local_ip):5060 advertise $(public_ip):5060
if iti is possible then how i can use this
thank you
--
*Regards:*
Gaurav Kumar
Hi List,
i updated one of my testing kamailios from 5.2.x to latest 5.3.x.
After restarting the process, i got an mysql error that the server
"kamailio" is not found.
I use the config-feature of my.cnf config-group names within the
kamailio.cfg
I can start my kamailio 5.3.x installation with "normal
username:password@host" definitions for DBURL.
Did anyone have the same issue?
0(19625) ERROR: db_mysql [km_my_con.c:139]: db_mysql_new_connection():
driver error: Can't connect to MySQL server on 'kamailio' (4)
0(19625) ERROR: <core> [db.c:319]: db_do_init2(): could not add connection
to the pool
0(19625) ERROR: dialplan [dp_db.c:179]: dp_connect_db(): unable to connect
to the database
0(19625) ERROR: dialplan [dialplan.c:191]: mod_init(): could not
initialize data
0(19625) ERROR: <core> [core/sr_module.c:850]: init_mod(): Error while
initializing module dialplan (/usr/lib64/kamailio/modules/dialplan.so)
ERROR: error while initializing modules
from my kamailio.cfg i defined the DBURL like this:
# Use /etc/my.cnf.d/kamailio.cnf to store credentials
# within a mysql-db-group
#!define DBURL "mysql://[kamailio]/kamailio"
and special modules can use it like this (or via DBURL)
modparam("sqlops", "sqlcon", "cb=>mysql://[kamailio]/kamailio")
cat /etc/my.cnf.d/kamailio.cnf
# MySQL configuration group for kamailio
[kamailio]
user=kamailio
password="kamailiorw"
host=172.20.100.22
rpm -qa | grep kam
kamailio-dialplan-5.3.0-13.1.x86_64
kamailio-websocket-5.3.0-13.1.x86_64
kamailio-jansson-5.3.0-13.1.x86_64
kamailio-mysql-5.3.0-13.1.x86_64
kamailio-tls-5.3.0-13.1.x86_64
kamailio-ims-5.3.0-13.1.x86_64
kamailio-statsd-5.3.0-13.1.x86_64
kamailio-5.3.0-13.1.x86_64
kamailio-redis-5.3.0-13.1.x86_64
cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
--
Cheers
*Karsten Horsmann*
Hello List,
i search for the right place in kamailio to manipulate the dispatcher
OPTIONS packets to add an Contact header.
For uac generated traffic i can use the event_route[tm:local-request] from
the tm module.
But how can i manipulate kamailio *self* generated OPTION pings from the
dispatcher?
OPTIONS request for MS Teams must contain the Contact header of such a
format:
Contact: <sip:SBC_FQDN:5061;transport=tls>
I follow this guide (for opensips) and try to adapt that step by step to
kamailio:
https://blog.opensips.org/2019/09/16/opensips-as-ms-teams-sbc/
CentOS 7 / kamailio 5.2.x (and maybe soon 5.3.x) / rtpengine
--
Cheers
*Karsten Horsmann*
Hi all,
This is many days we are trying many things and reading many threads :)
We also re installed a simple brand new kamailio to be sure everything is
ok.
In fact, with sngrep we can see "subscribe" arriving on kamailio but on
syslog we have a critical error :
Oct 23 10:08:42 GTO-Temp01 kamailio[2004]: 20(2027) exec: {1 29 SUBSCRIBE
3135373137353930373733323337-joash9r9lnre} ***
cfgtrace:request_route=[PRESENCE] c=[/usr/local/etc/kamailio/kamailio.cfg]
l=770 a=24 n=handle_subscribe
Oct 23 10:08:42 GTO-Temp01 kamailio[2004]: 20(2027) CRITICAL: {1 29
SUBSCRIBE 3135373137353930373733323337-joash9r9lnre} <core>
[core/mem/q_malloc.c:494]: qm_free(): *BUG: bad pointer 0xa (out of memory
block!) *called from presence: *subscribe.c*: handle_subscribe(1040) -
ignoring
We tried to start kamailio with many more memory (x4) and this is the same.
We tried with only "presenceXXX" plugins, and also with "puaXXX" plugins
below is our config file :
https://gist.github.com/Dyriolon/e894b9f2a67f9dfb7117421717ad6178
Any idea of what is wrong ?
Thanks!
Hello,
What is the Best way to implement call parking and call pickup in setup
Kamailio(active-active) and dispatcher with a few asterisk round-robin?
Could someone share some best practices, please?
Thank you!
Hello,
the mysql server version 8 is no longer supporting creating the user and
granting privileges in the same statement, they have to be separate. I
checked the mariadb specs and they seem to support also the separate
creation of user and granting privileges in two statements.
I pushed the changes in kamdbctl to master branch via commit:
-
https://github.com/kamailio/kamailio/commit/c0879add55bef77703f2259f224b4a1…
The reason I am writing here is to see if anyone is aware of some (old)
versions of mariadb or mysql servers that do not support the creation
and grant in two steps. If yes, then we can add a config option in
kamctlrc to do one or the other variants. But for now I did it only with
the new style, as it seems to be supported everywhere by latest
versions, to avoid unnecessary option to keep also the old style.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany -- https://asipto.com/u/kat
Hi,
I am wondering if there is any way to remove an entry from the active dialog list?
I mean, assuming that Kamailio did not get any BYE related to a call for some reason and that I want that call to be “killed” from dialog memory before reaching the lifetime timeout.
What I already tried with no success: sending a request to Kamailio catched by a dedicated route of the script then:
* using the dlg_get function (with the target call as parameter) then send_bye function (then dropping the BYE request generated by the dialog module in the onsend_route with the drop function): no success. Dialog module correctly generates BYE requests but dialog related to the call is kept in memory until its lifetime timeout (and BYE requests are not dropped in the onsend_route either).
* using the dlg_get function then dlg_set_timeout to set a very low timeout value for that particular call. No successs: Trying to update a bogus dlg as critical error.
Could some RPC commands or whatever help me to accomplish what I try to do?
Thanks
Julien
Hi ppl,
I'm testing this external app (cgrates, you all know it) that talks to
Kamailio via evapi.
Every *n* minutes the app sends an evapi request to Kamailio which returns
back the list of all dialogs like so:
jsonrpc_exec('{"jsonrpc":"2.0","id":1, "method":"dlg.list","params":[]}');
evapi_relay("{\"event\":\"CGR_DLG_LIST_REPLY\",
\"jsonrpl_body\":$jsonrpl(body)}");
The problem is that the size of *$jsonrpl(body)* PV is limited by
Kamailio's *pv_buffer_size* setting.
My math shows that a single dialog is about 1KiB of json data.
*Problem*: Kamailio fails to start with a *pv_buffer_size *higher than 117
KiB (119808 bytes), which in turn rends the system's limit to about 117
simultaneous calls... pretty sad.
Below find the error when trying to start Kamailio with higher values:
0(17080) ERROR: <core> [core/mem/q_malloc.c:291]: qm_find_free():
qm_find_free(0x7f02275c5010, 120832); Free fragment not found!
0(17080) ERROR: <core> [core/mem/q_malloc.c:425]: qm_malloc():
qm_malloc(0x7f02275c5010, 120832) called from core: core/pvapi.c:
pv_init_buffer(2069), module: core; Free fragment not found!
0(17080) ERROR: <core> [core/pvapi.c:2072]: pv_init_buffer(): cannot init
PV print buffer slot[39]
Is there a workaround for this?
Thanks,
--Sergiu