callaccounging.ws > Asterisk Integration
Using Call Accounting Mate with Asterisk - Must read
neilcperry:
"Posted by: gmenarvino
Insert Quote
Hello, after taking some time reading the Make File I was able to resolve the issue.
Thanks"
gmenarvino, could you please share what you did to resolve the issue...I'm having the same issue.
Thanks in advance.
Neil
mnail:
"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'"
Change line 181
Original
cf = ast_load(cf_file);
Modified
cf = ast_config_load(cf_file);
And line 226
Original
ast_destroy(cf);
Modified
ast_config_destroy(cf);
Then redo - make clean && make
Then copy the callmate.so over to your lib/asterisk/modules directory
Enjoy!
Compliments of Moritz BMW
oxydables:
Hi all,
I'm not able to install the cdr_camate.so module into my Asterisk. I have more errors then the one you talked about bellow.
The compilation gives me this errors :
--- Code: ---cdr_camate.c: In function âload_configâ:
cdr_camate.c:190: warning: assignment discards qualifiers from pointer target type
cdr_camate.c:198: warning: assignment discards qualifiers from pointer target type
cdr_camate.c:202: warning: assignment discards qualifiers from pointer target type
cdr_camate.c:206: warning: assignment discards qualifiers from pointer target type
cdr_camate.c:211: warning: assignment discards qualifiers from pointer target type
cdr_camate.c:215: warning: assignment discards qualifiers from pointer target type
cdr_camate.c:221: warning: assignment discards qualifiers from pointer target type
cdr_camate.c: In function âcdr_postâ:
cdr_camate.c:396: warning: format â%dâ expects type âintâ, but argument 8 has type âlong intâ
cdr_camate.c:396: warning: format â%dâ expects type âintâ, but argument 9 has type âlong intâ
cdr_camate.c:396: warning: format â%dâ expects type âintâ, but argument 8 has type âlong intâ
cdr_camate.c:396: warning: format â%dâ expects type âintâ, but argument 9 has type âlong intâ
--- End code ---
And when I put the generated cdr_camate.so in the /usr/lib/asterisk/modules/ directory and try to load it on Asterisk i get this :
--- Code: ---srv-AST*CLI> module load cdr_camate.so
[Mar 2 22:42:10] WARNING[4407]: loader.c:375 load_dynamic_module: Module 'cdr_camate.so' did not register itself during load
[Mar 2 22:42:10] WARNING[4407]: loader.c:646 load_resource: Module 'cdr_camate.so' could not be loaded.
--- End code ---
Thank you in advance for your response.
OxY
D.stype:
Hello...
Is it possible to modify this extensions.conf entry:
exten => 0/12,1,PageLocal/21page&Local/31page&Local/41page&Local/51paged
to use ConfBridge instead of Page? I cant see how it can be implemented the asterisk CLI command help being the only resource I have...
Thanks
Navigation
[0] Message Index
[*] Previous page
Go to full version