[SR-Users] Weird issue with kamailio relaying messages to itself

2017-07-31 Thread George Diamantopoulos
Hello all, I have been toying with kamailio lately, and I thought I had gotten to the point where I had a mostly working (tm) prototype. I gave it a test drive with some real calls, however, and an issue manifested at least once, where homer received packets originating from the kamailio host,

Re: [SR-Users] Kamailio example configuration: auth section incomplete?

2017-08-02 Thread George Diamantopoulos
nd to us or not by us. So any request which is not related to us we will > not serve. > > Keep in mind that "to" header by sip RFC can contain anything and we don't > care in most cases what is there. > > https://tools.ietf.org/html/rfc3261#page-36 > > With kind regards,

Re: [SR-Users] Kamailio example configuration: auth section incomplete?

2017-08-02 Thread George Diamantopoulos
lls and in this case such call will > finish in location route and eventually will reach user. > > I hope I understood you and I didn't messed anything again. :) > > With kind regards, > > Jurijs > > On Wed, Aug 2, 2017 at 4:01 PM, George Diamantopoulos < > georged...@g

[SR-Users] Having kamailio bind to a VRF device

2017-09-21 Thread George Diamantopoulos
Hello, I have a use case where I need to have kamailio bind to a VRF device. The configuration in question is similar to the example below, where eth1 is a slave to the VRF-lite device: +--+ +---+ | eth0 | |vrf-green | | 1.1.1.1 | |

Re: [SR-Users] Having kamailio bind to a VRF device

2017-10-15 Thread George Diamantopoulos
Hello, No, I gave up in the end. Fortunately I was able to do what I needed with policy-based routing, which is not the same as VRF, but it did the trick in my scenario... BR, George On 14 October 2017 at 01:22, Marrold wrote: > Hi George, > > Did you have any luck

[SR-Users] Testing for user=phone with siputils uri_param() doesn't work

2017-10-13 Thread George Diamantopoulos
Hello, In my script I've had to test for the user=phone parameter in URIs. I thought uri_param() from siputils would be handy for this operation on the RURI, so I did: if ( !uri_param("user","phone") ) { add_uri_param("user=phone"); } Unfortunately this wouldn't work (uri_param

[SR-Users] Loading keys with key_type="1" from database for htable - Module params help needed

2017-08-30 Thread George Diamantopoulos
Hello all, I'm becoming a regular here now, aren't I? So I have this table in mysql: +--+--++---+-+ | key_name | key_type | value1 | value2 | value3 | +--+--++++ | key1 | 1| valueA | valueF | valueK | |

Re: [SR-Users] Loading keys with key_type="1" from database for htable - Module params help needed

2017-09-06 Thread George Diamantopoulos
a single value column? > > The array type is something that was supposed to help keeping keys simpler > in database, but the key is concatenated with the index, is not really an > array. > > Cheers, > Daniel > > On 30.08.17 20:06, George Diamantopoulos wrote: > > Hell

Re: [SR-Users] Kamailio htable mod-init route: Main process exited before writing to pipe

2017-09-28 Thread George Diamantopoulos
he sqlops connections are initialized in child init. So maybe this is the case for 5.0.3 as well? sqlops functions can't be used in event_route[htable:mod-init] yet? On 28 September 2017 at 20:18, George Diamantopoulos <georged...@gmail.com> wrote: > Hello, > > I've tested again, this

Re: [SR-Users] Kamailio htable mod-init route: Main process exited before writing to pipe

2017-09-28 Thread George Diamantopoulos
after core and module initialization, but before Kamailio forks any child processes. Does this mean that I don't have (perhaps) access to pseudovariables during execution of this route? Is this the reason why kamailio exits prematurely? Thanks, George On 26 September 2017 at 15:37, George Diam

Re: [SR-Users] Kamailio htable mod-init route: Main process exited before writing to pipe

2017-09-28 Thread George Diamantopoulos
Never mind, I'm certain by now: http://sip-router.1086192.n5.nabble.com/DB-select-htable-mod-init-doesn-t-work-td127717.html https://lists.kamailio.org/pipermail/sr-dev/2013-February/018484.html On 28 September 2017 at 22:18, George Diamantopoulos <georged...@gmail.com> wrote: > Also,

Re: [SR-Users] Kamailio htable mod-init route: Main process exited before writing to pipe

2017-09-26 Thread George Diamantopoulos
I forgot to mention, I'm using Kamailio 5.0.3 on debian "stretch". On 26 September 2017 at 14:40, George Diamantopoulos <georged...@gmail.com> wrote: > Hello all, > > I've been trying to utilise event_route[htable:mod-init] in order to load > information from

Re: [SR-Users] Having kamailio bind to a VRF device

2017-09-25 Thread George Diamantopoulos
Sorry to bump this, but it would be very useful if I knew whether there's any point in pursuing this or not. Any hints? On 21 September 2017 at 14:06, George Diamantopoulos <georged...@gmail.com> wrote: > Hello, > > I have a use case where I need to have kamailio bind

[SR-Users] Kamailio htable mod-init route: Main process exited before writing to pipe

2017-09-26 Thread George Diamantopoulos
Hello all, I've been trying to utilise event_route[htable:mod-init] in order to load information from the database into an htable on startup. However, Kamailio exits with an error for no obvious (to me) reason. Here's the log output: DEBUG: htable [htable.c:226]: child_init(): rank is (-127)

[SR-Users] Kamailio fails to process ACK to 487 from Cisco-SIPGateway/IOS-12.x?

2017-08-23 Thread George Diamantopoulos
Hello all, I'm having a weird issue with Kamailio failing to properly process an ACK received to a 487 it sent, resulting in retransmissions of the 487. I assume it's because it can't match the ACK to the transaction, but I could be wrong. I'm using a modified version of the default

Re: [SR-Users] Kamailio fails to process ACK to 487 from Cisco-SIPGateway/IOS-12.x?

2017-08-23 Thread George Diamantopoulos
) for comparison and to prove a point. On 23 August 2017 at 17:13, George Diamantopoulos <georged...@gmail.com> wrote: > Hello all, > > I'm having a weird issue with Kamailio failing to properly process an ACK > received to a 487 it sent, resulting in retransmissions of the 48

Re: [SR-Users] Having kamailio bind to a VRF device

2017-10-11 Thread George Diamantopoulos
rla <mico...@gmail.com> wrote: > > Hello, > > I haven't worked with vrf here, so no first hand experience ... > > What happens if you try with next option? > > listen=vrf-green:5060 advertise 2.2.2.2:5060 > > Cheers, > Daniel > > > On 25.09.17 19:10, Ge

Re: [SR-Users] Having kamailio bind to a VRF device

2017-10-12 Thread George Diamantopoulos
om.sip > 10.0.0.1.9060: SIP > 0x: 4510 0181 7883 4011 c03f 894a abd8 E...x...@..?.J.. > 0x0010: 0a05 0172 13c4 2364 016d e2e2 0110 0216 ...r..#d.m.. > 0x0020: 07a8 13c5 5c17 3523 894a abd8 4143 4b20 \.5#.J..ACK. > > > … but nothing seen in ka

Re: [SR-Users] Having kamailio bind to a VRF device

2017-10-12 Thread George Diamantopoulos
Just one last thing, are you absolutely certain there's no firewall doing the damage there? It's quite common for firewall-blocked traffic to show up with tcpdump, but never reach the application... On 12 October 2017 at 20:26, Mark Boyce wrote: > Hi > > Now using

[SR-Users] "Federated" PBX solution with GUI to use with Kamailio - Suggestions needed

2017-11-22 Thread George Diamantopoulos
Hello all! I'm looking at "PBX" platforms to use with kamailio as a load-balancer. This is not a strictly kamailio question, but I thought that if anyone has a suggestion to make, they would be watching this list. I'm investigating a use case with the following requirements: * Kamailio will act

[SR-Users] Dispatcher module OPTIONS and event routes: how are they handled by core?

2017-12-18 Thread George Diamantopoulos
Hello all, I use the dispatcher module extensively for load balancing and fail-over. My kamailio instance is multihomed, and I use the "socket" attribute to determine which socket SIP messages should use for each dispatcher destination, as such:

Re: [SR-Users] Using dispatcher's algorithm 12

2017-12-02 Thread George Diamantopoulos
Also, what happens when two entries in the same set have the same priority and algorithm "8" is used? Does it round-robin among them? Or does it always select the first one? Thanks! On 2 December 2017 at 23:27, George Diamantopoulos <georged...@gmail.com> wrote: > Hello F

Re: [SR-Users] Using dispatcher's algorithm 12

2017-12-02 Thread George Diamantopoulos
Never mind, uac seems to ignore $du variables and only sends to uri set with $uac_req(ruri)... Did a loop over ds_next_dst() while $du != $null and achieved the same effect... On 2 December 2017 at 23:32, George Diamantopoulos <georged...@gmail.com> wrote: > Also, what happens when tw

[SR-Users] Kamailio does not add port number to addresses in Via, Record-Route headers

2017-12-11 Thread George Diamantopoulos
Hello all, I have the following issue in my configuration, tested with 5.2.0-rc1 so far: At some point, I set the $fs pseudovariable to force a request to be relayed through a specific socket. Although this is honoured by kamailio (i.e. the request does indeed leave the kamailio host from the

Re: [SR-Users] Kamailio does not add port number to addresses in Via, Record-Route headers

2017-12-11 Thread George Diamantopoulos
92.168.178.84:62516;tag=16d1c24. > To: sip:test@127.0.0.1. > Call-ID: 23927844@192.168.178.84. > CSeq: 1 OPTIONS. > Contact: sip:sipsak@192.168.178.84:62516. > Content-Length: 0. > Max-Forwards: 69. > User-Agent: sipsak 0.9.7pre. > Accept: text/plain. > . > > On

Re: [SR-Users] Using dispatcher's algorithm 12

2017-12-02 Thread George Diamantopoulos
iour of the module is to pick the first destination in > the set if the selected algorithm is unknown: http://www.kamailio. > org/docs/modules/5.0.x/modules/dispatcher.html#dispatcher.f.ds_select_dst. > > Regards, > > Federico > > On 2 Dec 2017 21:28, "George Diamantopoulo

Re: [SR-Users] Testing for user=phone with siputils uri_param() doesn't work

2017-10-24 Thread George Diamantopoulos
-Constantin Mierla <mico...@gmail.com> wrote: > Hello, > > > On 13.10.17 17:25, George Diamantopoulos wrote: > > Hello, > > > > In my script I've had to test for the user=phone parameter in URIs. I > > thought uri_param() from siputils would be handy fo

Re: [SR-Users] Dispatcher module OPTIONS and event routes: how are they handled by core?

2017-12-20 Thread George Diamantopoulos
via > jsonrpcs module and then parse the result using jansson module. > > Cheers, > Daniel > > On 18.12.17 13:33, George Diamantopoulos wrote: > > Hello all, > > I use the dispatcher module extensively for load balancing and fail-over. > My kamailio instance is multiho

Re: [SR-Users] Determining next hop for any SIP message

2018-05-04 Thread George Diamantopoulos
, or are there exceptions to this? Thanks! BR, George On 13 April 2018 at 21:29, George Diamantopoulos <georged...@gmail.com> wrote: > I guess you're right... > > But if it is possible to do this with different means, I would prefer it... > > I think I only miss the following poi

Re: [SR-Users] RTPengine: shouldn't SDP be incremented when SDP is updated in-dialog?

2018-05-04 Thread George Diamantopoulos
Has anyone run into or is concerned by this? Thanks! On 11 April 2018 at 16:28, George Diamantopoulos <georged...@gmail.com> wrote: > Hello all, > > I have the following issue (I think) with RTP engine. An INVITE comes in, > and rtpengine will rewrite the SDP accordin

Re: [SR-Users] Is it possible to change a positive (2xx) response to a negative one (4xx) during kamailio processing of a reply (g711 fallback drama)?

2018-05-21 Thread George Diamantopoulos
I know, but I'm that desperate. On 21 May 2018 at 22:17, Alex Balashov <abalas...@evaristesys.com> wrote: > I think this is the wrong job for Kamailio. > > On Mon, May 21, 2018 at 10:16:20PM +0300, George Diamantopoulos wrote: > > > Hello all, > > > > I've

Re: [SR-Users] Is it possible to change a positive (2xx) response to a negative one (4xx) during kamailio processing of a reply (g711 fallback drama)?

2018-05-21 Thread George Diamantopoulos
with that, but should I decide nonetheless to give it a go it would save me some trouble if I knew it can't be done beforehand... On 21 May 2018 at 22:29, Alex Balashov <abalas...@evaristesys.com> wrote: > On Mon, May 21, 2018 at 10:28:06PM +0300, George Diamantopoulos wrote: > > &g

[SR-Users] Is it possible to change a positive (2xx) response to a negative one (4xx) during kamailio processing of a reply (g711 fallback drama)?

2018-05-21 Thread George Diamantopoulos
Hello all, I've been hitting a wall in getting T.38 fallback to G.711 to work in a specific case, and I was wondering if I could use kamailio to the rescue, since all my other endeavours have failed miserably. In short, this is this the scenario where I need to have this manipulation happen: -

[SR-Users] Kamailio config file String Concatenation

2018-05-02 Thread George Diamantopoulos
Hello, I'm a a bit confused as to when string concatenation will work in kamailio config file. So far I have identified the following cases: Working: As part of the right hand side of an assignment: $var(x) = "string1" + "string2"; String argument of some functions: xlog("L_ERR", "string1" +

Re: [SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-05-02 Thread George Diamantopoulos
Hello all, Do you expect the DMQ vs database advantages to still hold true even when considering REDIS as a database (new backend in devel should make this possible)? Or are these points mainly relevant when it comes to traditional, persistent storage databases like mySQL? Thanks! BR, George On

Re: [SR-Users] Dispatcher module OPTIONS and event routes: how are they handled by core?

2017-12-21 Thread George Diamantopoulos
g in C to make it easier in config would be the elegant > solution. > > Cheers, > Daniel > > On 20.12.17 15:32, George Diamantopoulos wrote: > > Hello Daniel, > > Thanks for the reply. Unfortunately I can't really use the database > records to achieve what I want. The examp

[SR-Users] Some clarifications needed on async_task_route

2018-03-19 Thread George Diamantopoulos
Hello all, I've been exploring the async module a little, and async_task_route() more specifically. I have async_workers set, and the async module loaded. However, whenever this async function is involved in SIP processing, kamailio returns a 500 error to the UAC. I was hoping that someone could

Re: [SR-Users] phonenum module erratic behaviour with 5.1.2

2018-03-20 Thread George Diamantopoulos
Any phonenum users out there? Could really use any kind of input on this... Thanks! On 19 March 2018 at 20:16, George Diamantopoulos <georged...@gmail.com> wrote: > Hello all, > > It seems that the phonenum module in at least 5.1.2 (haven't tried > previous versions) is

Re: [SR-Users] phonenum module erratic behaviour with 5.1.2

2018-03-22 Thread George Diamantopoulos
ps://www.kamailio.org/wiki/cookbooks/devel/ > pseudovariables#phn_rid_key_-_phonenum_variables > > Cheers, > Daniel > > On 21.03.18 13:09, Anthony Joseph Messina wrote: > > George, I do see the same problem, though I haven't had time to investigate > yet. -A > > On Monda

[SR-Users] phonenum module erratic behaviour with 5.1.2

2018-03-19 Thread George Diamantopoulos
Hello all, It seems that the phonenum module in at least 5.1.2 (haven't tried previous versions) is behaving somewhat erratically. More specifically, if there are any references to any phn PVs with the key other than "number": if ( phonenum_match("1-484-555-", "src") ) { xlog("number norm:

Re: [SR-Users] execute only on INITIAL INVITE

2018-03-20 Thread George Diamantopoulos
Hello David, First of all your checking for a to-tag is correct. In-dialog requests should have a to-tag, and therefore the block you pasted here won't execute at all for those. If you're worrying about provisional (1xx) replies sent from the UAS for the initial INVITE, then indeed some of them

Re: [SR-Users] execute only on INITIAL INVITE

2018-03-20 Thread George Diamantopoulos
haps a list member with more insight into the UPDATE method could shed some more light on this... On 20 March 2018 at 20:16, George Diamantopoulos <georged...@gmail.com> wrote: > Hello David, > > First of all your checking for a to-tag is correct. In-dialog requests > should ha

Re: [SR-Users] RTPengine: shouldn't SDP be incremented when SDP is updated in-dialog?

2018-11-19 Thread George Diamantopoulos
, Richard Fuchs wrote: > On 04/11/2018 09:28 AM, George Diamantopoulos wrote: > > Hello all, > > > > I have the following issue (I think) with RTP engine. An INVITE comes > > in, and rtpengine will rewrite the SDP accordingly, as configured in > > kamailio.cfg. After

Re: [SR-Users] [sr-dev] Planning Fosdem 2019

2019-02-02 Thread George Diamantopoulos
So are we not gathering at the K building this year? Going directly to the restaurant? On Mon, 28 Jan 2019, 08:33 Daniel-Constantin Mierla Forgot to mention the time: at 19:00, on Saturday, the 2nd of February. > > Cheers, > Daniel > > On 28.01.19 08:29, Daniel-Constantin Mierla wrote: > >

Re: [SR-Users] How to statelessly send a reply to custom destination?

2019-07-05 Thread George Diamantopoulos
_send_reply("501", "Not Implemented"); > } > else { > options_reply(); > exit; > } > } > > Cheers Karsten > > Am Do., 4. Juli 2019 um 10:29 Uhr schrieb George Diamantopoulos < > georged...@gmail.com>: > >

[SR-Users] How to statelessly send a reply to custom destination?

2019-07-04 Thread George Diamantopoulos
Hello all, I've been trying to handle OPTIONS statelessly, but proper handling fails for UACs behind NAT without ALG. I thought I'd overcome this by setting the $du pseudovariable, but apparently I'm missing something. The following does not work: if ($Rp == "6050") {

Re: [SR-Users] siputils: how does sip_p_charging_vector generate the header

2019-12-03 Thread George Diamantopoulos
log/ > > Kamailio services – https://gilawa.com > > > > *From:* sr-users *On Behalf Of *George > Diamantopoulos > *Sent:* Thursday, November 28, 2019 10:09 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* [SR-Users] siputils: how does sip_p_charging_ve

Re: [SR-Users] dialog module: Does dlg_manage() have to be called for all requests?

2019-11-26 Thread George Diamantopoulos
Thank you both for your input. I guess I'll continue calling dlg_manage() for in-dialog requests for now until I gather more feedback, since we do cater for a large set of endpoints and several have at times exhibited various offending behaviours. ___

[SR-Users] dialog module: Does dlg_manage() have to be called for all requests?

2019-11-25 Thread George Diamantopoulos
Hello all, I've been reading through the dialog module docs again, and there seems to be a discrepancy in what's suggested in the docs. In the intro, it is stated that 'To create the dialog associated with an initial INVITE request, execute the function “dlg_manage()"'. Later on, in section

[SR-Users] siputils: how does sip_p_charging_vector generate the header

2019-11-28 Thread George Diamantopoulos
Hello, I've been looking at the sip_p_charging_vector() function of siputils. From the documentation it is not evident how the PCV header is generated. Are the exported $pcv pseudovariables writable, so that the function canl use those when generating the header? Thanks! BR, George

[SR-Users] Using static entries with usrloc

2019-09-20 Thread George Diamantopoulos
Hello, Normally I wouldn't be asking this but I was surprised to find no reference to anyone doing this online. I need to have a few AoRs with static entries in kami's location table, which will always be reachable at their contacts without ever having to register with Kamailio. Am I right in

Re: [SR-Users] Using static entries with usrloc

2019-09-23 Thread George Diamantopoulos
Thank you all for your input. I'll most likely use the RPC command to add entries expiring at the end of linux time and see how it goes. Cheers! On Fri, 20 Sep 2019 at 16:37, George Diamantopoulos wrote: > Hello, > > Normally I wouldn't be asking this but I was surprised to find no &g

[SR-Users] Generating provisional responses from kamailio instance

2020-02-12 Thread George Diamantopoulos
Hello all, I would like to use rtpengine's media playback capabilities in an early media scenario. The use case is as follows: * Kamailio receives an incoming INVITE * During INVITE processing, kamailio config script determines that an early media message should be played back and then the call

Re: [SR-Users] How to make a distinction between sip and tel uri

2020-01-29 Thread George Diamantopoulos
How about something like this: $vz(i) = 0; pv_unset("$vn(save_ai)") while ($vz(i) < $hdrc(P-Asserted-Identity)) { $vn(temp_holder) = $(hdr(P-Asserted-Identity)[$vz(i)]); if ( $(vn(temp_holder){nameaddr.uri}{uri.scheme}) =~ "^sip" ) { $vn(save_ai) =

Re: [SR-Users] Implicit branch creation and private variables questions - (Second Post)

2020-01-24 Thread George Diamantopoulos
DISPATCH_FIRST_PROV_FAILOVER. The reason I missed it is that I grepped the logs for Call-Id, which filtered those lines out. On Wed, 22 Jan 2020 at 16:18, George Diamantopoulos wrote: > Hello Daniel, > > Thanks for the input. That clears it up. > > @Ben Merrills: Glad to hear

Re: [SR-Users] Parallel forking and rtpengine handling

2020-01-24 Thread George Diamantopoulos
On a side note, I think I might have found a bug for rtpengine_manage(): I'm under the impression that if called from within a branch_failure_route, it will do an offer instead of a delete. Do you confirm and is this intentional? On Thu, 23 Jan 2020 at 11:06, Sebastian Damm wrote: > Hi, > > On

Re: [SR-Users] Implicit branch creation and private variables questions - (Second Post)

2020-01-22 Thread George Diamantopoulos
same > process that sends out the request, but in case of failure routing, further > branches are not created in the same process as the first branch. The best > is to use $xavp/$avp if you are not sure where and when those branch > processing happen. > > Cheers, > Daniel > O

Re: [SR-Users] Parallel forking and rtpengine handling

2020-01-22 Thread George Diamantopoulos
On Wed, 22 Jan 2020 at 18:28, Richard Fuchs wrote: > On 22/01/2020 11.06, Sebastian Damm wrote: > > Hi, > > > > our scenario is the following: We have two clients registered to our > > Kamailio server, one with a TLS capable phone, one via websocket. Now, > > when a call comes in, the call is

[SR-Users] Implicit branch creation and private variables questions

2020-01-21 Thread George Diamantopoulos
Hello all, I'm trying to accomplish the following scenario, and some questions have been raised during testing: I'd like to be able to fork serially to a number of downstream destinations in case of failure, but also try several hosts which are available per destination network before failing

Re: [SR-Users] How to ensure separate kamailio instances dispatchers make the same decision?

2020-05-20 Thread George Diamantopoulos
nd the > problem completely. > > Cheers > Karsten > > > George Diamantopoulos schrieb am Mi., 20. Mai > 2020, 19:42: > >> Hello all, >> >> I need to have two separate kamailio instances' dispatcher modules make >> the same decisions when using algo

Re: [SR-Users] Kamailio not using system resolver for hostname resolution (DMQ)?

2020-05-20 Thread George Diamantopoulos
> * https://linux.die.net/man/3/res_search > > > > Cheers, > > Daniel > > > > On 19.05.20 17:23, Alex Balashov wrote: > >> You are correct that Kamailio does not use the libc resolver / > >> libresolv, but rather its own resolver, which ignores /etc/hosts.

[SR-Users] How to ensure separate kamailio instances dispatchers make the same decision?

2020-05-20 Thread George Diamantopoulos
Hello all, I need to have two separate kamailio instances' dispatcher modules make the same decisions when using algorithm 7 (hash over pvar). What do I need to do to ensure this? Note that for design reasons, the two instances cannot share a dispatcher table from db. If I ensure the "setid"

[SR-Users] Kamailio not using system resolver for hostname resolution (DMQ)?

2020-05-19 Thread George Diamantopoulos
Hello all, I've come across this today when trying to setup DMQ replication: root@sbcpub0-stage-lhe0-cn1:/root# systemctl restart kamailio root@sbcpub0-stage-lhe0-cn1:/root# kamcmd dmq.list_nodes { host: 172.30.154.189 port: 5090 resolved_ip: 172.30.154.189

Re: [SR-Users] Topos_redis and loose_route

2020-09-14 Thread George Diamantopoulos
On an unrelated note, I forgot to ask: Ernest, how did you obfuscate the IPs in the pcap files? Is it a feature of wireshark I haven't discovered yet, or some other tool? Thanks! On Mon, 14 Sep 2020 at 23:07, George Diamantopoulos wrote: > Hello all, > > I believe I'm also

Re: [SR-Users] Topos_redis and loose_route

2020-09-14 Thread George Diamantopoulos
Hello all, I believe I'm also affected by this on kamailio 5.4.1 loose_route() returns false for in-dialog SUBSCRIBE The issue does not manifest with topos disabled for SUBSCRIBEs (using the appropriate event_route) Daniel, I can provide PCAPs privately if needed. Thank you. Best regards.

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

2020-09-14 Thread George Diamantopoulos
The example mentioned above is for integers, not for Regex. Here's the syntax for regex matching with switch(): switch ( $var(myvar) ) { case /"^mystring1": // Do stuff break; case /"^mystring2": // Do other stuff break;

Re: [SR-Users] Mapping History-Info <-> Diversion headers

2020-09-25 Thread George Diamantopoulos
Hello, I had a similar need (process/create hinfo, and briefly looked at diversion header conversion) but there doesn't seem to be any awareness of history info in kami modules yet. It has been my intention to begin working on a module at some point in the future, but my C programming skills

Re: [SR-Users] Received parameter on Via

2020-09-28 Thread George Diamantopoulos
. It is always added if different from host addr in via, regardless of nat detection or loading of nat modules in kamailio. On Tue, 29 Sep 2020, 03:48 George Diamantopoulos, wrote: > Received parameter is always added to via, and is part of the core sip > RFC. This is how responses are

Re: [SR-Users] Received parameter on Via

2020-09-28 Thread George Diamantopoulos
Received parameter is always added to via, and is part of the core sip RFC. This is how responses are routed. To get nat traversal on kamailio, you generally need the following in addition: - Received only handles address masquerading, for port translation you also need to look at rport. - A way

[SR-Users] Can't work around double SDP rewrite issue with rtpengine and config script SDP manipulation

2020-06-01 Thread George Diamantopoulos
... a=fmtp:101 0-15 (the edited line) If anyone could point out any misconceptions I have about msg_apply_changes, SDP rewriting from the script and rtp_engine_X() interoperability, I would be more than grateful. Thank you in advance and I apologize for the long read. Best regards, G

Re: [SR-Users] Can't work around double SDP rewrite issue with rtpengine and config script SDP manipulation

2020-06-01 Thread George Diamantopoulos
ts... > > — Alex > > — > Sent from mobile, with due apologies for brevity and errors. > > On Jun 1, 2020, at 7:35 AM, George Diamantopoulos > wrote: > >  > Hello all, > > I'm facing one of those cases where I need to edit the body of a SIP > message, whic

[SR-Users] Meaning of shmem stats and question on dmq dialog sharing behaviour

2020-06-01 Thread George Diamantopoulos
Hello all, I've recently been experimenting with dmq, and I've noticed something that seemed a little odd. shmem use would often be abnormally high on otherwise idle kamailio nodes (literally, only dispatcher module OPTIONS were exchanged at the time besides KDMQ messages). After disabling the

Re: [SR-Users] Meaning of shmem stats and question on dmq dialog sharing behaviour

2020-06-02 Thread George Diamantopoulos
Nope, it opens fine here. Does this work: https://snipboard.io/5E4V3m.jpg ? On Tue, 2 Jun 2020 at 08:34, Daniel-Constantin Mierla wrote: > Hello, > > I get image not found on that link, have you removed it? > > Cheers, > Daniel > On 01.06.20 13:57, George Diamantopoulos

Re: [SR-Users] Can't work around double SDP rewrite issue with rtpengine and config script SDP manipulation

2020-06-02 Thread George Diamantopoulos
> use msg_apply_changes just after replace_body_str(), eventually before > loose routing processing for requests within dialog. > > Cheers, > Daniel > On 01.06.20 13:34, George Diamantopoulos wrote: > > Hello all, > > I'm facing one of those cases where I need to edi

Re: [SR-Users] kamcmd mtree.match

2020-06-02 Thread George Diamantopoulos
Have you tried kamcmd mtree.match siteId s:49241531075212 0 ? On Tue, 2 Jun 2020, 17:17 Henning Westerholt, wrote: > Hello Volker, > > > > the error message you‘ve got from the command looks like the generic error > that is returned if the number or type of parameters do not match. Did you >

Re: [SR-Users] sanity module checks fail for ACK with parameters in RURI - possible bug?

2020-07-08 Thread George Diamantopoulos
Hello Daniel, Thanks for the reply. Indeed there is, not sure how I managed to miss that. And it wasn't about the schema after all: Jul 7 18:42:11 lbpub0-stage-lhe0-cn1 /usr/sbin/kamailio[909]: DEBUG: {1 172.30.154.189 102 ACK 08679c4228983f9e65f3b47f767b6...@voip.domain.com - sanity

Re: [SR-Users] sanity module checks fail for ACK with parameters in RURI - possible bug?

2020-07-08 Thread George Diamantopoulos
(!sanity_check("17895", "7")) { xlog("Malformed SIP request from $si:$sp\n"); exit; } BR, George On Wed, 8 Jul 2020 at 10:58, Daniel-Constantin Mierla wrote: > Hello, > > check your config operations, because the R-URI seems to be the nex

Re: [SR-Users] sanity module checks fail for ACK with parameters in RURI - possible bug?

2020-07-08 Thread George Diamantopoulos
rs, > Daniel > On 08.07.20 11:49, George Diamantopoulos wrote: > > Update: Disabling the topoh module on the proxy which produces the error > seems to stop the failure from manifesting. I'll try using topos_redis > instead, but should this be treated as a bug? > > BR, >

[SR-Users] sanity module checks fail for ACK with parameters in RURI - possible bug?

2020-07-07 Thread George Diamantopoulos
Hello all, I'm not 100% sure this is the only culprit in an issue I'm investigating, but superficially it appears that RURI scheme sanity module checks from the default config (flags 17895 in REQINIT) fail if the RURI in an ACK following a 487 includes parameters. Example from two calls from a

Re: [SR-Users] sanity module checks fail for ACK with parameters in RURI - possible bug?

2020-07-07 Thread George Diamantopoulos
On Tue, 7 Jul 2020 at 21:34, George Diamantopoulos wrote: > Hello all, > > I'm not 100% sure this is the only culprit in an issue I'm investigating, > but superficially it appears that RURI scheme sanity module checks from the > default config (flags 17895 in REQINIT) fail if the

Re: [SR-Users] dialog's track_cseq_updates seems to break uac_auth() in this configuration

2020-06-24 Thread George Diamantopoulos
if something is mismatched. > > Cheers, > Daniel > On 09.06.20 13:00, George Diamantopoulos wrote: > > Hello again, > > This might turn out to be a bug, but I'm posting here first because my > config is fairly complicated and it might not be the sanest it could

[SR-Users] dialog's track_cseq_updates seems to break uac_auth() in this configuration

2020-06-09 Thread George Diamantopoulos
Hello again, This might turn out to be a bug, but I'm posting here first because my config is fairly complicated and it might not be the sanest it could be. The problem manifests as follows: with the sole change being the enabling of track_cseq_updates for the dialog module, kamailio fails to

[SR-Users] Does DMQ auto-discover cluster members + how?

2020-06-03 Thread George Diamantopoulos
Hello all (again), When running dmq.list_nodes on one of my production kamailio servers, I get several entries corresponding to staging instances of kamailio. These staging instances are located on separate broadcast domains (different VLANs), and none of them are configured in the

Re: [SR-Users] Does DMQ auto-discover cluster members + how?

2020-06-09 Thread George Diamantopoulos
ing a DNS record to populate the cluster members? > > > > Cheers, > > > > Henning > > > > -- > > > > Henning Westerholt – https://skalatan.de/blog/ > > > > Kamailio services – https://gilawa.com <https://gilawa.com/> > > >

Re: [SR-Users] Kamailio not updating CSeq after uac_auth() for ACK

2020-12-17 Thread George Diamantopoulos
Not sure if this is related, but I've also run into issues with track_cseq_updates: https://www.mail-archive.com/sr-users@lists.kamailio.org/msg12362.html More specifically, kamailio won't process the 100 Trying to an Cseq-bumped INVITE it generated itself with uac_auth() when track_cseq_updates

[SR-Users] Possible memory leak on 5.5.x (new)?

2021-06-25 Thread George Diamantopoulos
Hello all, I'm still investigating the (most likely non-kamailio-related) memory leak of my previous message to the list, there have been no developments so far. I'll update if anything changes. This concerns a new finding which seems to affect kamailio 5.5.x. I have two kamailio instances

[SR-Users] Possible memory leak?

2021-06-02 Thread George Diamantopoulos
Hello all, I've been experiencing memory exhaustion (all 8GiB of it) on hosts running kamailio for quite some time now while on the 5.4.x train. I can't really say about previous versions, because the setup was quite different back when I was using those. After about 2 days of operation, RAM is

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2021-06-30 Thread George Diamantopoulos
at 17:43, Daniel-Constantin Mierla wrote: > Hello, > > do you replicate items in the htable via dmq? Does the htable have > autoexpire value set? > > Cheers, > Daniel > On 30.06.21 13:54, George Diamantopoulos wrote: > > Forwarding my reply to the list, using gmail's reply but

[SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2021-06-30 Thread George Diamantopoulos
Forwarding my reply to the list, using gmail's reply button set Henning as the sole recipient :-\ -- Forwarded message - From: George Diamantopoulos Date: Sat, 26 Jun 2021 at 02:25 Subject: Re: [SR-Users] Possible memory leak on 5.5.x (new)? To: Henning Westerholt Hello

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2021-11-17 Thread George Diamantopoulos
Hello all, I'm also considering an upgrade in the coming weeks, but I'm a little reluctant seeing there has been no feedback from anyone on the list. I'll try it with an instance I can quickly restore back first and let the list know if there's any unexpected issues (or not). If anyone's tried

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-07 Thread George Diamantopoulos
you get memory leaks when you run same Kamailio major version on all > Kamailio nodes, then that can be troubleshoot and fixed. > > Happy new year, > Daniel > On 07.01.22 11:33, George Diamantopoulos wrote: > > Hello all and happy new year, > > I have some new information

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-07 Thread George Diamantopoulos
> be high as a rough estimation. The highest by module is in htable, but it > is around 20MB. Maybe you took the stats too early, quickly after a restart? > Cheers, > Daniel > > On 30.06.21 17:20, George Diamantopoulos wrote: > > Hello Daniel, > > Thanks for the feedbac

Re: [SR-Users] TOPOS (5.1.[23]) breaks PRACK

2022-03-21 Thread George Diamantopoulos
Hello all, Any chance this could be affecting early-dialog UPDATE methods as well? I haven't tried with a different backend (mysql) yet, but loose_route returns false... BR, George On Fri, 25 May 2018 at 18:00, Daniel Tryba wrote: > On Wed, May 23, 2018 at 10:51:37PM +0200, Daniel-Constantin

Re: [SR-Users] TOPOS (5.1.[23]) breaks PRACK

2022-03-22 Thread George Diamantopoulos
og/ > > Kamailio services – https://gilawa.com > > > > *From:* sr-users *On Behalf Of *George > Diamantopoulos > *Sent:* Monday, March 21, 2022 11:53 PM > *To:* d.tr...@pocos.nl; Kamailio (SER) - Users Mailing List < > sr-users@lists.kamailio.org> > *Subj

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2022-01-19 Thread George Diamantopoulos
gt; protocol and kamcmd are not really maintained. > > Cheers, > Daniel > On 19.01.22 12:11, George Diamantopoulos wrote: > > Hello, > > I'm happy to report there have been no serious regressions with the > bullseye builds. Only thing I noticed is tab completion doesn't work wit

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-19 Thread George Diamantopoulos
Hello again, Indeed it must have been the version mismatch. I have upgraded all instances to 5.5.3 and shm now reports reasonable numbers. Thanks! BR, George On Fri, 7 Jan 2022 at 14:10, Daniel-Constantin Mierla wrote: > Hello, > On 07.01.22 13:04, George Diamantopoulos wrote: >

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2022-01-19 Thread George Diamantopoulos
;> On 11/17/21 3:51 PM, Patrick Karton wrote: > >>> Hello, > >>> > >>> I am using kamailio 5.5.2 on debian 11 bullseye on kubernetes. > >>> > >>> Not Seen any issue so far. > >>> > >>> Le 17 nov. 2021 21:42, G

Re: [SR-Users] TOPOS (5.1.[23]) breaks PRACK

2022-04-05 Thread George Diamantopoulos
Hello again, I have confirmed the problem doesn't manifest without loading the topos module. I'll see if I can also try a different topos backend this week to confirm if this is a topos_redis issue or topos in general. BR, George On Tue, 22 Mar 2022 at 17:11, George Diamantopoulos wrote

Re: [SR-Users] TOPOS (5.1.[23]) breaks PRACK

2022-04-07 Thread George Diamantopoulos
> > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *From:* sr-users *On Behalf Of *George > Diamantopoulos > *Sent:* Wednesday, April 6, 2022 7:29 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject

Re: [SR-Users] TOPOS (5.1.[23]) breaks PRACK

2022-04-06 Thread George Diamantopoulos
PRACK however is different, not sure if that's important in any way. BR, George On Wed, 6 Apr 2022 at 06:31, George Diamantopoulos wrote: > Hello again, > > I have confirmed the problem doesn't manifest without loading the topos > module. I'll see if I can also try a different t

  1   2   >