Displaying 13 results from an estimated 13 matches for "local_user_remove".
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
2004 Apr 08
3
Re: : External access to voicemail
...t to main vm*/
+ free_user(vmu);
+ return(100);
+ }
if (res >= 0) {
/* Unless we're *really* silent, try to send the beep */
res = ast_streamfile(chan, "beep", chan->language);
@@ -2678,6 +2686,9 @@
}
res = leave_voicemail(chan, ext, silent, busy, unavail);
LOCAL_USER_REMOVE(u);
+ if (res == 100) { /*The user requested vm main*/
+ res = vm_execmain(chan, NULL);
+ }
return res;
}
2007 Jan 25
1
Failing to compile chan_capi
...s to function `ast_channel_alloc'
chan_capi.c:2083: error: structure has no member named `type'
chan_capi.c: In function `pbx_capicommand_exec':
chan_capi.c:4613: warning: implicit declaration of function `LOCAL_USER_ADD'
chan_capi.c:4628: warning: implicit declaration of function
`LOCAL_USER_REMOVE'
chan_capi.c: At top level:
chan_capi.c:5275: error: unknown field `send_digit' specified in initializer
chan_capi.c:5275: warning: initialization from incompatible pointer type
make: *** [chan_capi.o] Error 1
//------------------------------------------------------------------------------...
2007 May 17
4
FastAGI hangs up channel if server is not available
Hi all,
Running 1.2.14
When I call a FastAGI script such as this script for an incoming call:
[calldirect]
exten=>s,1,Answer()
exten=>s,2,AGI(agi://192.168.1.175/calldirect?check&${CALLERID(num)})
exten=>s,3,Goto(check_time,s,1)
and the FastAGI server is not running (Asterisk gets "connection
refused" TCP error), Asterisk just terminates the call like so:
May 17
2006 Oct 13
0
Asterisk 1.4 / install app_bundle problems
...on discards qualifiers from
pointer target type
app_waitfordigits.c:88: warning: initialization discards qualifiers from
pointer target type
app_waitfordigits.c:99: warning: implicit declaration of function
`LOCAL_USER_ADD'
app_waitfordigits.c:137: warning: implicit declaration of function
`LOCAL_USER_REMOVE'
app_waitfordigits.c: In function `unload_module':
app_waitfordigits.c:196: error: `STANDARD_HANGUP_LOCALUSERS' undeclared
(first use in this function)
app_waitfordigits.c:196: error: (Each undeclared identifier is reported
only once
app_waitfordigits.c:196: error: for each function i...
2005 Aug 25
2
Custom Application For Asterisk
...tried = 1;
}
if (!connected || (tds_submit_query(tds, mysqlcmd) != TDS_SUCCEED))
{
ast_verbose(VERBOSE_PREFIX_3 "Failed to query database.\n");
mssql_disconnect();
}
} while (!connected && !retried);
if (!connected) {
res = -1;
ast_mutex_unlock(&tdslock);
LOCAL_USER_REMOVE(u);
return res;
}
tdsret = tds_process_result_tokens(tds, &res_type, NULL);
switch (tdsret) {
case TDS_SUCCEED:
switch(res_type){
case TDS_DONE_RESULT:
break;
case TDS_DONEPROC_RESULT:
break;
case TDS_DONEINPROC_RESULT:
break;
case TDS_ROWFMT_RESULT:...
2007 May 31
0
Urgent-- Error while installing app_dtmftotext.
..._USER_ADD’app_dtmftotext.c:396: warning: implicit declaration of
function
‘__gethostbyname__is__not__reentrant__use__ast_gethostbyname__instead__’
app_dtmftotext.c:396: warning: assignment makes pointer from integer without
a cast
app_dtmftotext.c:535: warning: implicit declaration of function
‘LOCAL_USER_REMOVE’
app_dtmftotext.c: At top level:
app_dtmftotext.c:1031: warning: no previous prototype for ‘unload_module’
app_dtmftotext.c: In function ‘unload_module’:
app_dtmftotext.c:1032: error: ‘STANDARD_HANGUP_LOCALUSERS’ undeclared (first
use in this function)
app_dtmftotext.c:1032: error: (Each undeclare...
2007 Jan 29
0
Rxfax and txfax
...rx' from
incompatible pointer type
app_rxfax.c:307: warning: passing argument 1 of 'fax_tx' from
incompatible pointer type
app_rxfax.c:344: warning: passing argument 1 of 'fax_release' from
incompatible pointer type
app_rxfax.c:350: warning: implicit declaration of function
'LOCAL_USER_REMOVE'
app_rxfax.c: At top level:
app_rxfax.c:356: warning: no previous prototype for 'unload_module'
app_rxfax.c: In function 'unload_module':
app_rxfax.c:357: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first
use in this function)
app_rxfax.c:357: error: (Each undeclared...
2005 Aug 26
0
Broken pipe of stdinpcm on asterisk-ices.xml
...e == AST_FRAME_VOICE) {
res = write(fds[1], f->data, f->datalen);
if (res < 0) {
if (errno != EAGAIN) {
ast_log(LOG_WARNING, "Write failed to pipe: %s\n", strerror(errno));
res = -1;
break;
}
}
}
ast_frfree(f);
}
}
close(fds[1]);
LOCAL_USER_REMOVE(u);
if (pid > -1)
kill(pid, SIGKILL);
if (!res && oreadformat)
ast_set_read_format(chan, oreadformat);
return res;
}
int unload_module(void)
{
STANDARD_HANGUP_LOCALUSERS;
return ast_unregister_application(app);
}
int load_module(void)
{
return ast_register_application(app, ic...
2004 Aug 22
4
Error compiling meetme2
I am trying to compile the meetme2 application with the latest CVS head and
it fails. Here is the error message that I get. Can someone point me in
the right direction?
gcc -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
2006 Nov 29
1
Getting app_cepstral to work with Asterisk 1.4.0-beta3
...ration of
`LOCAL_USER_DECL'
app_cepstral.c:44: warning: data definition has no type or storage class
app_cepstral.c: In function `cepstral_exec':
app_cepstral.c:225: warning: implicit declaration of function
`LOCAL_USER_ADD'
app_cepstral.c:233: warning: implicit declaration of function
`LOCAL_USER_REMOVE'
app_cepstral.c: At top level:
app_cepstral.c:252: warning: no previous prototype for 'unload_module'
app_cepstral.c: In function `unload_module':
app_cepstral.c:253: error: `STANDARD_HANGUP_LOCALUSERS' undeclared
(first use in this function)
app_cepstral.c: At top level:
app_ce...
2005 Jan 22
0
chan_capi patch: app_capiFax modifications
...TED)
capi_answer_fax(chan, stationID);
else
capi_change_bchan_fax(chan, stationID);
while (i->state != CAPI_STATE_DISCONNECTED) {
sleep(1);
}
}
} else {
ast_log(LOG_WARNING, "capiFax only works on CAPI channels, check your extensions.conf!\n");
res = -1;
}
LOCAL_USER_REMOVE(u);
return res;
}
int unload_module(void)
{
STANDARD_HANGUP_LOCALUSERS;
return ast_unregister_application(app);
}
int load_module(void)
{
return ast_register_application(app, capianswerfax_exec,synopsis,tdesc);
}
char *description(void)
{
return tdesc;
}
int usecount(void)
{
int res;
STA...