is
what I want but I would like to have the attributes loaded at that point.
Many thanks
Mark.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Best Regards:
Marcin Groszek
Business Voip Reso
After many attempts I solved the issue by removing :
t_newtran();
from
if (has_totag()) {
and accounting cdr started working.
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
___
Users mailing list
Users
INVITE" record at BYE time
instead of either writing a BYE record, or allowing me to update it
with a few custom fields, one of which would be t_end or something.
Cheers,
Kingsley.
On Thu, 2021-04-08 at 09:17 -0500, Marcin Groszek wrote:
Because you are using dialog that invite entry in a
3f3b3-3ac0-45de-8cb7-f208b2d420d0 | 183 |
+-----+----+--+--+
Am I missing something obvious?
Cheers,
Kingsley.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Because you are using dialog that invite entry in acc table is written at the
time of bye.
I prefer a single entry in acc table for each call, not 2
Best regards:
Marcin Groszek
> On Apr 8, 2021, at 8:15 AM, Kingsley Tart wrote:
>
> Thanks, though that didn't seem to have
After converting cfg from 2.2 to 3.1 acc is not working as expected.
if (has_totag()) {
if (loose_route()) {
if (is_method("BYE")) {
#this is not getting logged at all
.
route[DROUTING] {
do_accounting("db","cdr");
.
local_route {
if (is_method("BYE") && $DLG_dir=="UPSTREAM") {
Is there a way to query cashed dr_rules table?
I know it can be done by avp_db_query("SELECT count(prefix),attrs from
dr_rules where but this will be resource hungry.
--
Best Regards:
___
Users mailing list
Users@lists.opensips.org
I see a WARNING at opensips start/restart : verion 3.1.5
WARNING:drouting:parse_destination_list: destination ID was not found
I check my database and :
dr_rules has a prefix and gwlist shows cr2 ; not #cr2
in dr_carriers I see carrierid cr2 and corresponding gwlist has a gw3
in
6:55 PM, Marcin Groszek wrote:
Centos 7 opensips verion 3.1.5
I attempted to setup drouting restart_persistency but as soon as I add
these 2 lines:
restart_persistency_size = 512
modparam("drouting", "enable_restart_persistency", yes)
opensips does not st
Centos 7 opensips verion 3.1.5
I attempted to setup drouting restart_persistency but as soon as I add
these 2 lines:
restart_persistency_size = 512
modparam("drouting", "enable_restart_persistency", yes)
opensips does not start.
The logs shows:
ERROR:core:rpm_init_mem: could not
, Liviu Chircu wrote:
On 05.11.2021 02:14, Marcin Groszek wrote:
after I changed the ownership of the .restart_persistency.cache to
opensips I was able to start daemon as opensips user.
Is this proper way of doing this or just a poor workaround?
Hi Marcin,
This is an interesting report and although
Version 3.1.5
When signature is generated it appears to be missing ;alg=ES256 after
the info part containing url of a certificate, ppt="shaken" is present
on the end as it should.
Decoded header does contain "alg":"ES256"
--
Best Regards:
Marcin Grosze
be appreciated.
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
, Marcin Groszek wrote:
I have been using v3.1.5 and acc module is not behaving as expected:
do_accounting("db","cdr|failed");
it writes to db on cancel when it hits failure_route[missed_call]
But not on BYE. Is there a document how to troubleshoot acc module
behavior? Can a pr
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 2/16/22 16:53, Marcin Groszek wrote:
I have narrow down to this route that prevents acc from writing
Invite to db,
When I bypass it Invite gets written to db on BYE:
DBG:avpops:ops_dbquery_avps: query [SELECT balance,credit FROM
g for the call?
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 2/16/22 16:53, Marcin Groszek wrote:
I have narrow down to this route that prevents acc from writing
Invite to db,
When I bypass it Invite gets written to db on BYE:
DBG:avpops:ops_dbque
/local/bin/opensips-cli
/usr/bin/timeout -k 5 5 ${OPENSIPSCTL} -x mi flat_rotate 2>&1 >>
/usr/src/cdr.log
any idea what can be happening?
On Sun, Feb 27, 2022 at 4:44 PM Marcin Groszek <mailto:mar...@voipplus.net>> wrote:
You may disregard. I have located the issue.
g. mariadb has
been also upgraded at the same time , but i see all other modules using
same database with no issue.
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
___
Users mailing list
Users@lis
You may disregard. I have located the issue.
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
eloper
http://www.opensips-solutions.com
On 2/20/22 22:58, Marcin Groszek wrote:
An update: Perhaps this will help:
debug of acc successfully written to db:
DBG:dialog:fetch_dlg_value: looking for
DBG:dialog:fetch_dlg_value: var found-> <#006>!
DBG:db_mysql:db_mysql_do_prepared_q
An update: Perhaps this will help:
debug of acc successfully written to db:
DBG:dialog:fetch_dlg_value: looking for
DBG:dialog:fetch_dlg_value: var found-> <#006>!
DBG:db_mysql:db_mysql_do_prepared_query: new query=|insert into acc
on github at
https://github.com/OpenSIPS/opensips/issues/2594 but it went without any
respond.|
|Debug and configuration at the bug report match my results.|
|
|
||
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
___
User
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
___
Users mailing list
Users
Correction : maximum of 15 digits .
On 9/6/2023 7:21 AM, Marcin Groszek wrote:
Your number is to long
E.164 is + [1-9] and {1-14} digits for total of 15 digits NOT
starting with 0
On 9/6/2023 7:16 AM, Mickael Hubert wrote:
Hi all,
I have an issue, when I verify a call with no E164
umber is not in E.164 format:
%.*s\n", num->len, num->s);
return -1;
}
Do you have any help for me please ? I have to validate this format of
dest number.
Thanks in advance
___
Users mailing list
Users@lists.opensip
/issues/3235 and I'm waiting for it.
Meanwhile, I'm looking for a way of restarting particular opensips
process. Is it possible?
--
Best Regards:
Marcin Groszek
Business Phone Service
https://www.voipplus.net
___
Users mailing list
Users@lis
now we use groupid do distinguish between routes. Can
wild card such "cus*" or "carrier*" be used as a wildcard, where
partition names would be cus_1, cus_2, cus3...carrier_1, carrier_2...
Wen we send the call to carrier I wish to search only "carrier*", if
poss
I was able to use $var(matched_partition) and save it to a dialog to be
used in use_next_gw().
Second question remains.
On 9/10/2022 4:36 PM, Marcin Groszek wrote:
drouting module:
use_next_gw() does not allow for wildcard in partition
How do I get a partition name to be used
Well, after some more testing I noticed that dr_partitions does not get
reloaded with "opensips-cli -x mi dr_reload"
How can one reload the content of dr_partitions without restarting
opensips process?
On 10/11/2022 10:19 AM, Marcin Groszek wrote:
opensips 3.1.5
opensips
a dr_reload without all partitions, or perhaps
reload only dr_partitions table?
--
Best Regards:
Marcin Groszek
Business Phone Service
https://www.voipplus.net
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman
t;, "auth_date_freshness", 300)
modparam("stir_shaken", "e164_strict_mode", 0)
#list of root certs for stir / shaken verification
modparam("stir_shaken", "ca_list", "/etc/ssl/sti-ca/sti-ca.pem")
This is on opensips v3.1.11
--------
ou are decoding the ca cert
file from iconectiv.
attached is what we have currently and it works in our production
enviroment.
If the maillist strips out that attachment let me know. You can reach
me directly at jjack...@aninetworks.net
Joseph
------
x5u), $var(cert));
} else {
xlog("--[$ci] Using cached certificate\n");
}
------------
*From:* Users on behalf of Marcin
Groszek
*Sent:* Thursday, January 5, 2023 4:19 PM
*To:* users@lists.opensips.org
*Subject:* Re: [OpenSIPS-Users] st
Yes it is, I sent it to xlog it an it does.
On 1/5/2023 4:45 PM, David Villasmil wrote:
Is $var(cert) actually set? Print it out
On Thu, 5 Jan 2023 at 23:19, Marcin Groszek <mailto:mar...@voipplus.net>> wrote:
Thank you very much. I have the same file, and verification is
PM, Marcin Groszek wrote:
Yes it is, I sent it to xlog it an it does.
On 1/5/2023 4:45 PM, David Villasmil wrote:
Is $var(cert) actually set? Print it out
On Thu, 5 Jan 2023 at 23:19, Marcin Groszek <mailto:mar...@voipplus.net>> wrote:
Thank you very much. I have the
Opensips version 3.1.5
I am having some issues with stir_shaken setup. I am sure this not an
issue with the module, but me.
|stir_shaken_auth works just fine and I am able to sign the calls,
however I was unable to find any document how to use a ca file available
for download at
on CentOS
7 was related to a shared library. OpenSSL I think.
-Jon Abrams
On Fri, Jan 6, 2023, 10:30 AM Marcin Groszek <mailto:mar...@voipplus.net>> wrote:
Thank you for all your help.
My test opensips installation was on CentOS 7 and cert
verification has bee
if you are calculating cost of the each call in the
script.
If not then just use external script to round/modifyduration based on
ms_duration in acc table after the fact.
On 1/23/2024 1:41 PM, tre...@webon.co.za wrote:
On Tue, 2024-01-23 at 09:25 -0600, Marcin Groszek wrote:
If you
the end of the call, then round up and
write to acc table and/or calculate cost of the call.
**
On 1/23/2024 9:01 AM, Marcin Groszek wrote:
use math_ceil
1.4.5. math_ceil(number, result_var)
Truncates a number, always towards +infinity. This means that
ceil(3.2) = 4.0 and ceil(-2
-0600, Marcin Groszek wrote:
$avp(dlg_lifetime) is a read/ write variable and you can change its
value before acc is written.
To round up the duration using minimum billing block and increments
you
need to save them first in to a dialog.
this is the logic I use (opensips 3.1
ble as a variable unless I missed something in the document :)
Regards
Trevor Steyn
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Best Regards:
Marcin Groszek
Busi
.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Best Regards:
Marcin Groszek
Business Phone Service
https://www.voipplus.net
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org
Regards:
Marcin Groszek
Business Phone Service
https://www.voipplus.net
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
h, end.sh connect.sh
On 3/20/2024 5:16 AM, Prathibha B wrote:
No. I want to pass START, CONNECT, END messages from OpenSIPS to
external application.
On Wed, 20 Mar 2024 at 15:42, Marcin Groszek <mailto:mar...@voipplus.net>> wrote:
Well, to execute external command from opensips you ma
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Best Regards:
Marcin Groszek
Business Phone Service
https://www.voipplus.net
___
Users mailing list
Users
45 matches
Mail list logo