Re: [SR-Users] service startup issues with rptengine and kamailio

2020-01-03 Thread Alex Balashov
The answer is actually right there, on your RTPengine startup screenshot (“invalid interface specification”). And if RTPengine fails to start because of that error, Kamailio cannot ping it, so the Kamailio side of it makes complete sense. — Sent from mobile, with due apologies for brevity and

Re: [SR-Users] CSeq values in dialog OPTIONS keepalives

2020-01-02 Thread Alex Balashov
On Thu, Jan 02, 2020 at 09:26:23PM +0100, Daniel-Constantin Mierla wrote: > the cseq 0 is because in that direction was no request sent > end-to-end. Also, sorry, but I didn't quite understand this. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-25

Re: [SR-Users] CSeq values in dialog OPTIONS keepalives

2020-01-02 Thread Alex Balashov
int of view? Might it be to add a modparam which indicates whether requests are sent in-dialog or out-of-dialog? Or does the instrumentation for that require a lot of conditional logic at various points due to the amount of state kept in the in-dialog case? Thanks! -- Alex -- Alex Balashov | Pr

Re: [SR-Users] Changing name of the 'versions' table

2019-12-31 Thread Alex Balashov
Yes, there is a core config parameter that does just this and it exists for the very reasons you mention. Check the core cookbook. — Sent from mobile, with due apologies for brevity and errors. > On Dec 31, 2019, at 12:55 PM, Ben Kaufman wrote: > > Is it possible to use a table other than

[SR-Users] CSeq values in dialog OPTIONS keepalives

2019-12-30 Thread Alex Balashov
only for requests in downstream direction. The CSeq difference is stored in $dlg_var(cseq_diff), be sure this variable is not overwritten via config operation." it seems like the door to this method might already be open? Thanks, -- Alex -- Alex Balashov | Principal | Evariste Syste

Re: [SR-Users] rtpproxy_manage() doesn't recognize SDP when Content-Length is not present

2019-12-22 Thread Alex Balashov
cumented, rather than that Kamailio does not recognise such a SIP message to be valid. -- Alex On Sun, Dec 22, 2019 at 01:29:02PM +0200, Leonid Fainshtein wrote: > Hi, > According to RFC-3261 p.20.14, the Content-Length header field must be > present only if a stream-base transport protoco

Re: [SR-Users] Kamailio SIP TLS Troubleshooting

2019-12-19 Thread Alex Balashov
module is required. — Alex — Sent from mobile, with due apologies for brevity and errors. > On Dec 19, 2019, at 5:20 AM, Sudhakar Parasher > wrote: > >  > Ok, thanks. But do you mean to say Kamailio doesn't provide any module to > decrypt the Encrypted SIP packets? &g

Re: [SR-Users] kamcmd stuck

2019-12-17 Thread Alex Balashov
It happens. Any particular command? — Sent from mobile, with due apologies for brevity and errors. > On Dec 17, 2019, at 9:26 AM, Andrew Chen wrote: > >  > Hi everyone, > > Have anyone experienced kamcmd getting stuck and the only way to fix it was > to restart the process? > > Running

Re: [SR-Users] how to detect "failure to add branches"?

2019-12-16 Thread Alex Balashov
But is there ever a situation where t_relay() immediately fails out of hand yet TM state hooks like failure_route are invoked? I think the idea is to deal with the problem right then in the original request route — having full access to variables and other initially available state — and

Re: [SR-Users] using a pseudo-variable as a parameter to a module function

2019-12-13 Thread Alex Balashov
ee, it can evaluate all kinds of interpolated values. So, I'd just use that. -- Alex On Fri, Dec 13, 2019 at 12:10:02PM -0600, Michael Iedema wrote: > Hi all, > > I’m trying to write a basic Kamailio module from scratch and have run into an > area where I’m in need of a couple poin

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-12 Thread Alex Balashov
On Thu, Dec 12, 2019 at 02:39:03PM +, Ali Taher wrote: > Thanks Alex for drawing my attention regarding escaping $rU before > using it in sql queries. But I'm not sure where to use sql.val in this > case ? Do you mean I can use either {s.escape.common} or {sql.val} ? I think either

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Alex Balashov
of suspending/resuming every transaction under normal operating conditions. For more background on this topic, consider a look at my blog post on the subject from some years ago: http://www.evaristesys.com/blog/tuning-kamailio-for-high-throughput-and-performance/ Hope that helps! Cheers, -- Alex PS. You

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Alex Balashov
RecvQ). More workers will handle the database congestion better, but may not make sense the other 99% of the time. — Alex — Sent from mobile, with due apologies for brevity and errors. > On Dec 10, 2019, at 9:56 AM, Ali Taher wrote: > >  Thanks Alex for the detailed explanation, I w

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Alex Balashov
://www.evaristesys.com/blog/tuning-kamailio-for-high-throughput-and-performance/ Hope that helps! Cheers, -- Alex PS. You may wish to escape the value of '$rU' and not lift it directly into your SQL queries, e.g. https://www.kamailio.org/wiki/cookbooks/5.3.x/transformations#sescapecommon https

Re: [SR-Users] authcheck and fd variable

2019-12-10 Thread Alex Balashov
$fd contains the From URI domain. The registering UA is free to set this as they wish, and it may not align with your authentication realm. That’s why overriding it worked for you. For more info: https://www.kamailio.org/wiki/cookbooks/5.3.x/pseudovariables#fd_-_from_uri_domain — Sent from

Re: [SR-Users] siremis help and usage index?

2019-12-03 Thread Alex Balashov
I think the idea is that, given some familiarity with Kamailio, it is more or less self-evident. — Sent from mobile, with due apologies for brevity and errors. > On Dec 3, 2019, at 6:17 PM, PICCORO McKAY Lenz wrote: > > it's there some help manual usage for siremis? > > the only KB source

Re: [SR-Users] Contact header requirement

2019-12-02 Thread Alex Balashov
t; On Mon, 2 Dec 2019 at 22:04, Alex Balashov wrote: >> Well, they can’t just “not like” things. It’s grammatically valid. >> >> — >> Sent from mobile, with due apologies for brevity and errors. >> >>>> On Dec 2, 2019, at 1:49 PM, David Villasmil >>&g

Re: [SR-Users] Contact header requirement

2019-12-02 Thread Alex Balashov
Well, they can’t just “not like” things. It’s grammatically valid. — Sent from mobile, with due apologies for brevity and errors. > On Dec 2, 2019, at 1:49 PM, David Villasmil > wrote: > >  > Hello guys, > > I'm connecting to a provider who requires the contact contains the proxy's > IP...

Re: [SR-Users] tcp limit, too many open files

2019-11-28 Thread Alex Balashov
There is a userspace open file descriptor limit you need to increase for the user under which Kamailio is running. — Sent from mobile, with due apologies for brevity and errors. > On Nov 28, 2019, at 10:08 AM, David Villasmil > wrote: > >  > Hello guys, > > I'm facing an issue where, if i

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

2019-11-26 Thread Alex Balashov
nkedin.com/in/miconda > Kamailio World Conference - April 27-29, 2020, in Berlin -- > www.kamailioworld.com > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listin

Re: [SR-Users] How to access different uris in a header

2019-11-21 Thread Alex Balashov
e header? > > Best Regards, > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-

Re: [SR-Users] Beginner Help: Relay vs Forward

2019-11-20 Thread Alex Balashov
n I first got started with Kamailio. :-) As I said, they were all based on a perception that this or that element can only handle so much, but it turns out one element can handle it all - and 20x more. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1

Re: [SR-Users] Dynamic routing and REGISTER

2019-11-19 Thread Alex Balashov
ys I have built-in to get complex scenarios. > > Regards, Igor > 19 нояб. 2019 г., 14:52 +0100, Alex Balashov , > писал: >> Well, what is the nature of the dynamic routing you seek to accomplish? I >> cannot imagine dynamic distribution of registrations being very complex, o

Re: [SR-Users] Dynamic routing and REGISTER

2019-11-19 Thread Alex Balashov
Well, what is the nature of the dynamic routing you seek to accomplish? I cannot imagine dynamic distribution of registrations being very complex, or informed by the kinds of LCR-type weights and metrics that drive the need for drouting and friends... — Sent from mobile, with due apologies for

Re: [SR-Users] Parsing Contact Port Field

2019-11-18 Thread Alex Balashov
like the @tls.* ones, are very idiosyncratic. -- Alex On Mon, Nov 18, 2019 at 03:08:43PM +, Henning Westerholt wrote: > Hi Alex, > > Not sure where you looked exactly, but they are linked in the main table > (like the cook-book, PVs etc..) at https://www.kamailio.org/wiki/ > >

Re: [SR-Users] Parsing Contact Port Field

2019-11-18 Thread Alex Balashov
e selects framework. The log line > which triggered this action and error is: > > ``` > xlog("L_INFO", "contact uri.host = $(ct{uri.host})\n”); > ``` > > > I can provide more debug info if this looks like a valid bug. > > > > >> On No

Re: [SR-Users] Parsing Contact Port Field

2019-11-18 Thread Alex Balashov
ote: > >  > Hello Alex, > > this was one of the topics we discussed (in general terms) last week in our > development meeting. > > No decision to deprecate the select framework has been done so far. You are > right in noticing that the pseudo-variables are more used a

Re: [SR-Users] Parsing Contact Port Field

2019-11-18 Thread Alex Balashov
a more “Kamailio-native” way: transformations. https://www.kamailio.org/wiki/cookbooks/5.3.x/transformations#urihost That is to say: $(ct{uri.host}) — Alex — Sent from mobile, with due apologies for brevity and errors. > On Nov 18, 2019, at 8:27 AM, Michael Iedema wrote: > > 

Re: [SR-Users] kemi framework design

2019-11-12 Thread Alex Balashov
imited; what do you want Kamailio to do? 1) Catch a SIGSEGV and plough on with a corrupted virtual memory space? 2) Do a longjmp() back to a primeval state and drop any state that followed, including transaction memory, any persistent connections, etc? -- Alex -- Alex Balashov | Principa

Re: [SR-Users] Kamailio in cloud environments

2019-11-10 Thread Alex Balashov
URL "mysql://kamailio_ro:abc123@172.30.106.11/kamailio" ... listen=udp:127.0.0.1:5060 listen=tcp:172.30.105.10:5060 --- -- Alex [1] https://jinja.palletsprojects.com/en/2.10.x/ On Mon, Nov 11, 2019 at 08:00:46AM +0300, Sergey Safarov wrote: > You can also update kamailio.cfg to include listen

Re: [SR-Users] Kamailio in cloud environments

2019-11-10 Thread Alex Balashov
> > the subject “ define a DBURL with SLQOPS fails” and you will find all info > > there. > > > > On Sun, 10 Nov 2019 at 17:48, Alex Balashov > > wrote: > > > >> On Sun, Nov 10, 2019 at 06:16:44PM +0100, Alejandro Recarey wrote: > >> > >> > Hi, I

Re: [SR-Users] Kamailio in cloud environments

2019-11-10 Thread Alex Balashov
eir own startup scripts that modify the > kamailio config file before starting it? They generally do the latter, especially since public IP discovery mechanisms tend to be specific to the cloud provider. But various templating mechanisms make this quite easy to do. -- Alex Balashov | Principal

Re: [SR-Users] How to read some data inside the INVITE ..

2019-11-07 Thread Alex Balashov
It’s exposed as $rU, as many attributes of a message are: https://www.kamailio.org/wiki/cookbooks/5.3.x/pseudovariables — Sent from mobile, with due apologies for brevity and errors. >> On Nov 7, 2019, at 9:51 AM, Laura wrote: > Dears.. > > how is possibile to read that data 9052562462354464

Re: [SR-Users] RFC: default config with jsonrpc over http instead of xmlrpc

2019-11-05 Thread Alex Balashov
io World Conference - April 27-29, 2020, in Berlin -- > www.kamailioworld.com > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-

Re: [SR-Users] Command Line SIP client

2019-10-31 Thread Alex Balashov
On Thu, Oct 31, 2019 at 01:30:32PM +0530, Gaurav Bmotra wrote: > hi > i m looking for Command Line SIP client , where i can register user form > CLI for testing You might consider the demo CLI client that ships with PJSIP: https://www.pjsip.org/pjsua.htm#acc -- Alex -- Alex

Re: [SR-Users] binrpc reply sizes

2019-10-30 Thread Alex Balashov
On Wed, Oct 30, 2019 at 01:46:21PM -0400, Alex Balashov wrote: > On Wed, Oct 30, 2019 at 09:05:46AM +0100, Daniel-Constantin Mierla wrote: > > > The ctl module uses system malloc by default for its internal buffers > > related to rpc response, so it doesn't impact the al

Re: [SR-Users] binrpc reply sizes

2019-10-30 Thread Alex Balashov
c allocation > for building rpc response (also using system malloc). That's an interesting thought I hadn't considered. Kamcmd does support JSONRPC as an underlying transport in place of the binrpc protocol used by CTL, right? -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-51

Re: [SR-Users] strange conditional "if ($au!=$tU)" with previous exit

2019-10-29 Thread Alex Balashov
rname. REGISTER requests: From and To must match the authentication user." This flexibility is a nod to the reality that this policy is not always appropriate or practical. -- Alex On Tue, Oct 29, 2019 at 01:18:27PM -0400, Alex Balashov wrote: > Hi, > > When any SIP request a

Re: [SR-Users] strange conditional "if ($au!=$tU)" with previous exit

2019-10-29 Thread Alex Balashov
ials on the system. In other words, I could use my username for 'alex' in order to establish a registration of "sip:l...@sip.evaristesys.com". But if alignment betweeen $tU == $au is assured, then I can only use authentication credentials for 'alex' in order to register an identity of 'alex

[SR-Users] [abalas...@evaristesys.com: binrpc reply sizes]

2019-10-28 Thread Alex Balashov
increasing all of these drastically, I would like to learn more about which ones it makes sense to increase, and in what proportion with respect to each other. I also think this idea should be more clearly developed in the documentation. Thanks, -- Alex -- Alex Balashov | Principal | Evariste S

Re: [SR-Users] Rewrite contact address on 200 OK?

2019-10-25 Thread Alex Balashov
-dialog request routing. One nice thing about handle_ruri_alias() is it silently returns if there is no ;alias URI parameter, so you can call it without a bunch of conditional logic around whether it is appropriate to call it. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel:

Re: [SR-Users] Rewrite contact address on 200 OK?

2019-10-25 Thread Alex Balashov
Hi, I may be mistaken, but my reading of 3261 is that a final dialog-forming response may update the remote target (Contact) previously sent by an early dialog-forming provisional reply. That having been said, apart from using nathelper techniques (add_contact_alias() and

Re: [SR-Users] environmental variables in kamailio

2019-10-24 Thread Alex Balashov
It is not. But you can do this via any template system such as Jinja2, or a hand-rolled substitution script. — Sent from mobile, with due apologies for brevity and errors. > On Oct 24, 2019, at 2:02 AM, Gaurav Bmotra wrote: > >  > hi > i using kamailio 5.2 > is it possible to use

Re: [SR-Users] PUBLISH ERROR

2019-10-10 Thread Alex Balashov
Oct 10, 2019, at 12:16 PM, Social Boh wrote: > > The very strange think is I have disabled all VoIP settings on the Router > > --- > I'm SoCIaL, MayBe > >> El 10/10/2019 a las 10:53, Alex Balashov escribió: >> Pretty typical of a SIP ALG in a consumer router,

Re: [SR-Users] PUBLISH ERROR

2019-10-10 Thread Alex Balashov
Pretty typical of a SIP ALG in a consumer router, yes. — Sent from mobile, with due apologies for brevity and errors. > On Oct 10, 2019, at 11:50 AM, Social Boh wrote: > > I think is a Internet Router Issue. If I use 5060 port on Kamailio, the > Publish have Content-Lenght Header = 0 > > If

Re: [SR-Users] exit after www_challenge

2019-10-08 Thread Alex Balashov
l_send_reply("403","Forbidden auth ID"); > exit; > } > consume_credentials(); > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ___ > Kamailio (SER) - Users Mailing List > sr-us

Re: [SR-Users] SIP-links adjacency

2019-10-07 Thread Alex Balashov
4")) > { > send_reply("404", "No destination"); > exit; > } else { > xlog("[DISPATCH] ds_select_dst was succesful'\n"); > } > xlog("L_DBG", "--- SCRIPT: going to <$ru> via <$du>\n"

Re: [SR-Users] SIP-links adjacency

2019-10-07 Thread Alex Balashov
/pseudovariables#si_-_source_ip_address https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#fd_-_from_uri_domain — Alex — Sent from mobile, with due apologies for brevity and errors. > On Oct 7, 2019, at 5:43 AM, Oleg Belousov wrote: > >  > Hello. > In our setup kamailio per

Re: [SR-Users] storing vars in htable

2019-10-04 Thread Alex Balashov
-_evaluate_dynamic_format — Alex — Sent from mobile, with due apologies for brevity and errors. > On Oct 4, 2019, at 9:45 PM, David Villasmil > wrote: > >  > Hello guys, > > I'm storing some data in an htable, like so: > > $var(http_query) = > "/default/en_US/send.html?

Re: [SR-Users] Record-Route management

2019-10-03 Thread Alex Balashov
As long as you steer the traffic so that enters and exits the same network interface/listener, this should be a natural outcome. — Sent from mobile, with due apologies for brevity and errors. > On Oct 3, 2019, at 11:41 AM, Duarte Rocha wrote: > > Greetings, > > I have multiple IPs in my

Re: [SR-Users] Question

2019-09-25 Thread Alex Balashov
Oh yeah. — Sent from mobile, with due apologies for brevity and errors. > On Sep 24, 2019, at 7:32 PM, Shahdee Nelson wrote: > > With your software would I be able to create, and modify VOIP lines? As in > saying would I be able to provide VOIP numbers that can make outbound calls > to USA

Re: [SR-Users] Can I load balance Kamailio with Kamailio?

2019-09-24 Thread Alex Balashov
You sure can! — Sent from mobile, with due apologies for brevity and errors. > On Sep 24, 2019, at 8:18 AM, Ne Mo wrote: > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org >

Re: [SR-Users] RUN kamailio in kubernetes

2019-09-14 Thread Alex Balashov
y accomplished through some combination of: - Database sharing (e.g. usrloc); - Internal replication and state sharing (e.g. DMQ); - Heartbeat/Pacemaker/Corosync/VRRP/UCARP and appropriate network design; - Shared-nothing or shared-little architecture; -- Alex -- Alex Balashov | Principal

Re: [SR-Users] Problem with incoming audio from Asterisk

2019-09-14 Thread Alex Balashov
Hi, Have a read: http://www.evaristesys.com/blog/server-side-nat-traversal-with-kamailio-the-definitive-guide/ -- Alex On Sat, Sep 14, 2019 at 06:04:16PM +0200, przeqpiciel wrote: > Hi, > After a month of fight with SIP signalling I made it but now I have problem > with incoming a

Re: [SR-Users] Info: initialization of libssl 1.1.+ with PTHREAD_PROCESS_SHARED attribute for pthread mutex and rwlock

2019-09-13 Thread Alex Balashov
Hi Daniel, Thanks a lot for this work; it's definitely important that Kamailio build against OpenSSL v1.1, and I'll be happy to contribute some testing in a live environment in the coming weeks. Much appreciated. Have a good weekend, -- Alex On Fri, Sep 13, 2019 at 01:34:12PM +0200, Daniel

Re: [SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Alex Balashov
Why? — Sent from mobile, with due apologies for brevity and errors. > On Sep 12, 2019, at 2:00 PM, Gaurav Bmotra wrote: > > hi > i want to run kamailio in kubernetes deployment and i want to run this > kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help > > thank you >

Re: [SR-Users] How to distinguish is from Asterisk or from the client

2019-09-11 Thread Alex Balashov
platform gateways to customer - treat as # "inbound". ... } else { # Do authentication challenge and treat as "outbound" # from customer softphone. ... } -- Alex On Wed, Sep 11, 2019 at 10:46:49PM +0200, przeqpiciel wrote: > Hi, >

Re: [SR-Users] Share variable into reply route.

2019-09-09 Thread Alex Balashov
is instead: $avp(UniqueId) = $hdr(X-UniqueId); and I think you'll get the behaviour you expect. -- Alex On Mon, Sep 09, 2019 at 11:43:27PM +0300, Zhan Bazarov wrote: > Hello, > > we ran into a trouble with sharing variable into reply route... > > We are going to

Re: [SR-Users] Unexpected BYEs from dialog module

2019-09-02 Thread Alex Balashov
On Mon, Sep 02, 2019 at 04:04:59AM -0400, Alex Balashov wrote: > On Sun, Sep 01, 2019 at 09:35:43AM +, Henning Westerholt wrote: > > > just looked briefly into the code. There is only one place in the > > dialog module that ends a dialog with "dlg_bye_

Re: [SR-Users] Unexpected BYEs from dialog module

2019-09-02 Thread Alex Balashov
rson's perspective; in my case the cookie is present but incorrect and so does not match a known dialog, so I didn't know offhand if the code treat the parameter as though it were altogether absent, or whether it would treat it as present but wrong and abort processing as you suggest. :-) -- Alex -

Re: [SR-Users] Unexpected BYEs from dialog module

2019-08-31 Thread Alex Balashov
seems to apply some sort of timeout to it that leads to a spoofed BYE? -- Alex On Thu, Aug 29, 2019 at 08:08:06AM +, Henning Westerholt wrote: > Hi Alex, > > sounds strange indeed. 4.3.5 is from March 2016, a lot happened since then.. > > One idea to investigate further - have yo

[SR-Users] Unexpected BYEs from dialog module

2019-08-27 Thread Alex Balashov
quickly in that release, or inadvertently set the dialog timeout parameter to something lower than is apparent from the logging and the config. If anyone has any pointers, that would not go unappreciated! Many thanks, -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800

Re: [SR-Users] Define properly IP in record-route header

2019-08-27 Thread Alex Balashov
t; Do you have: mhomed=1 ? > >> On Tue, Aug 27, 2019 at 8:52 AM przeqpiciel wrote: >> Thank you for the reply. It little help for me, Right now probably I have to >> make logic which change record route depends on it where Kamailio send >> packets internal / outside &

Re: [SR-Users] Define properly IP in record-route header

2019-08-26 Thread Alex Balashov
#rr.f.record_route_preset But the first approach is better and more comprehensive for your situation, since it also covers Via. — Alex — Sent from mobile, with due apologies for brevity and errors. > On Aug 26, 2019, at 4:12 PM, przeqpiciel wrote: > > Hi, > I have some issue and dont have enoug

Re: [SR-Users] uac_replace_from() and multiple branches

2019-08-15 Thread Alex Balashov
message buffer, plus any permanent changes, upon the initiation of a new branch attempt. — Alex — Sent from mobile, with due apologies for brevity and errors. > On Aug 15, 2019, at 10:06 AM, John Quick wrote: > > v5.2.3 of Kamailio. Serial forking is used to route calls to a

Re: [SR-Users] Dispatcher round-robin problems in 5.2

2019-08-14 Thread Alex Balashov
AM, Alex Balashov wrote: > > Thanks, JR! That’s something to look at. > > However, in this case probing is disabled. > > — > Sent from mobile, with due apologies for brevity and errors. > >> On Aug 13, 2019, at 9:40 AM, JR Richardson wrote: >> >>

Re: [SR-Users] Dispatcher round-robin problems in 5.2

2019-08-13 Thread Alex Balashov
Thanks, JR! That’s something to look at. However, in this case probing is disabled. — Sent from mobile, with due apologies for brevity and errors. > On Aug 13, 2019, at 9:40 AM, JR Richardson wrote: > > Hey Alex, > > After I recently upgraded, I had to include more resp

Re: [SR-Users] Strange behavior for unregister() function. Wrong docs? Bug?

2019-08-13 Thread Alex Balashov
It is a bit counterintuitive, though. Like Joel, I would have thought such restrictions ultimately should ultimately be based on the type of the toplevel action. Then again, I make use of this a lot from failure_route, calling the same route blocks over and over for route-advancing, some of

Re: [SR-Users] Dispatcher round-robin problems in 5.2

2019-08-12 Thread Alex Balashov
iel-Constantin Mierla > wrote: > > Hello, > > could you observe similar behavior on other dispatchers that don't use > an external system tomanage activation and deactivation of the gateways? > Or you haven't checked such one so far? > > Cheers, > Daniel > >&

[SR-Users] Dispatcher round-robin problems in 5.2

2019-08-12 Thread Alex Balashov
a single gateway -- the first gateway in the table -- though not 100%. There is also a marked tendency to send lots of consecutive calls to the same gateway, even if it's not the first one, though most of the time it is. Has anyone experienced similar upon upgrading to 5.2? Thanks much! -- A

Re: [SR-Users] lost sip messages

2019-08-01 Thread Alex Balashov
ibuting factor, however ... it still comes back to, how do I >> monitor for packets being dropped because there was no worker. >> Thanks all >> Jay >> ... > > Alex Balashov wrote a fantastic article on this: > > http://www.evaristesys.com/blog/tuning-kamailio-for-h

Re: [SR-Users] Dialog missing when BYE is received from trunk

2019-07-27 Thread Alex Balashov
ck to the local PBX, so > I would think when Kamailio gets this dialog ID back with a BYE it would > relay it back to the original contact, wouldn’t it? > > Thanks! > > Andrew > ___ > Kamailio (SER) - Users Mai

Re: [SR-Users] Concatenating strings in $hdr

2019-07-25 Thread Alex Balashov
Try: $var(x) = “x” + y + z; $hdr($var(x)); — Sent from mobile, with due apologies for brevity and errors. > On Jul 24, 2019, at 11:41 PM, David Cunningham > wrote: > > Hello, > > I'm having an issue where this doesn't work: > > #!trydef PRODUCT "Foo" > > if( $hdr("X-" + PRODUCT +

Re: [SR-Users] unsubscribe

2019-07-22 Thread Alex Balashov
No no, stay subscribed! It’s good content. — Sent from mobile, with due apologies for brevity and errors. > On Jul 22, 2019, at 6:33 PM, Carlos Cruz wrote: > > > > > > This email has been checked for viruses by AVG antivirus software. >

Re: [SR-Users] How to get total number of dialogs in profile with value

2019-07-15 Thread Alex Balashov
You can easily get around this by adding the dialogs simultaneously to multiple profiles, including one that does not have values alongside one that does. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaris

Re: [SR-Users] How to get total number of dialogs in profile with value

2019-07-15 Thread Alex Balashov
Indicates the "value" paramter is still optional. > > I'm sure I must be missing something obvious... Any ideas? > > > Thanks! > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https

Re: [SR-Users] UDP fragmentation issues

2019-07-15 Thread Alex Balashov
I discuss this in an article: http://www.evaristesys.com/blog/sip-udp-fragmentation-and-kamailio-the-sip-header-diet/ -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrps

Re: [SR-Users] Kamailio Asterisk integration with docker DNS Problem

2019-07-15 Thread Alex
i think the bestway is static ip for ip nodes in dispatcher сб, 13 июл. 2019 г. в 14:10, Amir : > > Hi > I have created a kamailio container with docker and two asterisk container > And this is my dispatcher list: > 1 sip:asterisk:5060 > 1 sip:asterisk2:5060 > and this is my both asterisk

Re: [SR-Users] (no subject)

2019-07-10 Thread Alex Balashov
Oh, yes — if the hyphen was a string literal it would have the same type conversion effect as adding an empty string into the mix. — Sent from mobile, with due apologies for brevity and errors. > On Jul 10, 2019, at 11:12 AM, Ilie Soltanici wrote: > > Got it working by setting: > >

Re: [SR-Users] (no subject)

2019-07-10 Thread Alex Balashov
ner result out of: https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#s_format_-_evaluate_dynamic_format -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ ___

Re: [SR-Users] Kamailio routing BYE back to originator

2019-06-23 Thread Alex Balashov
than @remote_UA as per above. A SIP packet capture of the entire call leg should reveal what's going on fairly straightforwardly. -- Alex On Mon, Jun 24, 2019 at 01:20:13PM +1000, Andrew White wrote: > Hi all, > > I’ve done some digging and realised that outbound calls I initiate

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Alex Balashov
had to guess, I think it was in usrloc. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ ___ Kamailio (SER) - Users Mailing List sr-us

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Alex Balashov
That's what I was looking for, perfect! > > Yes, I added accountcode and notes to my table for internal use, was > just making notes on columns I need on the new version upgrade. > > Thanks. > > JR > > > On Tue, Jun 18, 2019 at 2:17 PM Daniel-Constantin Mierla > w

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Alex Balashov
can rename the table to 'version', or just keep 'version52' or whatever and have 'version_table' perennially set in the config. -- Alex On Tue, Jun 18, 2019 at 01:50:35PM -0500, JR Richardson wrote: > Hey All, > > I'm doing some upgrades and noticed database table version numbe

Re: [SR-Users] restrict calls to only registered users

2019-06-17 Thread Alex Balashov
Ah, if only this project had documentation... https://kamailio.org/docs/modules/5.2.x/modules/registrar.html#registrar.f.registered — Sent from mobile, with due apologies for brevity and errors. > On Jun 17, 2019, at 2:27 AM, Gaurav Bmotra wrote: > > > hi > i m using kamailio 5.1 , with

Re: [SR-Users] Authenticating xhttp request

2019-06-14 Thread Alex Balashov
ltiple places and serialising it into a format more readily consumable by your front-end framework. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswit

Re: [SR-Users] Operations after relay

2019-06-10 Thread Alex Balashov
perations until after the reply has already been relayed, the answer is yes, but not entirely straightforwardly (have a look at the 'mqueue' and 'rtimer' modules). -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaris

Re: [SR-Users] RTPEngine and dialog moving.

2019-05-31 Thread Alex Balashov
You can’t be sure, if the command is issued from a different Kamailio instance. I’d suggest sticking the RTPEngine set ID into an RR parameter, simply because it’s both stateless and dialog-persistent. — Sent from mobile, with due apologies for brevity and errors. > On May 31, 2019, at 10:01

Re: [SR-Users] remove_hf() leaves junk in the headers?

2019-05-26 Thread Alex Balashov
On Sun, May 26, 2019 at 09:27:01PM +0300, Oded Arbel wrote: > On Sun, May 26, 2019 at 8:59 PM Alex Balashov > wrote: > > Make sure you have the right reversion/cookie options set, > > I'm not sure what that means... Sorry, that wasn't a very clear response on my par

Re: [SR-Users] remove_hf() leaves junk in the headers?

2019-05-26 Thread Alex Balashov
Contrary to the prime facie interpretation of its name, the ‘uac’ module does not in fact provide a UAC, or the ability to initiate sessions, just some functionality that strays from proxy orthodoxy and ventures into the realm of things only UAs are formally entitled to do. This is the case

Re: [SR-Users] PRE-PAY update timer

2019-05-24 Thread Alex Balashov
uld at least ask the question. -- Alex On Fri, May 24, 2019 at 06:18:19PM +0100, Steve Bucklin wrote: > Hello all (again), > > I am looking at a 'good' method to start a call with "chunks" of time > allocated. I wish the initial call to check a credit, and if credit is goo

Re: [SR-Users] Question about setbflag and isbflagset usage

2019-05-24 Thread Alex Balashov
Branches are a creature of transactions. It follows that “branch flags” are transaction-persistent flags at the branch level, rather than scoped to the transaction as a whole. ACKs constitute a separate transaction. — Sent from mobile, with due apologies for brevity and errors. > On May 24,

Re: [SR-Users] Modern SIP Trunking, Route on To: or INVITE Headers?

2019-05-21 Thread Alex Balashov
The To header is a cosmetic, purely logical commentary on the intended ultimate destination of the call, and no routing should ever be done on it. The RURI of the INVITE is the appropriate vehicle for that. When dealing with proxies, however, one will encounter from time to time the grim

Re: [SR-Users] Storing an integer value into AVP from REDIS string

2019-05-20 Thread Alex Balashov
You want to validate that the value is an integer, or coerce the internal type of the AVP to integer? — Sent from mobile, with due apologies for brevity and errors. > On May 20, 2019, at 7:52 AM, Stephen Bucklin > wrote: > > Hi, > Any quick thoughts. I am using a REDIS "GET" to retrieve a

Re: [SR-Users] CRM / Windows integration

2019-05-09 Thread Alex Balashov
, with due apologies for brevity and errors. > On May 9, 2019, at 11:02 AM, Alex Balashov wrote: > > I think it’s worth asking exactly what kind of integration you have in mind. > Integrate where, to do what? > > — > Sent from mobile, with due apologies for brevity and errors.

Re: [SR-Users] CRM / Windows integration

2019-05-09 Thread Alex Balashov
I think it’s worth asking exactly what kind of integration you have in mind. Integrate where, to do what? — Sent from mobile, with due apologies for brevity and errors. > On May 9, 2019, at 10:18 AM, Mark Boyce wrote: > > Hi All > > Does anyone have any pointers for integrating Kamailio with

Re: [SR-Users] RE-invite in case of SIP is Active

2019-05-09 Thread Alex Balashov
Hi Gaurav, Re-invites are generated by user agents/endpoints and Kamailio simply relays them as in-dialog requests. So, from a Kamailio point of view, there’s nothing to be done. — Sent from mobile, with due apologies for brevity and errors. > On May 9, 2019, at 9:05 AM, Gaurav Bmotra wrote:

Re: [SR-Users] Kamailio bypassing RTP media

2019-05-03 Thread Alex Balashov
Yes, this is possible. In fact, this is Kamailio’s default behaviour, since it is inherently a SIP proxy. It would not touch the SDP unless you asked it to. — Sent from mobile, with due apologies for brevity and errors. > On May 3, 2019, at 4:39 PM, Ali Taher wrote: > > Hi everyone, > > I'm

Re: [SR-Users] Next hop of reply, in onreply_route

2019-04-30 Thread Alex Balashov
ate as statelessly as possible; it's just a good principle of software engineering IMHO. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.

[SR-Users] Next hop of reply, in onreply_route

2019-04-30 Thread Alex Balashov
I am fairly sure it’s been asked a number of times, but is there a way to know the destination, and more especially the transport, of the next hop of a reply message, viewable from onreply_route? For requests, we have $nh and many other PVs which in some way evidence where it’s going. And

<    2   3   4   5   6   7   8   9   10   11   >