[OpenSIPS-Users] registrar and kv_store

2022-01-11 Thread Alberto
Hi, I'm testing some features I want to implement, my usrloc and registrar configuration look like this: loadmodule "usrloc.so" modparam("usrloc", "db_url", "unixodbc://opensips:opensipsrw@localhost /opensips") modparam("usrloc", "nat_bflag", "NAT") modparam("usrloc", "working_mode_preset",

Re: [OpenSIPS-Users] registrar and kv_store

2022-01-11 Thread Alberto
I'll do that. Thanks On Tue, 11 Jan 2022, 12:42 Liviu Chircu, wrote: > On 11.01.2022 11:50, Alberto wrote: > > > How do I insert values in the kv_store column? > It's easy to use the attr_avp, but I need to store a couple more values > upon registrations and the key-v

[OpenSIPS-Users] Central database

2022-01-16 Thread Alberto
Hi, I need several opensips servers to save usrloc and dialog to the same central database, not for clustering/ha, but for reporting and billing. Is it safe to point multiple usrloc and dialog modules to a central database using the db_url? Or would they cause conflicts? Since it's not a cluster

[OpenSIPS-Users] Python and avp

2022-01-17 Thread Alberto
Hi, I'm using opensips 3.4 and I'm looking to set avp variables from a python script, looking at https://github.com/OpenSIPS/opensips/issues/1893 seems this feature was available from after 3.0. Is there any documentation on how to do it? Thanks ___

Re: [OpenSIPS-Users] mid_registrar TLS

2022-02-10 Thread Alberto
cd_1") modparam("tls_mgm", "ca_list", "[cd_1]/etc/letsencrypt/fullchain.pem") modparam("tls_mgm", "certificate", "[cd_1]/etc/letsencrypt/cert.pem") modparam("tls_mgm", "private_key", "[cd_1]/etc/letsen

[OpenSIPS-Users] mid_registrar and webrtc with asterisk

2022-02-22 Thread Alberto
Hi, I'm back again, I'm trying to get mid_registrar to work with webrtc, but when I use the piece of configuration below asterisk replies with 404. I think it's because asterisk expects the url to be "wss:// 10.0.0.153:8188/ws" But where do I configure such a url in opensips?? Thanks if

Re: [OpenSIPS-Users] registrar and mid_registrar modules

2022-02-14 Thread Alberto
Thanks, I was trying to use the lookup function, overlooked completely is_registered. Note to self: RTFM!!! On Mon, 14 Feb 2022 at 07:10, Bogdan-Andrei Iancu wrote: > Hi Alberto, > > I have to admit you lost me somewhere on the way with what you want to do. > But focusing on your fi

[OpenSIPS-Users] Python functions

2022-03-21 Thread Alberto
Hi lads and ladies, I'm working on a python script called via python_exec, but I can't see any function to do debug logs, except LM_ERR. I tried msg.call_function('log', str("test")) or msg.call_function('xlog', str("test")) but I always get this error: ERROR:python:opensips_LM_ERR: 37,

Re: [OpenSIPS-Users] Python functions

2022-03-23 Thread Alberto
Hi, 3.2 Sorry for not mentioning it earlier On Wed, 23 Mar 2022, 08:22 Răzvan Crainea, wrote: > What OpenSIPS version are you using? > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 3/22/22 01:41, Alberto wrote: > > Hi lads

Re: [OpenSIPS-Users] opensips 3.2 and latest github rtpengine

2022-03-24 Thread Alberto
gine_manage followed by replace_body_all and don't interfere further with the flow Anyway, thanks On Thu, 24 Mar 2022 at 02:33, Artiom Druz wrote: > Hello, Alberto. > You can modify it by using an optional parameter in rtpengine_offer > (sdp_var - > https://opensips.org/html/docs/modules/3.2.

[OpenSIPS-Users] opensips 3.2 and latest github rtpengine

2022-03-23 Thread Alberto
Hi, I'm trying to change the session name, the s= line, while using rtpengine. If I remove rtpengine and do replace_body_all("^s=.*$", "s=abczzz"); it works just fine and I see the new session name in the second leg of the call. But when rtpengine_offer is called, the original sdp body is used

[OpenSIPS-Users] mid_registrar TLS

2022-02-04 Thread Alberto
Hi, I have a sip client connecting to opensips using tls, all requests are then routed to an asterisk server using mid_registrar. UDP to UDP and TCP to TCP work fine, but TLS doesn't. This is the error, but I'm having a hard time understanding it. Feb 4 12:29:32 [3406]

[OpenSIPS-Users] registrar and mid_registrar modules

2022-02-10 Thread Alberto
Hi, I followed pretty much the available tutorials for mid_registrar, but I can't figure out something: I have: loadmodule "registrar.so" modparam("registrar", "attr_avp", "$avp(avp_json)") modparam("registrar", "max_contacts", 1) modparam("registrar", "tcp_persistent_flag",

Re: [OpenSIPS-Users] Central database

2022-01-18 Thread Alberto
erto, > > It is not a good strategy to blindly share the tables for usrloc or dialog > between multiple opensips instances, as this will lead to data conflicts. > Of course, you can have all pointing to the same DB, but one table per > opensips server. > > If you want to aggrega

[OpenSIPS-Users] rest_post logs

2023-09-01 Thread Alberto
Hi, Is there a way to turn off logs for rest_post requests? This is my log settings: log_level=-1 xlog_level=-1 log_stdout=yes log_stderror=yes log_facility=LOG_LOCAL0 This is the type of output I want to suppress: Sep 01 13:31:48 opensips opensips[59740]: > POST /api/opensips/doit HTTP/1.1 Sep

[OpenSIPS-Users] sip info dtmf

2023-09-08 Thread Alberto
Hi, I'm using opensips 3.2 and can't find any way to get this working. Can someone help me complete this code? I had a look at textops, but I don't see any function that can extract a regex matched group. Thanks if (is_method("INFO") && $hdr(Content-Type) == "application/dtmf-relay") {

Re: [OpenSIPS-Users] rest_post logs

2023-09-19 Thread Alberto
question, but I didn't know if I should have done that via mail. On Tue, 19 Sept 2023 at 09:57, Bogdan-Andrei Iancu wrote: > HI Alberto, > > What OpenSIPS version do you have? > > And are those the only log lines you get ? > > Regards, > > Bogdan-Andrei Iancu > &g

Re: [OpenSIPS-Users] Billing And Invoicing for Opensips 3.0

2022-04-18 Thread Alberto
Stay the hell away from astpp, version 4 it's so full of bugs you won't believe it. Maybe cdrtools? On Mon, 18 Apr 2022, 08:00 HS, wrote: > Hi all. > > I am looking to add billing + invoicing to the setup. Came across CGrates > for rate cards etc, but is there a billing + invoicing setup that

Re: [OpenSIPS-Users] Billing And Invoicing for Opensips 3.0

2022-04-18 Thread Alberto
If you need just pdf bills and reports you could use a jasper server. If you need to manage invoices and payments I don't know, but let me know if you find something decent. I landed on astpp a couple of years ago and regret it ever since. On Mon, 18 Apr 2022, 10:32 HS, wrote: > Thanks Albe

[OpenSIPS-Users] Dispatcher module and partition

2022-10-19 Thread Alberto
Hi, I'm using opensips 3.3.1 and I have a question about the dispatcher module. Can I set different ds_ping_from, ds_ping_method, ds_probing_mode, and ds_ping_interval per partition? Thanks ___ Users mailing list Users@lists.opensips.org

[OpenSIPS-Users] rtpengine session-name

2022-10-21 Thread Alberto
Hi, I'm using opensips 3.3.1 with rtpengine, but I don't see replace-session-name. Is this flag implemented? Thanks A ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] mid_registrar and vpn and nat

2022-12-13 Thread Alberto
Hi, I have a problem with a vpn setup, not really nat, or maybe it's nat... The setup I have is: Phone - openvpn - opensips - public internet - asterisk openvpn subnet: 10.0.0.0/24 openvpn server: 172.172.0.2/24 opensips server: 172.172.0.10/24 In my configuration I have: loadmodule

[OpenSIPS-Users] python module

2023-03-30 Thread Alberto
Hi, I'm curious, since python_exec only accepts one extra parameter, how do you guys pass multiple variables to a python function? I personally do this: $json(args) := "{}"; $json(args/param0) = "sdifuhsidfg"; $json(args/param1) = "asfagfgf"; $json(args/param2) = "asfergerghdf";

[OpenSIPS-Users] ACC module for rejected calls

2023-04-03 Thread Alberto
Hi, I'm trying to understand the ACC module, using this minimal configuration below. My question is: why is there no cdr created? I would have assumed that `do_accounting("log", "cdr|missed|failed");` always saves cdrs, but it doesn't when the call is rejected from inside the configuration

Re: [OpenSIPS-Users] ACC module for rejected calls

2023-04-03 Thread Alberto
Thanks I tried both sl_send_reply and send_reply, but I didn't see t_reply. That was it. On Mon, 3 Apr 2023 at 22:40, Daniel Zanutti wrote: > Hi Alberto > > You are correct, this is the line you need. > > I think you need a created transaction. Since you are responding in >

[OpenSIPS-Users] cluster configuration for dialogs

2023-05-02 Thread Alberto
Hi, do you ever get the feeling you are going nuts? Anyways... I have 2 opensips servers, both version 3.2.12, on debian 11 they both share the same configuration, and start opensips using m4 as follows: `opensips -F -f /etc/opensips/opensips.cfg -p "m4 /etc/opensips/env.m4 -"` m4

Re: [OpenSIPS-Users] Call fetch_dlg_value inside a timer route

2023-05-17 Thread Alberto
This reminded me of something else, maybe it can be used here too: In a event route, before you can use dialog variables, you have to load the dialog context by using func_load_dialog_ctx. Maybe it's the same with timer routes. https://opensips.org/docs/modules/3.2.x/dialog#func_load_dialog_ctx

[OpenSIPS-Users] Mediaproxy 2.3.4 on 1 machine

2009-05-21 Thread Alberto Listas
Hi, I am trying to install a test system with OpenSIPS and Mediaproxy to use FreeRadius and CDRTool. Can 2.3.4 run dispatcher and relay on the same machine? Thanks, Alberto ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi

[OpenSIPS-Users] CDRTool - Rating engine does not rate

2009-07-10 Thread Alberto Listas
, there is a rate for destination 31650. But the rating engine does find any. Anybody has a suggestion??? Thanks, Alberto ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] CDRTool - Rating engine does not rate

2009-07-13 Thread Alberto Listas
I did not see an error in the import. But I also solved the problem adding a profile for grn_premium. Thanks, Alberto - Original Message - From: bay2x1 r...@racequeen.ph To: users@lists.opensips.org Sent: Monday, July 13, 2009 2:05 AM Subject: Re: [OpenSIPS-Users] CDRTool - Rating engine

[OpenSIPS-Users] CDRTool does not identify by IP origin from OpenSips

2009-07-21 Thread Alberto Listas
Hi, I am having a difficulty with the rating in CDRTool. When I telnet and give this command: ShowPrice From=sip:005521810...@10.0.0.4 To=sip:00552181000...@10.0.0.1 Gateway=10.0.0.4 Duration=30 (IPs where changed) The rating engine identifies the customer by the gateway and rates correctly.

Re: [OpenSIPS-Users] CDRTool does not identify by IP origin from OpenSips

2009-07-22 Thread Alberto Listas
profile instead. Anyway, Thanks for your help, now it can rate by IP. Cheers, Alberto - Original Message - From: DanB To: Alberto Listas Cc: users@lists.opensips.org Sent: Wednesday, July 22, 2009 4:23 AM Subject: Re: [OpenSIPS-Users] CDRTool does not identify by IP

[OpenSIPS-Users] CDRTool - Prepaid does not decrement balance

2009-07-31 Thread Alberto Listas
not install Call Control yet because it's not very important that I stop calls on the fly. Could that be the problem? Thanks in advance for any suggestions, Alberto _ os1:~# telnet os2 9024 Trying XXX.XXX.197.172... Connected

[OpenSIPS-Users] BYE does not work / Opensips stops working

2009-11-10 Thread Alberto Listas
, could someone please check my config below. Thanks, Alberto ### Global Parameters # debug=3 log_stderror=no log_facility=LOG_LOCAL0 fork=yes children=4 /* uncomment the following lines to enable debugging */ #debug=6 #log_stderror=yes /* uncomment the next line to disable TCP

[OpenSIPS-Users] CDRTool/Radius Problem

2009-11-19 Thread Alberto Listas
Hi, I am installing Opensips v 1.6.0, MediaProxy v 2.3.9 and CDRTool v 6.9.9 on a test system. When a call finishes I get an error in the Opensips log: Nov 19 20:37:58 os4 media-dispatcher[9116]: error: failed to send radius accounting record: 'Sip-From-Tag' And Nothing gets added to the

Re: [OpenSIPS-Users] CDRTool/Radius Problem

2009-11-20 Thread Alberto Listas
'NWFiYTY4NWVmYWZlNjc4OTYyNWMxZWMwZWZlZjIw$ Fri Nov 20 18:14:31 2009 : Error: rlm_sql_mysql: Cannot store result And this increments the KBIn and KBOut in CDRTool It looks like the radiusclient-ng is sending the same record more than 100 times !!! I am going to post this as another issue. Thanks, Alberto - Original

[OpenSIPS-Users] Radius repeats the record to CDRTool/Radius

2009-11-20 Thread Alberto Listas
Hi All, When I make a call opensips sends the radius info to freeradius without any indication of error. But a strange thing happens, when I look at the radius.log in the freeradius server I get between 2 and 100 times these repeated messages: Fri Nov 20 18:14:31 2009 : Error: rlm_sql_mysql:

[OpenSIPS-Users] Opensips AAA / Radius Question

2009-11-21 Thread Alberto Listas
entry 'ZDVjNmFiZjU5NzA3MWQ4N2E3MWI2MjhiYmE1NmY1N2M.-as2080e7aa-f5066f05' for key 'sess_id'' Am I doing something wrong or is this the right behavior? Thanks, Alberto ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin

Re: [OpenSIPS-Users] (Solved) Opensips AAA / Radius Question

2009-11-21 Thread Alberto Listas
message but getting multiple replies. Just to document in case someone does this by mistake. Thanks, Alberto - Original Message - From: Alberto Listas To: users Sent: Saturday, November 21, 2009 11:21 AM Subject: [OpenSIPS-Users] Opensips AAA / Radius Question Hi, I am

Re: [OpenSIPS-Users] CallControl - CDRTool : MySQL server has goneaway (2006)

2009-12-04 Thread Alberto Listas
Hi, I am having this same problem. Has someone found a solution? Thanks, Alberto - Original Message - From: Adrian Georgescu a...@ag-projects.com To: OpenSIPS users mailling list users@lists.opensips.org Sent: Sunday, October 04, 2009 7:35 AM Subject: Re: [OpenSIPS-Users] CallControl

[OpenSIPS-Users] OpenSips and Ekiga

2013-06-03 Thread Alberto Ayala
Hello subscribers I'm trying to integrate OpenSips and Ekiga I was able to install using EPEL packages in a CentOS 5.x machine opensips mysql is working. (I create two users for testing purpouse) when I login to the server using ekiga (sip server I see my status as register) and when I try to

Re: [OpenSIPS-Users] topology hiding in opensips

2017-01-24 Thread Alberto Gonzales
> dialog support. But give it a try...if you get a trace, I can check if ok. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 01/24/2017 02:03 PM, Alberto Gonzales wrote: > > Thanks Bogdan, Well, I have fix

Re: [OpenSIPS-Users] topology hiding in opensips

2017-01-24 Thread Alberto Gonzales
lunch time here, gracias khalil. On Tue, Jan 24, 2017 at 1:02 PM, Khalil Khamlichi < khamlichi.kha...@gmail.com> wrote: > sorry : > > # record routing >record_route(); > ># create dialog with timeout >if ( !create_dialog("B") ) { >

[OpenSIPS-Users] topology hiding in opensips

2017-01-20 Thread Alberto Gonzales
what could be a quick test to see if this hiding is working or not. thanks in advance. Alberto ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] topology hiding in opensips

2017-01-20 Thread Alberto Gonzales
I forgot to mention that doing this resulted in opensips crashing after 20 minutes :) On Fri, Jan 20, 2017 at 9:56 AM, Alberto Gonzales <albertosgonz...@gmail.com > wrote: > Hello grupo, > > We have configured topology hiding in opensips 2.2 this way : > > please confirm t

Re: [OpenSIPS-Users] topology hiding in opensips

2017-01-20 Thread Alberto Gonzales
ong with nathelper ? thanks in advance. On Fri, Jan 20, 2017 at 10:14 AM, Alberto Gonzales < albertosgonz...@gmail.com> wrote: > I forgot to mention that doing this resulted in opensips crashing after 20 > minutes :) > > On Fri, Jan 20, 2017 at 9:56 AM, Alberto Gonzales < >

[OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Cesar Alberto Rodriguez Fierro
Hi ! I am currently working in a project related with display in real time the active calls of our VoIP traffic, I would like to get the active sip-calls from a Kamailio Sip Server (running opensips), is there any way to obtain this information. Best Regards. [image: Inline image 1] |Cesar

Re: [OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Cesar Alberto Rodriguez Fierro
>> user_flags:: 0 >> timestart:: 0 >> timeout:: 0 >> ... >> dialog:: hash=640:1695114669 >> state:: 4 >> ... >> >> Check if modules are successfully loaded. >> >> Regards >> >> On Wed, Jul 27, 2016

Re: [OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Cesar Alberto Rodriguez Fierro
t; > > Regards. > > > > RODRIGO PIMENTA CARVALHO > Inatel Competence Center > Software > Ph: +55 35 3471 9200 RAMAL 979 > > > -- > *De:* users-boun...@lists.opensips.org <users-boun...@lists.opensips.org> > em nome de Cesar

[OpenSIPS-Users] OpenSIPS on Cloud (AWS or Azure)

2023-01-30 Thread Andrés Alberto Lavariega Castellanos
I'm trying to install OpenSips on Digital Ocean's server, if the service has a public IP I think I should have no problem. [cid:image001.png@01D92160.8422F200] Andres Lavariega Back End VoIP [cid:image002.png@01D92160.8422F200] 5579192214