Displaying 11 results from an estimated 11 matches for "standard_local_us".
Did you mean:
standard_local_user
2003 Nov 11
4
Registering an application
...e.h>
#include <asterisk/translate.h>
#include <string.h>
#include <stdlib.h>
#include <pthread.h>
static char *tdesc = "Alex's app";
static char *app = "Alex";
static char *synopsis = "Alex test";
static char *descrip ="Test";
STANDARD_LOCAL_USER;
LOCAL_USER_DECL;
static int alex_exec(struct ast_channel *chan, void *data)
{
return 0;
}
int unload_module(void)
{
STANDARD_HANGUP_LOCALUSERS;
return ast_unregister_application(app);
}
int load_module(void)
{
return ast_register_application(app, alex_exec, synops...
2007 Jan 25
1
Failing to compile chan_capi
...g-prototypes -Wno-missing-declarations
-DCRYPTO -c -o chan_capi.o chan_capi.c
In file included from chan_capi.c:82:
chan_capi.h:41:2: warning: #warning If you dont update your libcapi20,
some fax features are not available
chan_capi.c:146: warning: type defaults to `int' in declaration of
`STANDARD_LOCAL_USER'
chan_capi.c:146: warning: data definition has no type or storage class
chan_capi.c:147: warning: type defaults to `int' in declaration of
`LOCAL_USER_DECL'
chan_capi.c:147: warning: data definition has no type or storage class
chan_capi.c: In function `capi_new':
chan_capi.c:206...
2006 Oct 13
0
Asterisk 1.4 / install app_bundle problems
...terisk/\"
-DPTYSPOOLDIR=\"/usr/local/asterisk/var/spool/asterisk/ptyspool\"
-DSCRIPTPATH=\"/usr/local/asterisk/var/lib/asterisk/scripts\" -Wall -c
-o app_waitfordigits.o app_waitfordigits.c
app_waitfordigits.c:60: warning: type defaults to `int' in declaration
of `STANDARD_LOCAL_USER'
app_waitfordigits.c:60: warning: data definition has no type or storage
class
app_waitfordigits.c:62: warning: type defaults to `int' in declaration
of `LOCAL_USER_DECL'
app_waitfordigits.c:62: warning: data definition has no type or storage
class
app_waitfordigits.c: In function...
2007 May 17
0
Compiling DBQuery
...IC -c -o res_mysqlpool.o res_mysqlpool.c
In file included from res_mysqlpool.c:35:
res_mysqlpool.h:54: warning: function declaration isn?t a prototype
res_mysqlpool.c:87: warning: data definition has no type or storage class
res_mysqlpool.c:87: warning: type defaults to ?int? in declaration of ?STANDARD_LOCAL_USER?
res_mysqlpool.c:89: warning: data definition has no type or storage class
res_mysqlpool.c:89: warning: type defaults to ?int? in declaration of ?LOCAL_USER_DECL?
res_mysqlpool.c:199: warning: function declaration isn?t a prototype
res_mysqlpool.c: In function ?get_host_list?:
res_mysqlpool....
2007 May 31
0
Urgent-- Error while installing app_dtmftotext.
...for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
[CC] app_dtmftotext.c -> app_dtmftotext.o
app_dtmftotext.c:102: warning: data definition has no type or storage class
app_dtmftotext.c:102: warning: type defaults to ‘int’ in declaration of
‘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_dtm...
2007 Jan 29
0
Rxfax and txfax
...to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
[CC] app_rxfax.c -> app_rxfax.o
app_rxfax.c:60: warning: data definition has no type or storage class
app_rxfax.c:60: warning: type defaults to 'int' in declaration of
'STANDARD_LOCAL_USER'
app_rxfax.c:62: warning: data definition has no type or storage class
app_rxfax.c:62: warning: type defaults to 'int' in declaration of
'LOCAL_USER_DECL'
app_rxfax.c: In function 'phase_e_handler':
app_rxfax.c:105: error: 't30_stats_t' has no member named
'...
2006 Nov 29
1
Getting app_cepstral to work with Asterisk 1.4.0-beta3
...warning: implicit
declaration of function `vasprintf'
In file included from app_cepstral.c:36:
/opt/swift/include/swift.h: At top level:
/opt/swift/include/swift.h:765: warning: function declaration isn't a
prototype
app_cepstral.c:43: warning: type defaults to `int' in declaration of
`STANDARD_LOCAL_USER'
app_cepstral.c:43: warning: data definition has no type or storage class
app_cepstral.c:44: warning: type defaults to `int' in declaration of
`LOCAL_USER_DECL'
app_cepstral.c:44: warning: data definition has no type or storage class
app_cepstral.c: In function `cepstral_exec':
ap...
2005 Jan 22
0
chan_capi patch: app_capiFax modifications
...format __attribute__ ((packed));
unsigned char Infos[100] __attribute__ ((packed));
} B3_PROTO_FAXG3;
static char *tdesc = "(CAPI*) Receive Faxes.";
static char *app = "capiAnswerFax2";
static char *synopsis = "Answer Fax with CAPI (Allow Station ID Setting)";
STANDARD_LOCAL_USER;
LOCAL_USER_DECL;
void SetupB3Config(B3_PROTO_FAXG3 *B3conf, int FAX_Format, char* stationID) {
int len1;
int len2;
char *headLine = "CAPI FAXServer";
B3conf->resolution = FAX_HIGH_RESOLUTION;
B3conf->format = (unsigned short)FAX_Format;
len1 = strlen(...
2005 Aug 25
2
Custom Application For Asterisk
...ANGUAGE "us_english"
static int connected = 0;
static int mssql_connect(void);
static int mssql_disconnect(void);
static int play_file(struct ast_channel *chan, char *filename);
AST_MUTEX_DEFINE_STATIC(tdslock);
static TDSSOCKET *tds;
static TDSLOGIN *login;
static TDSCONTEXT *context;
STANDARD_LOCAL_USER;
LOCAL_USER_DECL;
struct abcd_user {
char moh[80];
char announce[80];
char context[80];
int handled;
time_t start;
int queuetimeout;
struct ast_channel *chan;
struct queue_ent *next;
};
static int abcd_exec(struct ast_channel *chan, void *data)
{
int retri...
2005 Jun 20
2
app_valetparking.c
Since www.bkw.org seems not to exist anymore (getting response from some
hosting provider), does anyone happend to have a copy of app_valetparking.c
from www.bkw.org - the one that should work with * stable 1.0.X ? If so
please contact me.
One that can be downloaded from www.loligo.com dosn't compile with 1.0.X,
and SuperValletParking (www.asterlink.com/svp/) seems to be for * HEAD
2005 Jun 20
1
Re: app_valetparking.c for * STABLE (1.0.X)
Nope ! This is the one that tries to include PRE 1.0.X header file
<parking.h>.
It cannot compile on * 1.0.X (I have tried also to include <features.h>
instead of <parking.h> (as far as I know features.h is successor to
parking.h), but still without results).
Thanks anyway.
Nenad
>
> Try this
>
>> Since www.bkw.org seems not to exist anymore (getting