Re: [SR-Users] mhomed not working for tls destination

2022-07-05 Thread Aidar Kamalov
Hi, thank you for your reply, I have tried it at kamailio 5.5 and 5.6 versions, and there are two network interfaces. Actually, I have created a testing vm for this, with a simple almost default kamailio configuration. And yes, with forcing socket everything is working fine, but I just want to

[SR-Users] mhomed not working for tls destination

2022-07-01 Thread Aidar Kamalov
Hello, I have faced an issue when mhomed parameter working well only for udp destinations in systems with multiple network interfaces. If kamailio forward call to the UDP destination, mhomed option chooses the correct Via and the correct network interface for sending. But if the destination is

[SR-Users] DMQ node list

2021-07-14 Thread Aidar Kamalov
Hello, I have a kamailio cluster with two nodes kamailio-1.local: 10.101.2.119 kamailio-2.local: 10.101.2.247 with dmq configs: kamailio-1: modparam("dmq", "server_address", "sip:MY_IP4_ADDR:5060") modparam("dmq", "notification_address", "kamailio-2.local:5060") kamailio-2: modparam("dmq",

Re: [SR-Users] Change Record Route onreply

2020-08-10 Thread Aidar Kamalov
\n"); } пн, 10 авг. 2020 г. в 17:25, Alex Balashov : > Why do you want to do this? > > — > Sent from mobile, with due apologies for brevity and errors. > > > On Aug 10, 2020, at 6:35 AM, Aidar Kamalov > wrote: > > > >  > > Hello, > > >

[SR-Users] Change Record Route onreply

2020-08-10 Thread Aidar Kamalov
Hello, I have kamailio with only one interface. Is it possible to set one RR - lan ip address to INVITEs (to dispatcher list members) and 127.0.0.1 to replies 200OK (to softphone)? I can't use record_route() function in onreply route because: Command cannot be used in the block. -- Aydar A.

[SR-Users] Kamailio under NAT

2020-06-05 Thread Aidar Kamalov
Hello, I am trying to start kamailio+rtpengine+asterisk in docker with docker-compose (not in network host mode). And I faced behavior that I can't understand. When my phone(fanvil) sends a register to kamailio with his ip in contact - 192.168.88.55 (to host's ip address 192.168.88.55), kamailio

Re: [SR-Users] kamailio as SBC for Teams

2020-04-10 Thread Aidar Kamalov
FQDN everywhere, no IP, > especially RR > > On Fri, Apr 10, 2020 at 7:06 AM Aidar Kamalov > wrote: > >> Thanks for the answer, I have disabled forse_rport() for Teams side, >> responses now going to address in Via header, but it is not resolved my >> issue, no ACK

Re: [SR-Users] kamailio as SBC for Teams

2020-04-10 Thread Aidar Kamalov
7.24:5061, that's > where your reply should go. You're sending to 52.114.7.24:1024 instead? > > Also, looks like you're missing "r2=on" on the other RR, only one has it. > > Cheers, > > On Thu, Apr 9, 2020 at 11:09 AM Aidar Kamalov > wrote: > >> Hello, >>

[SR-Users] kamailio as SBC for Teams

2020-04-09 Thread Aidar Kamalov
:55:17.346092 52.114.7.24:1024 -> KAMAILIO_IP:5061 INVITE sip:+x@MY_KAMAILIO_FQDN:5061;user=phone;transport=tls SIP/2.0 FROM: Aidar Kamalov;tag=de28a5b5333b451a97312097f91f5564 TO: CSEQ: 1 INVITE CALL-ID: 3d5ad3cdd01457be94d127fa20478cf1 MAX-FORWARDS: 70 VIA: SIP/2.0/TLS 52.114.7.24:5

[SR-Users] Topoh and dialog track_cseq_updates

2020-03-12 Thread Aidar Kamalov
Hello, I am trying to increase cseq in invite with credentials to 401 Unauthorized, but with topoh.so module and mask_callid enabled it does not work. Are there any way to fix it? -- Aydar A. Kamalov ___ Kamailio (SER) - Users Mailing List

[SR-Users] centos 7 repo is broken

2020-01-27 Thread Aidar Kamalov
Hello # yum install kamailio Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.reconn.ru * extras: mirror.docker.ru * nux-dextop: mirror.li.nux.ro * updates: dedic.sh Resolving Dependencies --> Running transaction check ---> Package kamailio.x86_64

[SR-Users] centos7 rpm for evapi

2019-10-10 Thread Aidar Kamalov
Hello, how can I install evapi for kamailio using rpm repo? # ls /usr/lib64/kamailio/modules | grep evapi | wc -l 0 # yum provides *evapi.so Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.docker.ru * extras: mirror.linux-ia64.org * updates:

[SR-Users] kamailio 5.1.4 for centos 7 repo

2018-06-21 Thread Aidar Kamalov
Hello, http://download.opensuse.org/repositories/home:/kamailio:/v5.1.x-rpms/CentOS_7/x86_64/kamailio-5.1.4-1.el7.centos.x86_64.rpm.mirrorlist In file information block you can see file size is 5643596 bytes. But if you download it - file size is 5642888. And it is not possible to install

Re: [SR-Users] centos 7 repo is broken?

2018-06-18 Thread Aidar Kamalov
t; > пн, 18 июн. 2018 г. в 18:53, Aidar Kamalov : > >> Hello, >> >> can't install kamailio from repo (repo was update 16 jun), error: >> >> kamailio-5.1.4-1.el7.centos.x8 FAILED >> >> >> http://download.opensuse.org/repositories/home%3A/kamailio%

[SR-Users] centos 7 repo is broken?

2018-06-18 Thread Aidar Kamalov
Hello, can't install kamailio from repo (repo was update 16 jun), error: kamailio-5.1.4-1.el7.centos.x8 FAILED http://download.opensuse.org/repositories/home%3A/kamailio%3A/v5.1.x-rpms/CentOS_7/x86_64/kamailio-5.1.4-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not

[SR-Users] kamailio 5.1 keepalive module + usrloc

2018-05-04 Thread Aidar Kamalov
Hi, can I with keepalive module ping with is_alive function endpoints connected to kamailio? Or this module can use only static destionations via modparam("keepalive", "destination", "sip.provider.com")? -- Aydar A. Kamalov ___ Kamailio (SER) - Users

Re: [SR-Users] redis via haproxy

2017-12-06 Thread Aidar Kamalov
t; Hi try first to use single redis for make sure that it is not a ha proxy > trouble. > > If error still exists - try to collect debug information. > > Среда, 6 декабря 2017, 10:53 +03:00 от Aidar Kamalov < > aidar.kama...@gmail.com>: > > Hello, > > Kamailio af

[SR-Users] redis via haproxy

2017-12-05 Thread Aidar Kamalov
Hello, Kamailio after restart(or start) sometimes can't connect to redis (via haproxy) with logs: Dec 6 07:29:30 siptest /usr/sbin/kamailio[47291]: NOTICE:

Re: [SR-Users] dmq issues

2017-12-01 Thread Aidar Kamalov
gt;> will be used "192.168.150.225" this will be you DMQ master node >>>>> >>>>> I know the bus can break if you shutdown multiple nodes at the same >>>>> time and one of them is the master node and then you restart them. (not &

Re: [SR-Users] dmq issues

2017-12-01 Thread Aidar Kamalov
he only option I can see is to restart all nodes one by > one. > > I think this case could be handled better maybe by adding a dmq resync > command that can recreate the bus . > > > On Fri, Dec 1, 2017 at 12:32 AM, Aidar Kamalov <aidar.kama...@gmail.com> > wrote: &

[SR-Users] dmq issues

2017-12-01 Thread Aidar Kamalov
Hello. I have 4 kamailio nodes with same config: modparam("dmq", "server_address", "sip:LOCALIP:5050") modparam("dmq", "notification_address", "sip:192.168.8.213:5050") modparam("dmq", "notification_address", "sip:192.168.10.54:5050") modparam("dmq", "notification_address",

Re: [SR-Users] blf in kamailio dmq cluster

2017-11-29 Thread Aidar Kamalov
of course, you have a reason to maintain a separate domain for >> each city. In which case, I don't believe there is a way to ignore the >> domain in handle_publish() - users will need to subscribe to the correct >> user@domain combination. >> >> Cheers, >> >> Cha

Re: [SR-Users] blf in kamailio dmq cluster

2017-11-29 Thread Aidar Kamalov
do not need to be aware of > each other's user location and/or subscription records - if a request is > for another domain, simply forward it to the server(s) responsible for that > domain. > > Also, regardless of DMQ or any replication, publishes for one domain would > not match s

Re: [SR-Users] blf in kamailio dmq cluster

2017-11-29 Thread Aidar Kamalov
It is already replicated. but domains are not same. 2017-11-29 15:52 GMT+03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > Hi. Just replicate publish messages to second server. > > On Nov 29, 2017 19:46, "Aidar Kamalov" <aidar.kama...@gmail.com> wrote: >

[SR-Users] blf in kamailio dmq cluster

2017-11-29 Thread Aidar Kamalov
Hello, I have two(or more) kamailio servers with dmq module and dmq_usrloc - sip1.example.com and sip2.example.com publish and subcribe replication works too. BLF works fine if clients connected to the same kamailio server, because in active_watchers table stored with same domain

Re: [SR-Users] dmq replicate

2017-11-28 Thread Aidar Kamalov
I think I understood.. I put if(!dmq_is_from_node()) dmq_t_replicate() after handle_publish(), handle_subscribe() and t_release() and now it work ok. 2017-11-28 16:11 GMT+03:00 Aidar Kamalov <aidar.kama...@gmail.com>: > Hello, > > I set up kamailio cluster. dmq_us

[SR-Users] dmq replicate

2017-11-28 Thread Aidar Kamalov
Hello, I set up kamailio cluster. dmq_usrloc works fine, but PUSBLISH and SUBSCRIBE replication not. If I make a call to first node I've got many(hundreds) PUBLISH messages from first node to first node and some messages (8 for example) to other nodes. And second xnotice in config not executes.

Re: [SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
will be removed from the list. > > BR > José > > > 2017-11-20 10:56 GMT+00:00 Aidar Kamalov <aidar.kama...@gmail.com>: > >> Redis replication is not about multi-master. All kamailio has same dmq >> settings (except server_address). And I see that ERROR message

Re: [SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
ages sent, seems that the > 192.168.150.225:5060 is with troubles, check if the DMQ options are being > transmitted between all nodes. > > BR > José > > 2017-11-20 10:34 GMT+00:00 Aidar Kamalov <aidar.kama...@gmail.com>: > >> because (as I know) redis cluster sharding all

Re: [SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
]: ERROR: dmq [notification_peer.c:590]: notification_resp_callback_f(): not deleting notification_peer 2017-11-20 13:12 GMT+03:00 Aidar Kamalov <aidar.kama...@gmail.com>: > Hello, I want to distribute some messages-actions for redis to my kamailio > servers. > I use this c

[SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
Hello, I want to distribute some messages-actions for redis to my kamailio servers. I use this code: For send: dmq_bcast_message("redis", "set early:$fU", "text/plain"); For recieve: request_route { xnotice("ROOT: $rm $rU [$ci]"); if(is_method("KDMQ")) { if($rU == 'redis') {

[SR-Users] kamailio jsonrpc client

2017-09-19 Thread Aidar Kamalov
Hello, cannot get working rpc client n kamailio. [root@sipchel kamailio]# grep 'json\|jansson' kamailio-default.cfg loadmodule "jsonrpcs.so" loadmodule "jansson.so" loadmodule "janssonrpcc.so" # jsonrpcs params - modparam("jsonrpcs", "pretty_format", 1) modparam("jsonrpcs", "transport", 3) #

Re: [SR-Users] ringing calls dialogs

2017-09-18 Thread Aidar Kamalov
gt; > On 14-Sep-2017 9:01 PM, "Aidar Kamalov" <aidar.kama...@gmail.com> wrote: > >> Hello, >> is it possible from route get info about all calls in ringing state? (for >> call pickup implementation) >> >> Is it better

Re: [SR-Users] ringing calls dialogs

2017-09-18 Thread Aidar Kamalov
I can't see at these modules any function to get dialog list 2017-09-18 10:32 GMT+03:00 Daniel-Constantin Mierla <mico...@gmail.com>: > Hello, > > you need dialog, presence_dialoginfo and pua_dialoginfo modules to > implement call pickup feature. > > Cheers, > Daniel &

[SR-Users] ringing calls dialogs

2017-09-14 Thread Aidar Kamalov
Hello, is it possible from route get info about all calls in ringing state? (for call pickup implementation) Is it better to do via dialogs or presence modules? -- Aydar A. Kamalov ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] alias_db muliple usernames for alias

2017-09-07 Thread Aidar Kamalov
Hello, I have modparam("alias_db", "append_branches", 1) and table dbaliases +++-+--+-+ | id | alias_username | alias_domain| username | domain | +++-+--+-+ | 1 |

Re: [SR-Users] acc billsec

2017-08-10 Thread Aidar Kamalov
It seems that in kamailio 5.0.x field duration is billing time. Is it? 2017-08-10 14:24 GMT+03:00 ycaner : > Hello, > Dialog module can help you about it.It can generate CDR with billsec. > > http://kamailio.org/docs/modules/5.0.x/modules/dialog.html > > > > -- > View

[SR-Users] acc billsec

2017-08-10 Thread Aidar Kamalov
Hello, is there any way to log in cdr duration and billsec? -- Aydar A. Kamalov ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] kamailio + dispatcher asterisks + pstn gateways

2017-08-08 Thread Aidar Kamalov
Hello, Whats the best way to provide subject? Now I have central kamailio server and (asterisk "media" servers + asterisk pstn gateway in different cities). Kamailio default config with some changes in route[LOCATION] if (!lookup("location")) { $var(rc) = $rc;

[SR-Users] route[LOCATION] is it bug?

2017-08-03 Thread Aidar Kamalov
Hello, I 'm new in kamailio. I have kamailio with dispatcher and two asterisks. Endpoints register to kamailio. Calls beetwen endpoints going through dispatcher to asterisks. Calls to other destination rejected by kamailio with 404. But If i put xlog("") or xwarn in route[LOCATION] in if