Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-29 Thread Sasmita Panda
Ok . But username cant be fixed . That can be anything . When I am adding aliase in the config file that only matches the domain and process the request . Isn't the aliase_db do the same thing ? *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827

Re: [OpenSIPS-Users] opensips 3.0.2 100% CPU after enable tls?

2020-04-29 Thread William Jin
ok, thanks. I can confirm the nightly build works without any issue. -- Regards, William Jin From: Bogdan-Andrei Iancu Sent: Tuesday, 28 April 2020 5:19 PM To: William Jin ; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] opensips 3.0.2 100% CPU afte

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-29 Thread Ben Newlin
We also had a need to do this and did not find a way to do it via drouting directly, but it will work with drouting with a little help. First, we specify the carrier_id_avp param [1]. After we call do_routing, we copy out the carrier IDs from that avp into our own AVP. Then we use route_to_carr

[OpenSIPS-Users] Drouting failover by carrier only

2020-04-29 Thread Alex A
Hi Everyone, Is it possible to failover to next carrier (instead next gateway) while using drouting? I got the below to work; however currently, use_next_gw gets the next gateway in the list, so if gwlist= #0,#3  and one of the carriers has multiple gateway IPs, the retry happens m

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Santi Anton
Hi James, Check where you are calling the do_routing function (if you are using dynamic routing module) and be sure that only INVITEs are routed by this function. My mistake was that ACK (and lately I noticed that BYEs too) was being routed by do_routing changing the Request URI. -- Sent from

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread James Hogbin
Precisely my issue. Do you have an example opensips.conf you are could share? James James Hogbin Director IP Sentinel t. +44 (0)20 3011 4150 m. +44 7786910895 w. https://www.ip-sentinel.com > On 29 Apr 2020, at 15:49, Santi Anton wrote: > > Hi Ben, > > I found the mistake. As you said, t

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Santi Anton
Hi Ben, I found the mistake. As you said, the ACK Request URI was different from 200 OK contact header, checking my script I noticed that ACK was being routed by dynamic routing module changing its Request URI. Thanks for the hint. -- Sent from: http://opensips-open-sip-server.1449251.n2.nabb

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Santi Anton
Hi Kevin, Thanks, in that case it has been a copy/paste error. I checked it again and all Call-IDs are exactly the same. -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@l

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread volga629 via Users
Try check you preset route. volga629 On 4/29/20 10:59 AM, Santi Anton wrote: Hello Ben, I agree. These are the INVITE and 200 OK. I only could see that to and from tag an Call-ID are the same. I think that in the article there is nothing about modifying ACK headers to make it work. INVITE

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Ben Newlin
I have not read the MS Teams article, but from a SIP perspective your ACK is malformed. The Request URI in the ACK - and any other sequential requests - must be the Contact URI from the 200 OK response. Your ACK Request URI has the parameters from the Contact header, but the domain/host is diffe

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Santi Anton
Hello Ben, I agree. These are the INVITE and 200 OK. I only could see that to and from tag an Call-ID are the same. I think that in the article there is nothing about modifying ACK headers to make it work. INVITE sip:5...@sip.pstnhub.microsoft.com SIP/2.0 Record-Route: Record-Route: Via: SIP/2

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Kevin Vines
The call IDs don't match. Your ACK has an extra :5060 appended. Just a thought... Kevin V. +15195726354   Original Message   From: santi.an...@quarea.com Sent: April 29, 2020 4:13 a.m. To: users@lists.opensips.org Reply to: users@lists.opensips.org Subject: Re: [OpenSIPS-Users

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Ben Newlin
A BYE ~30s after the ACK usually means the ACK was not accepted or associated with the call. This is usually due to some problem with the ACK. The ACK responses must be built according to specific requirements based on the INVITE and 200 OK values, so it is not possible to say for sure whether t

Re: [OpenSIPS-Users] opensips-mi-client

2020-04-29 Thread Bogdan-Andrei Iancu
Nice job Dioris, Is it fine with you to link your project from the MI manual page in 3.0, so people will be aware of this option ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 4/29/20 8:35 AM, Dioris Moreno wrote: I just published

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-29 Thread Bogdan-Andrei Iancu
Hi, The aliase_db module does full aliasing, user+domain to another user+domain, not only domains. And you can test the return code of the lookup function to see if any matching and translation was done or not. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensi

Re: [OpenSIPS-Users] CDR capturing not working

2020-04-29 Thread Bogdan-Andrei Iancu
Hi there, What is this cdr_worker.sh file you are talking about ?? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 4/29/20 6:17 AM, Saint Michael wrote: I checked the database and I missed the CDR for many calls.  Later I found them sitting

Re: [OpenSIPS-Users] ms teams ACK

2020-04-29 Thread Santi Anton
Hello, If it helps, these are the ACK sent to MSTeams and BYE received after 20 seconds. sbc..com:5067 Opensips TLS interface 195.xx.xx.xx:5068 Opensips UDP interface 80.xx.xx.xx:5060 Asterisk ACK sip:sip.pstnhub.microsoft.com;x-i=0c135a71-ddec-454c-a506-91079cb038d7;x-c=385a4453fc885c0

[OpenSIPS-Users] Need help to use alias db .

2020-04-29 Thread Sasmita Panda
Hi All , For the first time I am trying to use alias db . Before processing any request I wanted to do alias db lookup , if find the corresponding domain in the alias db then process the request otherwise not . How will I do this ? *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and S