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

2021-10-06 Thread volga629 via Users
t_check_status("200")) {     drop();     }     }    # mark first INVITE     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
t_check_status("200")) {     drop();     }     }    # mark first INVITE     if(is_method("INVITE|UPDATE") && t_check_status("200")) {   

Re: [OpenSIPS-Users] MOH / rtpengine

2021-08-09 Thread volga629 via Users
try use from-tag parameter, address (media address from the SDP), SRTP flags volga629 On 8/9/21 3:19 AM, Miha via Users wrote: Hi when call is being trasfered to another number MS Teams

Re: [OpenSIPS-Users] mid_registrar lookup

2021-04-06 Thread volga629 via Users
. volga629 On 3/30/21 7:01 AM, Liviu Chircu wrote: On 26.03.2021 17:57, volga629 wrote: Hello Liviu, I want file report on it. I have wireshark screenshot which shows exact issue. Initial INVITE lookup is

Re: [OpenSIPS-Users] mid_registrar lookup

2021-03-26 Thread volga629 via Users
   $var(src_socket) = "tcp" + ":" + $avp(req_ip) + ":" + "5084";     }             $socket_out = $var(src_socket);     xlog("[RELAY] [$rm] sending call ~> $ru over $socket_out for $ci\n");     if(!t_relay()) {   

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

Re: [OpenSIPS-Users] mid_registrar lookup

2021-03-24 Thread volga629 via Users
Server     } else if(!isflagset("FLAG_BRIA_PUSH")) {     xlog("[RELAY] [$rm] didn't match R-URI schema [$ru] correcting\n");     $ru = "sip:" + $tU + "%40" + $td + "@" + $td;

[OpenSIPS-Users] mid_registrar lookup

2021-03-23 Thread volga629 via Users
device send CANCEL, but ACK again is sent to  first device with CANCEL , but not second. Is there are way tweak mid registrar lookup ? volga629. ___ Users mailing list Users@lists.opensips.org

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

2021-03-23 Thread volga629 via Users
f("Expires");     append_hf("Expires: 7200\r\n");     } volga629 On 3/23/21 12:46 PM, Ricardo Martinez wrote: Hi. I’m still unable to understand why the REGISTER is not using the outgoing_expire. First. It&#x

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

2021-02-12 Thread volga629 via Users
later on to ask. volga629   On 2/11/21 12:45 PM, Callum Guy wrote: Thanks for that Vlad, I always learn something from these article releases and this was no exception 🐺 On Thu, 11 Feb 2021 at 12:35, Vlad Patrascu wrote

Re: [OpenSIPS-Users] dispatcher cluster

2021-02-04 Thread volga629 via Users
responsible for ping. Also I disabled cluster operation on both 41 and 61 completely to test and dispatcher rock solid where I see ping from each node, but that expected. volga629. On 2/4/21 10:51 AM, Răzvan Crainea wrote: Hi

Re: [OpenSIPS-Users] opensips dialplan regex

2021-02-02 Thread volga629 via Users
Hello Johan, Huge thank you that resolve the issue. volga629 On 2/2/21 12:58 PM, Johan De Clercq wrote: if your _expression_ means : any number of digits, then try something like below

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
]*) Replacement _expression_ \1 Example: fhgg592199477719hh# I see that rule match regex, but rewrite is not happening. Any help thank you. volga629

[OpenSIPS-Users] dispatcher cluster

2021-02-02 Thread volga629 via Users
ns_reply_codes", "501,403,404,400,200") modparam("dispatcher", "ds_probing_list", "1") modparam("dispatcher", "cluster_id", 1) modparam("dispatcher", "cluster_sharing_tag", "vip") Comments: I think in cluster 41 should not do any operation or decisions regard node states and it should rely on 61 only Log: 41 node [root@vprx00 ~]# grep EVENT /var/log/opensips/opensips.log Feb 1 12:44:57 vprx00 /usr/sbin/opensips[250547]: [EVENT_ROUTE] [DISPATCHER] received group=0 ~> address=sip:10.30.100.57:5160 ~> status=inactive Feb 1 12:50:54 vprx00 /usr/sbin/opensips[250545]: [EVENT_ROUTE] [DISPATCHER] received group=0 ~> address=sip:10.30.100.48:5160 ~> status=inactive Feb 1 12:52:15 vprx00 /usr/sbin/opensips[250538]: [EVENT_ROUTE] [DISPATCHER] received group=0 ~> address=sip:10.30.100.49:5160 ~> status=inactive    41 node    Feb  1 14:24:49 vprx00 /usr/sbin/opensips[250540]: DBG:dispatcher:w_ds_select: ds_select: 1 1 1000 1    Feb  1 14:24:49 vprx00 /usr/sbin/opensips[250540]: DBG:dispatcher:ds_select_dst: no active destinations in set [1] ! volga629.   ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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 lik

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:

Re: [OpenSIPS-Users] string comparison

2020-04-24 Thread volga629 via Users
connection $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)

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
Yes, I set all to avp volga629 On 4/23/20 11:44 AM, Ivailo Dobrev wrote: Hi Volga Maybe I'm missing something but "if($avp(tls-frompbx)==$var(usr_check_tls))" !!! AVP = VAR !!! In xlog both vars are AVP. On 4/23/20 5:31 PM, volga629 wrote: Hello Ivailo, I tested md5

Re: [OpenSIPS-Users] string comparison

2020-04-23 Thread volga629 via Users
sips[12583]: OnReply_Route3: [INVITE] [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 pr

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 grou

[OpenSIPS-Users] string comparison

2020-04-23 Thread volga629 via Users
original transport [tls_201] and checked transport [tls_201] Any help thank you volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] ms teams ACK

2020-04-19 Thread volga629 via Users
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 Clercq wrote

Re: [OpenSIPS-Users] ms teams ACK

2020-04-18 Thread volga629 via Users
a22;Call Controller timed out while waiting for acknowledgement." CONTACT: CONTENT-LENGTH: 0 USER-AGENT: Microsoft.PSTNHub.SIPProxy v.2020.4.13.7 i.ASSE.3 ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY volga629 On 4/

Re: [OpenSIPS-Users] ms teams ACK

2020-04-18 Thread volga629 via Users
posted docs. I accommodated proper rewrite of From/To again based on spec doc in initial request. All those parts based on debug doc. Has to be something changed on Microsoft side. volga629 volga629   On 4/18/20 4:33 PM

Re: [OpenSIPS-Users] ms teams ACK

2020-04-18 Thread volga629 via Users
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: Please

[OpenSIPS-Users] ms teams ACK

2020-04-17 Thread volga629 via Users
ement." In this case ACK come from asterisk box.  Opensips Log: /usr/sbin/opensips[3321]: [IN-DIALOG] [ACK] Contact header ~> [ volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mai

Re: [OpenSIPS-Users] feature request

2020-03-31 Thread volga629 via Users
Hello Răzvan, Thank you. I added to the list. volga629 On 3/31/20 9:23 AM, Răzvan Crainea wrote: Hi, Volga! This looks like a valid feature request. Please open this feature request on our tracker[1], so we can

[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:11 A

[OpenSIPS-Users] uri table

2020-03-20 Thread volga629 via Users
_DB module with: if use_uri_table was set, use db_is_from_authorized("uri") volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-18 Thread volga629 via Users
of ports ? (netstat -paun | grep rtpengine | wc -l)   Regards   De : volga629 Date : lundi 16 mars 2020 à 20:38 À : Alain Bieuzent , OpenSIPS users mailling list

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-17 Thread volga629 via Users
Might dev team can take a look on  ticket under rtpengine https://github.com/sipwise/rtpengine/issues/946 I wonder if any call id rewrites happened. Because I can't make it work properly. vol

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-16 Thread volga629 via Users
unction_call: proxy replied with error: Ran out of ports Mar 16 17:46:40 Proxy /usr/sbin/opensips[11365]: ERROR:rtpengine:rtpe_function_call: proxy replied with error: Unknown call-id volga629 On 3/15/20 9:04 AM, Alain Bieuzent wrote: Hi,

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-16 Thread volga629 via Users
]: ERROR:rtpengine:rtpe_function_call: proxy replied with error: Unknown call-id volga629 On 3/16/20 7:30 AM, volga629 wrote: Thank you all for the answer. I made the following changes . Rtpengine  config

Re: [OpenSIPS-Users] opensips + rtpengine

2020-03-16 Thread volga629 via Users
ure("media_delete_route"); } failure_route[media_delete_route] {     if(is_method("INVITE") && t_check_status("[56][0-9][0-9]|408|[60][0-9][0-9]")) {     xlog("Call with Reply [$rs]

[OpenSIPS-Users] opensips + rtpengine

2020-03-13 Thread volga629 via Users
OS of callee is $(rtpstat(MOS-average)[$tt])\r\n");     xlog("Min MOS of caller is $(rtpstat(MOS-min)[$ft]) reported at $(rtpstat(MOS-min-at)[$ft])\r\n");     }

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.open

[OpenSIPS-Users] opensips cli centos 7

2020-03-03 Thread volga629 via Users
li-0.1-1.noarch (opensips-cli-release)    Requires: python3-pyOpenSSL Error: Package: opensips-cli-0.1-1.noarch (opensips-cli-release)    Requires: python3-mysql volga629 ___ Users mai

Re: [OpenSIPS-Users] opensips lua

2020-01-27 Thread volga629 via Users
Hello Razvan, Ticket <https://github.com/OpenSIPS/opensips/issues/1946> volga629. On Mon, Jan 27, 2020 at 10:31, Răzvan Crainea wrote: Please open a ticket with this issue, as this seems to be a regression during porting to lua 5.2/5.3. In the meantime, please continue using lua5.1.

Re: [OpenSIPS-Users] opensips lua

2020-01-24 Thread volga629 via Users
iplua 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, vol

[OpenSIPS-Users] flags

2020-01-21 Thread volga629 via Users
21 23:16:55 [11734] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:402:25-26: bad arguments for command volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] opensips lua

2020-01-19 Thread volga629 via Users
Hello Vlad, Thank you for pointing out. I adjusted as following and it resolve the issue if sys.argv[2] == "encode": print(encoding().strip()) elif sys.argv[2] == "decode": print(decoding().strip()) elif sys.argv[2] == "test": print(testing().strip())

Re: [OpenSIPS-Users] opensips lua

2020-01-14 Thread volga629 via Users
pensips-solutions.com/> 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>

Re: [OpenSIPS-Users] opensips lua

2020-01-13 Thread volga629 via Users
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
at show me that opensips keep device open. volga629 On Sat, Jan 4, 2020 at 17:35, Bogdan-Andrei Iancu wrote: You should see some DBG log with "opening modem" - this is the very beginning of the modem init sequence. Try to grab all the logs (from the same proc) starting with t

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/

Re: [OpenSIPS-Users] proto smpp inbound

2020-01-04 Thread volga629 via Users
OR15172 Bind failed [[Failure instance: Traceback (failure 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,

Re: [OpenSIPS-Users] gsm modem SMS module

2020-01-04 Thread volga629 via Users
*1>: Modem Identifier: ATI -- Manufacturer: ZTE INCORPORATED ttyUSB2<*1>: Speed 9600: AT -- OK ttyUSB2<*1>: Max speed is 9600; that should be safe. ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK Found a modem on /dev/ttyUSB1. Modem configuration written to /etc/

Re: [OpenSIPS-Users] gsm modem SMS module

2020-01-04 Thread volga629 via Users
/opensips[20542]: INFO:sms:put_command: Modem is not clear to send Jan 4 12:01:07 sms /usr/sbin/opensips[20542]: WARNING:sms:initmodem: Modems seems to try to reach the network! Let's wait a little bit Is this modem locked ? volga629 On Sat, Jan 4, 2020 at 16:54, Bogdan-Andrei Iancu wrote

[OpenSIPS-Users] proto smpp inbound

2020-01-03 Thread volga629 via Users
d How to load server connections ? volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[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 -> ripping

[OpenSIPS-Users] opensips lua

2019-12-13 Thread volga629 via Users
\n") return AVP_set("test-str", cmd_var) Any help thank you volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] opensips lua

2019-12-06 Thread volga629 via Users
ua script ? AVP_set(msg, name, value) volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] SHAKEN/STIR

2019-12-03 Thread volga629 via Users
Thank you reply, so any bad actor can't use as example with self sign certificates ? So digital signature must be produced from well known authorized CA certificate key pair ? Can you point on one of the well know CA authority which authorized for SHAKEN/STIR. volga629 On Tue,

[OpenSIPS-Users] SHAKEN/STIR

2019-12-02 Thread volga629 via Users
authorize it ? STIR is using digital signature with calling party info is this enough ? volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] OpenSIPS @ SIPNOC 2019

2019-11-26 Thread volga629 via Users
t;/stir_certs/ca_list.pem") ... volga629 On Tue, Nov 26, 2019 at 14:31, Bogdan-Andrei Iancu wrote: Hi All On 5th of December, I will talk at <https://www.linkedin.com/feed/hashtag/?highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6605066211233460224&keywords=%23sipnoc2019&origin

[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 http://lists.opensips.o

Re: [OpenSIPS-Users] dbalias

2019-11-15 Thread volga629 via Users
baliases_alias_idx" UNIQUE CONSTRAINT, btree (alias_username, alias_domain) "dbaliases_target_idx" btree (username, domain) volga629 On Fri, Nov 15, 2019 at 15:52, johan wrote: That's odd : the primary key is on index and there are

[OpenSIPS-Users] dbalias

2019-11-15 Thread volga629 via Users
.tld', '452392', 'dev-sip.networklab.tld'); ERROR: duplicate key value violates unique constraint "dbaliases_alias_idx" We use PgSQL 10 Any help thank you volga629 ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] replace From

2019-11-13 Thread volga629 via Users
Thank you for reply, You referring to ticket <https://github.com/OpenSIPS/opensips/issues/1778> volga629 On Wed, Nov 13, 2019 at 10:47, Răzvan Crainea wrote: Johan is right, there's currently no way the SMPP module sees the changes in the script. But you can open a feature reque

[OpenSIPS-Users] replace From

2019-11-12 Thread volga629 via Users
O: destination number Nov 13 01:13:18 dev1-fr /usr/sbin/opensips[5217]: DBG:proto_smpp:send_submit_or_deliver_request: MESSAGE: Hello type = 65537 Any help thank you. volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] switch statment

2019-11-12 Thread volga629 via Users
Thank you fixed. volga629 On Mon, Nov 11, 2019 at 10:00, Răzvan Crainea wrote: Hi, Volga! Switch statements don't work with regular expressions, only with string and int comparison. If you need to do regex matching, you need to use multiple ifs. Best regards, Răzvan On 11/11/19 3:

[OpenSIPS-Users] switch statment

2019-11-10 Thread volga629 via Users
number Any help thank you volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] smpp error from volga629 bug #1728

2019-07-12 Thread volga629
Hello Johan, I was working with Razvan, on fixes in proto_smpp, please follow updates in ticket. volga629 On Fri, Jul 12, 2019 at 7:49 AM, johan de clercq wrote: Volga, Can you please provide a backtrace ? The reason that I request is that I have to put proto_smpp also in production

Re: [OpenSIPS-Users] tls_mgm

2018-09-07 Thread volga629
17:15:01 vprx00 /usr/sbin/opensips[30576]: ERROR:core:main: error while initializing modules Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: INFO:core:cleanup: cleanup volga629 On Fri, Sep 7, 2018 at 10:19 AM, Vlad Patrascu wrote: Hi Volga, You are probably getting these errors because you

[OpenSIPS-Users] tls_mgm

2018-08-31 Thread volga629
ps/modules/] Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain name Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config file /etc/opensips/opensips.cfg, line 212, column 18-19: Parameter not found in module - can

Re: [OpenSIPS-Users] dialog replication

2018-08-30 Thread volga629
Hello Bogdan, Yes, Razvan identified issue where $fs wasn't set properly. I fixed this on script level not sure if this clean solution. https://paste.fedoraproject.org/paste/lIzEh5Q1vd4XePW6oUgC2g any insight thank you. volga629 On Thu, Aug 30, 2018 at 1:20 PM, Bogdan-Andrei Iancu

[OpenSIPS-Users] dialog replication

2018-08-28 Thread volga629
Hello Everyone, What possible cause that dialog is removing Record-Route for second interface, that cause send call to WAN instead the LAN. https://paste.fedoraproject.org/paste/XsqlLhO0CYteE3APcVkKpw route { if(!has_totag() && is_method("INVITE")) { create_dialog();

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-24 Thread volga629
small correction need change force_send_socket($var(src_socket)); to $fs = $var(src_socket); , becuse force_send_socket is not accepting variable expansion. volga629 On Fri, Aug 24, 2018 at 1:52 PM, volga...@networklab.ca wrote: Hello Ben, Thank you, that works. I though as final soultion

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-24 Thread volga629
$var(ip_lst) = $shv(vip_wan_lst); route(SET_SOURCE_IP); $var(src_socket) = "udp" + ":" + $var(src_ip) + ":" + "5060"; force_send_socket($var(src_socket)); } t_relay(); } volga629 On Fr

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-24 Thread volga629
9.234.43.4") $avp(arr) = $shv(vip_lan_lst); $var(i) = 0; while($var(i) < $(avp(arr){csv.count})) { xlog("L_INFO", "Testing SHV ~> $(avp(arr){csv.value,$var(i)}{re.subst,/;/,/})"); $var(i) = $var(i) + 1; } b

Re: [OpenSIPS-Users] dialog replication

2018-08-22 Thread volga629
Yes, I appied vips on wan and no more messages. volga629 On Tue, Aug 21, 2018 at 5:33 AM, Liviu Chircu wrote: Hi Volga, The "sip_addr" column of the opensips.clusterer table is only relevant with federated usrloc, and adding the public VIPs won't affect the cluster. O

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-21 Thread volga629
Hello Ben, All what I am trying is introduce $shv(lan_lst) for lan vips and $shv(wan_lst) for wan vips, originaly you idea. My issue is how get define the list and how to get through all ips in list as example for filter if($Ri==$shv(lan_lst) && $avp(DLG_dir)=="topbx") {

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-21 Thread volga629
vips internal and external variables like VIP-INT list internal and VIP-EXT list so will be possible dynamically use it in script. volga629 On Tue, Aug 21, 2018 at 12:19 PM, volga...@networklab.ca wrote: Hello Ben, The script bellow is to find the way define vips in variable so if fai

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-21 Thread volga629
Hello Ben, The script bellow is to find the way define vips in variable so if failover happends on keepalived script can process traffic and set proper vips (source ip) volga629. On Tue, Aug 14, 2018 at 4:38 PM, Ben Newlin wrote: Volga, I must be misunderstanding. If you are able to

Re: [OpenSIPS-Users] dialog replication

2018-08-18 Thread volga629
Hello Liviu, If I will add 3 vips on public interfaces how to add them into database clusterer tabe, right now in sip_addr column is defined lan vips for each node. volga629 On Fri, Aug 17, 2018 at 12:27 PM, volga...@networklab.ca wrote: Thank you for reply. The point in same vm with two

Re: [OpenSIPS-Users] dialog replication

2018-08-17 Thread volga629
Thank you for reply. The point in same vm with two network interfaces one pubic ip and one private. volga629 On Fri, Aug 17, 2018 at 12:10 PM, Liviu Chircu wrote: Dialog replication is _built_ to work with VIPs. If you are not using VIPs, you will only be able to share dialog profiles [1

Re: [OpenSIPS-Users] cluster presence

2018-08-16 Thread volga629
Hello Bogdan, Possible it releated to issue https://github.com/OpenSIPS/opensips/issues/1443 We use PgSQL too. volga629 On Thu, Aug 16, 2018 at 1:12 AM, volga...@networklab.ca wrote: Hello Bogdan, I was monitoring and trasfered config to dev machine where 0 load or connection and it look

Re: [OpenSIPS-Users] dialog replication

2018-08-16 Thread volga629
Hello Liviu, Please see the design diagram https://www.dropbox.com/s/od0z7wacc2yu3rr/opensips-cluster-design.pdf?dl=0 The error producing on public interface where are no vips only round robin DNS A record. volga629 On Thu, Aug 16, 2018 at 5:20 AM, Liviu Chircu wrote: Hi Volga, The 2.4

[OpenSIPS-Users] dialog replication

2018-08-15 Thread volga629
t;, "caller ; domain") modparam("dialog", "dialog_replication_cluster", 1) modparam("dialog", "profile_replication_cluster", 1) modparam("dialog", "dlg_sharing_tag", "vip1=active") volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] opensips crash

2018-08-15 Thread volga629
startup_done = 0x0 chd_rank = 18 #7 main (argc=, argv=) at main.c:1400 cfg_stream = c = -1 r = tmp = 0x7fff41709efd "" tmp_len = port = proto = protos_no = options = 0x5626b387e098 "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g

Re: [OpenSIPS-Users] opensips crash

2018-08-15 Thread volga629
178} pid = __FUNCTION__ = "tcp_start_processes" #7 0x55e7c1c9f7f4 in main_loop () at main.c:760 startup_done = 0x0 chd_rank = 46 #8 main (argc=, argv=) at main.c:1400 cfg_stream = c = -1 r = tmp = 0x7ffd0b05eefd ""

Re: [OpenSIPS-Users] cluster presence

2018-08-15 Thread volga629
ow 113380 ms), delaying execution Jun 30 23:14:36 aitossbc02 /usr/sbin/opensips[9376]: WARNING:core:utimer_ticker: utimer task already scheduled 5880 ms ago (now 113380 ms), delaying execution Also that not affecting call or call quality. Only filling up logs. volga629 On Thu, Jun 14, 2018 at 6:48

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-14 Thread volga629
); > should > have correct ip's. Same with rtpengine offer > rtpengine_offer("replace-origin replace-session-connection > in-iface=external out-iface=internal > media-address=$avp(media_addr) > RTP/AVP ICE=remove") where nee

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-14 Thread volga629
de 1. All sessions should be process on node 1 and append_hf("Path: \r\n"); should have correct ip's. Same with rtpengine offer rtpengine_offer("replace-origin replace-session-connection in-iface=external out-iface=internal media-address=$avp(media_addr)

Re: [OpenSIPS-Users] mid_registrar work arround

2018-08-02 Thread volga629
u exapand on m4 ? I never used the templating. Might db avp to predefine cluster nodes vip ip, not sure. volga629 On Thu, Aug 2, 2018 at 10:50 AM, Liviu Chircu wrote: Hi Volga, If I understood your problem correctly, one idea would be to use m4 over opensips.cfg and define a different MAIN_

[OpenSIPS-Users] opensips crash

2018-07-26 Thread volga629
]: INFO:core:shutdown_opensips: process 20(6284) [SIP receiver udp:public_ip_interface:5060 ] terminated, still waiting for 29 more Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]: INFO:core:shutdown_opensips: process 22(6286) [SIP receiver udp:public_ip_interface:5060 ] terminated, still waiting for 28 more volga629

[OpenSIPS-Users] mid_registrar cluster

2018-07-23 Thread volga629
egistrar", "outgoing_expires", 7200) modparam("mid_registrar", "contact_id_param", "ctid") log Jul 23 21:26:06 aitossbc01 /usr/sbin/opensips[28045]: ERROR:core:parse_sip_msg_uri: bad uri Jul 23 21:26:06 aitossbc01 /usr/sbin/opensips[28045]: ERROR:

Re: [OpenSIPS-Users] soket error

2018-07-17 Thread volga629
Hello Everyone, Anybody can give insight ? volga629. On Tue, Jul 10, 2018 at 11:17 AM, Pasan Meemaduma wrote: HI Volga, I haven't used mhomed=1 param, Apologies not sure how to help there. On Tuesday, 10 July 2018, 4:51:12 PM GMT+5:30, wrote: Hello Pasan, The whole issue is mho

Re: [OpenSIPS-Users] soket error

2018-07-11 Thread volga629
[5318]: ERROR:dialog:dlg_replicated_create: Replicated dialog doesn't match any listening sockets Jul 11 10:28:12 aitossbc01 /usr/sbin/opensips[5318]: ERROR:dialog:receive_dlg_repl: Failed to process a binary packet! volga629 On Tue, Jul 10, 2018 at 11:17 AM, Pasan Meemaduma wrote: HI Volg

Re: [OpenSIPS-Users] soket error

2018-07-10 Thread volga629
ich socket to use to send call from correct soure ip ? volga629 On Tue, Jul 10, 2018 at 6:44 AM, Pasan Meemaduma via Users wrote: Hi Volga, Its a very common question about non local address binding in linux. did you set following via sysctl ? net.ipv4.ip_nonlocal_bind=1 On Monday, 9

[OpenSIPS-Users] soket error

2018-07-09 Thread volga629
en=udp:10.100.104.9:5060 vip3 listen=bin:10.100.104.7:5585 bin cluster Any idea what what will be possible cause ? volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] mid_registrar work arround

2018-07-08 Thread volga629
Hello Everyone, I have work around on this issue # Work arround for github issue #1109 append_hf("Path: \r\n" Right now we use 3 node cluster with 3 vips in active/active mode I need some idea how to determine path header listen ip address from 3 vips.

  1   2   >