Re: [SR-Users] remove_record_route - bug?

2019-04-27 Thread Alex Balashov
What if you do: remove_hf(“Record-Route”); ? — Sent from mobile, with due apologies for brevity and errors. > On Apr 27, 2019, at 7:00 PM, Sergiu Pojoga wrote: > > Hi ppl, > > After a branch route fails, I need to re-evaluate the next destination and > adjust RR parameters, if need be,

Re: [SR-Users] DMQ_USRLOC

2019-04-23 Thread Alex Balashov
any fraudulent or negligent misrepresentation about what it really is. :-) -- 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.

Re: [SR-Users] JSON error - control character 0xd

2019-04-21 Thread Alex Balashov
d Dean > wrote: > > > Agreed. Unfortunately Janus doesn't accept base64 at this time. > > I'll ask Lorenzo whether he can add base64 support, but in the interim I need > to find a way in Kamailio of parsing $avp(sdp) as shell escaped plain text > with the control character

Re: [SR-Users] How to append a body to send_reply() ?

2019-04-18 Thread Alex Balashov
Hi, Note the difference between set_body() vs. set_reply_body(), the latter of which being my recommendation. -- 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] How to append a body to send_reply() ?

2019-04-18 Thread Alex Balashov
David, As usual, you are working too hard, too fast, and need to slow down, breathe, relax, practice some "mindfulness techniques", and take a meditative stroll through the documentation. :-) https://kamailio.org/docs/modules/5.2.x/modules/textops.html#textops.f.set_reply_body -- Al

Re: [SR-Users] Send 200 OK response with body to INVITE requests

2019-04-16 Thread Alex Balashov
body to be created but doesn't allow a > status code to be set (as far as I know?) > > So frustrating because I've been able to script everything else I need within > Kamailio. The missing piece is being able to create this response then > everything works. > > Dave. >

Re: [SR-Users] Send 200 OK response with body to INVITE requests

2019-04-15 Thread Alex Balashov
ote: > > Hi Alex, > > Thanks for the tip re: rtpengine routing, that's really useful. > > The flow I'm trying to create is like this: > > [ Test Client ] --> INVITE --> [ Kamailio ] > ^ | >

Re: [SR-Users] Send 200 OK response with body to INVITE requests

2019-04-15 Thread Alex Balashov
PLY"); if(!t_relay()) sl_reply_error(); exit; } ... } onreply_route[REPLY] { if(is_method("INVITE") && sdp_content()) rtpengine_answer("..."); } --- -- Alex On Mon, Apr 15, 2019 at 07:41:22PM +, David Dean wrote: > Hi all, >

Re: [SR-Users] modifying via header from public IP to private IP

2019-04-08 Thread Alex Balashov
If your SIP phone is doing it, try turn off STUN/TURN. If it’s a SIP ALG (application layer gateway) on an intermediate NAT router, try turning that off. — Sent from mobile, with due apologies for brevity and errors. > On Apr 8, 2019, at 8:10 AM, vinod mn wrote: > > Hi , > I have a cloud

Re: [SR-Users] Upstream ignores reply, because To-tag doesn't match?

2019-04-07 Thread Alex Balashov
Hi, To-tags are only significant at the dialog layer. Replies are matched to a transaction by Via `branch` parameter and CSeq. See RFC 3261 § 17.1.3 for details. Consequently, the 503 response should be matched to the initial INVITE transaction on that basis alone. -- Alex On Sun, Apr 07, 2019

Re: [SR-Users] Timeout between 100 & 183

2019-04-05 Thread Alex Balashov
On Fri, Apr 05, 2019 at 06:23:16PM -0400, Alex Balashov wrote: >route { > ... > > # Initial INVITE handling: > > if(is_method("INVITE")) { > # Set fr_inv_timer initially to 5 seconds, so that ># if we do not receive an

Re: [SR-Users] Timeout between 100 & 183

2019-04-05 Thread Alex Balashov
dicate progress/alerting. if(is_method("INVITE") && t_check_status("180|183")) t_reset_fr(); } Hope that helps! -- Alex -- 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] Compressing SIP messages

2019-04-01 Thread Alex Balashov
e routers cannot deal with this intelligently, especially in concert with NAT. -- 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/ ___ Kama

Re: [SR-Users] Compressing SIP messages

2019-04-01 Thread Alex Balashov
The customary inter-Kamailio solution is jumbo frames (if you control network end-to-end) or TCP. — Sent from mobile, with due apologies for brevity and errors. > On Apr 1, 2019, at 10:33 AM, Igor Olhovskiy wrote: > > Hi! > > Was looking on some way to compress SIP signalling between

[SR-Users] Kamailio Managed Cloud

2019-04-01 Thread Alex Balashov
For immediate release: ATLANTA, GA (1 April 2019)--Following its long tradition of forward-thinking innovation in open-source Real-Time Communications (RTC), the leadership of the Kamailio SIP server project (formerly known as OpenSER) has launched the Kamailio Managed Cloud (KMC). Alex Balashov

Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread Alex Balashov
Use -M to add more “package memory” (private memory per individual Kamailio process). I forget what the default is, but try 8 or 12 MB (-M 8 or -M 12) for likely happiness. — Sent from mobile, with due apologies for brevity and errors. > On Mar 31, 2019, at 3:34 PM, David Villasmil > wrote:

Re: [SR-Users] flags definition in kamailio.cfg + 5.2 documentation

2019-03-26 Thread Alex Balashov
;> Cheers, >> Daniel >> >>> On 27.03.19 00:22, Joel Serrano wrote: >>> Wonderful!!! >>> >>> This is perfect: >>> http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x#names_for_route_blocks_and_flags >>> >>

Re: [SR-Users] flags definition in kamailio.cfg + 5.2 documentation

2019-03-26 Thread Alex Balashov
Hi Joel, Yes, this is a gap in the core cookbook documentation. I learned about named flags back in the day: http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x -- Alex On Tue, Mar 26, 2019 at 04:04:29PM -0700, Joel Serrano wrote: > Hi, > > I saw in the Kazoo de

Re: [SR-Users] User part on contact header

2019-03-25 Thread Alex Balashov
It is not. — Sent from mobile, with due apologies for brevity and errors. > On Mar 25, 2019, at 8:44 AM, Duarte Rocha wrote: > > Greetings, > > On an INVITE the user part in the Contact header mandatory? Can't seem to > find info on this. > > Best regards, > > Duarte Rocha >

Re: [SR-Users] event_route tm:branch-failure and onreply_route shared variables

2019-03-18 Thread Alex Balashov
of my own understanding of Kamailio/OpenSER; it was 11 years ago. I don't know if the question is very pertinent today as formulated there. -- 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] RFC: rating - ranking system for community

2019-03-14 Thread Alex Balashov
omponentry, such as: "Should I do HA failover with VRRP or Heartbeat?" "Is Kamailio + PostgreSQL a stable combination for a high-volume registrar?" "Are there pitfalls to DMQ dialog replication?" "What is the best way to build a load balancer with failover and ga

Re: [SR-Users] RFC: rating - ranking system for community

2019-03-14 Thread Alex Balashov
ld purport to rank them somehow, can be meaningfully separated from the equally vital need to create some kind of taxonomy of modules or, more generally, adequate categories of thought within which such conversations should take place. Kamailio documentation lacks a clear and distinct "metap

Re: [SR-Users] Add default ports to URIs

2019-03-12 Thread Alex Balashov
any config > or setting that would do this automatically? > > Best Regards, > > Duarte Rocha > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Alex

Re: [SR-Users] Replicate REGISTER and save original received value

2019-03-11 Thread Alex Balashov
short of manipulating the Contact directly. That would leave you no better off than just doing the set_contact_alias() + handle_ruri_alias() thing, so I would just do that. -- 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] Replicate REGISTER and save original received value

2019-03-11 Thread Alex Balashov
er I need to do > this outside of DMQ. I have a host I need to send specific REGISTERs to so I > can't include that host in the DMQ group, as it would receive all usr_loc > records. > > -dan > > -Original Message- > From: sr-users On Behalf Of Alex > Balashov

Re: [SR-Users] Replicate REGISTER and save original received value

2019-03-11 Thread Alex Balashov
(contact_recv)") modparam("registrar", "received_param", "received") modparam("registrar", "path_check_local", 1) And it seems to "just work". -- Alex On Mon, Mar 11, 2019 at 04:15:21PM -0400, Alex Balashov wrote: > Hi Daniel, >

Re: [SR-Users] Replicate REGISTER and save original received value

2019-03-11 Thread Alex Balashov
On Mon, Mar 11, 2019 at 04:15:21PM -0400, Alex Balashov wrote: > There's a 50% chance I could be mistaken, but I vaguely remember that > replication of 'received' was an issue in some earlier version of > Kamailio than that. And by "that" I mean 5.1.1. -- Alex Balashov | P

Re: [SR-Users] Replicate REGISTER and save original received value

2019-03-11 Thread Alex Balashov
that. -- Alex On Mon, Mar 11, 2019 at 05:13:31PM +, Daniel W. Graham wrote: > When forwarding / replicating a REGISTER, is it possible (without using DMQ) > for the receiving host to save the contact with the original received > parameter? > > REGISTER > server 1 (received set)

Re: [SR-Users] How to Absorb First Leg Re-Invites when no Response from Second Leg Invites

2019-03-01 Thread Alex Balashov
ice Unavailable"); exit; } } -- Alex On Fri, Mar 01, 2019 at 08:23:11AM -0600, JR Richardson wrote: > Hi All, > > My mind is not right on this one, need a pointer. Here is the simple scenario: > Carrier> The end device is a static IP, the proxy dips databas

Re: [SR-Users] double_rr issues

2019-02-27 Thread Alex Balashov
Does Kamailio have listeners (listen= on both interfaces)? What is the value of the ‘mhomed’ setting? These nuances surely differ between the two hosts. — Sent from mobile, with due apologies for brevity and errors. > On Feb 27, 2019, at 4:14 PM, Roman Dissauer wrote: > > I’m experiencing

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Alex Balashov
amount to a few ms at least. It doesn't sound like that's where the issue lies... -- 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] SQlite in memory

2019-02-27 Thread Alex Balashov
On Wed, Feb 27, 2019 at 01:43:02PM -0500, Ovidiu Sas wrote: > You can do hundreds of CPS with only two workers and the CPU will be > at 3% utilization on very old hardware. > There's something else in your config creating issues. +1 -- Alex Balashov | Principal | Evariste Systems LLC

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Alex Balashov
at said, I am not aware of any aspect by which Kamailio intrinsically sends a 503 if it is overwhelmed with requests. It just drops them/doesn't process. -- Alex On Wed, Feb 27, 2019 at 06:35:46PM +, Duarte Rocha wrote: > Ok, i reduced the number of processes and tried a few different val

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Alex Balashov
gt; > > Just make sure all the connections to the DB are using the WAL mode. > > > > The downside is that the writers can be delayed sometimes, similar to > > Postgres read only replica > > > > On Wed, Feb 27, 2019 at 9:57 AM Duarte Rocha > > wrote: > > &g

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Alex Balashov
Why do you have 100 processes for Kamailio?  Dial that down! http://www.evaristesys.com/blog/tuning-kamailio-for-high-throughput-and-performance/ — Sent from mobile, with due apologies for brevity and errors. > On Feb 27, 2019, at 12:56 PM, Duarte Rocha wrote: > > Greet

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Alex Balashov
What sort of insufficient read performance are you seeing from SQLite on modern storage which would lead you to this unnecessary ideation? Read performance on SQLite is insanely fast... — Sent from mobile, with due apologies for brevity and errors. > On Feb 27, 2019, at 12:23 PM, Duarte Rocha

Re: [SR-Users] Kamailio behind NAT or With Public IP - Which one is highly recommended

2019-02-26 Thread Alex Balashov
://skalatan.de/de/assessment > > > > ___ > > Kamailio (SER) - Users Mailing List > > sr-users@lists.kamailio.org > > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-user

Re: [SR-Users] How to easily remove top most header and set destination uri

2019-02-22 Thread Alex Balashov
Hi, First, a proxy should only remove the topmost Route headers whose URI domains correspond to addresses the proxy perceives to be its own, not another element’s. Are you sure that is not a possibility in your case? Second, the loose_route() should set the network and transport-layer next-hop

Re: [SR-Users] bad transport for sips uri?

2019-02-21 Thread Alex Balashov
No, it’s not “actually” dead in that sense. — Sent from mobile, with due apologies for brevity and errors. > On Feb 21, 2019, at 10:01 PM, David Cunningham > wrote: > > Hi Alex, > > Is it actually dead, as in unsupported by the RFC or Kamailio? If so would > that expla

Re: [SR-Users] bad transport for sips uri?

2019-02-21 Thread Alex Balashov
User-Agent: ewb2bua/15.3.0 > Content-Length: 0 > > -- > David Cunningham, Voisonics Limited > http://voisonics.com/ > USA: +1 213 221 1092 > New Zealand: +64 (0)28 2558 3782 > ___ > Kamailio (SER) - Users Mailing List &

Re: [SR-Users] Masking Contact Header

2019-02-12 Thread Alex Balashov
I think the question about the motive for altering the Contact is prerequisite to all this. It is not necessarily apt to presume that topology hiding is the goal. — Sent from mobile, with due apologies for brevity and errors. > On Feb 12, 2019, at 2:43 PM, Nicolas Breuer > wrote: > > You

Re: [SR-Users] Programmatically modify SIP Requests/Responses in Kamailio

2019-02-12 Thread Alex Balashov
s/uac.html "Business logic to figure out what action to take with a SIP request" probably describes most useful applications of Kamailio. It wouldn't have much viability as infrastructure if it did not have that capability. -- Alex On Tue, Feb 12, 2019 at 05:00:20PM +0100, Filippos Va

Re: [SR-Users] Keep requests order

2019-02-07 Thread Alex Balashov
ilio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in > Washington, DC, USA -- www.asipto.com > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo

Re: [SR-Users] Keep requests order

2019-02-05 Thread Alex Balashov
factors. — Sent from mobile, with due apologies for brevity and errors. > On Feb 5, 2019, at 12:55 PM, Duarte Rocha wrote: > > Thank you for your answer Alex. > > Wheb you say you have dealt with this, do you mean this exact scenario with > re-invites and ACK or just with gen

Re: [SR-Users] Keep requests order

2019-02-05 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

Re: [SR-Users] Altering received parameter in Contact

2019-01-29 Thread Alex Balashov
I don't see any issues with it, no... On Wed, Jan 30, 2019 at 01:06:40PM +1300, David Cunningham wrote: > Hi Alex, > > We already had this line in our kamailio.cfg: > modparam( "nathelper|registrar", "received_avp", "$avp(RECEIVED)" ) >

Re: [SR-Users] Altering received parameter in Contact

2019-01-29 Thread Alex Balashov
use the AVP: https://kamailio.org/docs/modules/5.2.x/modules/registrar.html#registrar.p.received_avp If you set it to empty for a registration from a certain type of device, the parameter will not be populated and thus not reflected back to the registering UA. -- Alex On Tue, Jan 29, 2019 at 03

Re: [SR-Users] Is DMQ now the recommended way to do things?

2019-01-25 Thread Alex Balashov
ctive active where things like floating IP's and keepalived are not > really an option. > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users --

Re: [SR-Users] Problem with ghost dialogs

2019-01-19 Thread Alex Balashov
module's state machine. -- Alex On Thu, Jan 17, 2019 at 08:25:45PM +0100, Cyrille Demaret wrote: > Hi, > > > > I'm running Kamailio 5.1.4 and I have some problem with some random dialogs > sometimes staying in early state and never ends until I restart Kamailio. > > >

Re: [SR-Users] handling BYEs generated by dialog-timeout

2019-01-18 Thread Alex Balashov
Hi Paolo, Have a look at this article (shameless plug - I am the author): http://www.evaristesys.com/blog/sip-udp-fragmentation-and-kamailio-the-sip-header-diet/ -- Alex On Fri, Jan 18, 2019 at 11:20:59PM +0100, * Paolo Visintin - evosip.cloud wrote: > Hi Alex, > thanks for your sugg

Re: [SR-Users] Mid-Registrar

2019-01-18 Thread Alex Balashov
lexibility that comes with it, by virtue of the lower-level interface - almost always exists in Kamailio as well. This is certainly one of those cases. :-) I learned something in that thread. On Fri, Jan 18, 2019 at 04:38:31PM -0500, Alex Balashov wrote: > Hi Mark, > > On Fri, Jan 18, 2019

Re: [SR-Users] Mid-Registrar

2019-01-18 Thread Alex Balashov
trar? For my application this is required, and I haven’t been > able to find any information on this. Please see this thread: https://puck.nether.net/pipermail/voiceops/2018-June/007716.html -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-f

Re: [SR-Users] handling BYEs generated by dialog-timeout

2019-01-18 Thread Alex Balashov
It seems to me this problem would be more easily solved by using Record-Route as intended, and finding a way to float the IP address of the proxy, or injecting a (reliably resolvable!) DNS alias into RR. On Fri, Jan 18, 2019 at 10:14:28PM +0100, * Paolo Visintin - evosip.cloud wrote: > Hi A

Re: [SR-Users] handling BYEs generated by dialog-timeout

2019-01-18 Thread Alex Balashov
Hi, Perhaps it is worthwhile to ask the question: why do you want to manipulate $du for these internally generated BYEs? What is the root problem you are trying to solve? -- Alex On Fri, Jan 18, 2019 at 03:27:19PM +0100, * Paolo Visintin - evosip.cloud wrote: > Hello! > > I'm

[SR-Users] rtpengine_manage() in async tasks

2019-01-14 Thread Alex Balashov
h is a problem rtpengine_manage() solves beautifully. At the same time, I absolutely need the slight reinvite delay that can be accomplished via async processing; a UA on this side has a nasty habit of sending a reinvite almost simultaneously to the 2xx answer for the INVITE transaction, leading

Re: [SR-Users] Logging from cfg file

2019-01-14 Thread Alex
request_route { $avp(sess_mylog_id) = 0; $var(mylog_data) = 'L_INFO|route[MAIN] INIT SIP REQUEST [ sip_requestId:' + $mi + ' ]'; route(MYLOG); . } route[MYLOG] { $avp(sess_mylog_id) = $avp(sess_mylog_id) + 1; $shv(mylog_id) = $shv(mylog_id) + 1; $var(mylog_level) =

Re: [SR-Users] Using a network STUN Server

2018-12-26 Thread Alex Balashov
As STUN is a client-side construct, I am not aware of any functionality Kamailio might have to make *use* of a STUN server for its own representations about its reachability. But I could be wrong. -- Sent from mobile. Apologies for brevity and errors.

[SR-Users] Kamailio as an SBC - five years on

2018-12-20 Thread Alex Balashov
of professional opinion, and I do not speak for the project nor the intentions of the core developers. -- 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] Issue with ACK's

2018-11-30 Thread Alex Balashov
attached a sample PCAP for if anyone has any suggestions. > > Thanks. > Dan > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Alex Bal

Re: [SR-Users] Automating installation

2018-11-29 Thread Alex Balashov
On Thu, Nov 29, 2018 at 01:50:55PM -0800, Joel Serrano wrote: > If it was me, I would handle everything with ansible, but that is just > my tool of preference. I'll add a vote for SaltStack, my preferred tool of choice. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-51

Re: [SR-Users] Number of sql connections

2018-11-19 Thread Alex Balashov
mutex") locking required for multiple processes to share connections would become a drag on performance. This way, every child process can access the database in its own "lane" without having to fight with any other process over a shared handle. -- Alex On Mon, Nov 19, 2018 at 07:1

Re: [SR-Users] recording audio stream

2018-11-17 Thread Alex Balashov
Hi, The documentation here explains fairly well how to set up the recording component of RTPEngine. Recording is then enabled via a command sent in the rtpengine_offer()/manage() functions. https://github.com/sipwise/rtpengine -- Alex On Sat, Nov 17, 2018 at 10:19:02AM -0800, b...@telopar.net

Re: [SR-Users] variable $rb not updated on failure route after a 302 on the same PID

2018-11-08 Thread Alex Balashov
Ah, wait. I missed the fact that this only fails to work with multiple PIDs. You don't have your branch failover mode overridden, do you? -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: Alex Balashov To: "David Escartín" , "Kamaili

Re: [SR-Users] variable $rb not updated on failure route after a 302 on the same PID

2018-11-08 Thread Alex Balashov
: $T_rpl($rb) https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#t_rpl_pv -- Alex On Thu, Nov 08, 2018 at 01:22:14PM +0100, David Escartín wrote: > Hello all > we are seeing what we think is quite strange behaviour > > We have expecienced this on 5.0 and 5.1 version. > >

Re: [SR-Users] Custom authentication

2018-11-07 Thread Alex Balashov
. -- Alex On Thu, Nov 08, 2018 at 03:04:44AM -0200, João Sávio wrote: > Hello! > > I was reading the documentation of Kamailio, And, although there are some > authentication modules, I couldn't find a way to implement a custom > authentication for SIP Register. Something that allows

Re: [SR-Users] Mysql

2018-11-05 Thread Alex Balashov
In this sense, your initial post is profoundly misleading. You need to provide complete and accurate details from the context in which any issue occurs. And as Daniel said, the precise config contact on which this stored procedure is called is key. -- Sent from mobile. Apologies for brevity

Re: [SR-Users] Determine destination address family

2018-10-31 Thread Alex Balashov
x/modules/ipops.html#ipops.f.is_ipv6 -- 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] Kamailio Slack channel

2018-10-25 Thread Alex Balashov
/enQtNDY1NDc5MzMwNDIzLWJlNTFhYmYwOWE4ODcyZmM3OWYyMjEwYmRjMDg3YjU0NTU5YjNkZDdlNTM4NTFmYzYyMmE1YzQxNzNmZDAxNjA -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: Alex Balashov To: "Kamailio (SER) - Users Mailing List" Sent: Thu, 25 Oct 2018 2:43 PM Subjec

Re: [SR-Users] Kamailio Slack channel

2018-10-25 Thread Alex Balashov
e initiative! > > > > On Thu, Oct 25, 2018 at 8:38 AM David Villasmil < > david.villasmil.w...@gmail.com> wrote: > > > That's a great idea, though i doubt it'll get much traction... be right in! > > > > On Thu, Oct 25, 2018, 16:29 Alex Balashov > > wrote: &

[SR-Users] Kamailio Slack channel

2018-10-25 Thread Alex Balashov
itch to it. - A lot of people positioned within the current wave of thinking about IT and technology, and thus a big part of our candidate user base, have never used IRC. Anyway, for those interested, I propose that you join Emmanuel and I. Let's see how it works out? -- Alex -- Alex Balashov |

Re: [SR-Users] Odd behavior comparing strings

2018-10-25 Thread Alex Balashov
g comparisons. '==' and '!=' attempt to make appropriate type inferences based on the types of the operands, and as one can see, not necessarily consistently or correctly. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristes

Re: [SR-Users] Why set this flag on registration?

2018-10-25 Thread Alex Balashov
lper.p.sipping_bflag In other words, if this branch flag is set, this Contact will be marked by the nathelper module for periodic pinging via OPTIONS or INFO[1]. The purpose of this periodic server-side pinging is to keep NAT pinholes alive. -- Alex [1] https://kamailio.org/docs/modules/5.1.x/mo

Re: [SR-Users] Odd behavior comparing strings

2018-10-25 Thread Alex Balashov
Just out of curiosity, will this yield the same result? if($var(teste) eq 'Test') ? -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: Duarte Rocha To: sr-users@lists.kamailio.org Sent: Thu, 25 Oct 2018 8:55 AM Subject: [SR-Users] Odd behavior

Re: [SR-Users] DMQ and DIALOG

2018-10-24 Thread Alex Balashov
Agree. There is a general need for transaction-associated replies and dialog-associated in-dialog requests (and their replies) to all go to the same node. There are Via and Record-Route attributes you can set to make this happen, assuming you're opposed to the load balancer keeping state based

Re: [SR-Users] Double Session Description Protocol Version (v) 0 data when using rtpengine

2018-10-24 Thread Alex Balashov
you start with FIRST? Think about it critically ... -- Alex On Wed, Oct 24, 2018 at 08:51:12AM -0400, Alex Balashov wrote: > I think you've crawled down that rabbit hole about two millennia > prematurely. There is a much simpler explanation for why you're getting > a duplicated SDP stanza

Re: [SR-Users] Double Session Description Protocol Version (v) 0 data when using rtpengine

2018-10-24 Thread Alex Balashov
; > Thank you, > -Steve > ___ > 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.e

Re: [SR-Users] Double Session Description Protocol Version (v) 0 data when using rtpengine

2018-10-24 Thread Alex Balashov
Protocol Version (v) 0 > data when using rtpengine > > No calls to fix_nated_sdp(). > > -Original Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Tuesday, October 23, 2018 9:58 PM > To: Kamailio (SER) - Users Mailing List > Subject: Re: [S

Re: [SR-Users] DMQ and DIALOG

2018-10-24 Thread Alex Balashov
Short answer: no, there is no replication of transaction state. -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: Phillman25 Kyriacou To: sr-users@lists.kamailio.org Sent: Wed, 24 Oct 2018 4:56 AM Subject: [SR-Users] DMQ and DIALOG Hi List! I currently

Re: [SR-Users] Double Session Description Protocol Version (v) 0 data when using rtpengine

2018-10-23 Thread Alex Balashov
Also, is there any possibility that you are calling fix_nated_sdp() and rtpengine_offer/manage() successively? -- Sent from mobile. Apologies for brevity and errors. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Double Session Description Protocol Version (v) 0 data when using rtpengine

2018-10-23 Thread Alex Balashov
Steve" To: "Kamailio (SER) - Users Mailing List" Sent: Tue, 23 Oct 2018 9:55 PM Subject: Re: [SR-Users] Double Session Description Protocol Version (v) 0 data when using rtpengine Entire section. -Original Message- From: sr-users On Behalf Of Alex Balashov Sent: Tuesday, Octo

Re: [SR-Users] Double Session Description Protocol Version (v) 0 data when using rtpengine

2018-10-23 Thread Alex Balashov
Is the entire SDP body doubled, or just the v=0 line? -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: "Wilkins, Steve" To: "Kamailio (SER) - Users Mailing List" Sent: Tue, 23 Oct 2018 9:07 PM Subject: [SR-Users] Double Session Description Protocol

Re: [SR-Users] Kamailio as SBC

2018-10-23 Thread Alex Balashov
an take part in an entirely stateless way. 7. The 'htable' module, as suggested by others, is the best way to implement any sort of temporary IP banning. Otherwise, log the offending IP via xlog() and have fail2ban deal with it. -- Alex On Tue, Oct 23, 2018 at 12:30:03PM +0300, Ellad Yatsko w

[SR-Users] RTPEngine set IDs

2018-10-22 Thread Alex Balashov
only and not for call state. Cheers, -- 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 sr

Re: [SR-Users] Kamailio as SBC

2018-10-22 Thread Alex Balashov
I did not say that my article represents a complete answer to every part of every one of your questions, at every level of abstraction and specificity. Just that it might be helpful. :-) On Mon, Oct 22, 2018 at 04:40:03PM +0300, Ellad Yatsko wrote: > Dear Alex, > > your article is just

Re: [SR-Users] Kamailio as SBC

2018-10-22 Thread Alex Balashov
I hate to plug my own articles, but in this case it might help: http://www.evaristesys.com/blog/kamailio-as-an-sbc-five-years-on/ -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: Ellad Yatsko To: sr-users@lists.kamailio.org Sent: Mon, 22 Oct 2018 3:28 AM

Re: [SR-Users] Variable Kamailio version

2018-10-19 Thread Alex Balashov
On Fri, Oct 19, 2018 at 03:27:16PM +, Nicolas Breuer wrote: > Can we get the Kamailio version into a variable ? Sure, no problem: https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#version_-_version -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-

Re: [SR-Users] Set a system variable in the request route

2018-10-19 Thread Alex Balashov
On Fri, Oct 19, 2018 at 03:26:11PM +, Nicolas Breuer wrote: > How can I change a system variable within the route ? What do you mean by "system variable"? -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-fre

Re: [SR-Users] HTTP Post with JSON

2018-10-18 Thread Alex Balashov
t succesed with http_client , sorry it was my false dear Alex.. Get Outlook for Android<https://aka.ms/ghei36> From: sr-users on behalf of Alex Balashov Sent: Thursday, October 18, 2018 2:47:03 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] HTT

Re: [SR-Users] pause/waiting Timer kamailio

2018-10-18 Thread Alex Balashov
Yes, see async module. -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: eyas barhouk To: "Kamailio (SER) - Users Mailing List" Sent: Thu, 18 Oct 2018 7:50 AM Subject: [SR-Users] pause/waiting Timer kamailio Hello Dears if i need to make kamailio able

Re: [SR-Users] HTTP Post with JSON

2018-10-18 Thread Alex Balashov
le E. Johansson Sent: Thursday, October 18, 2018 6:52 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] HTTP Post with JSON So much for answering before reading the full thread. Thanks Alex! /O :-) > On 17 Oct 2018, at 22:18, Alex Balashov wrote: > > On Wed, Oct 17, 20

Re: [SR-Users] HTTP Post with JSON

2018-10-17 Thread Alex Balashov
On Wed, Oct 17, 2018 at 08:01:59PM +, eyas barhouk wrote: > thanks dear Alex > > > i tried this function "http_client_query(url, [post-data], [hdrs], > result)" but there is no example about how to use more than one header > . > > > if you can

Re: [SR-Users] HTTP Post with JSON

2018-10-17 Thread Alex Balashov
r smiles out at you in the documentation: https://kamailio.org/docs/modules/5.1.x/modules/http_client.html#http_client.f.http_query -- 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

[SR-Users] Dialog variables and persistence

2018-10-15 Thread Alex Balashov
be recovered on restart, but without dialog variables or profile counts. Is this accurate? Is it still true? Or has the amount of state serialised into database persistence increased since then? Thanks much! -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250

Re: [SR-Users] Kamailio with Asterisk as Media Relay

2018-10-11 Thread Alex Balashov
ic Kamailio"? :-) And the answer is the same as for anything else that involves a learning process over time. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://ww

Re: [SR-Users] force_send_socket

2018-10-08 Thread Alex Balashov
and errors. -Original Message- From: Henning Westerholt To: sr-users@lists.kamailio.org Cc: Alex Balashov Sent: Mon, 08 Oct 2018 3:47 PM Subject: Re: [SR-Users] force_send_socket Am Montag, 8. Oktober 2018, 13:24:22 CEST schrieb Alex Balashov: > OK, I touched off a controversy with

Re: [SR-Users] Kamailio with Asterisk as Media Relay

2018-10-08 Thread Alex Balashov
On Mon, Oct 08, 2018 at 02:35:54PM +0200, Daniel Tryba wrote: > On Mon, Oct 08, 2018 at 07:16:43AM -0400, Alex Balashov wrote: > > The SDP-bearing INVITE and response are simply passed along as-is by > > Kamailio, and it is the SDP which specifies where the media goes. So, if >

Re: [SR-Users] Sending INVITE from loopback subnet

2018-10-08 Thread Alex Balashov
Hi Joonas, Well, that's right -- Kamailio is not especially well-suited to forwarding traffic among more than a handful of interfaces, for precisely the reasons you have discovered. There are some ugly hacks around some of it available, but none are pretty nor come recommended. -- Alex

Re: [SR-Users] force_send_socket

2018-10-08 Thread Alex Balashov
one shares this exact set of tacit assumptions, I imagine, and I think that's what got folk exercised when I said "deprecated". These functions will surely remain for backward compatibility. -- Alex On Mon, Oct 08, 2018 at 02:07:23PM +0300, Juha Heinanen wrote: > > Le 08/10/2

Re: [SR-Users] Kamailio with Asterisk as Media Relay

2018-10-08 Thread Alex Balashov
Kamailio proxy B to Asterisk server C via SIP, A and C will negotiate media amongst themselves without any intervention or special measures on your part whatsoever. -- Alex On Mon, Oct 08, 2018 at 01:12:56PM +0200, Benjamin Marty wrote: > I would like to ask if there is any available informati

Re: [SR-Users] force_send_socket

2018-10-08 Thread Alex Balashov
Subject: Re: [SR-Users] force_send_socket Hi Alex, You said that force_send_socket() is deprecated. Could you give me a reference as i did not see this information. Thanks Mathias Le 08/10/2018 à 02:27, Alex Balashov a écrit : > Hi, > > 1. force_send_socket() is essentially deprecated

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