In fact, kamailio is out from lcr at this point, no more gateway to try
(all gateways are down).
I just want to send call to a static server for playing sound.
To be more specific, if no gateways are not set on database, a sound must
be played.
Should i change $du and $ru to make it work ?
Le 23 sept. 2016 4:36 PM, "Juha Heinanen" <jh(a)tutpro.com> a écrit :
Loic Chabert writes:
> To accomplish this, i re-write the RURI: "sip:error1@errorserver.local",
> and launch RELAY route. But kamailio dont make a DNS query to find IP of
> "errorserver.local", only change RURI and try to send to the last LCR
> gateway.
>
> I have also try to add a new branch, but same result... Why kamailio do
not
> make a new DNS query ?
check if both hostname and ip address are given for the gateway. if so,
next_gw() also sets destination uri.
-- juha
_______________________________________________
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
Hi all,
My scenario is as follows:
I have All the CSCFs on the same IP using different ports.
P-CSCF advertises a public IP. Rest of the nodes including I-CSCF and S-CSCF
listen local only.
Behavior: When an ACK or PRACK goes from P-CSCF to S-CSCF, the RURI changes
such that alias parameter is removed.
Hence, P-CSCF ends up sending PRACK and ACK on private IP of UE.
Here's what the config looks like:
#!define WITH_NAT
Any hints?
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-ims-nat-issue-PRACK-ACK-ru…
Sent from the Users mailing list archive at Nabble.com.
Hi,
After I am registred on Kamailio a try to make a call (INVITE), and S-CSCF
returns the messege:
604 Does not exist anywhere - HSS User Unknown
What I am doing wrong?
Is the contact entry (Alice) wrong?
How should the contact entry on the list?
sip:alice@mydomain.com
Best Regards.,
--
Rodrigo M.
(37) 9132-4539
(34) 9889-3069
rodrigo.moreira2007
I am getting below error when i start kamailio
Not starting : invalid configuration file!
0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag():
fm_search_defrag(0x7f732c5ff010, 232); Free fragment not found!
0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc():
fm_malloc(0x7f732c5ff010, 232) called from core: route_struct.c:
mk_action(118), module: core; Free fragment not found!
0(2360) CRITICAL: <core> [route_struct.c:137]: mk_action(): memory
allocation failure
0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag():
fm_search_defrag(0x7f732c5ff010, 40); Free fragment not found!
0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc():
fm_malloc(0x7f732c5ff010, 40) called from core: cfg.y: yyparse(2636),
module: core; Free fragment not found!
0(2360) : <core> [cfg.y:3368]: yyerror_at(): parse error in config file
/etc/kamailio/proxy.cfg, line 5372, column 3-28: Not enough memory
ERROR: bad config file (1 errors)
I tried increasing SHM_MEMORY and PKG_MEMORY under /etc/default/kamailio
I doubled memory but still getting same error.
Is there any other place i should look at ?
Hi all,
My scenario is as follows:
I have All the CSCFs on the same IP using different ports.
P-CSCF advertises a public IP. Rest of the nodes including I-CSCF and
S-CSCF listen local only.
Behavior: When an ACK or PRACK goes from P-CSCF to S-CSCF, the RURI changes
such that alias parameter is removed.
Hence, P-CSCF ends up sending PRACK and ACK on private IP of UE.
Here's what the config looks like:
listen=udp:lo.ca.l.ip:6000 advertise pu.bl.ic.ip:6000
alias=pcscf-ims.domain.net
#!define WITH_NAT
Any hints?
I'm currently using version 4.4.2 and am having trouble trying to reset the statistics in the TMX module. According to its documentation, all statistics except "inuse_transactions" can be reset.
Checking the tmx_mod.c files for the statistics definition, I saw that the STAT_NO_RESET flag wasn't used for any statistic listed there (which seems odd because I think it should have been set for the inuse_transactions statistic):
static stat_export_t mod_stats[] = {
{"UAS_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_uas_trans },
{"UAC_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_uac_trans },
{"2xx_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_trans_2xx },
{"3xx_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_trans_3xx },
{"4xx_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_trans_4xx },
{"5xx_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_trans_5xx },
{"6xx_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_trans_6xx },
{"inuse_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_trans_inuse },
{"active_transactions", STAT_IS_FUNC, (stat_var**)tmx_stats_trans_active},
{"rpl_received", STAT_IS_FUNC, (stat_var**)tmx_stats_rcv_rpls },
{"rpl_absorbed", STAT_IS_FUNC, (stat_var**)tmx_stats_abs_rpls },
{"rpl_generated", STAT_IS_FUNC, (stat_var**)tmx_stats_rld_loc_rpls},
{"rpl_relayed", STAT_IS_FUNC, (stat_var**)tmx_stats_rld_rcv_rpls},
{"rpl_sent", STAT_IS_FUNC, (stat_var**)tmx_stats_rld_tot_rpls},
{0, 0, 0}
};
All seems ok, but when I try to reset the stats, the command simply doesn't work. The values remain unaltered. The clear command doesn't work either, it just returns the current values.
Can anyone help me trying to debug this problem, I'm very new to Kamailio and its code, and don't have a good understanding of how it the statistics gathering/reset works.
Thanks.
Atila Moretto
I have multiple Kamailio servers in an Active/Active scenario (the database
is a MySQL server) using db_mode 3. But when the number of clients goes up
writes on the location table become too much and it causes database
problems. I even put my location table on a separate SSD disk on the server
to separate it's IO but still at times I have problems. How can I move
location table into memory? Is this a good solution? What other options do
I have?
Hello,
I'm wondering if there's a best practise to dimension the number of child to
setup?
I see, very often, Kamailio that stops to reply to SIP traffic for couple a
seconds. This cause some calls drop if RE-INVITE are not processed for
example.
So, I'm wondering if the issue is not due to a lack of child for processing
the SIP traffic.
Thank you for your inputs.
Regards,
Igor.
Hi guys,
I am using the http_async_client module to POST some requests to a Web Interface, and on server 1 it all works well.
I have done a fresh install from github, version 4.4 on Centos 6.8 on server 2, and kamailio wont start.
Its the same configuration file, however it states;
failed to find command http_async_query (params 3)
However the module is loaded, and when installing no errors were written when creating the module, and in terms of its links they are below and look ok to me.
Is there anywhere else I should be looking?
Thanks
Jon
ldd http_async_client.so linux-vdso.so.1 => (0x00007ffecedf1000) libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007fdc5bd63000) libevent-2.0.so.5 => /usr/lib64/libevent-2.0.so.5 (0x00007fdc5bb1c000) libsrutils.so.1 => /usr/local/kamailio-4.4/lib64/kamailio/libsrutils.so.1 (0x00007fdc5b90c000) libkcore.so.1 => /usr/local/kamailio-4.4/lib64/kamailio/libkcore.so.1 (0x00007fdc5b6ff000) libc.so.6 => /lib64/libc.so.6 (0x00007fdc5b36a000) libidn.so.11 => /lib64/libidn.so.11 (0x00007fdc5b138000) libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007fdc5aee7000) librt.so.1 => /lib64/librt.so.1 (0x00007fdc5acde000) libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fdc5aa9a000) libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fdc5a7b3000) libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fdc5a586000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fdc5a382000) libz.so.1 => /lib64/libz.so.1 (0x00007fdc5a16c000) libssl3.so => /usr/lib64/libssl3.so (0x00007fdc59f28000) libsmime3.so => /usr/lib64/libsmime3.so (0x00007fdc59cfb000) libnss3.so => /usr/lib64/libnss3.so (0x00007fdc599bb000) libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007fdc5978e000) libplds4.so => /lib64/libplds4.so (0x00007fdc5958a000) libplc4.so => /lib64/libplc4.so (0x00007fdc59385000) libnspr4.so => /lib64/libnspr4.so (0x00007fdc59146000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdc58f29000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fdc58d25000) libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007fdc58afc000) libm.so.6 => /lib64/libm.so.6 (0x00007fdc58878000) /lib64/ld-linux-x86-64.so.2 (0x00007fdc5c1f8000) liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007fdc58668000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fdc5844e000) libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fdc58234000) libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fdc58028000) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fdc57e25000) libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fdc57bb8000) libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fdc577d4000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fdc5759d000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fdc5737d000) libfreebl3.so => /lib64/libfreebl3.so (0x00007fdc5717a000)