[SR-Users] Dispatcher Module with ds_is_from_list function

2017-09-17 Thread Ilie Soltanici
Hello, "ds_is_from_list" function from Dispatcher module give false result - when actually it should be true. modparam("dispatcher", "db_url",DBURL) modparam("dispatcher", "table_name", "dispatcher") modparam("dispatcher", "setid_col", "setid") modparam("dispatcher", "destination_col",

[SR-Users] get_out_socket(): no socket found

2018-08-02 Thread Ilie Soltanici
Daniel, Not, those IP are in a different subnet. There is a firewall - running on a different device. Ping and SIP Messages are going very well from 2.2.2.2 to 8.8.8.8. I was able to solve this issue by disabling mhomed and set "listen" external interface with IP address 2.2.2.2 on top in the

[SR-Users] get_out_socket(): no socket found

2018-08-01 Thread Ilie Soltanici
Hi All, I'm unable to register an extension to the Upstream Provider by using uac module. Getting the following error: *Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: [core/forward.c:181]: get_out_socket(): no socket found* *Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: [core/forward.c:183]:

[SR-Users] get_out_socket(): no socket found

2018-08-02 Thread Ilie Soltanici
Daniel, Yes, IP Address has been edited, 2.2.2.2 and 8.8.8.8 are not real IP Address-es, this is just to show that those IP are external IP's. Regards, Ilie ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] Kamailio NAT AWS EC2

2018-03-27 Thread Ilie Soltanici
Hi, First of all, check if SIP Traffic is going through your SIP Server, not directly between Endpoints. To do this check if Record-route parameter is set in configuration file: record_route(); https://www.kamailio.org/docs/modules/5.1.x/modules/rr.html Also, be sure that in SDP body you have

[SR-Users] Select last URI from Record-Route

2018-03-19 Thread Ilie Soltanici
Hi, Try $(hdr(Record-Route)[-1]), to extract URI only you can use: $(hdr(Record-Route)[0]{nameaddr.uri}) ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] TM Module - Unfortunately error on sending to next hop occurred (477/TM)

2019-01-28 Thread Ilie Soltanici
Hello, Can someone help me to understand this error given by TM Module? I have a Kamailio SIP Proxy running in front of a few Asterisk boxes. On average, he is processing 70-80 requests per second. The problem is that sometimes (90-100 times/day) - I see such errors in the logs: 500 I'm

[SR-Users] WebRTC ACK Protocol

2019-04-03 Thread Ilie Soltanici
Hello, I am trying to set up a WebRTC2SIP Gateway by using Kamailio and rtpengine. So far, everything is working fine, I'm able to register an extension and make a call, but for some reason, when i'm trying to call a WebRTC extension from any SIP Extension Kamailio is sending INVITE, WebRTC

Re: [SR-Users] WebRTC ACK Protocol

2019-04-03 Thread Ilie Soltanici
Hello, Config is more or less like the standard one: route[WITHINDLG] { if (!has_totag()) return; if (loose_route()) { route(RURIALIAS); if ( is_method("ACK") ) { xlogl("L_INFO", "[$cfg(route)] ACK is forwarded statelessy\n"); route(NATMANAGE); } else if

Re: [SR-Users] WebRTC ACK Protocol [solved]

2019-04-04 Thread Ilie Soltanici
Adding Contact alias in 200 OK, fixed the issue: if (nat_uac_test(64)) { add_contact_alias(); } Thank You. În mie., 3 apr. 2019 la 23:58, Ilie Soltanici a scris: > Hello, > > Config is more or less like the standard one: > > route[WITHINDLG] { > if (!has_totag()) return;

Re: [SR-Users] TM Module - Unfortunately error on sending to next hop occurred (477/TM)

2019-02-19 Thread Ilie Soltanici
gt; messages should give more hints about what happens there. > > Cheers, > Daniel > On 14.02.19 14:56, Ilie Soltanici wrote: > > Hi, Looks that space comes from copy/paste or page formatting - in the log > file there is no spac

Re: [SR-Users] RFC: roadmap to next major release - v5.3.0

2019-03-16 Thread Ilie Soltanici
Daniel, Sounds good, would be nice to have some improvements on usrloc module, like requested in this topic: https://lists.kamailio.org/pipermail/sr-users/2019-January/104329.html Regards, ___ Kamailio (SER) - Users Mailing List

[SR-Users] TM Module - Unfortunately error on sending to next hop occurred (477/TM)

2019-02-14 Thread Ilie Soltanici
Hi List, Can someone give a hint related to this issue, please? On other messages, I found that this problem may happen why variable $du is empty, but in my case looks that it's present: Config File: if (!t_relay()) { switch ($retcode) { case -1: xlogl("L_ERR", "[$cfg(route)]

Re: [SR-Users] TM Module - Unfortunately error on sending to next hop occurred (477/TM)

2019-02-14 Thread Ilie Soltanici
Hi, Looks that space comes from copy/paste or page formatting - in the log file there is no space within this variable. Thank's ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] WebRTC bad message (offset: 22)

2019-05-28 Thread Ilie Soltanici
Hello, Can someone help me to discard those messages from kamailio log files? ERROR: [core/parser/parse_fline.c:262]: parse_first_line(): parse_first_line: bad message (offset: 22) ERROR: [core/parser/msg_parser.c:681]: parse_msg(): ERROR: parse_msg: message= As I understand this is just an

[SR-Users] (no subject)

2019-07-10 Thread Ilie Soltanici
Hello, Could someone help me to set a variable as a string in Kamailio? At the moment i'm using the following statement: *$var(account)=$(au{s.substr,0,8}); * *xlogl("L_INFO", "[1234] Account: $var(* *account* *)\n");* which is working fine, but i need to change it into:

Re: [SR-Users] (no subject)

2019-07-10 Thread Ilie Soltanici
Got it working by setting: $var(account)=$(au{s.select,0,-}{s.toupper}) + "-" + $(au{s.select,1,-}); Thanks În mie., 10 iul. 2019 la 15:13, Ilie Soltanici a scris: > Hello, > > Could someone help me to set a variable as a string in Kamailio? > > At the momen

Re: [SR-Users] kamailio - failover setup

2019-10-30 Thread Ilie Soltanici
sing it instead of direct connection to > MySQL? Curious mainly if you use it for caching capabilities, or just > routing sql... > > Cheers, > Daniel > On 29.10.19 22:34, Ilie Soltanici wrote: > > We are using keepalived with virtual IP Address for Kamailio, dispatcher >

[SR-Users] kamailio - failover setup

2019-10-29 Thread Ilie Soltanici
We are using keepalived with virtual IP Address for Kamailio, dispatcher module for Asterisk, 2 MySQL Databases master-master replicated and 2 Servers with ProxySQL. So far so good. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] Kamailio Parrallel Forking

2019-11-27 Thread Ilie Soltanici
Hello, I'm trying to use parallel forking if one extension is registered from multiple devices. (using WebSockets) This is the related code from kamailio.cfg: if

[SR-Users] Kamailio xavp_contact - Segmentation Fault

2019-11-27 Thread Ilie Soltanici
Hello, Kamailio is crashing when i'm trying to set the parameter; modparam("tm|usrloc", "xavp_contact", "ulattrs") That's happening with Kamailio 5.3.1 and 5.2.5 too. Crash is happening when Im register 2 devices with the same extension. This is the core dump: [Thread debugging using

[SR-Users] DMQ Module Crash

2020-05-08 Thread Ilie Soltanici
Hello, I'm trying to replicate a hash table to another 2 nodes by using DMQ Module. That's the related configuration: loadmodule "tm.so" loadmodule "tmx.so" loadmodule "dialog.so" loadmodule "dmq.so" loadmodule "htable.so" modparam("dmq", "server_address", "sip:MY_INTERNAL_IP_ADDR:5062")

Re: [SR-Users] DMQ Module Crash

2020-05-08 Thread Ilie Soltanici
ntire execution stack that cause the crash. > > Cheers, > Daniel > On 08.05.20 19:09, Ilie Soltanici wrote: > > Hello, > I'm trying to replicate a hash table to another 2 nodes by using DMQ > Module. That's the related configuration: > > loadmodule "tm.so"

[SR-Users] jsonrpcs - safest way to get data

2020-10-05 Thread Ilie Soltanici
Hello, I'm trying to periodically get all registered contacts from the Kamailio memory in the json format. JSONRPCS module have 3 different types of transport to get this data. I just wonder what will be the safest transport for the Kamailio to get all this data? Because all this data it's not so

Re: [SR-Users] jsonrpcs - safest way to get data

2020-10-08 Thread Ilie Soltanici
the log file: echo '{"id": "1", "jsonrpc": "2.0", "method": "ul.dump" }' > /dev/udp/ > 127.0.0.1/8090 > If there is a way to have all this data directly in the database - that would be perfect (I already created a feature request for tha

[SR-Users] Regex in the switch statement

2020-08-17 Thread Ilie Soltanici
Hello, Is there any way to use Regex or 'OR/AND' operators in the switch/case statements? I've tried the following syntax but it's not working, are there any other ways to do this? switch($dlg_var(ISP)) { case "TRUNK1|TRUNK2": } Thank you. ___

Re: [SR-Users] Regex in the switch statement

2020-08-17 Thread Ilie Soltanici
case CASE2: > ... > break; > >case CASE3: > ... > } > > -- Alex > > On 8/17/20 1:46 PM, Ilie Soltanici wrote: > > Hello, > > > > Is there any way to use Regex or 'OR/AND' operators in the switch

[SR-Users] uac_replace_from function

2020-09-29 Thread Ilie Soltanici
Hello, The uac_replace_from seems not to be working properly in the ver 5.4. This is the header I'm trying to change: *From: "Admin" ;tag=as11428589* by using this function: uac_replace_from("","sip:+123456...@domain.com"); I'm getting the following header: *From: ;tag=as11428589* (Double

Re: [SR-Users] uac_replace_from function

2020-09-29 Thread Ilie Soltanici
operators is checking that field and in case of absence it's setting the caller id number automatically to unknown number, which shouldn't happen, but unfortunately there is not too much to do on our side except fixing that double space character. Thank you. On Tue, 29 Sep 2020 at 14:00, Ilie

Re: [SR-Users] usrloc - ka_mode timeout

2020-09-24 Thread Ilie Soltanici
iggered only by nathelper, only sending keepalive and computing > roundtrip was done on usrloc internal timer callbacks. I pushed fixes to > master and 5.4 branches, I tested briefly with a tcp contact and all seemed > ok. Let me know if works for you as well. > > Cheers, > Daniel > >

[SR-Users] usrloc - ka_mode timeout

2020-09-22 Thread Ilie Soltanici
Hello, Is there any way to add those functions from the nathelper module to the usrloc module? *keepalive_timeoutnatping_interval* I'm looking to use ka_mode feature from the usrloc module in order to have roundtrip time computed for each extension but because those functions are missing in

Re: [SR-Users] usrloc - ka_mode timeout

2020-09-22 Thread Ilie Soltanici
t for tls, tcp, ...). > > > As for an unorthodox and untested idea :-) : if you do not want > > to run from latest 5.4 branch yet, you can eventually set > > natping_interval to a very large value, like 20 years in seconds, > > so you are pretty sure you will

Re: [SR-Users] usrloc - ka_mode timeout

2020-09-25 Thread Ilie Soltanici
llo, > > can you try with the lastest 5.4 branch? > > Did it happen also when nathelper was used for keepalive-based contact > removing? > > Cheers, > Daniel > On 25.09.20 00:46, Ilie Soltanici wrote: > > Hello, > > It works also for me with UDP contacts, thank

Re: [SR-Users] usrloc - ka_mode timeout

2020-09-22 Thread Ilie Soltanici
;, 1) modparam("usrloc", "db_timer_clean", 1) modparam("usrloc", "server_id_filter", 1) modparam("usrloc", "ka_mode", 1) modparam("usrloc", "ka_method", "OPTIONS") modparam("usrloc", "ka_from"

Re: [SR-Users] usrloc - ka_mode timeout

2020-09-23 Thread Ilie Soltanici
he json output/ > > Cheers, > Daniel > On 23.09.20 00:13, Ilie Soltanici wrote: > > Hello, > > Tried with the latest 5.4 branch, but ka_timeout still not working for me, > the record it's still available in ul.dump even if that extension is not > replying anymore to the Option

[SR-Users] dlg.list_match - Invalid matching key parameter

2020-10-01 Thread Ilie Soltanici
Hello, The dlg.list_match rpc function from the dialog module is not able to find dialogs matching by the callid key: kamcmd dlg.list_match callid eq "01234567890@192.168.0.1" getting back: error: 500 - Invalid matching key parameter I think it's because of this check: 2945:dialog.c: } else

[SR-Users] In memory ISP Info

2020-08-07 Thread Ilie Soltanici
Hello, What will be the best way to save ISP Information in Kamailio memory? I have the following information for each ISP into the DB: *ISP Name | ISP IP | ISP Username | ISP Password | ISP Prefix* ISP1 | 1.1.1.1 | user | pass | 1234 This info it's

Re: [SR-Users] In memory ISP Info

2020-08-07 Thread Ilie Soltanici
, one (the > key) with ispname and the second (the value) all fields serialized in a > json document and you use jansson to parse them in config. > > Cheers, > Daniel > On 07.08.20 13:06, Ilie Soltanici wrote: > > Hello, > > What will be the best way to save ISP Information in K

[SR-Users] CallerID - multiple ISP Prefix

2020-08-07 Thread Ilie Soltanici
Hello, We are using a few carries where we are sending calls to, each of them is using a special prefix in the From header in order to manage the callerid. Some of them are not recognizing headers like P-Asserted-Identity or Remote-Party-ID, so for them we have to replace the From header with the

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
-Constantin Mierla wrote: > Hello, > > are these all debug messages printed for ACK processing? > > There should be a log message like: > > ... changed from state X to state Y ... > > Cheers, > Daniel > On 12.08.20 10:56, Ilie Soltanici wrote: > > Hello, &

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
ialog module)? > > Cheers, > Daniel > On 12.08.20 11:48, Ilie Soltanici wrote: > > Unfortunately that's everything I can see for this call, maybe the systemd > daemon didn't log all the messages. It's strange as I have all ratelimit's > disabled. > I will try get another cal

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
uot;default_reason", "Server Error") Thanks. On Thu, 30 Jul 2020 at 07:22, Daniel-Constantin Mierla wrote: > Hello, > > run with debug=3 in kamailio.cfg and send here all the log messages > printed by kamailio when processing the ACK. > > Cheers, > Daniel > On 29

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
pping double processing, which could be a result of such > case (I haven't dug further in the code yet). > > Cheers, > Daniel > On 12.08.20 12:06, Ilie Soltanici wrote: > > Hello, > > Yes, ACK have the To-tag: > > *To: >;tag=05e27170-ffe5-4e90-b785-9a2fffa0194d* >

Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Ilie Soltanici
Hello, Yes, you can use: kamcmd cfg.set_now_int core debug 1 On Wed, 12 Aug 2020 at 14:41, Pavithra Mohanraja wrote: > Hi, > Is there any way to have global log level changes without restart of > kamailio. > If there kindly let me know. > > > > Thanks, > Pavithra >

Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Ilie Soltanici
Hello, Yes, that is correct. On Wed, 12 Aug 2020 at 14:55, Pavithra Mohanraja wrote: > Hi, > Thanks.. It is working fine . debug level can be changed from 2 to 6 . Is > it right ? > > > Thanks, > Pavithra > > On Wed, Aug 12, 2020 at 7:15 PM Ilie Soltanici > wro

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
Hello, Setting the dlg_manage() function just before any other functions/vars didn't help either. I will try to get another debug log, maybe I will be able to get more information from there. Thanks On Wed, 12 Aug 2020 at 11:26, Ilie Soltanici wrote: > Hello, > > OK, so I

Re: [SR-Users] CallerID - multiple ISP Prefix

2020-08-10 Thread Ilie Soltanici
joga wrote: > > Calling t_save_lumps() before the changes are made and before t_relay() > > might help, so that upon failure, Kam restores the SIP message to the > > original state and then further apply desired changes. > > > > Cheers, > > --Sergiu > > >

Re: [SR-Users] null branch(count) variable

2020-06-18 Thread Ilie Soltanici
Yes, you're right, if there is just one branch (main branch), then this variable is null. Thank you, Sergiu. În lun., 15 iun. 2020 la 18:05, Ilie Soltanici a scris: > Not, I tried $branch(uri) and I can't get it either. > > lookup() function seems to be returning true back, this i

[SR-Users] Dialog Profiles

2020-06-18 Thread Ilie Soltanici
Hello, Is there any way in Kamailio to get the profile values the current dialog is part of? For example, I have one dialog with the following profiles: profiles: { { test: abcd } test: 1234 } I need in the reply route to get the values for the test dialog profile. (abcd, 1234). I know

Re: [SR-Users] Dialog Profiles

2020-06-24 Thread Ilie Soltanici
c command for it, then maybe you can leverage the > jsonrpc_exec() from jsonrpcs module and walk through json using jansson. > > If not, then such feature has to be added within the c code and exported > as function to config. > > Cheers, > Daniel > On 18.06.20 13:44

[SR-Users] null branch(count) variable

2020-06-15 Thread Ilie Soltanici
Hello, As per documentation after lookup() function I have to get the number of branches from the main branch by using $branch(count) variable, but for some reason, I'm getting always only value, can someone help me to understand what I'm doing wrong? lookup(); xlog("Branch Count:

Re: [SR-Users] null branch(count) variable

2020-06-15 Thread Ilie Soltanici
ch_attributes > > At least the uri should be set. > > Also, have you tested that lookup() was true? > > Cheers, > Daniel > On 15.06.20 18:39, Ilie Soltanici wrote: > > Hello, > > As per documentation after lookup() function I have to get the number of > b

[SR-Users] Dialog - timeout for dlg with CallID

2020-07-24 Thread Ilie Soltanici
Hello, I'm trying to get CDR working in Kamailio by using the acc and dialog modules. Everything seemed to be working fine - until i noticed that for some of the calls the call duration is 0, even if that call has been successfully established and duration was for about a few minutes. In the

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-07-24 Thread Ilie Soltanici
Yes, I do use the Record-Route header and in the SIP Trace on Kamailio Server I can see the ACK/BYE Messages messages going through. https://static.md/g/33oz9T#=1=1 În vin., 24 iul. 2020 la 11:46, Ilie Soltanici a scris: > Hello, > > I'm trying to get CDR working in Kamailio by usin

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-07-26 Thread Ilie Soltanici
("dialog", "profiles_with_value", "inboundExtCalls; outboundExtCalls") Using the latest stable version: version: kamailio 5.3.5 (x86_64/linux) 9e70e8 Phone Numbers and IP Address has been obfuscated. Thanks. În vin., 24 iul. 2020 la 15:30, Ilie Soltanici a scris

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-07-28 Thread Ilie Soltanici
to dlg_only search because of message doesn't exist Thanks On Tue, 28 Jul 2020 at 11:31, Ilie Soltanici wrote: > Hello, > > In the Kamailio logs I can see only those errors: > > WARNING: dialog [dlg_handlers.c:1652]: dlg_ontimeout(): dlg timeout - > callid: '45b0130e14a692b95134

[SR-Users] PHONENUM Module on Centos7

2020-07-28 Thread Ilie Soltanici
Hello, If you want to use c++ library, then you can try to compile it by yourself: yum install cmake boost boost-devel boost-doc gtest gtest-devel protobuf protobuf-devel libicu libicu-devel $ cd libphonenumber/cpp $ mkdir build $ cd build $ cmake .. $ make $ ./libphonenumber_test cp -r

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-07-28 Thread Ilie Soltanici
g. I just pushed a commit to dialog module to print >> the old state when the timeout callback function is executed, maybe you can >> test with it -- it is in branch 5.3: >> >> - >> https://github.com/kamailio/kamailio/commit/ff2f8c4e63b4fefa7dc5b10835505c3c4ae843

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-07-29 Thread Ilie Soltanici
do not get some other errors like 90-120 seconds before, > when the ack was routed, then it was no processing error for it. > > Cheers, > Daniel > On 28.07.20 12:31, Ilie Soltanici wrote: > > Hello, > > In the Kamailio logs I can see only those errors: > > WARNING: dialog

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-07-28 Thread Ilie Soltanici
k should be executed and ACK handled for dialog processing. > > Cheers, > Daniel > On 24.07.20 12:46, Ilie Soltanici wrote: > > Hello, > > I'm trying to get CDR working in Kamailio by using the acc and dialog > modules. Everything seemed to be working fine - until i no

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-07-29 Thread Ilie Soltanici
e.g. >> >> if (loose_route) { >> dlg_manage(); >> ... >> } >> >> There is no harm in calling it for every SIP method (not just BYE or ACK) >> within dialog. It will help for re-invites (call hold / unhold events) etc. >> from same buggy UAs as well. >> >> Thank

[SR-Users] Registrar - registered match_received

2020-07-27 Thread Ilie Soltanici
Hello, Trying to check if an extension it's already registered with the same received path. if (registered("location","$fu",2)) { sl_send_reply("200","OK"); exit; }; But, it's not working for me, getting true even if the received path it's different: This is what I'm getting from

[SR-Users] Registrar - registered match_received

2020-07-27 Thread Ilie Soltanici
Hello, Yes, i have it there but the variable name was mismatching with the module variable name: $xavp(regcfg=>match_received) = $su; modparam("registrar", "xavp_cfg", "reg") It's all good now. Thanks for your help. ___ Kamailio (SER) - Users Mailing

Re: [SR-Users] Info: URL expander browser extension for Kamailio resources

2020-11-18 Thread Ilie Soltanici
Awesome! Will be very useful for me. Thanks for that. On Wed, 18 Nov 2020 at 11:33, Daniel-Constantin Mierla wrote: > Hello, > > short note to the community forum in case someone finds it useful -- I > wrote a tiny browser extension to facilitate navigation to various web > resources related

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
tually about a duplicate To > header in that INVITE. Check it on the network to see if that's the case. > > Cheers, > Daniel > On 05.05.21 16:25, Ilie Soltanici wrote: > > Hello, > > We are having an issue here where Kamailio is complaining about duplicate > To header, while in t

[SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
Hello, We are having an issue here where Kamailio is complaining about duplicate To header, while in the SIP Packet there is just one. See below the log message: DEBUG: tm [t_msgbuilder.c:391]: build_local_reparse(): duplicate To header ERROR: tm [t_msgbuilder.c:531]: build_local_reparse():

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
he latest version in the X.Y series? Likely you have a > version with an issue that was fixed, iirc. > > Cheers, > Daniel > On 05.05.21 17:32, Ilie Soltanici wrote: > > Hello, > > No, that's not the case, see below the INVITE sent to the branch: > > INVITE sip:12

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
28, Daniel-Constantin Mierla wrote: > Hello, > > hmm, 5.4.5 should have been also good, being the last in 5.4.x series, > with the fix that I was thinking of. I will look at the code. > > Cheers, > Daniel > On 05.05.21 17:56, Ilie Soltanici wrote: > > Hello, > >

[SR-Users] fix_nated_sdp function

2021-04-06 Thread Ilie Soltanici
Hello, Can someone point me to what is wrong with this SDP: ``` v=0 o=- 3826710256 3826710256 IN IP4 100.113.232.22 s=pjmedia b=AS:386 t=0 0 a=X-nat:0 m=audio 4012 RTP/SAVP 96 8 120 121 c=IN IP4 100.113.232.22 b=TIAS:96000 a=rtcp:4013 IN IP4 100.113.232.22 a=sendrecv a=rtpmap:96 opus/48000/2

Re: [SR-Users] kamcmd dlg.end_dlg not working in shell script

2021-03-10 Thread Ilie Soltanici
Hello, Sorry, there is actually no need for the callid argument, I mixed it up with another command. As Daniel recommended try to check the permissions. Which user the script is running with and what are the permission for /var/run/kamailio/ Regards, On Wed, 10 Mar 2021 at 09:26, Ilie Soltanici

Re: [SR-Users] kamcmd dlg.end_dlg not working in shell script

2021-03-10 Thread Ilie Soltanici
Hello, kamcmd dlg.end_dlg $h_entry $h_id > I think you are missing the callid parameter when calling kamcmd command: Try kamcmd dlg.end_dlg $h_entry $h_id $SIPCallID Regards, On Tue, 9 Mar 2021 at 13:03, Andrew Chen wrote: > Thanks guys. > Here is the whole function I created: > > function

Re: [SR-Users] kamcmd dlg.end_dlg not working in shell script

2021-03-16 Thread Ilie Soltanici
AM Andrew Chen wrote: > >> So the strange thing is that I use kamcmd to get the list of users and >> that works. Are there special permissions needed to delete them? >> >> On Wed, Mar 10, 2021 at 4:38 AM Ilie Soltanici >> wrote: >> >>> Hello, >>&g

Re: [SR-Users] iOS CallKit and tsilo

2021-03-10 Thread Ilie Soltanici
Hello, On Cancel we are sending just another Push Notification that indicates the call is cancelled, and the calling screen dissapear. Regards, On Wed 10 Mar 2021 at 12:28, Igor Olhovskiy wrote: > Hello! > > Is there any way to "store" already finished transactions in tsilo? Idea > is to

Re: [SR-Users] No ACK from MS Teams

2021-02-24 Thread Ilie Soltanici
Hello, I have the same issue, did you manage to fix it? tag: snd pid: 9737 process: 6 time: 1614177689.185257 date: Wed Feb 24 14:41:29 2021 proto: tls ipv4 srcip: 1.1.1.1 srcport: 5067 dstip: 52.114.75.24 dstport: 5061 SIP/2.0 200 OK Via: SIP/2.0/TLS

Re: [SR-Users] No ACK from MS Teams

2021-02-24 Thread Ilie Soltanici
Changing enable_full_lr parameter from the rr module fixed the issue. Now I'm getting ACK from MS to 200OK. Thank you On Wed, 24 Feb 2021 at 15:12, Juha Heinanen wrote: > > > SIP/2.0 200 OK > > Via: SIP/2.0/TLS 52.114.75.24:5061;branch=z9hG4bK6b5ac083 > > Record-Route: > > > > > Record-Route:

Re: [SR-Users] No ACK from MS Teams

2021-02-25 Thread Ilie Soltanici
The domain from the second rr (sbc-fqdn:5067) it's perfectly valid and resolved from the kam server and from outside. version: kamailio 5.4.4 (x86_64/linux) bdf4e0 Any thought here? Thanks On Wed, 24 Feb 2021 at 21:40, Ilie Soltanici wrote: > Changing enable_full_lr parameter f

Re: [SR-Users] No ACK from MS Teams

2021-02-25 Thread Ilie Soltanici
ct a specific one, > then should be enough. Otherwise, see the archive in the past two weeks or > so, there was a discussion about using socket names with record routes. > > Cheers, > Daniel > On 25.02.21 10:51, Ilie Soltanici wrote: > > Hello, > > The loose_route functi

Re: [SR-Users] No ACK from MS Teams

2021-02-25 Thread Ilie Soltanici
our server believes that route headers are added by > itself). > > You can eventually do it yourself in the config using ipops module and > select the socket based on the result. > > Cheers, > Daniel > On 25.02.21 12:16, Ilie Soltanici wrote: > > Hello, > > I do

[SR-Users] Route - loose_route

2021-03-05 Thread Ilie Soltanici
Hello, I have a strange issue here with the Route header not been respected by the Kamailio server. I'm getting the INVITE from the SBC-1, adding my own RR header (SBC-2), and send it to the SBC-3 This is the Invite I'm sending outside to the SBC-3 Proxy. ``` INVITE

[SR-Users] From EXT parameter

2021-02-26 Thread Ilie Soltanici
Hello, Having the following From header: ** How can I extract the only extension from it (ext=10)? Is there any variable already for that or I have to use select function? ( {s.select,index,separator} ) Thank you ___ Kamailio (SER) - Users Mailing

Re: [SR-Users] Kamailio Memory Leak

2021-02-11 Thread Ilie Soltanici
Hello, I think I have the same problem, at least in my case the problem is with the Shared memory. Kamailio is configured to use 4GB of shared memory (-m 4096) and after restart, he is getting all 4GB of memory and keep it decreasing slowly until it reaches the low values (40-50MiB) and then

[SR-Users] Record-Route advertised per branch

2022-06-16 Thread Ilie Soltanici
Hello, Is there any way to advertise a different IP Address in the Record-Route header individually per branch? I have a setup here - where Kamailio is listening on 2 different interfaces: Local IP and External IP. At the moment if the packet is coming through the internal interface - I'm

Re: [SR-Users] Record-Route advertised per branch

2022-06-16 Thread Ilie Soltanici
Hello, Thank you, added it now - still the same, unfortunately. Regards, On Thu, 16 Jun 2022 at 13:29, Sergiu Pojoga wrote: > Have you tried calling *t_save_lumps()* before relaying, even before RR? > > On Thu, Jun 16, 2022 at 7:59 AM Ilie Soltanici > wrote: > >> Hell

Re: [SR-Users] Record-Route advertised per branch

2022-06-17 Thread Ilie Soltanici
uld take care of it all by itself, >> per branch. >> >> A script snippet could help. >> >> On Thu, Jun 16, 2022 at 10:05 AM Patrick Karton >> wrote: >> >>> It only work for request route. >>> >>> Le 16 juin 2022 14:19, Ilie S

[SR-Users] xhttp - default reply

2022-10-05 Thread Ilie Soltanici
Hello, Is there a way to set a default reply message for the xhttp module, or at least drop the TCP connection when 'url_match' parameter is used? For example, if used: modparam("xhttp", "url_match", "^/rpc/") which should handle only HTTP requests to this endpoint: http://127.0.0.1:5060/rpc,

[SR-Users] Re: RTC/Kamailio dinner at Fosdem 2023

2023-01-10 Thread Ilie Soltanici
Hi Daniel, I will also be interested. Thanks On Tue, 10 Jan 2023 at 10:40, Federico Cabiddu wrote: > Hi Daniel, > Philippe and I will be there with pleasure. > > Cheers, > > Federico > > On Mon, Jan 9, 2023 at 5:39 PM Daniel-Constantin Mierla > wrote: > >> Hello, >> >> Fosdem 2023 returns to

Re: [SR-Users] Unable to install kamailio-mysql on CentOS 9

2022-12-01 Thread Ilie Soltanici
Hello, Not sure that CentOS9 is the best OS for Kamailio at this time, at least if you plan to use TLS module. CentOS 9 ships by default with OpenSSL version 3 and you may get into issues like this: https://github.com/kamailio/kamailio/issues/3222 At least I wasn't able to make it work and

[SR-Users] Serial Forking on BYE message

2022-11-04 Thread Ilie Soltanici
Hello, I have a challenge here to do serial forking, not when the call is failed on the first destination, but when the call is ended. So, the first will go to one destination, will be answered, and when it's ended the BYE message should be dropped and forward the initial INVITE to another

[SR-Users] Re: usrloc ka_mode - Flooding OPTIONS at same time?

2023-12-12 Thread Ilie Soltanici via sr-users
That's a good question. In our scenario, we primarily leverage this option for monitoring purposes. We measure the round-trip time for each endpoint and then populating our time series DB with this data and displaying it in Grafana. We found this method as the most reliable way to obtain accurate

[SR-Users] Re: Evapi Async - suspend transaction for a limited time

2023-11-29 Thread Ilie Soltanici via sr-users
; a suspended transaction is kept silently for the duration of the timeout > (see t_set_fr()), then it fails and jumps to a failure route (if you set > one) -- maybe you can leverage this mechanism somehow. > > Cheers, > Daniel > On 29.11.23 12:53, Ilie Soltanici via sr-user

[SR-Users] Re: Evapi Async - suspend transaction for a limited time

2023-11-29 Thread Ilie Soltanici via sr-users
4:23:59 UTC 2023 > current: 1 > > Wed Nov 29 14:24:00 UTC 2023 > current: 1 > > Wed Nov 29 14:24:01 UTC 2023 > current: 1 > > Wed Nov 29 14:24:02 UTC 2023 > current: 0 > > Wed Nov 29 14:24:03 UTC 2023 > current: 0 > > I think we c

[SR-Users] Evapi Async - suspend transaction for a limited time

2023-11-29 Thread Ilie Soltanici via sr-users
Hello, I'm trying to use the evapi_async_relay function from the evapi module, however,I don't want the transaction to be suspended for more than 1 second. For instance, if there's no response from the external application within this time frame, I want the script to continue and remove that

[SR-Users] Re: low performance with no apparent reason

2024-03-22 Thread Ilie Soltanici via sr-users
Totally agree with Alex here. On Fri 22 Mar 2024, 19:24 Alex Balashov via sr-users, < sr-users@lists.kamailio.org> wrote: > I don't know that I would do that. If your server isn't coping with the > load, making the kernel receive queue deeper doesn't increase throughput, > it just relocates the