[SR-Users] Fail to reload htable

2018-08-20 Thread Soltanici Ilie
I'm trying to reload a hash table but receiving an error:  error: 500 - Mtree reload failed  [root@kamailio]# /usr/local/sbin/kamcmd htable.listTables {     name: auth     dbtable:     dbmode: 0     expire: 0     updateexpire: 1     size: 256      dmqreplicate: 0 } [root@kamailio]# /usr/local/sb

Re: [SR-Users] Fail to reload htable

2018-08-21 Thread Soltanici Ilie
>Daniel > > >On 20.08.18 21:04, Henning Westerholt wrote: >> Am Montag, 20. August 2018, 20:58:43 CEST schrieb Soltanici Ilie: >>> In the logs, I see these errors: >>> >>> ERROR: [db.c:463]: db_use_table(): invalid parameter value >>> Aug 20 19:

Re: [SR-Users] Fail to reload htable

2018-08-22 Thread Soltanici Ilie
d in this case? It should be done only when writing > records to database table and then you want them to be loaded in > memory. >Cheers, >Daniel > >On 21.08.18 19:06, Soltanici Ilie > wrote: >>Hi Daniel, >> >>No, it is not. >> >>

[SR-Users] Notify: stateless error reply used: I'm terribly sorry, server error occurred

2018-08-28 Thread Soltanici Ilie
For some reason, Voicemail Notify messages coming from Asterisk Boxes - are not forwarded to the SIP Extensions by Kamailio. This is the SIP Packet coming to the Kamailio: 2018/08/28 10:59:19.165644 1.1.1.1:5060 -> 2.2.2.2:5060 NOTIFY sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tc

Re: [SR-Users] Notify: stateless error reply used: I'm terribly sorry, server error occurred

2018-08-29 Thread Soltanici Ilie
s not available to match that >routing destination or outgoing transport? > >-- Alex > >On Tue, Aug 28, 2018 at 01:26:09PM +0300, Soltanici Ilie wrote: > >> For some reason, Voicemail Notify messages coming from Asterisk Boxes - are >> not forwarded to the SIP Extension

[SR-Users] Dispatcher Active IP for specific SetID over xHTTP

2018-09-17 Thread Soltanici Ilie
How could I get the active IP from the dispatcher module for a specific setid  by using xHTTP request?___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Response VIA Header

2018-11-29 Thread Soltanici Ilie
Hi, We have a Kamailio Instance running on Public IP Address, one of our ISP cannot send ACK back to us because we are sending 100 Trying - without "received" parameter. Is there any way in Kamailio to force a "received" parameter in the via header for 100 Trying Message? SIP/2.0 100 trying --

[SR-Users] Response VIA Header

2018-11-29 Thread Soltanici Ilie
Hi, version: kamailio 5.1.6 (x86_64/linux) 7d1964 Also, i'm using force_rport(); in routing configuration file, but 'received' parameter anyway is missing :( Thank You. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.

Re: [SR-Users] Response VIA Header

2018-11-30 Thread Soltanici Ilie
ater > response code. Is only 100 without received, or also other 1xx or > >200 responses sent out by Kamailio? > >Cheers, >Daniel > >On 29.11.18 18:24, Soltanici Ilie > wrote: >>Hi, >> &

[SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Hello, I have a strange situation by using xlog module. I don't know for what reason I'm not receiving all logs generated by kamailio. This is the configuration which I'm using in kamailio.cfg: log_facility=LOG_LOCAL0 log_name="kamailio" log_prefix="{$rm ($mt) | Seq=$cs | Source IP=$si ($proto

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
ANSMISSIONS); etc >Joel Serrano : > >Can you paste your first lines of request_route? > > >On Sun, Dec 2, 2018 at 07:15 Soltanici Ilie < ili...@mail.ru > wrote: >>Hello, >> >>I have a strange situation by using xlog module. I don't know for what

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
N=px,L_INFO=px") >Воскресенье, 2 декабря 2018, 17:24 UTC от Joel Serrano : > >That looks good.  > >And your modparam values for xlog module? > >Have you tried increasing the “buf_size”? > > >On Sun, Dec 2, 2018 at 08:36 Soltanici Ilie < ili...@mail.ru >

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
ud? > >I would say to enable debug mode to try and see if you see anything there... :/ > > >On Sun, Dec 2, 2018 at 10:38 Soltanici Ilie < ili...@mail.ru > wrote: >>Yes, i did, see below xlog modparam: >> >># - xlog - >>modparam("xlog", &qu

Re: [SR-Users] xlog issue

2018-12-04 Thread Soltanici Ilie
sync syslogging option in > rsyslog config: add a - in front of the file name, like: > >local0.*             > -/var/log/kamailio/kamailio.log > >See if the results are better. > >Cheers, >Daniel > >On 02.12.18 16:14, Soltanici Ilie > wrote: >>Hello,

[SR-Users] Phonenum Module

2018-12-30 Thread Soltanici Ilie
Hi All, How can i get Local Number by using phonenum module?  What is the variable for that? Thank You___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Phonenum Module

2018-12-30 Thread Soltanici Ilie
dded another field I was missing, if you are familiar with C >>code, you can check the commits referenced in this ticket and submit a PR: >> >>https://github.com/kamailio/kamailio/issues/1576 >> >>Joel.  >> >>On Sun, Dec 30, 2018 at 10:22 Soltani

Re: [SR-Users] Response VIA Header

2019-01-09 Thread Soltanici Ilie
> >In this case parameter 'received' is missing for all responses generated by >Kamailio. > >Could it be that in the first INVITE - i'm receiving the 'rport' parameter in >via request, but in the second INVITE - it is not? >Than

[SR-Users] Kamailio OPTIONS Round-Trip

2019-01-13 Thread Soltanici Ilie
Hi, With Asterisk, we are able to get some peer round-trip connection statistic by setting qualify=yes for the specified peer. It sends periodic OPTIONS to the peer and calculates the time round trip time. It's something like - "Status: OK (30 ms)". Is there any way to achieve this in Kamailio b

[SR-Users] Logging from cfg file

2019-01-14 Thread Soltanici Ilie
Hi, If you need the line from configuration file - then you may use xlogl instead of xlog. xlogl("L_WARNING", "route block: \n"); Then you don't need $cfg(line) variable. ;) ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://l

Re: [SR-Users] Kamailio OPTIONS Round-Trip

2019-01-15 Thread Soltanici Ilie
OK, that looks interesting - and I think I would able to generate such options from kamailio - but how do I  measure the time for a response for this request? Is there any variables which can provide response time for some requests?___ Kamailio (SER) - U

[SR-Users] Subscribe Reinvites totag

2017-09-27 Thread Soltanici Ilie
Hi All, I have system setup where there are few Asterisk servers behind Kamailio. Everything is working properly, the issue only is with the Incoming Subscribe's with to-tag from endpoints. Below you can see the invite: ---

Re: [SR-Users] =?utf-8?q?Subscribe_Reinvites_totag?=

2017-10-06 Thread Soltanici Ilie
I found that the problem is because of this header: ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] =?utf-8?q?Subscribe_Reinvites_totag?=

2017-10-06 Thread Soltanici Ilie
октября 2017, 9:27 +01:00 от Soltanici Ilie : > >I found that the problem is because of this header: > С уважением, Ilie Soltanici ili...@mail.ru ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/

[SR-Users] Route Header - Comma separated issue

2017-10-12 Thread Soltanici Ilie
Hi all, Why Kamailio are not removing full Route header in case if he is receiving comma separated Route? For example:  Receiving such Message: SUBSCRIBE sip:101@192.168.1.1 SIP/2.0 Route: , Event: dialog User-Agent: Cisco/SPA504G-7.6.2 Content-Length: 0 after applying loose_route function, ka

[SR-Users] Too Long Contact URI

2017-10-27 Thread Soltanici Ilie
Hi All, I cannot Register some softphones because of too long Contact header when using TCP protocol. Using UDP - everything works ok and this is how the Contact header looking: sip:xx...@xxx.xxx.xxx.xxx:64773;rinstance=6502234ef65ea6e7 But, switching to the TCP i'm receiving the followin

Re: [SR-Users] Too Long Contact URI

2017-10-27 Thread Soltanici Ilie
Solved, this was because of contact_max_size from registrar module. Increase his value - solved the issue. Thank You. >Пятница, 27 октября 2017, 11:41 +01:00 от Soltanici Ilie : > >Hi All, > >I cannot Register some softphones because of too long Contact header when >using TCP

[SR-Users] Record-Route IP Value

2017-10-28 Thread Soltanici Ilie
Hi All, Having the following Header:  Record-Route: How can i extract only IP value from this header? Thank You.___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Record-Route IP Value

2017-10-31 Thread Soltanici Ilie
Hi Alex, Thank You, i'm trying to use this config: if($(hdr(Record-Route)[0]{nameaddr.uri}) != $si and $(hdr(Record-Route)[0]{nameaddr.uri}) != $null) { xlog("L_INFO","Spoofing attack detected from $si, blocking"); exit; } taken from here: 

[SR-Users] Sipcapture HEP Values

2017-11-06 Thread Soltanici Ilie
Hi all, How can i get the Destination IP from HEP packet? I tried   $hep(dst _ip) like in documentation (https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#sipcapture_module_pseudo-variables)  - but is not working. (pvar "hep" has an invalid name param [dst_ip]). Thank You._

[SR-Users] Invalid payload location

2018-02-15 Thread Soltanici Ilie
Hi All, Can someone explain why i'm receiving such errors in syslog: [4839]: {INVITE (1)] | Seq=101 | Source IP=46.166.139.7 (udp)} ERROR: [core/parser/sdp/sdp.c:212]: set_sdp_payload_attr(): Invalid payload location [4839]: {INVITE (1)] | Seq=101 | Source IP=46.166.139.7 (udp)} ERROR: [core/