good day, i have a running kamailio server having 200 users. I maintain the
user ids in a vcf (vCard Format) form. i have developed an Android VoIP
application. Android application is given to the user along with the contact
vcf. The contact list get increased day by day and consequently the user ids
in vcf (vCard Format) as well. the application is also updated. Aim is to
update application and the contact list by sending push notification to
user. (we don't want to place our application at play store). i want to do
push notification from Kamilio server for application and contact list
update. Is there any way to do push notification from server to users to
update the app and VoIP contact list. regards sscc
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-push-for-Android-VoIP-Appl…
Sent from the Users mailing list archive at Nabble.com.
Dear Daniel,
A small concern in kamailio, existing TCP stack is not doing load distribution among children for SIP messages. For example UE-->kamailio1 (TCP listen (4 children)) ----->kamailio2 (TCP Listen 4 children)
As per stack if UE opens a connection with kamailio1 based on free children it is sharing the FD, so no problem towards from UE to kamailio1, then need requirement to forward same sip message to kamailio2, here kamailio1 is opening connection with kamailio2 and then forwarding. Suppose if we forward two requests to kamailio2, only one children is getting used among four. With this design suppose if we want to run our kamailio as two sip servers we may not achieve good results when performance matters.
Please suggest something on this to move further.
Regards
surendra
Hi all,
I would like to implement destinations keepalive in drouting module (as it is done in dispatcher).
But instead of duplicating what's implemented in dispatcher, I think it would be more clever to create a new module
dedicated to pinging destinations, and to plug drouting, dispatcher and other modules to this new one
What's you opinion about that ?
Cheers,
Guillaume
Hi there,
I've kamailio 4.2.3 (i386/freebsd) which works perfectly with 200-300
cps for years.
Now I need migrate to freebsd amd64. I've installed kamailio 4.4.5
(amd64/freebsd), copied kamailio.cfg, made a test call - it was all right.
But when I start work load (200-300 cps), kamailio core dumped and
exited. In logs (skipped "<script>:" having):
=======================
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32034]: ERROR: <core>
[mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(0x809937000,
976); Free fragment not found!
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32034]: ERROR: <core>
[mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x809937000, 976) called
from core: msg_translator.c: build_req_buf_from_sip_req(2154), module:
core; Free fragment not found!
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32034]: ERROR: <core>
[msg_translator.c:2159]: build_req_buf_from_sip_req(): out of memory
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32034]: ERROR: tm
[t_fwd.c:462]: prepare_new_uac(): could not build request
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32034]: ERROR: tm
[t_fwd.c:1723]: t_forward_nonack(): ERROR: t_forward_nonack: failure to
add branches
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32034]: ERROR: sl
[sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used: No error
(2/SL)
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32035]: ERROR: <core>
[mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(0x809937000,
864); Free fragment not found!
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32035]: ERROR: <core>
[mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x809937000, 864) called
from tm: t_reply.c: relay_reply(1885), module: tm; Free fragment not found!
Mar 1 12:39:32 sip7 /usr/local/sbin/kamailio[32035]: ERROR: tm
[t_reply.c:1887]: relay_reply(): ERROR: relay_reply: cannot alloc reply
shmem
Mar 1 12:39:37 sip7 /usr/local/sbin/kamailio[32038]: : <core>
[mem/f_malloc.c:598]: fm_free(): BUG: fm_free: bad pointer
0x61743b3e6d6f632e (out of memory block!), called from tm: h_table.c:
free_cell_helper(226) - aborting
Mar 1 12:39:39 sip7 /usr/local/sbin/kamailio[32031]: ALERT: <core>
[main.c:740]: handle_sigs(): child process 32034 exited by a signal 10
Mar 1 12:39:39 sip7 /usr/local/sbin/kamailio[32031]: ALERT: <core>
[main.c:743]: handle_sigs(): core was generated
Mar 1 12:39:39 sip7 /usr/local/sbin/kamailio[32031]: INFO: <core>
[main.c:755]: handle_sigs(): terminating due to SIGCHLD
Mar 1 12:39:39 sip7 /usr/local/sbin/kamailio[32044]: INFO: <core>
[main.c:810]: sig_usr(): signal 15 received
=======================
I've tried to start with -m 512 - nothing changes.
Hardware: Xeon(R) CPU E5-2660, 16Gb RAM, 1Tb HDD.
Software:
OS: FreeBSD 10.3-STABLE (r313760) amd64
version: kamailio 4.4.5 (amd64/freebsd) f98162
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_PTHREAD_MUTEX, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE
65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, select, kqueue.
id: f98162
compiled on 12:25:48 Mar 1 2017 with clang 3.4
bt is here: http://tmp.lehis.ru/kam_gdb.txt
I can't enable debug symbols for gdb (tried gmake mode=debug, which
added EXTRA_DEBUG to flags). How can I do it?
I need in direction for resolve this issue, please, help.
Thanks.
--
Best regards,
Alexey V. Panfilov
Hello,
I got two coredumps:
(gdb) bt full
#0 0x000000000061ab8e in qm_insert_free (qm=0x7f0f7fca7000,
frag=0x7f0f8f6f6268) at mem/q_malloc.c:180
f = 0x7f0f8f6c45e8
prev = 0x0
hash = 5
And
(gdb) bt full
#0 0x000000000061b935 in qm_detach_free (qm=0x7f0f7fca7000,
frag=0x7f0f8f6d70b8) at mem/q_malloc.c:271
prev = 0x7f0f7fca7248
next = 0x7f0f8f6c45e8
What are necessary to diagnose how this issue occurs? Thank you for your
support.
Regards,
Igor.
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Hi
i want install Siremis 4.3.0 on a Centos 7.3 with Php 7.1
when i want access to the web site, i have this error in httpd logs:
Mon Mar 06 18:35:06.833569 2017] [php7:warn] [pid 22018] [client
172.16.1.150:58375] PHP Warning:
require_once(SMARTY_CORE_DIRcore.assemble_plugin_filepath.php): failed to
open stream: No such file or directory in
/var/www/siremis-4.3.0/openbiz/others/Smarty/libs/Smarty.class.php on line
1368
[Mon Mar 06 18:35:06.833641 2017] [php7:error] [pid 22018] [client
172.16.1.150:58375] PHP Fatal error: require_once(): Failed opening
required 'SMARTY_CORE_DIRcore.assemble_plugin_filepath.php'
(include_path='.:/usr/share/pear:/usr/share/php:/var/www/siremis-4.3.0/openbiz/others/')
in /var/www/siremis-4.3.0/openbiz/others/Smarty/libs/Smarty.class.php on
line 1368
Anyone know this errors ?
regards
Lucas
Mar 2 11:55:33 Ubuntu kamailio: INFO: <core> [core/sctp_core.c:75]:
sctp_core_check_support(): SCTP API not enabled - if you want to use it,
load sctp module
Mar 2 11:55:33 Ubuntu kamailio: INFO: <core> [core/tcp_main.c:4665]:
init_tcp(): using epoll_lt as the io watch method (auto detected)
Mar 2 11:55:33 Ubuntu kamailio[6479]: INFO: rr [../outbound/api.h:52]:
ob_load_api(): unable to import bind_ob - maybe module is not loaded
Mar 2 11:55:33 Ubuntu kamailio[6479]: INFO: rr [rr_mod.c:175]: mod_init():
outbound module not available
Mar 2 11:55:33 Ubuntu kamailio[6479]: INFO: sipcapture [sipcapture.c:454]:
parse_table_names(): INFO: table name:sip_capture
Mar 2 11:55:33 Ubuntu kamailio[6479]: ERROR: <core> [db.c:203]:
db_bind_mod(): Module db_mysql not found. Missing loadmodule?
Mar 2 11:55:33 Ubuntu kamailio[6479]: ERROR: sipcapture
[sipcapture.c:526]: capture_mode_set_params(): parsing capture_mode: could
not bind db funcs for url:[mysql://kamailio:kamailiorw@localhost/kamailio]
Mar 2 11:55:33 Ubuntu kamailio[6479]: ERROR: sipcapture
[sipcapture.c:637]: capture_mode_init(): capture mode parsing failed
Mar 2 11:55:33 Ubuntu kamailio[6479]: WARNING: sipcapture
[sipcapture.c:769]: mod_init(): Default capture mode configuration failed.
Suppose sip_capture calls will use other defined capture modes.
Mar 2 11:55:33 Ubuntu kamailio[6479]: : <core> [core/mem/q_malloc.c:145]:
qm_debug_frag(): BUG: qm_*: prev. fragm. tail overwritten(0,
0)[0x7fea6ae64ae0:0x7fea6ae64b18]! Memory allocator was called from
sipcapture: sipcapture.c:831. Fragment marked by sipcapture:
sipcapture.c:788.
Mar 2 11:55:33 Ubuntu kamailio: ERROR: <core> [core/daemonize.c:303]:
daemonize(): Main process exited before writing to pipe
This type of error are put's my kamailio so can you tell me why ?
Thank you,
Ghanshyam variya
Hi, very thanks!
Before use dlg_get i lost 3-4 hour calls every day. Now one day - fly is good!
> Hello,
>
> can you try using dlg_get(...) before the xlog?
>
> Cheers,
> Daniel
>
> On 27/02/2017 08:33, Никитенко Виталий wrote:
>> Hi i have kamailio 4.2, dialog module with parametr
>> modparam("dialog", "dlg_flag", 5)
>> modparam("dialog", "enable_stats", 1)
>> modparam("dialog", "profiles_with_value", "caller")
>> modparam("dialog", "dlg_match_mode", 1)
>> modparam("dialog", "default_timeout", 3600)
>> modparam("dialog", "timeout_noreset", 1)
>> modparam("dialog", "send_bye", 1)
>> modparam("dialog", "timeout_avp", "$avp(i:4242)")
>> modparam("dialog", "db_url", DBURL)
>> modparam("dialog", "db_mode", 0)
>>
>> in event_route[tm:local-request] i use
>> if(is_known_dlg()) {
>> xlog("L_INFO","DIALOG IS KNOWN $dlg(h_entry)::$dlg(h_id)) I
>> }
>>
>> And when call drop by timeout, sometimes in log i see
>> /usr/local/sbin/kamailio[21144]: INFO: <script>: DIALOG IS KNOWN <null>::<null>
>>
>> But usually this string in log file i see as "DIALOG IS KNOWN 3452::3334"
>>
>> Why it may be? when the $dlg(h_entry)::$dlg(h_id) is not known, I can not track $DLG_lifetime.
>> Different between unsuccessful and successful call i dont see
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users(a)lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>
> ------------------------------
Hello,
I recently started testing topology hiding module on Kamailio and
encountered a problem where B party hangs up, Kamailio can't identify
the ongoing transaction to which the BYE should be related to and
instead of tearing the call down Kamailio just sends back "481 Call
leg/Transaction does not exist" to B party.
On Kamailio config I have only enabled the topoh.so -module with default
options and configured this to enable masking:
modparam("topoh", "mask_callid", 1)
Here is what the INVITE to B party looks like and the BYE message coming
from the B party:
http://pastebin.com/raw/f63zUmid
When debugging on Kamailio end i get:
http://pastebin.com/raw/ZefGAz30
Is this a Kamailio issue or a softphone issue on B party end?
Cheers,
--Olli