[SR-Users] Re: Drouting using TLS and domain names

2024-07-18 Thread Sergiu Pojoga via sr-users
Have you tried adding the TLS transport suffix to the domain name in the *address *column? Like so: *mysipgateway.com ;transport=tls* On Thu, Jul 18, 2024 at 6:59 AM Samuel Moya Tinoco via sr-users < sr-users@lists.kamailio.org> wrote: > Hi again, > > > > I’m still tryin

[SR-Users] Re: low performance with no apparent reason

2024-03-23 Thread Sergiu Pojoga via sr-users
> if most of the time the udp queue is empty and dropped packets are observed, then the size of the udp queue is too small. Hmm.. why would you need to increase the queue size if nothing gets queued up? On Sat, Mar 23, 2024 at 6:38 PM Alex Balashov via sr-users < sr-users@lists.kamailio.org> wro

[SR-Users] Re: low performance with no apparent reason

2024-03-22 Thread Sergiu Pojoga via sr-users
What do you have as a UAS? The UDP receive buffer increase that Ovidiu suggested would be necessary if you see traffic piling up/getting dropped, e.g. look at `netstat -s | grep "receive buffer errors"` or watch for 2nd column Recv-Q of netstat. Cheers, On Fri, Mar 22, 2024 at 1:31 PM Ovidiu Sas

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-07 Thread Sergiu Pojoga via sr-users
You must be doing something essentially wrong if it came down to checking C functions for something as trivial as transport conversion.. Are you sure you have a UDP listening socket? kamcmd corex.list_sockets Result of: kamcmd dispatcher.list Have you tried forcing the send socket? https://www.k

[SR-Users] Re: Answer OPTIONS from an Asterisk

2024-02-28 Thread Sergiu Pojoga via sr-users
Let me ask you this instead: how do you handle INVITEs (calls) originating from the PBX towards the phone via Kamailio? Or NOTIFY (out of dialog), or other methods. Because it's essentially the same thing. P.S. I didn't go thru your config, too lazy On Wed, Feb 28, 2024 at 6:14 PM Ludovic ELUECQU

[SR-Users] Re: uac/uacreg - is it possible to force a REGISTER for an existing l_uuid

2024-02-15 Thread Sergiu Pojoga via sr-users
I don't think you can send a REGISTER immediately, like literally the same moment, with any of the RPC commands. There's a Kamailio UAC REG timer that processes records at certain intervals like reg_timer_interval() modparam. It also depends on reg_random_delay() and/or per uuid reg_delay values.

[SR-Users] Re: Internal DNS resolver

2024-01-12 Thread Sergiu Pojoga via sr-users
Just so ppl you're asking don't lose their minds either trying to be clairvoyants of your particular setup, can you post what records exactly were added and what makes you think they are not followed by Kam when selecting a destination? So you add records with *dns.add* and then lookup them up wit

[SR-Users] Re: How to know registration status

2024-01-08 Thread Sergiu Pojoga via sr-users
Have you consulted the UAC module documentation? It's all in there. You won't get faster help than that. BTW, it won't tell you the latest reply status code per se, usually that's not a direct indicator of a registration status. If you are looking for that specifically - then you'll have to build

[SR-Users] Re: How to use uac.reg_add command?

2024-01-05 Thread Sergiu Pojoga via sr-users
kamcmd does auto-convert when it detects the parameter is a number. By prefixing with s: you enforce string param. Try this instead: kamcmd uac.reg_add s:789798 s:789798 s:mydomain.com s:789798 s: myteldomain.com . s:789798 s:123456 . sip:sip6.telco.nl 360 0 10 mydomain.com:5060 udp:mydomain.com:

[SR-Users] Re: DB invalid connection parameter

2024-01-04 Thread Sergiu Pojoga via sr-users
d 5.6.x series is out > for quite some time. > > It seems to be from the timer routine, what is the db_mode parameter for > usrloc module? Have you set also time_procs param? > > Cheers, > Daniel > On 03.01.24 21:28, Sergiu Pojoga via sr-users wrote: > > Hi, > > Faci

[SR-Users] DB invalid connection parameter

2024-01-03 Thread Sergiu Pojoga via sr-users
Hi, Facing the following error after bumping Kam from 5.3 => 5.4 => 5.5 => 5.6, following instructions on each step about DB structure and module changes. These errors show up since. Any clue what they mean? A couple other modules are using the same DB MySQL connector. The data in the DB also see

[SR-Users] Re: webRTC Test Client?

2024-01-02 Thread Sergiu Pojoga via sr-users
The mother of all webrtc-to-sip gateways for Kamailio is probably this project: https://github.com/havfo/WEBRTC-to-SIP It has all the elements to get you started playing in the sandbox very quickly. >From there - adopting or developing your own Py/C/whatever client is another task entirely Cheer

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-19 Thread Sergiu Pojoga via sr-users
*> what you suggest now ?* Start praying? LOL Do an SSL test, any issues? https://decoder.link/sslchecker/abcsbc.com/5061 Regards, On Tue, Dec 19, 2023 at 1:46 AM faisal.jamil.khan--- via sr-users < sr-users@lists.kamailio.org> wrote: > Here 's the problem > > From the logs of dispatcher, I ha

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
Two things: 1. You're not paying attention. Previously, I asked if there's *force_rport()* in your kam config. Looks like you do. Remove it from the REQINIT route. 2. Are you sure Kamailio can read the cert and key files from */etc/letsencrypt/live/**abcsbc.com/ *? By default,

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
There you go, sipexer test passed, which means all good on the MS side. Alice/Bob uri username doesn't change anything here, ignore it. Another idea: do you have *force_rport* anywhere in the Kamailio script? Would be helpful to see the full script as well. Regards, Sergiu -- *Teams PBX connecto

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
*> but I am checking my sngrep and there are no sip traffic coming back from Microsoft.* sngrep won't show anything, the traffic to/from MS is encrypted. You'll need to install and configure something like SIPDUMP or HEP. I'm afraid this isn't the easiest of tasks for someone who seems to be just

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
What's the role of faisal.ah...@abcsbc.com, is it Global Administrator? On Mon, Dec 18, 2023 at 4:38 PM faisal.jamil.khan--- via sr-users < sr-users@lists.kamailio.org> wrote: > when i tried to login via the user faisal.ah...@abcsbc.com on > admin.teams.microsoft.com, it gives me the error that y

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
rr_permanent: no > > rr_expires: 3600 > > } > > { > > rr_idx: 3 > > rr_name: sip4.pstnhub.microsoft.com > > rr_p

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
Voila, that's likely your problem. *.onmicrosoft.com * domains are not eligible for Direct Routing. When activating the SBC, the UPN's domain part must be the same as the FQDN of the SBC you're adding. Essentially, you have to do it all within the *abcsbc.com

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
Ooops, obviously adjust the *-contact-uri* and *-fd* to your FQDN Regards, Sergiu -- *Teams PBX connector with full MS Direct Routing automation for service providers**Web*: https://teamsphone.net On Mon, Dec 18, 2023 at 3:35 PM Sergiu Pojoga wrote: > Here's my last and best tric

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
Here's my last and best trick, which eliminates Kamailio entirely from being the culprit: *sipexer -options -contact-uri "sip:customers.teamsphone.net:5061;transport=tls" -fd "customers.teamsphone.net " -td "sip.pstnhub.microsoft.com

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
at 2:17 PM Sergiu Pojoga wrote: > You didn't confirm if Contact was added to OPTIONS for local requests. > > In Teams <https://admin.teams.microsoft.com/direct-routing/v2> Admin > Center <https://admin.teams.microsoft.com/direct-routing/v2>, do you have > an enrolled

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-18 Thread Sergiu Pojoga via sr-users
You didn't confirm if Contact was added to OPTIONS for local requests. In Teams Admin Center , do you have an enrolled SBC? What's the status of TLS, SIP OPTIONS and Enabled status? What's t

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-15 Thread Sergiu Pojoga via sr-users
I assumed you read the famous article on Teams Direct Routing for Kamailio so I didn't bother mentioning it. https://skalatan.de/en/blog/kamailio-sbc-teams Regards, Sergiu -- *Teams PBX connector plus full MS Direct Routing automation**Web*: https://teamsphone.net On Fri, Dec 15, 2023 at 10:32 

[SR-Users] Re: Kamailio - Ms Teams direct Routing - dispatcher issues | FLAGS: IP

2023-12-14 Thread Sergiu Pojoga via sr-users
FLAGS: *IP* - indicates inactive, probing. Can be many reasons. Are you adding Kamailio's FQDN in the Contact for OPTIONS? Regards, Sergiu -- *Teams PBX connector plus full MS Direct Routing automation**Web*: https://teamsphone.net On Thu, Dec 14, 2023 at 5:50 PM faisal.jamil.khan--- via sr-use

[SR-Users] Re: Standard on RTP ports

2023-12-13 Thread Sergiu Pojoga via sr-users
Aloha, If we're talking about Rtpengine, it can easily be scaled further by assigning an extra IP address. Furthermore, for multi-homed with multiple local network interfaces with different addresses and rtp port ranges, it can run on multiple daemon instances, it can if I recall correctly it sup

[SR-Users] UAC DNS SRV timeout

2023-11-17 Thread Sergiu Pojoga via sr-users
Hi, Setup: kamailio acting as a UAC needs to register with a server whose outbound proxy is DNS SRV based only, there's no A record on the proxy's FQDN. The provider advertises two SRV records. ;; ANSWER SECTION: _sips._tcp.sip.provider.com. 10 IN SRV 10 50 5061 sip11-sip.provider.com. _sips._tcp

[SR-Users] Re: periodic could not resolve hostname

2023-09-28 Thread Sergiu Pojoga via sr-users
isting activated on 503). > > Cheers, > Daniel > On 28.09.23 14:48, Sergiu Pojoga via sr-users wrote: > > Aloha, > > I'm experiencing this internal DNS problem with Kamailio, can't seem to > figure out what's causing it. Maybe someone can help. > >

[SR-Users] periodic could not resolve hostname

2023-09-28 Thread Sergiu Pojoga via sr-users
Aloha, I'm experiencing this internal DNS problem with Kamailio, can't seem to figure out what's causing it. Maybe someone can help. Essentially, from time to time (one or two times a day) this situation happens, starting with logs: linux kamailio[773]: ERROR: uac [uac_reg.c:1163]: uac_reg_send(

[SR-Users] Re: DISABLE SDP MEDIA STREAMS

2023-05-29 Thread Sergiu Pojoga
Can't you achieve the desired manipulations using the SDPOPS module? https://www.kamailio.org/docs/modules/devel/modules/sdpops.html On Mon, May 29, 2023, 5:39 a.m. Patrick Karton wrote: > Hello kamailio community, > > i know its an unusual query but i would like to know if there is a > clean

[SR-Users] Re: TLS1.2 ciphers

2023-04-14 Thread Sergiu Pojoga
> modparam("tls", "renegotiation", 1) Tried to no positive result. Still getting "*SSL3_GET_CLIENT_HELLO:no shared cipher*" error and server doesn't list any ECDHE suite ciphers. *> From the docs [1] "TLSv1.2+" seems to require openssl v1.1.1 at least.* I don't see it that way. Nmap test shows TLS

[SR-Users] TLS1.2 ciphers

2023-04-14 Thread Sergiu Pojoga
Hi gang, Trying to figure out why Kamailio won't negotiate specific TLS1.2 ciphers, such as for example TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 i.e. *ECDHE-RSA-AES256-GCM-SHA384* OpenSSL lists the cipher as supported, however Kamailio won't negotiate it: # nmap --script ssl-enum-ciphers -p 5061 my

[SR-Users] Re: Germany unsure about whether Kamailio will survive next winter

2023-04-01 Thread Sergiu Pojoga
Outrageous and worrisome news on this remarkable date! On Sat, Apr 1, 2023, 11:07 a.m. Alex Balashov wrote: > For immediate release: > > ATLANTA, GA (1 April 2023)--The Federal Ministry for Economic Affairs and > Energy of Germany was forced to disclose today that it has been tasked with > asses

[SR-Users] Re: Dispatcher Incoming

2023-03-13 Thread Sergiu Pojoga
When the issue surfaced years ago, Asterisk 18 wasn't even out yet. Must have been fixed quietly without backport to older versions. On Mon, Mar 13, 2023, 10:21 p.m. Alex Balashov wrote: > Interesting. > > Path is only applicable to registrations. > > > On Mar 13, 2023, at 9:30 PM, Jawaid Bazyar

[SR-Users] Re: OT: path support fix for asterisk

2023-03-02 Thread Sergiu Pojoga
Thanks for the heads up Henning. Finally some good news. Just posted a comment in the original years-long case asking if this fix can be backported to at least Asterisk 16. On Thu, Mar 2, 2023 at 2:44 PM Henning Westerholt wrote: > Hello,

[SR-Users] Re: Dispatcher Incoming

2023-01-03 Thread Sergiu Pojoga
Interesting workaround Alex, thanks for sharing. For those who are looking for a less convoluted solution - may I suggest setting endpoint's *outbound_proxy* value to Kamailio's address, such as *sip:proxy.mydomain.com \;lr* Clearly, the above suggested solution doesn't

[SR-Users] Re: Dispatcher Incoming

2023-01-03 Thread Sergiu Pojoga
It is my unfortunate duty to tell you that… https://lists.kamailio.org/pipermail/sr-users/2021-May/112628.html https://www.mail-archive.com/sr-users@lists.kamailio.org/msg15253.html On Tue, Jan 3, 2023 at 1:27 PM nutxase wrote: > Using chan_pjsip > > > > > Sent with Proton Mail secure email.

[SR-Users] Re: Dispatcher Incoming

2023-01-03 Thread Sergiu Pojoga
https://issues.asterisk.org/jira/browse/ASTERISK-28211 3+ yrs and counting since we are waiting on a fix from Digium... On Tue, Jan 3, 2023 at 1:01 PM Alex Balashov wrote: > Are you using chan_pjsip or chan_sip in Asterisk? > > > On Jan 3, 2023, at 12:26 PM, nutxase wrote: > > > > Hi All > > >

Re: [SR-Users] Limit cps per destination gw

2022-07-28 Thread Sergiu Pojoga
Pipelimit module, specifically pl_check function is very much capable of doing CPS per GW, TAILDROP algorithm. https://www.kamailio.org/docs/modules/devel/modules/pipelimit.html#pipelimit.f.pl_check On Thu, Jul 28, 2022 at 2:20 PM Jon Bonilla (Manwe) wrote: > El Thu, 28 Jul 2022 18:08:33 +

Re: [SR-Users] Client behind nat without stun and kamailio behind NAT

2022-07-08 Thread Sergiu Pojoga
Can't tell what exactly is wrong with the whole logic of your script, most likely a couple of things, without spending an entire day troubleshooting it. Instead, can highlight a few things that may help: 1. do yourself a big favor and put Kamailio on a public IP or dst_nat SIP to it, unless

Re: [SR-Users] How to call RPC functions from script

2022-07-04 Thread Sergiu Pojoga
https://kamailio.org/docs/modules/devel/modules/jsonrpcs.html#jsonrpcs.f.jsonrpc_exec Regards, --Sergiu On Mon, Jul 4, 2022 at 7:33 AM Marat Gareev wrote: > Hello! > > Is it possible to call RPC functions from script? > In particular, I'm interested in the ability to add new groups to the > dis

Re: [SR-Users] Record-Route advertised per branch

2022-06-16 Thread Sergiu Pojoga
quot;1.0"); t_relay(); } Give it a try. On Thu, Jun 16, 2022 at 10:36 AM Sergiu Pojoga wrote: > Have you tried just *record_route()* with *enable_double_rr* option > enabled? All things considered, RR should take care of it all by itself, > per branch. > > A script snip

Re: [SR-Users] Record-Route advertised per branch

2022-06-16 Thread Sergiu Pojoga
n 2022 14:19, Ilie Soltanici a écrit : > > Hello, > > Thank you, added it now - still the same, unfortunately. > > Regards, > > On Thu, 16 Jun 2022 at 13:29, Sergiu Pojoga wrote: > > Have you tried calling *t_save_lumps()* before relaying, even before RR? > > O

Re: [SR-Users] Record-Route advertised per branch

2022-06-16 Thread Sergiu Pojoga
Have you tried calling *t_save_lumps()* before relaying, even before RR? On Thu, Jun 16, 2022 at 7:59 AM Ilie Soltanici wrote: > Hello, > > Is there any way to advertise a different IP Address in the Record-Route > header individually per branch? > > I have a setup here - where Kamailio is liste

Re: [SR-Users] Kamailio server behind NAT

2022-02-09 Thread Sergiu Pojoga
*> you can set only one contact address* Recent versions of Kamailio support setting Contact address per uac record, see *contact_addr* field. Regards, On Wed, Feb 9, 2022 at 11:15 AM Tihomir Culjaga wrote: > Hi all > > > I'm wondering what is best practice to configure kamailio for a setup >

Re: [SR-Users] Comunication between devices RTP/SRTP and viceversa

2022-01-27 Thread Sergiu Pojoga
You would achieve this in a failure route, detecting the 488|415 negative replies then resuming the branch with a different SDP profile. However, as others have said already, not all UAs will accept this "hack". Some will consider the new branch with a CSeq NOT incrementing as retransmission - and

[SR-Users] Announcing public beta release of TeamsPhone - powered by Kamailio

2021-12-06 Thread Sergiu Pojoga
o, of course!) Seeing how it works is worth a thousand words. A cloud *demo* instance is available at https://my.teamsphone.net for anyone to try it out, use it or abuse it. If you have questions about the product - feel free to contact me in private. Respectfully, Sergiu Pojoga Found

Re: [SR-Users] [uac] How to force outbound registration?

2021-11-24 Thread Sergiu Pojoga
nger occurs regardless of the reg_timer_interval. > What command should be used to enable it again? > > > ср, 24 нояб. 2021 г. в 15:40, Sergiu Pojoga : > >> You can't immediately register back. Registration scheduler runs at >> certain intervals, defined by reg_timer_inter

Re: [SR-Users] [uac] How to force outbound registration?

2021-11-24 Thread Sergiu Pojoga
You can't immediately register back. Registration scheduler runs at certain intervals, defined by reg_timer_interval modparam. https://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.reg_timer_interval Regards, --Sergiu On Wed, Nov 24, 2021 at 7:11 AM Denys Pozniak wrote: > Hello! > >

Re: [SR-Users] Custom info in Contact header

2021-11-21 Thread Sergiu Pojoga
sed later in R-URI, you have > to give it as Contact URI parameter (like transport), but some_id is given > as Contact header parameter. > > Cheers, > Daniel > On 21.11.21 20:30, Sergiu Pojoga wrote: > > I don't think the specifics matter that much, but the general idea of &

Re: [SR-Users] Custom info in Contact header

2021-11-21 Thread Sergiu Pojoga
I don't think the specifics matter that much, but the general idea of preserving the Contact URI parameter for subsequent messages is reasonable and I've seen it work like that with other non-Kamailio registrars. I wonder if this also happens without fix_nated_register before save(). On Sun., Nov

Re: [SR-Users] UAC reg_random_delay

2021-11-03 Thread Sergiu Pojoga
erval", 20) > > Then all are sent because the next timer callback is executed after > 20secs, which is later than any delay value. > > Try: > > modparam("uac", "reg_random_delay", 300) > > modparam("uac", "reg_timer_interval", 10) >

Re: [SR-Users] UAC reg_random_delay

2021-11-03 Thread Sergiu Pojoga
al. As I checked w/ a handful of registrations, > on start, Kamailio only sent one registration and on next timer the rest of > it. > > On Wed, Nov 3, 2021, 04:41 Sergiu Pojoga wrote: > >> Hi Henning, >> >> That's my understanding as well, but in reality seems like

Re: [SR-Users] UAC reg_random_delay

2021-11-03 Thread Sergiu Pojoga
> Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *From:* Sergiu Pojoga > *Sent:* Wednesday, November 3, 2021 4:41 AM > *To:* Henning Westerholt > *Cc:* Kamailio (SER) - Us

Re: [SR-Users] UAC reg_random_delay

2021-11-02 Thread Sergiu Pojoga
ve a second registration after the initial > registration, if it stills send out all requests the same time? > > > > Cheers, > > > > Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com >

[SR-Users] UAC reg_random_delay

2021-11-01 Thread Sergiu Pojoga
Hi there, May I know what exactly is supposed to be "delayed" in the UAC registration? *modparam("uac", "reg_random_delay", 20)* I have records stored in DB with *reg_delay=0*. When doing *uac.reg_dump*, I do see the value of *reg_delay* being random for various records. However, after restart

Re: [SR-Users] Strip VP8 from SDP in rtpengine

2021-10-29 Thread Sergiu Pojoga
Check out sdpops module. sdp_remove_media("video") On Fri., Oct. 29, 2021, 5:42 a.m. Rahul mm, wrote: > Hello, > > I'm facing trouble with Android 12 using webview to attempt video call. > All the media is rotated from rtpengine. To workaround this problem, I wish > to strip VP8 and have the c

Re: [SR-Users] Let's Encrypt DST Root CA X3 cert CA expiration 30th/Sept - Any issues?

2021-10-08 Thread Sergiu Pojoga
Like our comrades at APIBAN. Had to patch the CA list on older linux distros to get this restarted. Oct 8 10:20:21 kamailio[8476]: WARNING: http_client [functions.c:308]: curL_request_url(): TLS server certificate validation error (No valid CA cert) (url: https://apiban.org/api/...) @Fred, all

Re: [SR-Users] Let's Encrypt DST Root CA X3 cert CA expiration 30th/Sept - Any issues?

2021-10-01 Thread Sergiu Pojoga
Kamailio related? Some old firmware EOL Yealink phones stopped trusting Lets Encrypt issued cert. Some old softphones as well. Otherwise, Postman refusing to connect, they pushed an update earlier today. Overall, it was "fun". Cheers, --Sergiu On Fri, Oct 1, 2021 at 3:12 PM Jurijs Ivolga wrote

Re: [SR-Users] Kamailio/RTPengine as a proxy for FreePBX/Asterisk...

2021-09-28 Thread Sergiu Pojoga
tion of the endpoint in Kamailio and >doing a lookup on inbound messages? > > Given that I've been assured that this is a common use case for Kamailio, > I have to admit that all of the howto's and example .cfg files I've read > and tried do not seem to completely

Re: [SR-Users] Kamailio/RTPengine as a proxy for FreePBX/Asterisk...

2021-09-28 Thread Sergiu Pojoga
This says it all: 2021/09/28 04:45:07.358826 192.168.123.10:7330 -> 10.252.1.14:5060 INVITE sip:1093@10.252.1.14 SIP/2.0 Based on the above, how do you expect this call to reach the softphone at 10.0.0.142? Also, it's pretty easy to see from the provided traces that the call is bounding back and

Re: [SR-Users] using path in Subscriber table

2021-06-13 Thread Sergiu Pojoga
Why don't you ask these questions directly with the folks at dSipRouter? Some are even members of this mailing list. They seem to have their own free forum as well as paid support, which you may consider. Cheers, --Sergiu On Sat, Jun 12, 2021 at 11:52 PM Thành Trần Duy wrote: > Hi all, > > Firs

Re: [SR-Users] Architecture - your opinion is welcome and your experience too

2021-05-28 Thread Sergiu Pojoga
Yeah, PATH implimentation is broken in PJSIP. There's a ticket with Digium pending for the last 2+ years, low importance, according to them... On Fri., May 28, 2021, 12:52 p.m. Alex Balashov, wrote: > On 5/28/21 12:47 PM, Sergiu Pojoga wrote: > > > Heads-up though, before you

Re: [SR-Users] Architecture - your opinion is welcome and your experience too

2021-05-28 Thread Sergiu Pojoga
Heads-up though, before you get over excited about the suggested simplicity of using PATH. Don't try it if your asterisk farm runs on PJSIP - it simply won't work. On Fri, May 28, 2021 at 11:53 AM Alex Balashov wrote: > Hi Daian, > > Rather than reoriginaring registrations with Kamailio’s UAC mo

Re: [SR-Users] loose_route() and FQDN

2021-05-07 Thread Sergiu Pojoga
May be related to a previous topic about is_first_hop() and 'myself' https://lists.kamailio.org/pipermail/sr-users/2018-October/103261.html On Fri, May 7, 2021 at 7:22 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > > Can you share a trace? > > On Fri, 7 May 2021 at 21:12, Igor Olh

Re: [SR-Users] Switch from SRTP to RTP when using Zoiper and Bria

2021-04-19 Thread Sergiu Pojoga
Hi Marcus, Can't say for Zoiper, but I've worked this case with Counterpath (sadly for Canada - it is no more, has been acquired by Alianza). Anyhow, the final conclusion at the time was: *The client is correct to expect that this is the same INVITE request that took different paths to the target

Re: [SR-Users] Kamailio + Websocket issues

2021-03-26 Thread Sergiu Pojoga
nic...@leads2b.com> wrote: > Asterisk 13 will be EOL soon, so that would be my last resort. > > Do you have any input if the contact alias should be enough to get > this working in that case? > > On Thu, Mar 25, 2021 at 9:47 AM Sergiu Pojoga wrote: > > > >

Re: [SR-Users] Kamailio + Websocket issues

2021-03-25 Thread Sergiu Pojoga
oded > >> param. I think the alias would be a better alternative, but could not > >> get it right yet. > >> > >> Greetings, > >> Vinicius > >> > >> On Wed, Mar 24, 2021 at 7:16 PM Sergiu Pojoga > wrote: > >> > > >&g

Re: [SR-Users] Kamailio + Websocket issues

2021-03-24 Thread Sergiu Pojoga
Vinicius, The obvious is that PATH is broken in Asterisk's PJSIP and they won't do anything about it as it's marked "minor". It's been 2 yrs now that me and others have reported it. [3] https://community.asterisk.org/t/wrong-d-uri-for-invites-with-pjsip-and-path/74079 Bottom line: there's nothing

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] Load htable from MongoDB

2021-03-02 Thread Sergiu Pojoga
t; > > Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *From:* sr-users *On Behalf Of *Sergiu > Pojoga > *Sent:* Tuesday, March 2, 2021 4:39 PM > *To:* Kamailio (SER) - Users Mailing List

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. https://kamailio.org/docs/modul

[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

Re: [SR-Users] Kamailio Split Variable

2021-02-10 Thread Sergiu Pojoga
Have a look at https://www.kamailio.org/wiki/cookbooks/devel/transformations#sselect_index_separator On Wed, Feb 10, 2021 at 8:51 AM Mihai wrote: > Hi! > > Can I split the variable $fd ? > > the $fd has the value: asterisk-wind.voicevw.lan; and i want to take the > the first part - asterisk-win

Re: [SR-Users] Releasing Kamailio v5.4.4

2021-02-09 Thread Sergiu Pojoga
Well, I'd like to see PR https://github.com/kamailio/kamailio/pull/2470 backported into a stable branch. Me myself & I have tested quickly this new feature using the master branch and it's been working fine so far. So yeah, please, if possible. On Tue, Feb 9, 2021 at 8:11 PM Anthony Joseph Messi

Re: [SR-Users] logging error events to database

2021-01-30 Thread Sergiu Pojoga
ce on the kams your have > taking with MSTeams? > > Joel. > > On Fri, Jan 29, 2021 at 11:31 Sergiu Pojoga wrote: > >> Thanks Alex & Daniel for suggesting these ingenious potential solutions. >> >> On Fri, Jan 29, 2021 at 2:09 PM Daniel-Constantin Mierla <

Re: [SR-Users] logging error events to database

2021-01-29 Thread Sergiu Pojoga
; > > I haven't personally used Elasticsearch, but it sounds like the better > > way to go than a traditional RDBM if you're dealing with large volumes > > of syslog data that are rotated out frequently. > > > > On the other hand, if you're only looking to lo

[SR-Users] logging error events to database

2021-01-29 Thread Sergiu Pojoga
Hi there, I was wondering if there's a way to log various core error events in some DB. For example, below error occurred Jan 29 11:43:56 kamailio[11076]: {1 11440 INVITE 28b653bd-8f62-4085-a5ef-f2a4ac0f393d } ERROR: [core/parser/sdp/sdp_helpr_funcs.c:499]: extract_mediaip(): no `IP[4|6]' addre

Re: [SR-Users] loose_route() - Local Proxy

2021-01-04 Thread Sergiu Pojoga
In domain's modparam, do you have "register_myself" enabled? What if you define local domains via "alias=my_domain", does it make a difference? Regards, On Mon, Jan 4, 2021 at 9:47 AM Duarte Rocha wrote: > Greetings, > > I'm using loose_route() from the RR module and i'm having troubles making

Re: [SR-Users] X-Forwarded-for IP to asterisk

2020-12-15 Thread Sergiu Pojoga
Although not strictly a Kamailio-related question... and also depending on how you "forward" registrations to Asterisk, but usually setting *nat=no* should show the peer's public IP. Regards, --Sergiu On Tue, Dec 15, 2020 at 9:33 AM Mihai Cezar wrote: > Hello, > > Is it something like the XFF f

Re: [SR-Users] Dialog profile not defined

2020-12-04 Thread Sergiu Pojoga
Hmmm... if dialog params are wrapped in a ifdef condition, then do you have something like #!define WITH_DIALOG at the top? Otherwise the rest looks ok to me judging by the snippet that was provided. On Fri, Dec 4, 2020 at 7:49 AM Gertjan Wolzak wrote: > Hello Sergiu, > > Thank you for the poin

Re: [SR-Users] Dialog profile not defined

2020-12-03 Thread Sergiu Pojoga
Bonus: better replace that equal with >= comparison. There may be conditions under which the dialog profile counting has already exceeded the max limit, in which case the call would go through. Regards, --Sergiu On Thu, Dec 3, 2020 at 2:39 PM Sergiu Pojoga wrote: > Hi Gertjan, > &

Re: [SR-Users] Dialog profile not defined

2020-12-03 Thread Sergiu Pojoga
Hi Gertjan, Probably unrelated, but you have a syntax error in the IF statement, has to be double == if( $avp(concurrent) == $var(max) ) See if that helps. Otherwise, what's the line #1576? Regards, --Sergiu On Thu, Dec 3, 2020 at 4:06 AM Gertjan Wolzak wrote: > Hello Kamailions, > > I am ru

Re: [SR-Users] Location Fields Address vs Received

2020-11-25 Thread Sergiu Pojoga
In short, if NAT is detected during REGISTER - then Received is set (it later becomes the D-URI when sending something to that Contact). https://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.p.received_avp Regards, On Wed, Nov 25, 2020 at 10:54 AM Daniel Greenwald wrote: >

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Sergiu Pojoga
Or use sipdump module as an alternative https://kamailio.org/docs/modules/stable/modules/sipdump.html On Tue, Nov 24, 2020 at 12:55 PM Federico Cabiddu < federico.cabi...@gmail.com> wrote: > The outgoing (relayed) e2e ACK is not captured by the sipcapture module in > "transaction" capture mode (

Re: [SR-Users] kamailio.cfg fomatter

2020-11-24 Thread Sergiu Pojoga
The only other Kam syntax I know of is for vim https://github.com/kamailio/vim-kamailio-syntax Regards, --Sergiu On Tue, Nov 24, 2020 at 11:39 AM marek wrote: > hi, > > i'm using https://github.com/miconda/vscode-kamailio-syntax in VScode. > its great! > > But i need format code. Are there som

[SR-Users] how to add URI parameter

2020-11-15 Thread Sergiu Pojoga
Hi there, Does Kamailio have a function to add URI parameters? I looked around but couldn't find one. I refuse to believe Kamailio doesn't have one. There's a *add_uri_param(param)*, but that's strictly for R-URI. I need it for something else, Contact. Thanks, --Sergiu __

Re: [SR-Users] Checking callee registration

2020-11-10 Thread Sergiu Pojoga
You'll find your answer here: https://lists.kamailio.org/pipermail/sr-users/2020-November/111075.html On Mon, Nov 9, 2020 at 11:25 PM ahmed moghazy wrote: > I know i should do it but how what is the code ? > > > On 09/11/2020, at 5:41 PM, Alex Balashov > wrote: > > > > You should do it! > > >

Re: [SR-Users] outgoing TCP connection ID

2020-11-02 Thread Sergiu Pojoga
require mixing in > ipops module). > > An alternative, if you need it for requests within dialog, you can use > hash table to store the connection ID using call-id as key when processing > the initial subscribe/invite, then you can retrieve it for bye/notify/... > > Cheers, &

Re: [SR-Users] outgoing TCP connection ID

2020-11-02 Thread Sergiu Pojoga
uot;location")? > > Cheers, > Daniel > On 01.11.20 16:45, Sergiu Pojoga wrote: > > Hi there, > > Is there a PV that exposes the outgoing TCP connection ID? $conid seems to > be for received only. > > *$conid - The TCP connection ID of the connection the current

[SR-Users] outgoing TCP connection ID

2020-11-01 Thread Sergiu Pojoga
Hi there, Is there a PV that exposes the outgoing TCP connection ID? $conid seems to be for received only. *$conid - The TCP connection ID of the connection the current message arrived on for TCP, TLS, WS, and WSS. Set to $null for SCTP and UDP.* The objective is to check the status of the egres

Re: [SR-Users] Confusion about TCP worker ports

2020-10-29 Thread Sergiu Pojoga
In a nutshell, with TCP, it's the OS's network stack that assigns the port. For more: https://lists.kamailio.org/pipermail/sr-users/2018-May/101529.html On Thu, Oct 29, 2020 at 4:00 PM Noah Mehl wrote: > Alex, > > Is there no way to send the requests from the listen port? > > And if they’re not

Re: [SR-Users] dialog_active_dialogs erroneous value

2020-10-19 Thread Sergiu Pojoga
c28a1 Thanks. --Sergiu On Fri, Oct 16, 2020 at 5:10 PM Sergiu Pojoga wrote: > Hi Joel, > > Thanks, that's precisely it! > > Indeed, `dlg.stats_active` works correctly and what's nice about it is > that it shows stats summary from all DMQ nodes combined. However, I >

Re: [SR-Users] dialog_active_dialogs erroneous value

2020-10-16 Thread Sergiu Pojoga
. > > You might have to rely on the different metric that Daniel added. > > Joel. > > > > On Fri, Oct 16, 2020 at 3:35 AM Sergiu Pojoga wrote: > >> Hi Daniel, >> >> You guessed right, two dmq nodes with dialog replication. >> >> Than

Re: [SR-Users] dialog_active_dialogs erroneous value

2020-10-16 Thread Sergiu Pojoga
nstance sip server? > > Cheers, > Daniel > On 16.10.20 04:12, Sergiu Pojoga wrote: > > Hi there, > > Every now and then, the value of active dialogs metric spikes to an > erroneous huge number, messing up my otherwise beautiful grafana gauges :( > > Example: > kamailio_di

[SR-Users] dialog_active_dialogs erroneous value

2020-10-15 Thread Sergiu Pojoga
Hi there, Every now and then, the value of active dialogs metric spikes to an erroneous huge number, messing up my otherwise beautiful grafana gauges :( Example: kamailio_dialog_active_dialogs 18446744073709551614 1602812239115 kamailio_dialog_early_dialogs 0 1602812239115 kamailio_dialog_expired

Re: [SR-Users] '302 Moved temporarily' contact parsing error

2020-10-13 Thread Sergiu Pojoga
Hmm, it's a tricky one, not sure actually. https://tools.ietf.org/html/rfc3261#page-167 The answer might be in: Even if the "display-name" is empty, the "name-addr" form MUST be used if the "addr-spec" contains a comma, semicolon, or question mark. On

Re: [SR-Users] '302 Moved temporarily' contact parsing error

2020-10-13 Thread Sergiu Pojoga
Aren't the Contact params supposed to be delimited by semicolon? On Tue, Oct 13, 2020 at 1:06 PM David VILLAUME wrote: > Hello, > > > > I see parsing errors on 302 contact header that seems compliant to RFC : > > > > Contact:;q=0.5,;q=0.25 > > > > [core/parser/parse_addr_spec.c:479]: parse_to_p

Re: [SR-Users] Permissions address

2020-10-12 Thread Sergiu Pojoga
Not entirely clear what you mean by 'in the cfg'. If you wanted to reload it from the kam config logic upon some event, then you can always execute RPC commands like so: jsonrpc_exec('{"jsonrpc": "2.0", "method": "permissions.addressReload ", "id": 1}'); On Mon, Oct 12, 2020 at 7:21 PM David Vil

Re: [SR-Users] modify Proxy-Authenticate header parameter

2020-10-08 Thread Sergiu Pojoga
You could probably use subst_hf regex to replace what's needed, something like: subst_hf("Proxy-Authenticate", "/:test@/:best@/", "a"); On Thu, Oct 8, 2020 at 6:28 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > I'm receiving a Proxy-Authenticate header with a speci

  1   2   3   4   >