Re: [OpenSIPS-Users] CDR not generated on 302 redirect

2022-03-15 Thread Ben Newlin
CDRs are generated for calls based on the dialogs. A call receiving a 302 
Redirect does not establish a dialog so there will be no CDR.

OpenSIPS will generate an accounting record for any transaction if you want it 
to. Please review the documentation of the ACC module [1].

“failed - flag which indicates if the transaction should also be accounted in 
case of failure (status>=300);”

[1] - https://opensips.org/docs/modules/3.2.x/acc.html#func_do_accounting

Ben Newlin

From: Users  on behalf of Saint Michael 

Date: Tuesday, March 15, 2022 at 10:15 AM
To: OpenSIPS users mailling list 
Subject: [OpenSIPS-Users] CDR not generated on 302 redirect
EXTERNAL EMAIL - Please use caution with links and attachments


My new business is to provide 302 Redirect services and Opensips does not 
genrate a CDR for those calls. Other type of calls do generate a record. Is 
this by design or is it a bug?
Every call that goes through Opensips should generate a record.
Any idea about what is going on?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] CDR not generated on 302 redirect

2022-03-15 Thread David Villasmil
Look very carefully at the config. There’s probably somewhere it’s enabled.

Maybe  this
https://github.com/OpenSIPS/opensips/blob/master/examples/acc.cfg might
give you some ideas…

On Tue, 15 Mar 2022 at 14:14, Saint Michael  wrote:

> My new business is to provide 302 Redirect services and Opensips does not
> genrate a CDR for those calls. Other type of calls do generate a record. Is
> this by design or is it a bug?
> Every call that goes through Opensips should generate a record.
> Any idea about what is going on?
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] CDR not generated on 302 redirect

2022-03-15 Thread Alex Balashov

> On Mar 15, 2022, at 10:13 AM, Saint Michael  wrote:
> 
> Every call that goes through Opensips should generate a record. 

Is this just your opinion, or…?

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] CDR not generated on 302 redirect

2022-03-15 Thread Saint Michael
My new business is to provide 302 Redirect services and Opensips does not
genrate a CDR for those calls. Other type of calls do generate a record. Is
this by design or is it a bug?
Every call that goes through Opensips should generate a record.
Any idea about what is going on?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] tlt_mgm module - any way to pass cert/key as parameter for outgoing connection?

2022-03-15 Thread Yury Kirsanov
Hi,
I've got a question, is there any way to pass SSL certificate and key as a
parameter to the tls_mgm module during script execution? For example, first
I do a REST request to our REST API server which returns me all required
parameters including certificate and key. Then I'd like to use this
response as a client certificate for outgoing connection to some
TLS-enabled server. Is there any way to do that? I know I can use DB module
and select a client certificate using avp variable, but that's not
convenient as it requires tls_reload MI command each time the DB is updated.

Thanks and best regards,
Yury.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users