[SR-Users] Possibility of mirroring the rpm/deb.kamailio.org repos efficiently via rsync?

2021-03-02 Thread Malte Schmidt
Hello, is there an rsync endpoint available or is there a possiblity of setting this up? Creating a mirror via HTTP is a rather quick and dirty solution and while the deb-repo can be mirrored using debmirror, the rpm repo is hard to sync to a non-CentOS-based machine due to missing

Re: [SR-Users] topos event_route question

2021-03-02 Thread Juha Heinanen
I added modparam("topos", "event_mode", 2) and now event_route[topos:msg-sending] got executed with read $rd. So looks like README has a bug in it. -- Juha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] topos event_route question

2021-03-02 Thread Juha Heinanen
I tried to skip topos stripping based on R-URI hostpart like this: event_route[topos:msg-outgoing] { xinfo(" at topos:msg-outgoing with $rd\n"); if ($rd == "example.com") drop; } and got this to syslog: Mar 2 18:35:59 lab /usr/bin/sip-proxy[22441]: INFO:

Re: [SR-Users] Hunt groups with alias_db_lookup

2021-03-02 Thread Adam McCarthy
Yes, that exactly solved my problem. Thank you. On 02.03.2021 13:00, Alex Balashov wrote: I believe simultaneous calling is known as a ring group, while sequential calling is a hunt group. This should do the trick. All the other required settings related to branch management in TM are on by

Re: [SR-Users] Hunt groups with alias_db_lookup

2021-03-02 Thread Sergiu Pojoga
alias_db_lookup will lookup the AoR. In that AoR you can have one or more Contacts, after lookup("location"). Or am I missing something? On Tue, Mar 2, 2021 at 12:53 PM Adam McCarthy wrote: > Hello, > > I'm currently using alias_db_lookup to map inbound calls from my SIP > carrier to internal

Re: [SR-Users] Hunt groups with alias_db_lookup

2021-03-02 Thread Alex Balashov
I believe simultaneous calling is known as a ring group, while sequential calling is a hunt group. This should do the trick. All the other required settings related to branch management in TM are on by default.

[SR-Users] Hunt groups with alias_db_lookup

2021-03-02 Thread Adam McCarthy
Hello, I'm currently using alias_db_lookup to map inbound calls from my SIP carrier to internal endpoints e.g., 1nxx...@sip.example.com -> al...@sip.example.com. This works well, but I would now like to simultaneously call alice@ and bob@, e.g. alias_db_lookup(...) # somehow return alice@

Re: [SR-Users] Problem with kamalio.

2021-03-02 Thread Henning Westerholt
Hi Noah, sure: v1 is Kamailio and v2 is the SER way. Most modules just support v1, this includes the database modules. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: Noah Mehl Sent: Sunday, February 28,

Re: [SR-Users] Load htable from MongoDB

2021-03-02 Thread Sergiu Pojoga
Hi Henning, Well, it works fine if the document is a "flat JSON" without arrays and other sub-objects in it. I tried with and without escaping quotation marks, but no luck. ERROR: db_mongodb [mongodb_dbase.c:452]: db_mongodb_get_columns(): field ["Location":"Prefix"] not found in result iterator

Re: [SR-Users] topos event_route question

2021-03-02 Thread Daniel-Constantin Mierla
That's a route block executed with an internal sip request. There is another one with the request to be sent out, see the readme of the module. Cheers, Daniel On 02.03.21 17:40, Juha Heinanen wrote: > I tried to skip topos stripping based on R-URI hostpart like this: > >

Re: [SR-Users] Need help in transforming an SDP string through a re.subst

2021-03-02 Thread Henning Westerholt
Hi Denys, not sure what you mean by ‘#’ character. The #015#012 in the dumped SDP is just a placeholder for \r\n, which is otherwise not printable. So, it looks more like a regular expression question, not specific to Kamailio. You can apply regular expressions with the ‘re’ operation, there

Re: [SR-Users] Load htable from MongoDB

2021-03-02 Thread Henning Westerholt
Hi Sergiu, I did not try it by myself so far, maybe others can comment on it. Normally you should be able to use the htable module on all usual database modules (that offer the needed capabilities). What are the error messages that you get, maybe there are some hints in it? Cheers, Henning

Re: [SR-Users] [sr-dev] RTPEngine - No support for kernel packet forwarding available

2021-03-02 Thread Henning Westerholt
(changing list to sr-users) Hello, Do you see an iptables rule belonging to the rtpengine module? If you do a test call, are the packet counters increased on this iptables rule? In the log message I see another error related to SRTP, not anything related to the kernel forwarding mode.

Re: [SR-Users] UAC changing port for same registration

2021-03-02 Thread Charles Phillips
If using TCP or TLS, you can use Tcpconn-Id in usrloc with the tcpops module find stale connections. - Charles > On Mar 2, 2021, at 11:19 AM, Sergiu Pojoga wrote: > > Are you supporting a single Contact per AoR? Otherwise, I don't see how you > can keep track of "changes in location and

Re: [SR-Users] UAC changing port for same registration

2021-03-02 Thread Sergiu Pojoga
Are you supporting a single Contact per AoR? Otherwise, I don't see how you can keep track of "changes in location and detect if an agent is online". If so, just set the *0x04 *registrar flag and you'll always have the latest registered Contact address in Location.

[SR-Users] Load htable from MongoDB

2021-03-02 Thread Sergiu Pojoga
Hi there, Question: is it possible to load a htable, defined by columns, from a MongoDB collection, when a certain "column" is an object with multiple elements? For example: modparam("htable", "htable", "users=>size=10;dbtable=users;cols='FirstName,LastName,Location:Prefix';") Fails when trying

[SR-Users] UAC changing port for same registration

2021-03-02 Thread Michal Popovic
Hello everybody, let's have a situation where UAC is behind the NAT and router suddenly change the external port. Kamailio in this case creates two location entries one with old port and one with the new one. Now UAC unregister from the new one and old location remains active until it