Hi everyone,
I'm trying the install of the nightly build via apt.
In my sources list:
deb http://deb.kamailio.org/kamailiodev-nightly xenial main
deb-src http://deb.kamailio.org/kamailiodev-nightly xenial main
but the apt installs an older version and the upgrade gives:
```kamailio is already the newest version
(5.2.0~dev4+0~20180310010216.1064+xenial).```
What am I doing wrong?
--
Aleksandar Sosic
mail: alex.sosic(a)timenet.it
skype: alex.sosic
cell: +385 91 2505 146
Hi All,
Kamailio send 2 INVITE(lookup rewrite r-uri and append branch) request for
Client behind NAT.
Due to this reason for one request,Client respond with 486 Busy here. we
only want to send 1 INVITE request.
Following are the AOR for client at kamailio.if field(ip port) in CONTACT
and RECEIVED differ then kamailio send 2 INVITE request.
FOLLOWING INVITE HAS BEEN GENERATED AFTER LOOKUP FUNCTION(one from contact
and one from Received field).
INVITE:sip:123@192.168.230.124:45672
INVITE:sip:123@204.192.206.208:45672
I want only ONE INVITE request to be generated.Please suggest how do solve
this issue or if there is any config change or any code change required to
achieve this?
AOR:: 123
Contact:: sip:123@192.168.230.124:45672 Q=1
Expires:: 894
Callid:: 003A8EC4-12351(a)192.168.230.124
Cseq:: 2
User-agent:: SIPPER for 3CX Phone
Received:: sip:204.192.206.208: 45672
State:: CS_NEW
Flags:: 0
Cflag:: 192
Socket:: udp:172.12.120.88:5060
Methods:: 4294967295
Ruid:: uloc-5aba112d-7fce-5
Reg-Id:: 0
Last-Keepalive:: 1522144583
Last-Modified:: 1522144583
thanks,
amit
Hi list,
I'm facing an routing issue with the following sip infrastructure:
ASTERISK 1 ---\___ Kamailio proxy ____ Kamailio frontend ___ IPBX
ASTERISK 2 ---/
And please find below desired call-flow:
1 - An asterisk 1 server send a call to a proxy
2 - This proxy make a location lookup, and send it to kamailio frontend
proxy
3 - Frontend proxy relay to Wazo PBX (for example)
4 - Callee respond ...
5 - Callee hangup the call, so Wazo PBX send a BYE request to kamailio
frontend proxy
6 - Based on Route headers, frontend forward BYE request to proxy
7 - ... here cames issues ...
Question is simple (but answer will be probably more complex): how can i
sent in dialog BYE request to ASTERISK 1, and not asterisk 2.
Should i use dispatcher module ?
Should i use specials headers to send back to Asterisk 1 the BYE request ?
What is the normal behaviour for in-dialog requests ?
I can't find any answers on SIP RFCs or any archived messages on mailing
list.
Thanks in advance,
Best regards.
Hello Everyone,
Not sure what I am missing, but can't match ip address to subnet
Log says
INFO: <script>: Subnets not match processing rtp...destination ip
[10.0.1.242] and sourceip [10.0.1.241]
if(is_method("INVITE")) {
$avp(destip)=$(du{s.select,1,:});
$avp(subnet) = $avp(destip) + "/16";
xlog("L_INFO", "Initial Request: [$rm] destination ip
[$avp(destip)] and sourceip [$si]\n");
if(!is_in_subnet("$si", "$avp(subnet)")) {
xlog("L_INFO", "Subnets not match processing
rtp...destination ip [$avp(subnet)] and source ip [$si]\n");
route(RTP_MANAGE);
}
}
[root@prx00 ~]# rpm -qa | grep kamailio
kamailio-mysql-5.1.2-2.git4c840b7e9.fc27.x86_64
kamailio-5.1.2-2.git4c840b7e9.fc27.x86_64
Slava.
Hi!
I’m trying to get SDP body in my var.
I’m using smth like this
if (KSR.textops.has_body() ~= -1 and KSR.textops.has_body_type("application/sdp") ~= -1) then
KSR.textops.get_body_part("application/sdp", "$var(pbody)»)
local sdp_body = KSR.pv.get("$var(pbody)")
….
end
But in logs i see this
LUA {INVITE}: 7(20794) DEBUG: <core> [core/parser/msg_parser.c:183]: get_hdr_field(): content_length=470
LUA {INVITE}: 7(20794) DEBUG: app_lua [app_lua_sr.c:1496]: sr_kemi_lua_exec_func_ex(): param[0] for: has_body_type is str: application/sdp
LUA {INVITE}: 7(20794) DEBUG: textops [textops.c:3083]: has_body_helper(): content type is 196611
LUA {INVITE}: 7(20794) DEBUG: app_lua [app_lua_sr.c:1496]: sr_kemi_lua_exec_func_ex(): param[0] for: get_body_part is str: application/sdp
LUA {INVITE}: 7(20794) DEBUG: app_lua [app_lua_sr.c:1496]: sr_kemi_lua_exec_func_ex(): param[1] for: get_body_part is str: $var(pbody)
LUA {INVITE}: 7(20794) DEBUG: <core> [core/pvapi.c:396]: pv_cache_lookup(): pvar [$var(pbody)] found in cache
LUA {INVITE}: 7(20794) DEBUG: <core> [core/parser/msg_parser.c:89]: get_hdr_field(): found end of header
LUA {INVITE}: 7(20794) INFO: <core> [core/msg_translator.c:1694]: get_boundary(): Content-Type hdr has no params <application/sdp>
LUA {INVITE}: 7(20794) ERROR: textops [textops.c:2468]: ki_get_body_part_helper(): Cannot get boundary. Is body multipart?
So, in sdp_body var i got 0. What is wrong here?
Regards, Igor
Hello list,
I activated topos and topos_redis backend.
Now, I have the following errors:
Jan 6 07:34:11 sd-110402 /usr/local/sbin/kamailio[30288]: {1 102 NOTIFY
645f4b58537f9df53b9ce65f4937d652@163.172.83.169:5064} ERROR: topos
[tps_storage.c:394]: tps_storage_record(): failed to store
Jan 6 07:34:11 sd-110402 /usr/local/sbin/kamailio[30292]: {1 102 NOTIFY
5b678085378e62c12c6f18154501feb3@163.172.83.169:5064} INFO: topos_redis
[topos_redis_storage.c:163]: tps_redis_insert_dialog(): no uuid for this
message
Jan 6 07:34:11 sd-110402 /usr/local/sbin/kamailio[30292]: {1 102 NOTIFY
5b678085378e62c12c6f18154501feb3@163.172.83.169:5064} ERROR: topos
[tps_storage.c:394]: tps_storage_record(): failed to store
Jan 6 07:34:18 sd-110402 /usr/local/sbin/kamailio[30287]: {1 102 NOTIFY
2799d4a61e9defbc66dc67735e1c6e6c@163.172.83.169:5064} INFO: topos_redis
[topos_redis_storage.c:163]: tps_redis_insert_dialog(): no uuid for this
message
Jan 6 07:34:18 sd-110402 /usr/local/sbin/kamailio[30287]: {1 102 NOTIFY
2799d4a61e9defbc66dc67735e1c6e6c@163.172.83.169:5064} ERROR: topos
[tps_storage.c:394]: tps_storage_record(): failed to store
Jan 6 07:34:18 sd-110402 /usr/local/sbin/kamailio[30290]: {1 102 NOTIFY
760fe2ce3427748514441de25cade2e4@163.172.83.169:5064} INFO: topos_redis
[topos_redis_storage.c:163]: tps_redis_insert_dialog(): no uuid for this
message
Jan 6 07:34:18 sd-110402 /usr/local/sbin/kamailio[30290]: {1 102 NOTIFY
760fe2ce3427748514441de25cade2e4@163.172.83.169:5064} ERROR: topos
[tps_storage.c:394]: tps_storage_record(): failed to store
Jan 6 07:34:33 sd-110402 /usr/local/sbin/kamailio[30291]: {1 102 NOTIFY
7464fc2b503427423b0aba925fb13bc7@163.172.83.169:5064} INFO: topos_redis
[topos_redis_storage.c:163]: tps_redis_insert_dialog(): no uuid for this
message
Jan 6 07:34:33 sd-110402 /usr/local/sbin/kamailio[30291]: {1 102 NOTIFY
7464fc2b503427423b0aba925fb13bc7@163.172.83.169:5064} ERROR: topos
[tps_storage.c:394]: tps_storage_record(): failed to store
Jan 6 07:34:35 sd-110402 /usr/local/sbin/kamailio[30287]: {1 102 NOTIFY
581e88181527f4221fbc7f893a564d6a@163.172.83.169:5064} INFO: topos_redis
[topos_redis_storage.c:163]: tps_redis_insert_dialog(): no uuid for this
message
Jan 6 07:34:35 sd-110402 /usr/local/sbin/kamailio[30287]: {1 102 NOTIFY
581e88181527f4221fbc7f893a564d6a@163.172.83.169:5064} ERROR: topos
[tps_storage.c:394]: tps_storage_record(): failed to store
Could you help me to fix it?
Abdoul OSSENI
Hi. I am doing my first steps with Kamailio and i have installed it
according to the
http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour.
i did create 3 users 1100,1101,1102 and then in windows PC i did install
the jitsi application.
Even though the accounts on Jitsi show as online on each PC i have audio
issues.
All PCs are in the same LAN
-Device 1101 calls 1102 and on 1102 i cannot hear anything. 1102 talks and
it cannot be heard
-Device 1102 calls device 1101 and on 1101 PC i hear a ringing tone. Then i
answer from 1101. 1102 speaks and it can be heard, not the other way around.
any ideas, please?
Hi!
Is there any suggestions, best practices of using SQL connections in KEMI?
Main idea - not to open connection to database in every route (cause it’s really expensive operation in terms of time) and reuse existing, for ex, created in some kind of startup route?
Or maybe use some else technique?
Regards, Igor