Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gmenarvino

Pages: [1]
1
Asterisk Integration / Extension Report
« on: March 28, 2006, 12:02:21 AM »
Hello, after getting up the system I was strated playing with it.
The problem I have right now is that when you want to get a Report by extensions. On the "Available Extensions"it always appears as Unknown, even if I have several extesions configured in the system.

It also shows in the live calls, unknown... here is what I get from the live calls:
03/28/2006 01:41:24 SIP/600 Unknown/600 00:00:08  700 0.20 O Asterisk-MySQL
 03/28/2006 01:38:24 SIP/600 Unknown/600 00:00:00 ARGENTINA 1560149059  O Asterisk-MySQL
 03/28/2006 01:38:07 SIP/600 Unknown/600 00:00:04 ARGENTINA 91560149059  O Asterisk-MySQL
 03/28/2006 01:36:45 SIP/600 Unknown/600 00:00:17  700 0.60 O Asterisk-MySQL
 03/28/2006 01:35:02 SIP/600 Unknown/600 00:00:18  700 0.60 O Asterisk-MySQL
 03/28/2006 01:31:55 SIP/600 Unknown/600 00:00:00 BUENOS AIRES (ARGENTINA) 1557605383  O Asterisk-MySQL
 03/28/2006 01:31:43 SIP/600 Unknown/600 00:00:03 ARGENTINA 91557605383  O Asterisk-MySQL
 03/28/2006 01:29:59 SIP/600 Unknown/600 00:00:00 BUENOS AIRES (ARGENTINA) 1560149059  O Asterisk-MySQL
 03/28/2006 01:26:44 SIP/600 Unknown/600 00:00:03  1560149059  O Asterisk-MySQL
 03/28/2006 01:23:44 SIP/600 Unknown/600 00:00:00  1560149059  O Asterisk-MySQL
 03/28/2006 01:11:41 SIP/600 Unknown/600 00:00:00  1560149059  O Asterisk-MySQL
 03/28/2006 01:05:50 SIP/600 Unknown/600 00:00:08  72  O Asterisk-MySQL
 03/28/2006 00:57:25 SIP/600 Unknown/600 00:00:15  700  O Asterisk-MySQL


Any ideas how can it could be resolved?

Thanks
Gaston
2
Hello, after taking some time reading the Make File I was able to resolve the issue.

Thanks
3
By the way the file cdr_camate.so that should be there after the installation is not there, so I couldn't use it.
Thanks
4
Hi there!

i was trying to compile the module to get this working for my asterisk@home 2.7 running centOS 4.3 Kernel 2.6.9.34-ELsmp.
After compile it I get:

root@localhost accounting]# gmake
cdr_camate.c: In function `load_config':
cdr_camate.c:181: warning: implicit declaration of function `ast_load'
cdr_camate.c:181: warning: assignment makes pointer from integer without a cast
cdr_camate.c:226: warning: implicit declaration of function `ast_destroy'
cdr_camate.c: In function `cdr_post':
cdr_camate.c:396: warning: int format, long int arg (arg 8)
cdr_camate.c:396: warning: int format, long int arg (arg 9)
cdr_camate.c:396: warning: int format, long int arg (arg 8)
cdr_camate.c:396: warning: int format, long int arg (arg 9)
[root@localhost accounting]#

Then I can see the .so module in the same directory but when I copy it where the modules are located (/usr/lib/asterisk/modules/)
and follow the instruccions of the ducoment I cannot get asterisk started:

[root@localhost accounting]# tail /var/log/asterisk/full
Mar 27 19:19:05 VERBOSE[3787] logger.c:   == Registered application 'WaitForRing'
Mar 27 19:19:05 VERBOSE[3787] logger.c:  [app_zapscan.so]Mar 27 19:19:05 VERBOSE[3787] logger.c:  [app_zapscan.so] => (Scan Zap channels application)
Mar 27 19:19:05 VERBOSE[3787] logger.c:   == Registered application 'ZapScan'
Mar 27 19:19:05 VERBOSE[3787] logger.c:  [app_db.so]Mar 27 19:19:05 VERBOSE[3787] logger.c:  [app_db.so] => (Database Access Functions)
Mar 27 19:19:05 VERBOSE[3787] logger.c:   == Registered application 'DBget'
Mar 27 19:19:05 VERBOSE[3787] logger.c:   == Registered application 'DBput'
Mar 27 19:19:05 VERBOSE[3787] logger.c:   == Registered application 'DBdel'
Mar 27 19:19:05 VERBOSE[3787] logger.c:   == Registered application 'DBdeltree'
Mar 27 19:19:05 VERBOSE[3787] logger.c:  [cdr_camate.so]Mar 27 19:19:05 WARNING[3787] loader.c: /usr/lib/asterisk/modules/cdr_camate.so: undefined symbol: ast_load
Mar 27 19:19:05 WARNING[3787] loader.c: Loading module cdr_camate.so failed!
[root@localhost accounting]#


Do you ave any ideas?
Please let me know
Thanks
Gaston
Pages: [1]