Re: [OpenSIPS-Users] issues running evi accounting only

2016-04-20 Thread Tito Cumpen
Ionut,

I get this error Apr 20 22:41:38 [5760] ERROR:core:fm_malloc: not enough
free pkg memory (1502776 bytes left), please increase the "-M" command line
parameter!
when I comment :


 #modparam("acc",
 #   "db_url", "http://localhost/mycdr.php)


opensips appears to work fine when I set this param. Any idea why this is
happening?

On Fri, Apr 8, 2016 at 7:20 AM, Ionut Ionita 
wrote:

> Hi Tito,
>
> What's the error you get?
>
> Regards,
>
> --
> Ionut Ionita
> OpenSIPS Developer
>
>
>
> On 04/07/2016 03:33 AM, Tito Cumpen wrote:
>
> Group,
>
> I am having issues running the lastest opensips 2.2 from head if i chose
> to run acc with evi only.
>
> If I don't define acc db  like this :
>
> modparam("acc",
> "db_url", "mysql://opensips:opensips@localhost/opensips")
>
> opensips complains about:
>
> do_accounting("evi", "missed");
>
> Is it possible to run acc with only evi?
>
>
> acc events are working as expected. Just want to remove the necessity to
> store acc info in mysql.
>
>
>
> Thanks,
> Tito
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] 487 for SIP forking

2016-04-20 Thread Chen-Che Huang
Dear all,

When a caller cancels a call, OpenSIPS will send the 487 response sent from
the callee to the caller. However, in the case of SIP forking, I find that
OpenSIPS will not send the 487 response to the caller after the caller
cancels the call. Do I need any particular configuration for the SIP forking
case? Any comment is appreciated.

Best regards,
Chen-Che



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/487-for-SIP-forking-tp7602663.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

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


[OpenSIPS-Users] issues with latest head logging

2016-04-20 Thread Tito Cumpen
Group and devs,

I am having issues getting any sort of opensips logs with the latest head
pull git revision: 6c10501
. I am running the new param log_level = 4 but I am seeing opensips log
anything into the specified log facility or the file. Is anyone else seeing
this issue?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Failure cause code in case of transaction timeout

2016-04-20 Thread Alex Balashov

On 04/19/2016 11:29 PM, John Nash wrote:


I am using fr_inv_timer and fr_timer and logging failed transactions,
but in both cases I get request timeout. Can I control this somehow so
that I log "Time out" only in case fr_timer expires and record something
else in case fr_inv_timer?


The best option I can think of is to set a transaction-persistent flag 
of some sort, e.g. using AVPs, to indicate that at least some reply has 
been received in an onreply_route.


http://www.opensips.org/Documentation/Script-CoreVar-2-2#toc2

It then becomes quite easy to logically deduce the circumstances of the 
timeout in a failure_route.


-- Alex

--
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
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


Re: [OpenSIPS-Users] Different Database for accounting

2016-04-20 Thread Pete Kelly
Hi Richard

I think you will also need to create the version table on the MSSQL server.
It will probably only need 1 row for 'acc' with the correct version entered.

Pete

On 14 April 2016 at 13:51, Richard Robson  wrote:

> I'm trying to record ACCounting on a different database to the rest of
> opensips.
>
> Opensips is going to replace a gateway in asterisk which is currently
> recording CDRs to a MSSQL database. the Billing is generated from there.
>
> I'm happy that opensips uses MySQL locally, but would like the
> accounting to be recorded on the MSSSQL server remotely.  Then the
> billing platform can consolidate the CDRs from the MSSQL database and
> bill our customers as on the current platform
>
> When I set ACC to use unixODBC i get an error as per below. It looks
> like it wants to find the Version table, but this is on the Mysql server
> and not the MSSQL server.
>
> Is what I'm trying to do possible or would I be better exporting billing
> information from the MySQL DB to MSSQL database outwith opensips?
>
> Apr 14 12:44:51 gl-sip-01 /usr/sbin/opensips[26870]:
> ERROR:db_unixodbc:db_unixodbc_submit_query: rv=-1. Query= select
> table_version from version where table_name='acc'
> Apr 14 12:44:51 gl-sip-01 /usr/sbin/opensips[26870]:
> ERROR:db_unixodbc:db_unixodbc_extract_error:
> unixodbc:SQLExecDirect=42S02:1:208:[FreeTDS][SQL Server]Invalid object
> name 'version'.
> Apr 14 12:44:51 gl-sip-01 /usr/sbin/opensips[26870]:
> ERROR:core:db_do_query: error while submitting query - [select
> table_version from version where table_name='acc']
> Apr 14 12:44:51 gl-sip-01 /usr/sbin/opensips[26870]:
> ERROR:core:db_table_version: error in db_query
> Apr 14 12:44:51 gl-sip-01 /usr/sbin/opensips[26870]:
> ERROR:core:db_check_table_version: querying version for table acc
> Apr 14 12:44:51 gl-sip-01 /usr/sbin/opensips[26870]:
> ERROR:acc:acc_db_init: error during table version check
>
> Regards,
>
> --
> Richard Robson
> Greenlight Support
> 01382 843843
> supp...@greenlightcrm.com
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users