Dear Expert Fellows,Good Day,
I'm wonder whether kamailio developed an open source based LTE HSS handles both IMS and LTE procedures "LTE Attach, Location Update, Authentication, ....".
If it's not yet developed, is there any plan for it in the near future.
Thanks and have a nice day.
Ibrahim Almahi966594996362
Hi,
Could someone please tell me which json library I have to install in order for the kazoo module to compile?
I've tried many different json library, none of them work.
It keeps complaining:
make all
CC (gcc) [M kazoo.so] kz_trans.o
In file included from kz_trans.c:53:0:
kz_json.h:12:18: fatal error: json.h: No such file or directory
#include <json.h>
^
compilation terminated.
../../Makefile.rules:97: recipe for target 'kz_trans.o' failed
make[1]: *** [kz_trans.o] Error 1
Makefile:511: recipe for target 'modules' failed
make: *** [modules] Error 1
There is another thread regarding this same issue, but no solution was provided by the creator of the thread.
Any ideas?
Regards,
Grant
Hi Sebastian,
Thanks for your reply.
Today I am trying to install rtpengine as suggested by you.Could you please tell me from which part of the script I need to add rtpengine functions as my client is getting 183 from kamailio as of now.
My architecture is like this,
external ipv4 network(port 5060)----------rtpproxy(ipv4)--kamailio(ipv6)(port 5070)----------client(ipv4)(port 5077)
Please look at the attached wireshark capture.
Highly appreciate any suggestion as always.
Thanks,
Narayan
________________________________
From: sr-users <sr-users-bounces(a)lists.kamailio.org> on behalf of sr-users-request(a)lists.kamailio.org <sr-users-request(a)lists.kamailio.org>
Sent: Monday, July 3, 2017 10:00:02 AM
To: sr-users(a)lists.kamailio.org
Subject: sr-users Digest, Vol 146, Issue 2
Send sr-users mailing list submissions to
sr-users(a)lists.kamailio.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
or, via email, send a message with subject or body 'help' to
sr-users-request(a)lists.kamailio.org
You can reach the person managing the list at
sr-users-owner(a)lists.kamailio.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of sr-users digest..."
Today's Topics:
1. Re: host to get name of local server (Daniel-Constantin Mierla)
2. Re: remote ip address of sender and receiver
(Daniel-Constantin Mierla)
3. Re: remote ip address of sender and receiver
(Daniel-Constantin Mierla)
4. Re: Question regarding calling a shell script from kamailio
(Daniel-Constantin Mierla)
5. Re: Compiling errors (Daniel-Constantin Mierla)
6. Re: evapi module and async_relay (Daniel-Constantin Mierla)
7. Re: Using lock() correctly (Sebastian Damm)
8. Re: call forward on no answer (Daniel-Constantin Mierla)
9. Re: How to convert ipv6 to ipv4 address inside message body
(Sebastian Damm)
10. Re: UAC auth for incoming call (Daniel-Constantin Mierla)
11. Re: drouting / do_routing / prefix unknown
(Daniel-Constantin Mierla)
12. Re: Using lock() correctly (Daniel-Constantin Mierla)
13. Re: Using lock() correctly (Sebastian Damm)
14. Re: Using lock() correctly (Daniel-Constantin Mierla)
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Jul 2017 09:03:16 +0200
From: Daniel-Constantin Mierla <miconda(a)gmail.com>
To: "Kamailio (SER) - Users Mailing List"
<sr-users(a)lists.kamailio.org>, Henry Fernandes <henry(a)usinternet.com>
Subject: Re: [SR-Users] host to get name of local server
Message-ID: <9c3f6b62-d79f-1376-b0f5-1ccbb69e37c1(a)gmail.com>
Content-Type: text/plain; charset="windows-1252"
Hello,
On 29.06.17 18:11, Henry Fernandes wrote:
> We have multiple Kamailio 4.4.x servers and I am setting up stats
> tracking. I would like to track the stats for each individual
> Kamailio server separately like so:
>
> kamailio_1.sip.register.count
> kamailio_2.sip.register.count
> kamailio_3.sip.register.count
>
> The problem is that we use one common file (in version control) for
> our Kamailio configuration. Thus, I can’t just hardcode the hostname
> into the file because it will be the same for each server.
>
> Does anyone have a solution for me? Is there a variable that provides
> the hostname or is there something else I can do?
>
> Ideally, I’d love to be able to do something like this.
>
> statsd_incr($host_name + “.sip.register.count");
>
>
one option would be to define it via command line parameter with -A
option. Your start script can set it using the usual shell scripts.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - www.asipto.com<http://www.asipto.com>
Kamailio World Conference - www.kamailioworld.com<http://www.kamailioworld.com>
Hello all,
I have two kamailio servers(A and B) with exact same config using the same mysql db. I can register to A but not B. Server B complained:
ERROR: <script>: fu is sip:851968556538527744@104.198.52.31, ru is sip:104.198.52.31, rU is <null>
After capture the udp packet on both server using ngrep, the REGISTER they received are both good except A returns 200 OK and B returns 403 Not relaying.
I don't have a clue what went wrong. How come the $rU is null when all the headers in REGISTER are valid? Can someone please point me the direction?
Thanks
Jesse
Hello guys,
So i've setup kamailio 5 with wss. Registration goes ok, but when trying to
call, SIPML as well as jsSIP send garbage as Contact header, something like:
Contact: <sip:0ku6du26@7j65fcf53i2k.invalid
;transport=ws>;reg-id=1;+sip.instance="<urn:uuid:8b49ac42-2039-4122-9f5b-6f4e9f471f52>";expires=600
so when it passes through:
if (is_method("REGISTER")) {
fix_nated_register();
} else {
if (!add_contact_alias()) {
xlog("L_ERR", "Error aliasing contact <$ct>\n");
sl_send_reply("400", "Bad Request");
exit;
}
}
(taken from several examples i've found around)
add_contact_alias() fails because it tries to find whether the ip address
in the contact header is different from the received ip, and if not, it
adds the received ip as a parameter... so the call doesn't work...
I assume there's a way around this, can anyone help?
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
ᐧ
Hi,
for a project I need to make sure, I have a setup where I get
mirror-traffic into Kamailio which has to do something with it. To
work correctly, I need to make sure, the initial INVITE is processed
correctly before any reply to the same call. So I thought I use lock()
and unlock() for it.
This is what the relevant kamailio.cfg part looks like:
request_route {
xlog("L_INFO", "Got new packet $rm: $si => $Ri\n");
route(li);
}
onreply_route {
xlog("L_INFO", "Got new packet $rm: $si => $Ri - Reply Code $rs\n");
route(li);
}
route[magic] {
lock("$ci");
xlog("L_INFO", "Obtained lock, calling lua...\n");
if(!lua_run("handle_packet")) {
xlog("L_ERR", "SCRIPT: failed to execute lua function!\n");
}
unlock("$ci");
xlog("L_INFO", "Lua finished, released lock...\n");
drop;
exit;
}
And this is what the log says:
Jun 28 13:27:04 busch /usr/sbin/kamailio[18836]: INFO: <script>: Got
new packet INVITE: 172.20.21.247 => 172.20.21.4
Jun 28 13:27:04 busch /usr/sbin/kamailio[18836]: INFO: <script>:
Obtained lock, calling lua...
Jun 28 13:27:04 busch /usr/sbin/kamailio[18836]: INFO: app_lua
[app_lua_sr.c:98]: lua_sr_log(): some logging
Jun 28 13:27:04 busch /usr/sbin/kamailio[18837]: INFO: <script>: Got
new packet INVITE: 172.20.21.4 => 172.20.21.247 - Reply Code 407
Jun 28 13:27:04 busch /usr/sbin/kamailio[18837]: INFO: <script>:
Obtained lock, calling lua...
Jun 28 13:27:04 busch /usr/sbin/kamailio[18837]: INFO: <script>: Lua
finished, released lock...
Jun 28 13:27:04 busch /usr/sbin/kamailio[18836]: INFO: app_lua
[app_lua_sr.c:98]: lua_sr_log(): some more logging
As far as I understand the documentation, the second packet should
wait for the lock on the Call-ID before executing the lua function. So
process 18836 should finish its lua execution before 18837 can do
anything further. Did I completely misunderstand the lock() function?
I'm using Kamailio 5.0.2.
Thanks for helping me understand what Kamailio is doing here.
Best Regards,
Sebastian
Hello
I am using Kamailio 5.0.2, with module drouting to do prefix based routing.
1. When I call do_routing and the prefix is not known, the r-uri remains
unchanged. Is there a way to detect that the prefix is unknown, other than
r-uri remains unchanged ?
2. I have the following parameters
modparam("drouting", "db_url",DBURL)
modparam("drouting", "sort_order", 0)
modparam("drouting", "use_domain", 0)
modparam("drouting", "force_dns", 1)
# modparam("drouting", "enable_keepalive", 1)
If I enable keep alive, I get the following error:
Jun 20 22:37:17 kamailio1 kamailio: ERROR: <core> [core/modparam.c:141]:
set_mod_param_regex(): parameter <enable_keepalive> of type <2> not found
in module <drouting>
yet, the documentation leads me to think that it should work:
*NOTE: this option is only compatible with <em>sort_order</em> 0 currently.
With sort_order value of 1 or 2, destinations status will simply be
ignored.*
Thanks for your help
J.
Hello kamailio users,
I use uac module. Registration and outbound calls from Kamailio are fine.
How can I check if INVITE sent from remote part not spoofed.
Hello,
In my Platform i have a kamailio used as pseudo SBC and a kamailio used as
Proxy (AS trigger) (cpl are applied on this instance). When I make a call
and callee doesn't answer that call my SBC detects the timeout and
generates a 408 to Proxy (according to fr_inv_timer) , but it generates
CANCEL too. Is it possible to deactivate these CANCEL? if not what is the
configuration in order to be able to trigger CFNA?
Regards,
Frédéric
Hi guys,
Anybody knows if evapi sends messages to the clients immediately when
async_relay is called?
The normal behavior is 1 or 2 netstrings per message but I see that
sometimes it starts to enqueue and starts sending for example 4, 5, 15, 30,
52.....327, 645 per message.
Cheers,
Diego