Displaying 20 results from an estimated 20 matches for "ast_load".
Did you mean:
inst_load
2005 Jan 26
2
Issue with res_config_mysql.so in latest CVS
Hello,
I just checked out the latest CVS and compiled and now
get the following error:
[res_config_mysql.so] => (MySQL RealTime
Configuration Driver)
Jan 26 13:03:51 WARNING[27081]: config_old.c:27
ast_load: ast_load is deprecated, use ast_config_load
instead!
== Parsing '/etc/asterisk/res_mysql.conf': Found
Jan 26 13:03:51 WARNING[27081]: res_config_mysql.c:561
parse_config: MySQL RealTime: No database socket
found, using '/tmp/mysql.sock' as default.
Jan 26 13:03:51 WARNING[27081]:...
2005 Mar 20
1
HELP: Failed start after install asterisk_oh323-0.7.1
...sk crash and show me the
following message (asterisk -vvvvvvc).
Does anyone have any idea about it? What's wrong about ir?
-------------- Error Message --------------------------
[chan_oh323.so] => (InAccess Networks OpenH323 Channel Driver)
Mar 21 11:13:25 WARNING[16199]: config_old.c:27 ast_load: ast_load is
deprecated, use ast_config_load instead!
== Parsing '/etc/asterisk/rtp.conf': Found
Mar 21 11:13:25 WARNING[16199]: config_old.c:39 ast_destroy:
ast_destroy is deprecated, use ast_config_destroy instead!
== Parsing '/etc/asterisk/oh323.conf': Found
[1]WrapH323EndPoi...
2003 Jun 12
2
Segmentation fault on "reload"
...1dd0 in strdup () from /lib/i686/libc.so.6
#3 0x08055a2f in cfg_process (tmp=0x80e5950, _tmpc=0xbffff360,
_last=0xbffff364, buf=0x6c636e69 <Address 0x6c636e69 out of bounds>,
lineno=118, configfile=0x44ceb41d "extensions.conf", includelevel=0)
at config.c:57
#4 0x08055472 in __ast_load (configfile=0x44ceb41d "extensions.conf",
tmp=0x80e5950, _tmpc=0xbffff360, _last=0xbffff364, includelevel=0)
at config.c:731
#5 0x0805588d in ast_load (configfile=0x8 <Address 0x8 out of bounds>)
at config.c:766
#6 0x44ceabd2 in pbx_load_module () at pbx_config.c:1520
#7 0x44...
2003 Apr 12
1
fix for typo in latest cvs in channels/chan_alsa.c
Index: channels/chan_alsa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_alsa.c,v
retrieving revision 1.2
diff -r1.2 chan_alsa.c
1042c1042
< if ((cfg = ast_load(config)) {
---
> if ((cfg = ast_load(config))) {
--
Michael Bielicki
Managing Director
TAAN Consultants Ltd
http://www.global-gateway.net/
--------------------------------------------------------------------------
This correspondence is for the named person's use only. It may conta...
2005 Feb 17
0
started asterisk with chan_misdn
hello,
i have a problem on started asterisk, when try to start
asterisk a get the fowlling error:
chan_misdn.so] => (Channel driver for mISDN Support
(Bri/Pri))
Feb 17 11:34:01 WARNING[3104]: config_old.c:27 ast_load:
ast_load is deprecated, use ast_config_load instead!
== Parsing '/etc/asterisk/misdn.conf': Found
Feb 17 11:34:01 WARNING[3104]: config_old.c:39 ast_destroy:
ast_destroy is deprecated, use ast_config_destroy instead!
== Registered channel type 'mISDN' (This driver enables
the a...
2003 Jul 11
4
module : cdr_sybase.so
...;
}
return 0;
}
char *description(void)
{
return desc;
}
int unload_module(void)
{
dbexit();
ast_cdr_unregister(name);
return 0;
}
int load_module(void)
{
int res;
struct ast_config *cfg;
struct ast_variable *var;
char *dbuser, *password, *dbserver, *application;
cfg = ast_load(config);
if (!cfg) {
ast_log(LOG_WARNING, "Unable to load config for sybase CDR's: %s\n",
config);
return 0;
}
var = ast_variable_browse(cfg, "global");
if (!var) {
return 0;
}
dbuser = ast_variable_retrieve(cfg,"global","dbuser"...
2006 May 12
6
voicemailmain()
Hi, in the menu of voicemailmain, appear a lot of options, there is a way to leave only some of them?
Also I want to know if there is a option that erase all message in a user box.
Best REgards
Ever Zalazar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060512/98a6f962/attachment.htm
2003 Jun 13
1
Segmentation Fault ... Big problems
...strdup () from /lib/i686/libc.so.6
#3 0x080559eb in cfg_process (tmp=0x80e3000, _tmpc=0xbffff360,
_last=0xbffff364, buf=0x61666564 <Address 0x61666564 out of bounds>,
lineno=99, configfile=0x44ceb41d "extensions.conf", includelevel=0)
at config.c:57
#4 0x08055472 in __ast_load (configfile=0x44ceb41d "extensions.conf",
tmp=0x80e3000, _tmpc=0xbffff360, _last=0xbffff364, includelevel=0)
at config.c:731
#5 0x0805588d in ast_load (configfile=0x8 <Address 0x8 out of bounds>)
at config.c:766
#6 0x44ceabd2 in pbx_load_module () at pbx_config.c:1520...
2005 Sep 14
0
Compile error on cdr_yada for asterisk on centos with Oracle
...can somebody give me a hint
to correct the error.
[root@www cdr_yada-001]# make
gcc -Wall -g -D_GNU_SOURCE -DBUILDREV=001 -I.. -I../include
-I/usr/local/include -fPIC -c cdr_yada.c -o cdr_yada.o
cdr_yada.c: In function `load_module':
cdr_yada.c:529: warning: implicit declaration of function `ast_load'
cdr_yada.c:529: warning: assignment makes pointer from integer without a
cast
cdr_yada.c:635: warning: implicit declaration of function `ast_destroy'
ld -L/usr/local/lib -shared -x cdr_yada.o -lyada -o cdr_yada.so
[root@www cdr_yada-001]#
Thanks
Han
-------------- next part ----------...
2005 Sep 14
0
compile problems with yada
...can somebody give me
a hint to correct the error.
[root@www cdr_yada-001]# make
gcc -Wall -g -D_GNU_SOURCE -DBUILDREV=001 -I.. -I../include
-I/usr/local/include -fPIC -c cdr_yada.c -o cdr_yada.o
cdr_yada.c: In function `load_module':
cdr_yada.c:529: warning: implicit declaration of function `ast_load'
cdr_yada.c:529: warning: assignment makes pointer from integer without a cast
cdr_yada.c:635: warning: implicit declaration of function `ast_destroy'
ld -L/usr/local/lib -shared -x cdr_yada.o -lyada -o cdr_yada.so
[root@www cdr_yada-001]#
Thanks
Han
2007 May 31
0
Urgent-- Error while installing app_dtmftotext.
...STANDARD_LOCAL_USER’
app_dtmftotext.c:104: warning: data definition has no type or storage class
app_dtmftotext.c:104: warning: type defaults to ‘int’ in declaration of
‘LOCAL_USER_DECL’
app_dtmftotext.c: In function ‘festival_exec’:
app_dtmftotext.c:339: warning: implicit declaration of function ‘ast_load’
app_dtmftotext.c:339: warning: assignment makes pointer from integer without
a cast
app_dtmftotext.c:345: warning: assignment discards qualifiers from pointer
target type
app_dtmftotext.c:349: warning: assignment discards qualifiers from pointer
target type
app_dtmftotext.c:357: warning: assign...
2005 Jul 07
1
Asterisk Crashes after update
...;40mRegistered application
'[1;36;40mStopPlaytones[0;37;40m'
[1;30;40m
[0;37;40m[[1;37;40mres_config_mysql.so[0;37;40m] =>
([33;40mMySQL RealTime Configuration
Driver[0;37;40m)
Jul 6 21:32:24 [1;31;40mWARNING[0;37;40m[8492]:
[1;37;40mconfig_old.c[0;37;40m:[1;37;40m32[0;37;40m
[1;37;40mast_load[0;37;40m: ast_load is deprecated,
use ast_config_load instead!
[1;30;40m == [0;37;40mParsing
'/etc/asterisk/res_mysql.conf': Not found (No such
file or directory)
Jul 6 21:32:24 [1;31;40mWARNING[0;37;40m[8492]:
[1;37;40mconfig_old.c[0;37;40m:[1;37;40m44[0;37;40m
[1;37;40mast_destroy[0;3...
2005 Mar 18
3
ANNOUNCEMENT:Updatesforapp_cbmysqlandMeetMe2gui(out of tree modules)
I'm afraid I am at a loss. If the three files,
app_cbmysql.c, app_meetme2.c and Makefile all
exist in ../apps then a patch -p1 from the
../asterisk directory should work.
The -p1 tells patch to ignore the first directory
in the path to the file in the patch, -p2 ignores
two directories. Another option is to just edit
the apps-meetme-cbmysql.txt and split it into
three patchs and apply
2007 May 24
2
SCCP
...VICE_UNKNOWN' undeclared (first use in this
function)
chan_sccp.c:133: error: (Each undeclared identifier is reported only once
chan_sccp.c:133: error: for each function it appears in.)
chan_sccp.c: In function `reload_config':
chan_sccp.c:397: warning: implicit declaration of function `ast_load'
chan_sccp.c:397: warning: assignment makes pointer from integer without a
cast
chan_sccp.c:555: error: incompatible type for argument 1 of `ast_inet_ntoa'
chan_sccp.c:555: error: too many arguments to function `ast_inet_ntoa'
chan_sccp.c:562: error: incompatible type for argument 1...
2004 Jan 06
2
Problems compiling cdr_pgsql
...39;
cdr_pgsql.o(.text+0x771): more undefined references to `ast_log' follow
cdr_pgsql.o: In function `my_unload_module':
cdr_pgsql.o(.text+0x988): undefined reference to `ast_cdr_unregister'
cdr_pgsql.o: In function `my_load_module':
cdr_pgsql.o(.text+0x9b7): undefined reference to `ast_load'
cdr_pgsql.o(.text+0x9ed): undefined reference to `ast_log'
cdr_pgsql.o(.text+0xa0e): undefined reference to `ast_variable_browse'
cdr_pgsql.o(.text+0xa3f): undefined reference to `ast_variable_retrieve'
cdr_pgsql.o(.text+0xab6): undefined reference to `ast_log'
cdr_pgsql.o(.tex...
2005 Sep 16
0
lastest spandsp-0.03pre1 don't compile
...rror: `codec' undeclared (first use in this function)
udptl.c:820: error: structure has no member named `lastts'
udptl.c:820: error: `hdrlen' undeclared (first use in this function)
udptl.c: In function `ast_udptl_reload':
udptl.c:1084: warning: implicit declaration of function `ast_load'
udptl.c:1084: warning: assignment makes pointer from integer without a cast
udptl.c:1138: warning: implicit declaration of function `ast_destroy'
ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/a...
2004 Jun 22
1
Problems compiling cdr_odbc.so
...bc.o(.text+0x8ce): In function `odbc_unload_module':
: undefined reference to `ast_verbose'
cdr_odbc.o(.text+0x904): In function `odbc_unload_module':
: undefined reference to `ast_cdr_unregister'
cdr_odbc.o(.text+0x95d): In function `odbc_load_module':
: undefined reference to `ast_load'
cdr_odbc.o(.text+0x993): In function `odbc_load_module':
: undefined reference to `ast_log'
cdr_odbc.o(.text+0x9ad): In function `odbc_load_module':
: undefined reference to `ast_variable_browse'
cdr_odbc.o(.text+0x9d7): In function `odbc_load_module':
: undefined reference...
2003 Mar 02
1
Serious memory leak in asterisk (manager)
hi all
after getting some (or - a lot) of messages from nagios, claiming
asterisk
to be down, I found this out...
astping xxx times repeatedly, and the manager fails to start. this
little
script was used for testing. below, I've pasted the output from 'ps
axfv' before and after the DoS, showing asterisk having allocated ~2GB
RAM.
roy
#!/usr/bin/perl -w
use strict;
my $i = 0;
2005 Aug 25
2
Custom Application For Asterisk
...if (!res)
res = ast_waitstream(chan, "");
else
res = 0;
if (res) {
ast_log(LOG_WARNING, "ast_streamfile failed on %s \n", chan->name);
res = 0;
}
ast_stopstream(chan);
return res;
}
int load_module(void)
{
struct ast_config *cfg;
char *s;
int res = 0;
cfg = ast_load(config);
if (!cfg) {
ast_log(LOG_NOTICE, "Unable to load config for abcd %s\n", config);
return 0;
}
if (!(s=ast_variable_retrieve(cfg, "global", "hostname"))) {
ast_log(LOG_ERROR,"abcd Database Server Hostname not specified.\n");
} else {
str...
2003 Apr 04
2
chan_h323 problems....
...conf but on firing up * I get the following problem, has anyone seen this before or knows what the fault is ?? Looks like a library problem but I have not seen this type of error before.
[cdr_csv.so] => (Comma Separated Values CDR Backend)
[chan_h323.so]WARNING[1024]: File loader.c, Line 212 (ast_load_resource): /usr/
lib/asterisk/modules/chan_h323.so: undefined symbol: _ZNK7PThread11GetThreadIdEv
WARNING[1024]: File loader.c, Line 368 (load_modules): Loading module chan_h323.
so failed!
Thanks, Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.di...