Re: [SR-Users] RTPEngine UDP receive queue issue

2018-08-08 Thread Alex Balashov
On Wed, Aug 08, 2018 at 09:38:02AM -0400, Richard Fuchs wrote: > On 2018-08-08 09:25, Alex Balashov wrote: > > Richard, > > > > rtpproxy classic edition had an SDP attribute that could be inserted to > > prevent rtpproxy from operating on the SDP if another rtpproxy h

Re: [SR-Users] Regarding OpenSource Meetup in India

2018-08-08 Thread Alex Balashov
On Wed, Aug 08, 2018 at 03:38:47PM +0200, Antony Stone wrote: > On Wednesday 08 August 2018 at 15:35:37, surendra tiwari wrote: > > > Hello Guys, > > > > We are having a Meetup for Telecommunication Geeks. > > When and where? India. In the future. -- Alex B

Re: [SR-Users] RTPEngine UDP receive queue issue

2018-08-08 Thread Alex Balashov
Richard, rtpproxy classic edition had an SDP attribute that could be inserted to prevent rtpproxy from operating on the SDP if another rtpproxy had already been engaged upstream. Does RTPEngine have a similar feature? -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800

Re: [SR-Users] RTPEngine UDP receive queue issue

2018-08-07 Thread Alex Balashov
points, in the strangest instance of reinvite glare I've ever seen. It's a consistent behaviour on this particular call flow. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-

Re: [SR-Users] RTPEngine UDP receive queue issue

2018-08-07 Thread Alex Balashov
e code to > prevent this from happening, but if the underlying signalling is broken, it > can still happen. Ah, I see. Thank you for that insight. I have trouble visualising where in our Kamailio config this could happen, but I suppose it's not impossible. I'll try to identify that

Re: [SR-Users] RTPEngine UDP receive queue issue

2018-08-06 Thread Alex Balashov
.2] -> BYE (hangup) received from 3.3.3.3:54246 Aug 6 18:12:02 gw1 /usr/local/sbin/kamailio[22211]: INFO: [R-MAIN:1074537188_44545952@2.2.2.2] -> BYE received - tearing down rtpengine session But while this signalling chronology is anomalous, it doesn't explain a continuous queue ove

[SR-Users] RTPEngine UDP receive queue issue

2018-08-06 Thread Alex Balashov
someone could shed some light on the nature of this queue and what we can do about this problem. Is this referring to a netfilter packet forwarding queue, or is it a receive queue of the RTPengine user space control process? Can its size be increased or tweaked with kernel parameters? Thanks, -- Alex

Re: [SR-Users] Method Destination Variable

2018-08-01 Thread Alex Balashov
issing? I've tried $route_uri but it only > returns the kamailio's own IP, since it's the only IP in the "Route" header. > > Thanks in advance, > > Cheers > ___ > Kamailio (SER) - Users Mailing List > sr-use

[SR-Users] RTP Proxy

2018-07-31 Thread Alex Tatham
e possibly have any better ideas? Thank you, Alex Alex Tatham Technical Director ​ T:01233 220 943 E:alex.tat...@dmcplc.co.uk W:www.dmctechnologies.co.uk DMC Technologies formerly HP Technology Unit 5, Invicta Business Centre | Orbital Park | Ashford | Kent | TN24 0HB DMC Technologies is a tr

Re: [SR-Users] Error when using http_async_client $http_query_id var

2018-07-23 Thread Alex Balashov
): wrong format[route[ACC_HTTP_REPLY]: received reply for > query $(http_query_id)#012] > Jul 23 11:36:07 sip03 /usr/sbin/kamailio[24906]: ERROR: > [core/route.c:1154]: fix_actions(): fixing failed (code=-1) at > cfg://etc/kamailio/kamailio.cfg:5308 > > > Should i escape the var $http_qu

Re: [SR-Users] $var(name) - Private memory variables

2018-07-21 Thread Alex Balashov
ookbooks/5.1.x/pseudovariables#dlg_var_key -- 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/ ___ Kamailio (SER) - Users Mailing

Re: [SR-Users] $var(name) - Private memory variables

2018-07-21 Thread Alex Balashov
taneously change same variable? > > Sergey > ___ > 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-6800 / +1-800-250-5920 (toll-free)

Re: [SR-Users] Locking htable entries

2018-07-19 Thread Alex Balashov
Oh, I see. So, if I understood correctly, the primary intended use-case is really to make operations consisting of multiple accesses/writes atomic? -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER) - Users Mailing

[SR-Users] Locking htable entries

2018-07-19 Thread Alex Balashov
a route script context. So what is the purpose of this higher-level lock? Is it to create a way to block config script execution in multiple processes as to serialise operations? Why would one want to do this under any ordinary circumstances? Perhaps it is a failure of my imagination... Thanks, --

Re: [SR-Users] in-dialog requests

2018-07-18 Thread Alex Balashov
That may be, but it's still the correct config to use. Your scaled-down version simply will not work. On July 18, 2018 9:47:15 AM EDT, Ali Taher wrote: >Hi Alex, > >Yes I did, but I noticed that all in-dialog requests sent by freeswitch >to kamailio were ignored and no packet w

Re: [SR-Users] in-dialog requests

2018-07-18 Thread Alex Balashov
h IP > > > >This script is working normally as long as the customer is sending the >requests(INVITE,BYE,ACK,CANCEL..) . But when the supplier or freeswitch >initiated the request , above script causes loop where the packet is >bounced >between kamailio and freeswitch. &

Re: [SR-Users] SIP re-invite Packets

2018-07-17 Thread Alex Balashov
} exit; } t_check_trans(); if(is_method("OPTIONS")) { sl_send_reply("200", "OK"); exit; } else if(is_method("INVITE")) { # Route your calls. exit;

Re: [SR-Users] SIP re-invite Packets

2018-07-17 Thread Alex Balashov
adequate way. You will want to consider the main request_route in the main config file and adapt its most essential aspects accordingly: https://github.com/kamailio/kamailio/blob/master/etc/kamailio.cfg#L455 -- Alex On Tue, Jul 17, 2018 at 03:40:58PM +0300, Ali Taher wrote: > He

[SR-Users] RTPEngine serial forking with early media

2018-07-16 Thread Alex Balashov
imply an amendment to 3261 § 13.2.1, but I'm not sure. Regardless, I'm not convinced all UAs will handle this situation. So, what I would most prefer is a means of recycling the same answer port on the "back" side of RTPEngine while pivoting it on the front across branches/multiple of

Re: [SR-Users] CPS

2018-07-09 Thread Alex Balashov
reated dynamically for a given customer ID or whatever, and htable was the preferred vehicle for that. That has changed, and nowadays it's a lot simpler. :-) -- Alex On Mon, Jul 09, 2018 at 02:41:44PM -0400, Sergiu Pojoga wrote: > Hi folks, > > Trying to implement CPS throttling bas

Re: [SR-Users] Kamailio Calls Concurrency

2018-07-07 Thread Alex Balashov
16GB of RAM? > >Your answer is much appreciated. -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] kamailio with kannel

2018-07-02 Thread Alex Balashov
send those values to an external script, or use base64 if the sendsms API method supports a payload in that format. -- Alex On Mon, Jul 02, 2018 at 08:57:46PM +, eyas barhouk wrote: > hello dears , > > i'm trying to use "http_client" module to post SMS from kamaili

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Alex Balashov
explained on the 12.1.2 of rfc3261? If the provider sent you a Record-Route of their own in addition to any that you have placed there, your UAC must still follow it when contacting them for in-dialog requests. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
On Mon, Jul 02, 2018 at 09:31:02AM +0300, Yuriy Gorlichenko wrote: > But here provider says me - you should use Contact field to reach target > even from myProxy. Not if they added another Record-Route hop of theirs. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-51

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
, they should be stripped off before continuing with the next-hop Route. This is the standard loose-routing procedure labouriously articulated in the RFC, and implemented by loose_route(). -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
requests in this dialog. The remote target MUST be set to the URI > >from the Contact header field of the response. > > > 2018-07-02 0:05 GMT+03:00 Alex Balashov : > > > On Mon, Jul 02, 2018 at 12:03:24AM +0300, Yuriy Gorlichenko wrote: > > > > &

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
rget MUST be set to the URI >from the Contact header field of the response. Indeed. What is your intended thesis? -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.c

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
port, but that's radioactively incorrect. -- 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-use

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
caller will do it because the same Record-Route is copied into the 2xx response by the callee so that the caller knows about it. If any of these things are not happening, that could be the reason. On Sun, Jul 01, 2018 at 10:50:45AM +0300, Yuriy Gorlichenko wrote: > Alex thank you for the respo

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
enko wrote: > Alex thank you for the response > So all that I found is correct and known looks like correct. > Then last question confusing me - why some UAC's ignoring it. > Looks like they are just have not full RFC interpretation but as i beleive > FreeSwitch have good SI

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Alex Balashov
level. The request URI should cosmetically be equivalent to the Contact URI of the far end, but the Route header will cause a deviation in where the request is actually sent. This is entirely appropriate and correct. Nobody should be ignoring a Route header. -- Alex On Sun, Jul 01, 2018 at 10:27

Re: [SR-Users] dovecot authentication

2018-06-30 Thread Alex Balashov
other modules. It works very well. -- Alex On Fri, Jun 29, 2018 at 09:39:42AM +0200, Pali Rohár wrote: > Hi! > > Is there any module or configuration how to use dovecot SASL > authentication in Kamailio? > > Dovecot exports unix socket (or tcp on localhost) for authentication &g

Re: [SR-Users] Newbie: TOPOH in SBC/Proxy scenario regarding To-header

2018-06-21 Thread Alex Balashov
You can learn more about that in the module documentation, e.g. https://kamailio.org/docs/modules/5.1.x/modules/uac.html#uac.p.restore_mode -- Alex On Thu, Jun 21, 2018 at 10:57:54PM +0300, Igor Olhovskiy wrote: > Why proxy cannot alter To header? > > Regards, Igor > 21 июня 2018 г

Re: [SR-Users] New blog article: Kamailio as an SBC - five years on

2018-06-19 Thread Alex Balashov
___ > 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-6800 / +1-800-250-5920 (toll-free) Web:

[SR-Users] New blog article: Kamailio as an SBC - five years on

2018-06-18 Thread Alex Balashov
This is an update to my original 2013 article on this topic: http://www.evaristesys.com/blog/kamailio-as-an-sbc-five-years-on/ -- 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 installation

2018-06-18 Thread Alex Balashov
rcial understanding of SBC, such as ASIC-assisted RTP relay, B2BUA-based topology hiding, various types of registrar caching middlebox functionality, forwarding out of a large number of network interfaces/VLANs, etc. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-

Re: [SR-Users] Kamailio installation

2018-06-18 Thread Alex Balashov
gistering to the SBC. Also a way to receive and pass > User-to-User (UUI) information. > > -Original Message- > From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of Alex > Balashov > Sent: Monday, June 18, 2018 10:40 AM > To: Kamailio (SER) - Users M

Re: [SR-Users] Kamailio installation

2018-06-18 Thread Alex Balashov
g@01D3F36A.B17ABBD0] > >[cid:image006.png@01D3F36A.B17ABBD0] > >[cid:image003.png@01D406F0.8843CF10] > >[cid:image010.png@01D3F36A.B17ABBD0] -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER) - Users Mailin

Re: [SR-Users] can't assign values to $fU

2018-06-13 Thread Alex Balashov
On Wed, Jun 13, 2018 at 01:26:07PM -0500, Karthik Srinivasan wrote: > Could you explain why we need to call this function when manipulating $fU ? Some PV manipulations work that way, others don't. :-) "Because Kamailio". -- Alex Balashov | Principal | Evariste Systems LLC Te

Re: [SR-Users] can't assign values to $fU

2018-06-13 Thread Alex Balashov
: 3224567880 > > Thanks, > > Karthik > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Alex

Re: [SR-Users] No Video between WebRTC Client and Softphone when using Kamailio...works without Kamailio

2018-06-10 Thread Alex Balashov
of the call. >I have included a full pcap file. As a side note when comparing pcap >traces of the Non Proxied vs Proxied call, the INVITE and 200 OK from >Asterisk and Softphone are exactly the same. > >Thank you, >-Steve -- Alex -- Sent via mobile, please forgive typos and brevi

Re: [SR-Users] Monitoring Dispatcher

2018-06-06 Thread Alex Balashov
iving nodes. >Equal weight, just filling them in some balanced fashion. > >Any hints or ideas would be much appreciated! > >Kind regards, > >Tim Bowyer -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kam

Re: [SR-Users] (N)DB_FIREBASE module?

2018-06-06 Thread Alex Balashov
LinkedIn_logo_initials > > (1) > > <https://www.linkedin.com/company/44983?trk=tyah&trkInfo=clickedVertical%3Acompany%2CentityType%3AentityHistoryName%2CclickedEntityId%3Acompany_company_44983%2Cidx%3A0> > >     > > > >   > > > > -- > Daniel-Constan

[SR-Users] Transaction flags and branch_routes

2018-06-04 Thread Alex Balashov
f(!t_relay()) sl_reply_error(); } branch_route[BRANCH_ROUTE] { if(isflagset(PROXY_MEDIA_SET)) { ... } ... } Is PROXY_MEDIA_SET meant to be visible inside the branch_route? Because it doesn't seem to be. Thanks! -- Alex -- Alex Balashov | Principal | E

Re: [SR-Users] ACK to 200 OK without to tag

2018-06-04 Thread Alex Balashov
his really isn't a reasonable approach. :-) -- 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) - User

Re: [SR-Users] ACK to 200 OK without to tag

2018-06-03 Thread Alex Balashov
URI: > sip:5.103.133.210:5070;transport=tcp;lr;r2=on;ftag=851466465;vst=CwUAARgIAAAUBAoCATg1MDt0cmFuc3BvcnQ9VENQO29i;nat=yes > Route Host Part: 5.103.133.210 > Route Host Port: 5070 > Route URI paramete

Re: [SR-Users] Thank You

2018-06-01 Thread Alex Balashov
__ > 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-6800 / +1-800-250-5920 (toll-free) Web: htt

Re: [SR-Users] Strange behavior with $shtinc

2018-05-31 Thread Alex Balashov
variance in keys to get unique bucket hits in a situation where size(htable) =~ entry count N. On Thu, May 31, 2018 at 05:22:43PM -0400, Alex Balashov wrote: > Hi, > > I might be mistaken in my interpretation of the situation, but my first > guess would be multiple entries ending up

Re: [SR-Users] Strange behavior with $shtinc

2018-05-31 Thread Alex Balashov
will help. What is the value of the 'size' parameter for that htable definition now? -- Alex On Thu, May 31, 2018 at 08:07:18PM +, Brooks Bridges wrote: > Apologies if the initial report was unclear. The issue isn't with the actual > counts (which appear to be

Re: [SR-Users] General Kamailio with Asterisk (or another PBX) Opinion

2018-05-29 Thread Alex Balashov
nce if your registrar is outboard or internal. -- 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 Li

Re: [SR-Users] Performance Testing Kamailio 5.1 as SIP300 LCR on AWS - Recommendation on Tools and Methods

2018-05-24 Thread Alex Balashov
tml https://kamailio.org/docs/modules/5.1.x/modules/http_async_client.html But in general, if you're looking to squeeze maximum performance for a dialer type workload, no, pound-for-pound, HTTP is not the way to go. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-

Re: [SR-Users] Performance Testing Kamailio 5.1 as SIP300 LCR on AWS - Recommendation on Tools and Methods

2018-05-24 Thread Alex Balashov
P300 only Kamailio instance on AWS That's a meaningless question; way, way, way too many variables. >- Is AWS a bad choice for prime time LCR. Any gory stories?  No, it's not a bad choice. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-8

Re: [SR-Users] Best way to implement custom LCR

2018-05-22 Thread Alex Balashov
://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/kemi/ -- Alex On Tue, May 22, 2018 at 07:32:35PM +, KamDev Essa wrote: > On the app_python. How do I get the value of rn back to to kamailio. does > the function return a value? likern = python_exec("my_python_function"

Re: [SR-Users] Best way to implement custom LCR

2018-05-22 Thread Alex Balashov
tream. But I would like to learn. Is there an info on the > net to do this.  There doubtless is. Google "dns conditional forwarding". -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/,

Re: [SR-Users] Best way to implement custom LCR

2018-05-22 Thread Alex Balashov
https://kamailio.org/docs/modules/5.1.x/modules/app_python.html Or, if you absolutely must — though I don't recommend it: https://kamailio.org/docs/modules/5.1.x/modules/exec.html -- Alex On Tue, May 22, 2018 at 07:14:32PM +, KamDev Essa wrote: > Awesome. Where can I get info on

Re: [SR-Users] Best way to implement custom LCR

2018-05-22 Thread Alex Balashov
now how to automate those > steps or other steps to get the same solution. > KD    > On Tuesday, May 22, 2018, 2:53:53 PM EDT, Alex Balashov > wrote: > > On Tue, May 22, 2018 at 06:47:33PM +, KamDev Essa wrote: > > > I cannot handle the ENUM in kamailio or

Re: [SR-Users] Best way to implement custom LCR

2018-05-22 Thread Alex Balashov
On Tue, May 22, 2018 at 06:47:33PM +, KamDev Essa wrote: > I cannot handle the ENUM in kamailio or mysql. How did you draw that conclusion? -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, h

Re: [SR-Users] Any modules with LRN dipping capacity?

2018-05-22 Thread Alex Balashov
h percentage of LNP > TNs out there. > KD > On Tuesday, May 22, 2018, 1:21:42 PM EDT, Alex Balashov > wrote: > > What is queried when you use enum_query() as you'd expect to? > > You might have to take a packet capture to determine that. > > On Tue, May 2

Re: [SR-Users] Any modules with LRN dipping capacity?

2018-05-22 Thread Alex Balashov
e. > KD > On Tuesday, May 22, 2018, 1:21:42 PM EDT, Alex Balashov > wrote: > > What is queried when you use enum_query() as you'd expect to? > > You might have to take a packet capture to determine that. > > On Tue, May 22, 2018 at 05:18:50PM +, K

Re: [SR-Users] Any modules with LRN dipping capacity?

2018-05-22 Thread Alex Balashov
to have the domain name in the request. Basically, how would > I construct my enum_query to go to 1.1.1.1 and query the E.164 formatted TN. > Or is that not how things work in Kamailio? > KDOn Tuesday, May 22, 2018, 1:06:52 PM EDT, Alex Balashov > wrote: > > On Tue, May

Re: [SR-Users] Any modules with LRN dipping capacity?

2018-05-22 Thread Alex Balashov
resolvers configured on the system globally, AFAIK. -- 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

Re: [SR-Users] Any modules with LRN dipping capacity?

2018-05-22 Thread Alex Balashov
+, KamDev Essa wrote: > ENUM > On Tuesday, May 22, 2018, 12:21:31 PM EDT, Alex Balashov > wrote: > > What is the nature of the dip interface? > > On Tue, May 22, 2018 at 04:18:37PM +, KamDev Essa wrote: > > > Are there any modules with LRN dippin

Re: [SR-Users] 300 Multiple Choices response engine

2018-05-22 Thread Alex Balashov
iple Choices only LCR solution I would send back > the abc123 for the Multiple hosts in my LCR list. In a Follow Me > solution I could have abc123 for one and def456 for another. The 'abc123' part of 'sip:abc123@host' is generally called the 'user part' or &

Re: [SR-Users] Any modules with LRN dipping capacity?

2018-05-22 Thread Alex Balashov
; 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-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http

Re: [SR-Users] 300 Multiple Choices response engine

2018-05-22 Thread Alex Balashov
nations.  > KD > On Tuesday, May 22, 2018, 11:56:18 AM EDT, Alex Balashov > wrote: > > I don't know your logic for pulling your contacts? > > On Tue, May 22, 2018 at 03:52:30PM +, KamDev Essa wrote: > > >  Why do I need to change the $rU (abc123 and

Re: [SR-Users] 300 Multiple Choices response engine

2018-05-22 Thread Alex Balashov
I don't know your logic for pulling your contacts? On Tue, May 22, 2018 at 03:52:30PM +, KamDev Essa wrote: > Why do I need to change the $rU (abc123 and def456) will it not always be > abc123 based on the $rU I get? > KD > On Tuesday, May 22, 2018, 11:40:02 AM E

Re: [SR-Users] 300 Multiple Choices response engine

2018-05-22 Thread Alex Balashov
ontact: ;q=0.1,;q=0.2,...\r\n"); -- 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/ ___ Kamailio (SER) - Users Mailing List

Re: [SR-Users] 300 Multiple Choices response engine

2018-05-22 Thread Alex Balashov
R) - 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-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ ___

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 Alex Balashov
On Mon, May 21, 2018 at 10:28:06PM +0300, George Diamantopoulos wrote: > I know, but I'm that desperate. Sometimes you just have to solve the problem differently. Can't put the milk back into the cow. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1

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 Alex Balashov
me up with a > different solution I'd be glad to hear it, as neither my head nor the > surrounding walls can take any more mutual banging at this point. Thanks! > > BR, > George. > > P.S. I hate fax > ___ > Kamailio (SE

Re: [SR-Users] Transport issue thought

2018-05-17 Thread Alex Balashov
send out on, > but this did not work either. Does this sound like I am on the right track? > > Thank you, > - > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailma

Re: [SR-Users] Further question on transport issue.

2018-05-17 Thread Alex Balashov
What is the full and exact RURI of the request immediately prior to relay, and also the value of $du? Can you xlog() both $du and $ru prior to t_relay() and tell us what those values are? Thanks, -- Alex On Thu, May 17, 2018 at 01:36:25PM +, Wilkins, Steve wrote: > Hello, > > I

Re: [SR-Users] Updated NAT traversal article

2018-05-17 Thread Alex Balashov
+0100, Asgaroth wrote: > Alex, > > Thank you for this blog post, great work, very helpfull information! > > Much appreciated. > > > On 11/05/18 15:13, Alex Balashov wrote: > > Hi, > > > > I have updated this article with some other topics: > >

Re: [SR-Users] Transport question

2018-05-15 Thread Alex Balashov
_forward_nonack(): failure to add branches > >It seems strange the WARNING is showing tcp but the ERROR is showing >udp. > >Thank you! > >-----Original Message- >From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf >Of Alex Balashov >Sent: Tuesday,

Re: [SR-Users] Contact Header

2018-05-15 Thread Alex Balashov
header for > the 200K to the UA to make this work. > KD  > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov | Principal | Evaris

Re: [SR-Users] Transport question

2018-05-15 Thread Alex Balashov
x27;; ... t_relay(); -- Alex On Tue, May 15, 2018 at 04:38:59PM +, Wilkins, Steve wrote: > Yes there is an error. I get this error trying both ways => > no corresponding socket found for "111.25.1.99" af 2 (udp: 111.25.1.99:5060). > It is still trying to send UDP.

Re: [SR-Users] Transport question

2018-05-15 Thread Alex Balashov
Are there any errors in the logs suggestive of a failure to select an appropriate egress listener? On Tue, May 15, 2018 at 04:14:07PM +, Wilkins, Steve wrote: > Hi Alex, > > I tried your suggestion and everything is still going over UDP. I verified > with tcpdump/wireshark

Re: [SR-Users] Transport question

2018-05-15 Thread Alex Balashov
Hi Steve, Do you have a TCP listener from which the messages would be expected to egress? Also, try use regular t_relay(), but beforehand do: $ru = $ru + ";transport=TCP"; -- Alex On Tue, May 15, 2018 at 03:43:26PM +, Wilkins, Steve wrote: > Hi All, > > I was a

Re: [SR-Users] Last negative 5XX reply not getting relayed

2018-05-15 Thread Alex Balashov
kamailio.org/docs/modules/devel/modules/tm.html#remap_503_500. Oh yeah. How about that! (Re)learn something new every day. Cheers Federico! :-) -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)

Re: [SR-Users] UAC Module Registration Table

2018-05-15 Thread Alex Balashov
e RPC disable/enable commands in order to toggle the status of a remote registration. -- Alex On Mon, May 14, 2018 at 04:30:16PM +, Greg Adams wrote: > Hey there, > > > I am currently using the UAC module to maintain remote registrations. I am > just curious if it is possible t

Re: [SR-Users] Whats is wrong in this call

2018-05-14 Thread Alex Balashov
s.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- 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) - User

Re: [SR-Users] Updated NAT traversal article

2018-05-14 Thread Alex Balashov
ional commentary of some sort on edge cases and that. On Mon, May 14, 2018 at 01:27:23PM -0400, Sergiu Pojoga wrote: > Hi Alex, > > Glad to see the mention of SIP Outbound in your updated article. Here's > another 5+5 cents of mine that might help others in the future. > >

Re: [SR-Users] Tagging a call with custom pseudo variables - cfg 101

2018-05-14 Thread Alex Balashov
called >again? Do I need to set a flag that says I have already dipped DB? >KD  >On Monday, May 14, 2018, 12:04:28 PM EDT, Alex Balashov > wrote: > > Not necessarily. All depends on how performant the query is. > >Most real-world call processing involves at least one dat

Re: [SR-Users] Tagging a call with custom pseudo variables - cfg 101

2018-05-14 Thread Alex Balashov
>      sql_result_free("ra"); > >      >  } >Will DB hits on every call hinder performance.  >On Monday, May 14, 2018, 10:03:04 AM EDT, Alex Balashov > wrote: > > I think your best bet is to set those variables as AVPs, so that their >values can persist

Re: [SR-Users] Last negative 5XX reply not getting relayed

2018-05-14 Thread Alex Balashov
Hi, 1. Do you have a failure_route for this transaction? If so, can you provide it? 2. Make sure the `failure_reply_mode` modparam for TM is set to 3, which is default anyway: https://kamailio.org/docs/modules/5.1.x/modules/tm.html#tm.p.failure_reply_mode -- Alex On Mon, May 14, 2018 at 11:33

Re: [SR-Users] Tagging a call with custom pseudo variables - cfg 101

2018-05-14 Thread Alex Balashov
{ # Initialise AVPs to $null or presumed default value. $avp(call_type) = $null; ... # When determination is made as to the call type: if($dbr(res=>[0,0]) eq 'vm') $avp(call_type) = 'voicemail'; } -- Alex On Mon, May 14, 2

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-13 Thread Alex Balashov
That seems correct and sounds like it should work. What is the request URI of the INVITE that comes back into Kamailio on the B leg? Does its domain match the AOR domain? Do you have your registrar/usrloc set to use domains on lookup()? -- Alex -- Alex Balashov | Principal | Evariste Systems

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-13 Thread Alex Balashov
that you are using the word AOR correctly? If you're not forwarding registrations to Asterisk but instead storing them in Kamailio's registrar, setting the Contact binding of an AOR to have the address of that very same Kamailio registrar would make no sense. -- Alex Balashov | Principal

Re: [SR-Users] Updated NAT traversal article

2018-05-11 Thread Alex Balashov
EMS (e.g B2BUA, >NAT-Traversal) and working it with Kamailio. >The SEMS has proper modules to solve NAT Traversal in Kamailio,too >If you want, I could give you it's documents. >Thanks With Regards.Mojtaba > >On Fri, May 11, 2018 at 6:43 PM, Alex Balashov > wrote: >> H

[SR-Users] Updated NAT traversal article

2018-05-11 Thread Alex Balashov
Hi, I have updated this article with some other topics: http://blog.csrpswitch.com/server-side-nat-traversal-with-kamailio-the-definitive-guide/ "The definitive guide" is of course an ambitious and moving target, so there may be more evolution in the future. -- Alex -- Ale

Re: [SR-Users] "No Answer" time out after number of rings

2018-05-11 Thread Alex Balashov
diversion.html#diversion.f.add_diversion Although, of course, if you need to customise this header more extensively, just use append_hf() and construct your own: append_hf("Diversion: \r\n"); -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-2

Re: [SR-Users] "No Answer" time out after number of rings

2018-05-10 Thread Alex Balashov
Thursday, May 10, 2018, 10:55:11 PM EDT, Alex Balashov > wrote: > > But of course! > >https://kamailio.org/docs/modules/5.1.x/modules/tm.html#tm.p.fr_timer > >https://kamailio.org/docs/modules/5.1.x/modules/tm.html#tmp.p.fr_inv_timer > > >-- Alex > >-- >Sent v

Re: [SR-Users] "No Answer" time out after number of rings

2018-05-10 Thread Alex Balashov
But of course! https://kamailio.org/docs/modules/5.1.x/modules/tm.html#tm.p.fr_timer https://kamailio.org/docs/modules/5.1.x/modules/tm.html#tmp.p.fr_inv_timer -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER

Re: [SR-Users] "Sleeping Giant - No Snore" Kam?

2018-05-09 Thread Alex Balashov
th via the '-s' option to kamcmd. -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] "Sleeping Giant - No Snore" Kam?

2018-05-09 Thread Alex Balashov
else (e.g. HTTP API) and inject them into an htable upon startup: https://kamailio.org/docs/modules/5.1.x/modules/htable.html#idp49461924 Lots of options... -- Alex [1] https://kamailio.org/docs/modules/5.1.x/modules/dispatcher.html [2] https://kamailio.org/docs/modules/5.1.

Re: [SR-Users] Is Media Release (signaling only) possible in Kamailio?

2018-05-09 Thread Alex Balashov
y. Beware the distinction between inbound and outbound call flows. -- Alex On Wed, May 09, 2018 at 09:15:48PM +, KamDev Essa wrote: > Well then why does Inbound (from carrier to NATed UA) call work. Kam is > doing something clever there. Why not when sending the call out.  > KD 

Re: [SR-Users] "Sleeping Giant - No Snore" Kam?

2018-05-09 Thread Alex Balashov
How would you define "foes" in a programmatic sense? :) That will dictate the answer. -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamail

Re: [SR-Users] Is Media Release (signaling only) possible in Kamailio?

2018-05-09 Thread Alex Balashov
Oh, the UAs are NAT'd? Yeah, you're going to need something clever in the middle that can do the RTP latching, then. -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER) - Users Mailing List sr-users@lists.ka

Re: [SR-Users] Is Media Release (signaling only) possible in Kamailio?

2018-05-09 Thread Alex Balashov
do get RTP flowing just in one >direction.  From the UA to kam and out to the carrier. I get nothing >geting back to the end point. In other words 1 way RTP. Looks like its >Kam RTPProxy or bust. >KD >On Wednesday, May 9, 2018, 2:38:08 PM EDT, Alex Balashov > wrote: > >Co

Re: [SR-Users] Is Media Release (signaling only) possible in Kamailio?

2018-05-09 Thread Alex Balashov
ingbut not RTP.  >However the cfg entry modparam("rtpproxy", "rtpproxy_sock", >"udp:127.0.0.1:7722") gives me to believe (not tcdumped RTP ports yet >to prove it ) that Kam anchors RTP @ port 7722.  >KD   >On Wednesday, May 9, 2018, 2:02:14 PM EDT, Alex Bala

<    5   6   7   8   9   10   11   12   13   >