Re: [OpenSIPS-Users] How to handle concurrent answering calls?

2021-10-07 Thread volga629 via Users
Hello Fulo, Bogdan provided work around some time ago. Inside  onreply route      # Drop other 200 OK     if(isbflagset("RETRY_200OK_BFLAG")) {     if(is_method("INVITE|UPDATE") && t_check_status("200")) {

Re: [OpenSIPS-Users] How to handle concurrent answering calls?

2021-08-30 Thread volga629 via Users
Hello Fulo, Bogdan provided work around some time ago. Inside  onreply route      # Drop other 200 OK     if(isbflagset("RETRY_200OK_BFLAG")) {     if(is_method("INVITE|UPDATE") && t_check_status("200"))

Re: [OpenSIPS-Users] MOH / rtpengine

2021-08-09 Thread volga629 via Users
Hello Miha, You can try in dialog requests section use    if(has_body("application/sdp")) {     if(search_body("a=sendonly") || search_body("a=inactive")) { Also might need try use

Re: [OpenSIPS-Users] mid_registrar lookup

2021-04-06 Thread volga629 via Users
Hello Liviu, I opened report https://github.com/OpenSIPS/opensips/issues/2454 And all pcap and logs sent to you email. If you will require configuration example let me know. I will pull one from our environment.

Re: [OpenSIPS-Users] mid_registrar lookup

2021-03-26 Thread volga629 via Users
  send_reply(500, "Internal Error");     exit;     }     exit; } volga629   On 3/24/21 1:14 PM, volga629 via Users wrote: Hello Liviu, May I send few screen shot of sip flow for this call ?

Re: [OpenSIPS-Users] mid_registrar lookup

2021-03-24 Thread volga629 via Users
Hello Liviu, May I send few screen shot of sip flow for this call ? volga629. On 3/24/21 8:57 AM, volga629 via Users wrote: Hello Liviu, We use topology hiding edge proxy for end point. Here are example of contact

Re: [OpenSIPS-Users] Mid_Registrar outgoing_expire issue (Bug?)

2021-03-24 Thread volga629 via Users
Hello Liviu, Is in 3.1.2 all those fixes  will be released ? volga629 On 3/24/21 10:26 AM, Liviu Chircu wrote: On 24.03.2021 15:18, Ricardo Martinez wrote: I'm using version: opensips 3.1.0

Re: [OpenSIPS-Users] mid_registrar lookup

2021-03-24 Thread volga629 via Users
route(CONTACT_LOOKUP);     } volga629 On 3/24/21 5:04 AM, Liviu Chircu wrote: On 24.03.2021 05:04, volga629 via Users wrote: But then arrive the ACK and that where start the probl

[OpenSIPS-Users] mid_registrar lookup

2021-03-23 Thread volga629 via Users
Hello Everyone, One extension contain multiply  registered devices. We use mid_registrar in AOR  mode 2. The issue that lookup always find only result . For example: Inbound call from provider to  class 5 device then to

Re: [OpenSIPS-Users] Mid_Registrar outgoing_expire issue (Bug?)

2021-03-23 Thread volga629 via Users
Hello Ricardo, I noticed this issue too. My work around is Where 7200 is  outgoing_expires in module params. if($(hdr("Expires"){s.int})!=7200) {     remove_hf("Expires");   

Re: [OpenSIPS-Users] [BLOG] Exploring SSL/TLS libraries for OpenSIPS 3.2

2021-02-12 Thread volga629 via Users
Hello Vlad, Interesting thoughts about wolfssl. How it will play with Linux system where are default openssl. If it will require additional packaging. What benefits compare to current state. Just some questions list so I will not forget

Re: [OpenSIPS-Users] dispatcher cluster

2021-02-04 Thread volga629 via Users
, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 2/2/21 5:32 PM, volga629 via Users wrote: Hello Everyone, Dispatcher in cluster causing destinations goes down unexpectedly

Re: [OpenSIPS-Users] opensips dialplan regex

2021-02-02 Thread volga629 via Users
: try ([0-9]*)([A-Z]*)([0-9]*) replace with \1\3. Op di 2 feb. 2021 om 17:45 schreef volga629 via Users <users@lists.opensips.org>: Hello Everyone, Here are som

Re: [OpenSIPS-Users] opensips dialplan regex

2021-02-02 Thread volga629 via Users
-> [1506855JMGTJ4566] ~> 1506855 As you see digits on the end got lost. volga629. On 2/2/21 11:47 AM, volga629 via Users wrote: Hello Everyone, I am trying clean up with dialplan  any characters from $rU except digits.

[OpenSIPS-Users] opensips dialplan regex

2021-02-02 Thread volga629 via Users
Hello Everyone, I am trying clean up with dialplan  any characters from $rU except digits. I tried regex rule Matching Regular _expression_  ([0-9]*) Substitution Regular _expression_ ([0-9]*)

[OpenSIPS-Users] dispatcher cluster

2021-02-02 Thread volga629 via Users
Hello Everyone, Dispatcher in cluster causing destinations goes down unexpectedly.  Scenario: Two nodes with last ip octet 61 and 41. Freeswitch stats to calculate  weight. Issue: 61 is  set to ping all destinations and report to

Re: [OpenSIPS-Users] sangoma issue ?

2021-01-19 Thread volga629 via Users
You can try on reply in rtpengine answer supply always-transcode flag. volga629 On 1/13/21 12:52 PM, Andy Dierlam wrote: Hi John,  I've tested rtpengine's transcoding.   I like the load

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-27 Thread volga629 via Users
dialplan feature to remove append + to normalize phone numbers. volga629 On 4/19/20 9:40 AM, volga629 via Users wrote: Hello Johan, Thank you for reply. The only NAT problem can be on MS Teams Client,  because on Opensips side pretty sure all good. volga629 On 4/19/20 3:04 AM, Johan De

Re: [OpenSIPS-Users] string comparison

2020-04-26 Thread volga629 via Users
262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. main.c compiled on 10:46:54 Jan 29 2020 with gcc 8 volga629 On 4/26/20 10:35 AM, volga629 via Users wrote: Hello Liviu, I restructured config file to better see what was evaluated and I

Re: [OpenSIPS-Users] string comparison

2020-04-26 Thread volga629 via Users
Hello Liviu, I restructured config file to better see what was evaluated and I see in debug right now clearly that opensips is not evaluate properly. Oh I don't see something. Debug: https://pastebin.com/GHmbb0Uf Config https://pastebin.com/P60Bh9En volga629 On 4/24/20 7:57 AM,

Re: [OpenSIPS-Users] string comparison

2020-04-24 Thread volga629 via Users
$var(codec_flag_frompbx_tls) RTP/SAVP ICE=remove $var(dir)");             }             if($var(wss-frompbx)==$var(usr_check)) {                 $var(transport) = "wss";                 rtpengine_offer(" $var(wss_codec_trans) $var

Re: [OpenSIPS-Users] string comparison

2020-04-23 Thread volga629 via Users
Hello John, Thank you  for reply. I wonder if it something to do that variable contain numbers and letters. Example: tls_201 I wonder if I can compare md5 . volga629 On 4/23/20 11:26 AM, John Quick wrote: Hi Volga, I just added a check on one of my test servers, making use of some

Re: [OpenSIPS-Users] string comparison

2020-04-23 Thread volga629 via Users
183] Default match [FS ~> Client] Apr 23 16:23:12 pr1 /usr/sbin/opensips[12591]: OnReply_Route3: [INVITE] fetched var ~> plain_100 volga629 On 4/23/20 11:05 AM, Ivailo Dobrev wrote: Hi Volga, xlog  md5 of both vars before if statement. I'm pretty sure they will be different. Maybe n

Re: [OpenSIPS-Users] string comparison

2020-04-23 Thread volga629 via Users
sure they will be different. Maybe not printable character ? On 4/23/20 4:43 PM, volga629 via Users wrote: Hello John, I tested var to var and test still failing Tried  if($var(tls-frompbx)=="$var(usr_check_tls)") or this  if($var(tls-frompbx)==$var(usr_check_tls)) volga629 On 4/2

Re: [OpenSIPS-Users] string comparison

2020-04-23 Thread volga629 via Users
Hello John, I tested var to var and test still failing Tried  if($var(tls-frompbx)=="$var(usr_check_tls)") or this  if($var(tls-frompbx)==$var(usr_check_tls)) volga629 On 4/23/20 9:41 AM, John Quick wrote: Hi Volga Please could you always format your emails to the users group as plain

[OpenSIPS-Users] string comparison

2020-04-23 Thread volga629 via Users
Hello Everyone, String comparison failing I tried == and =~ First var $var(usr_check_tls) = "tls_" + $(tU{s.select,0,%}); Second  var cache_fetch("redis:wss-grp","tls-frompbx", $avp(tls-frompbx)) This return always false

Re: [OpenSIPS-Users] ms teams ACK

2020-04-19 Thread volga629 via Users
: Can’t it be a NAT problem? The IP address where the bye is coming from doesn’t seem a pstnhub to me. Outlook voor iOS downloaden Van: Users namens volga629 via Users

Re: [OpenSIPS-Users] ms teams ACK

2020-04-18 Thread volga629 via Users
Hello Alexey, Thank you on reply, I undone all changes regard headers changes and MS Teams send BYE directly to asterisk. No Route header present. But INVITE ACK 183 180 all travel with  proper routing information. 2020/04/18

Re: [OpenSIPS-Users] ms teams ACK

2020-04-18 Thread volga629 via Users
bc/ -ovidiu On Sat, Apr 18, 2020 at 3:26 PM volga629 via Users wrote: Thank you for reply, I fixed Contact header in ACK, but Microsoft still unhappy call drops after 20 sec. ACK debug https://paste.centos.org/view/21b816d1 volga629 On 4/18/20 5:54 AM, Johan De Clercq wrote:

Re: [OpenSIPS-Users] ms teams ACK

2020-04-18 Thread volga629 via Users
/ Outlook voor iOS downloaden Van: Users namens volga629 via Users Verzonden: Saturday, April 18, 2020 3:38:33 AM Aan: OpenSIPS users mailling list Onderwerp: [OpenSIPS-Users] ms

[OpenSIPS-Users] ms teams ACK

2020-04-17 Thread volga629 via Users
Hello Everyone, Is possible rewrite ACK contact header in dialog ? My guess it expecting FQDN. MS Teams disconnect the call after 20 sec REASON: Q.850;cause=18;text="bc427610-edae-47b9-9daa-7ea74d40dcc7;Call Controller timed out while waiting for acknowledgement."

Re: [OpenSIPS-Users] feature request

2020-03-31 Thread volga629 via Users
, volga629 via Users wrote: Hello Everyone, I would like request add rfc3994 to presence modules that allow use of application/im-iscomposing+xml. https://www.ietf.org/rfc/rfc3994.txt Any

[OpenSIPS-Users] feature request

2020-03-30 Thread volga629 via Users
Hello Everyone, I would like request add rfc3994 to presence modules that allow use of  application/im-iscomposing+xml. https://www.ietf.org/rfc/rfc3994.txt Any opinion welcome. volga629

Re: [OpenSIPS-Users] uri table

2020-03-20 Thread volga629 via Users
    sl_reply_error();     exit; } On 3/20/20 3:19 PM, volga629 via Users wrote: Hello Everyone, Some documentation is mismatching in auth and_db modules, can figure out what correct way [root@dev1-msg scripts]# o

Re: [OpenSIPS-Users] uri table

2020-03-20 Thread volga629 via Users
)) {         send_reply("403","Forbidden auth ID");         exit;     }     if(!save("location"))         sl_reply_error();     exit; } volga629 On 3/20/20 9:

[OpenSIPS-Users] uri table

2020-03-20 Thread volga629 via Users
Hello Everyone, I am trying migrate to 3.0 and I want keep db_is_from_authorized("uri");, but can't understand where need set use_uri_table based on migration doc function db_check_from() was replaced by the AUTH_DB module with:

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-18 Thread volga629 via Users
4XX, 5XX and 6XX).   At @job, we handle max 6000 calls on a 6 cores servers without any issue.   Regards       De : Users au nom de volga629 via Users Ré

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-17 Thread volga629 via Users
On 3/16/20 2:51 PM, volga629 via Users wrote: I tried test changes, but  not working 100% yet Mar 16 17:46:40 Proxy /usr/sbin/opensips[11348]: ERROR:rtpengine:rtpe_function_call: proxy replied with error: Ran out

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-16 Thread volga629 via Users
At @job, we handle max 6000 calls on a 6 cores servers without any issue.   Regards       De : Users au nom de volga629 via Users Répondre à : volga629 , OpenSIPS users maillin

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-16 Thread volga629 via Users
delete-delay, port-min and port-max of your rtpengine configuration. Have you also check if you handle rtpengine_delete on failed calls (in case sip cause code 4XX, 5XX and 6XX). At @job, we handle max 6000 calls on a 6 cores servers without any issue. Regards De : Users au nom de v

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-16 Thread volga629 via Users
he packet forwarding module and are hoping to approach 1 sessions per instance. If your figures scale up it sounds like this is very achievable! On Sun, 15 Mar 2020 at 12:05, Alain Bieuzent wrote: Hi, Can you share value of delete-delay, port-min and port-max of your rtpengin

[OpenSIPS-Users] opensips + rtpengine

2020-03-13 Thread volga629 via Users
Hello Everyone, Might be  somebody can point me to right place. Under load Rtpengine on server with 12 core can't pass 400 channels/sessions. Mar 13 18:14:53 CentOS-77-64-minimal rtpengine[14588]: WARNING:

Re: [OpenSIPS-Users] opensips cli centos 7

2020-03-11 Thread volga629 via Users
Thank you for quick fix. volga629 On 3/11/20 9:24 AM, Nick Altmann wrote: Now it's fixed. Try latest nightly build please. ср, 4 мар. 2020 г. в 08:13, volga629 via Users <users@lists.opensips.

[OpenSIPS-Users] opensips cli centos 7

2020-03-03 Thread volga629 via Users
Hello Everyone, Opensips Cli  on centos 7 installation  not working. Dependency names should be python36 not python3 . --> Processing Dependency: python3-sqlalchemy for package: opensips-cli-0.1-1.noarch --> Processing Dependency:

Re: [OpenSIPS-Users] opensips lua

2020-01-27 Thread volga629 via Users
Best regards, Răzvan On 1/24/20 6:32 PM, volga629 via Users wrote: Hello Vlad, In latest master was added support for 5.2 and 5.3, wrapper produce error. So it can't open python scripts. Any help thank you. Jan 24 17:24:35 dev1-fr /usr/sbin/opensips[26796]: siplua: encode:UTF16BE:fjhqqq

Re: [OpenSIPS-Users] opensips lua

2020-01-24 Thread volga629 via Users
error running function arg_function: /etc/opensips/scripts/convert.lua:15: attempt to index a nil value (global 'io') Jan 24 17:24:35 dev1-fr /usr/sbin/opensips[26796]: DBG:core:destroy_index_avp: AVP with the specified index not found volga629 On Sun, Jan 19, 2020 at 10:11, volga629 via Users

[OpenSIPS-Users] flags

2020-01-21 Thread volga629 via Users
Hello Everyone, In latest master what change is require right now to accommodate all flags functions. Script file test produce if(isflagset(FLAG_FROM_PEER)) { Jan 21 23:16:55 [11734] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:342:18-19: bad arguments for command Jan

Re: [OpenSIPS-Users] opensips lua

2020-01-19 Thread volga629 via Users
nsips-solutions.com <http://www.opensips-solutions.com/> On 1/14/20 3:32 PM, volga629 via Users wrote: Hello Vlad, In lua script we use \n only in xlog. this repository <https://github.com/VoIP-SAAS/opensips-smpp-lua> On Tue, Jan 14, 2020 at 13:37, Vlad Patrascu <mailto:vl...@opensips.o

Re: [OpenSIPS-Users] opensips lua

2020-01-14 Thread volga629 via Users
m/> On 1/13/20 3:26 PM, volga629 via Users wrote: Hello Vlad, Yes, it still in issue, but we have work around. #012 it insert white spaces. $avp(sms-out) = $(avp(formatted-msg){s.trimr}); On Mon, Jan 13, 2020 at 12:26, Vlad Patrascu <mailto:vl...@opensips.org> wrote: Hi Volga,

Re: [OpenSIPS-Users] opensips lua

2020-01-13 Thread volga629 via Users
to reproduce this myself but it seems that AVP_set() does set the value correctly. Regards, Vlad Patrascu OpenSIPS Developer http://www.opensips-solutions.com <http://www.opensips-solutions.com/> On 12/14/19 7:12 AM, volga629 via Users wrote: Hello Everyone, Having some issue get lua to set

Re: [OpenSIPS-Users] gsm modem SMS module

2020-01-08 Thread volga629 via Users
Hello Bogdan, Yes I think module need to be refactored , I can't get any useful information from debug. All what I see that opensips access modem, but actually it can't pass even init properly. I tested with kannel and it works 100%. I used command lsof -u opensips | grep -i usb that show me

Re: [OpenSIPS-Users] proto smpp inbound

2020-01-08 Thread volga629 via Users
Hello Everyone, Is proto smpp should work with inbound binding as smpp server ? volga629 On Sun, Jan 5, 2020 at 01:50, volga629 via Users wrote: Getting this error where none of the smpp clients can't bind to opensips Seems like issue related to github <https://github.com/OpenS

Re: [OpenSIPS-Users] proto smpp inbound

2020-01-04 Thread volga629 via Users
ailure with no frames): 'jasmin.vendor.smpp.pdu.error.SMPPRequestTimoutError'>: Request timed out after 30 secs: PDU [command: bind_transceiver, sequence_number: 1, command_status: ESME_ROK volga629 On Fri, Jan 3, 2020 at 23:32, volga629 via Users wrote: Hello Everyone, I am trying inbound proto

Re: [OpenSIPS-Users] gsm modem SMS module

2020-01-04 Thread volga629 via Users
s like dark ages :P.. First of all, at OpenSIPS startup, is the modem successfully initialized ? Best Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com <https://www.opensips-solutions.com/> OpenSIPS Summit, Amsterdam, May 2020 <

Re: [OpenSIPS-Users] gsm modem SMS module

2020-01-04 Thread volga629 via Users
ips-solutions.com/> OpenSIPS Summit, Amsterdam, May 2020 <https://www.opensips.org/events/Summit-2020Amsterdam/> OpenSIPS Bootcamp, Miami, March 2020 <https://opensips.org/training/OpenSIPS_Bootcamp_2020/> On 1/3/20 10:20 PM, volga629 via Users wrote: Hello Everyone, I need he

[OpenSIPS-Users] proto smpp inbound

2020-01-03 Thread volga629 via Users
Hello Everyone, I am trying inbound proto smpp bind as transmitter and connection failing. Opensips as ESME (External Short Messaging Entity). Jan 3 23:48:05 sms /usr/sbin/opensips[13242]: INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 527 Jan 3 23:48:05 sms

[OpenSIPS-Users] gsm modem SMS module

2020-01-03 Thread volga629 via Users
Hello Everyone, I need help identify issue with gsm modem connection in opensips. I tried send with external application and no problem everything works, but with opensips get messages Jan 3 15:09:38 sms /usr/sbin/opensips[16430]: NOTICE:core:do_workers_auto_scaling: score 15/15 ->

[OpenSIPS-Users] opensips lua

2019-12-13 Thread volga629 via Users
Hello Everyone, Having some issue get lua to set proper avp. When it set in insert some extra characters into value of avp Here are log Dec 14 05:53:41 dev1-fr /usr/sbin/opensips[12985]: siplua: test::w nah.uy/u5bmnc Dec 14 05:53:41 dev1-fr /usr/sbin/opensips[12985]: siplua: Tested

[OpenSIPS-Users] opensips lua

2019-12-06 Thread volga629 via Users
Hello Everyone, I am trying some conversion lua script with parameters and opensips return unexpected data Based on module doc param should be as string. If I set if(lua_exec("arg_function", "encode:UTF16:$rb")) { then return Dec 6 21:29:37 dev1-fr /usr/sbin/opensips[3473]: SMS encode

Re: [OpenSIPS-Users] SHAKEN/STIR

2019-12-03 Thread volga629 via Users
, 2019 at 06:56, Liviu Chircu wrote: On 03.12.2019 03:59, volga629 via Users wrote: If call from originator is being replaced by middle with same source and destination and change Identity header with keys and certificate location is possible that terminator will authorize it ? Hi Volga, Yes

[OpenSIPS-Users] SHAKEN/STIR

2019-12-02 Thread volga629 via Users
Hello Everyone, I am reading about SHAKEN/STIR and the question is this protocols can prevent man in middle ? If call from originator is being replaced by middle with same source and destination and change Identity header with keys and certificate location is possible that terminator will

Re: [OpenSIPS-Users] OpenSIPS @ SIPNOC 2019

2019-11-26 Thread volga629 via Users
Good Luck, very important mission. You might willing bring to the table some improvement for the effort to provide better availability for CA list and peer verification process. If SIPNOC willing to organize web service where all involved parties will be able to register and go through

[OpenSIPS-Users] lua script

2019-11-22 Thread volga629 via Users
Hello Everyone, In lua module how is possible call multiply arguments for lua function. Is this valid ? if (lua_exec("convert_function",arg1,arg2)) { } volga629 ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] dbalias

2019-11-15 Thread volga629 via Users
E WHERE REFERENCED_TABLE_SCHEMA = 'opensips' AND REFERENCED_TABLE_NAME = 'dbaliases'; Empty set (0.01 sec) mysql> On 15.11.19 15:31, volga629 via Users wrote: Hello Everyone, I am trying use in multi domain environment dbalias table, but hit limitation where impossible insert m

[OpenSIPS-Users] dbalias

2019-11-15 Thread volga629 via Users
Hello Everyone, I am trying use in multi domain environment dbalias table, but hit limitation where impossible insert more then one user per domain. opensips=# INSERT INTO dbaliases (alias_username, alias_domain, username, domain) VALUES ('4384783197', 'dev-sip.networklab.tld', '452392',

Re: [OpenSIPS-Users] replace From

2019-11-13 Thread volga629 via Users
pplies for to. Outlook voor iOS <<https://aka.ms/o0ukef>> downloaden *Van:* Users <mailto:users-boun...@lists.opensips.org>> namens volga629 via Users mailto:users@lists.opensips.org>> *Verzonden:* wo

[OpenSIPS-Users] replace From

2019-11-12 Thread volga629 via Users
Hello Everyone, Which way will be correct to replace From with alias. Code # Check valid DID is present alias_db_find("dbaliases", $fu, $avp(from_alias), "r"); xlog("Found DID ~> $avp(from_alias)\r"); if($avp(from_alias)) { uac_replace_from( ,

Re: [OpenSIPS-Users] switch statment

2019-11-12 Thread volga629 via Users
, volga629 via Users wrote: Hello Everyone, Using latest version 3.0.1 can't match switch statement based on $rU. Here are example <https://paste.fedoraproject.org/paste/bFBAnYJYly-5PRSmNPKVtg> Debug output Nov 11 02:16:45 dev1-fr /usr/sbin/opensips[30243]: [MESSAGE] Sending to o

[OpenSIPS-Users] switch statment

2019-11-10 Thread volga629 via Users
Hello Everyone, Using latest version 3.0.1 can't match switch statement based on $rU. Here are example Debug output Nov 11 02:16:45 dev1-fr /usr/sbin/opensips[30243]: [MESSAGE] Sending to outside provider ~> [3845637810] Nov 11