search for: ast_unregister_appl

Displaying 13 results from an estimated 13 matches for "ast_unregister_appl".

2003 Nov 11
4
Registering an application
...uot;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, synopsis, descrip); } char *description(void) { return tdesc; } int usecount(void) { int res; STANDARD_USECOUNT(res); return res; } char *key() { return ASTERIS...
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
2005 Mar 24
1
Missing CallingPres Application
...a) < { < int mode = 0; < if (data) { < mode = atoi((char *)data); < chan->cid.cid_pres = mode; < } else < ast_log(LOG_NOTICE, "Application %s requres an argument: %s(number)\n", app_callingpres,app_callingpres); < return 0; < } < 9314d9299 < ast_unregister_application(app_callingpres); 10178d10162 < ast_register_application(app_callingpres, change_callingpres, synopsis_callingpres, descrip_callingpres);
2005 Aug 26
0
Broken pipe of stdinpcm on asterisk-ices.xml
...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, ices_exec, synopsis, descrip); } char *description(void) { return tdesc; } int usecount(void) { int res; STANDARD_USECOUNT(res); return res; } char *key() { return ASTERISK_GPL_KEY; } ----------------------------...
2003 Nov 27
13
Asterisk behind NAT << How to do it.
Thanks to ww and his patch on bug #104, I have successfully implemented Asterisk behind NAT without using STUN or anything crazy. It's quite straight forward. Until this gets tested enough and put into CVS, you will have to patch your chan_sip.c file to do this. I'm sure within the next few days this will get put merged into CVS if no one finds any problems. I tried this on chan_sip.c
2014 Mar 12
0
module load Crash Asterisk 11.5.1 app_confbridge.c
...res = ast_say_number(chan, count, "",ast_channel_language(chan),(char *) NULL); } return res; } static int load_module(void) { ast_verb(3 ,"==Inside load_module=="); res |= ast_register_application_xml(app2,count_exec); return res; } static int unload_module(void) { res |= ast_unregister_application(app2); return res; } static struct ast_cli_entry cli_confbridge[] = { AST_CLI_DEFINE(admincount_exec, "MyConfbrigdeCount Show Number of adminUser(s) in Conference." ), } =============core dumap================================================= Program terminated with signal 11, Se...
2014 Mar 13
1
Any help Address 0xfffffffe out of bounds in app_confbridge.casterisk-11.5.1 using confbridge.conf
...st_verb(3 ,"\n==Inside load_module data malloc == \n" ); ast_log(LOG_NOTICE,"\n==Inside load_module data malloc == \n" ); res |= ast_register_application_xml(app2,count_exec); return res; } static int unload_module(void) { res |= ast_unregister_application(app2); return res; } static struct ast_cli_entry cli_confbridge[] = { AST_CLI_DEFINE(count_exec, "MyConfbrigdeCount Show Number of adminUser(s) in Conference." ), } static int count_exec(struct ast_channel *chan, const char *data) {...
2014 Mar 13
0
Any Help ? user defined application .module load Crash Asterisk 11.5.1 app_confbridge.c
...res = ast_say_number(chan, count, "",ast_channel_language(chan),(char *) NULL); } return res; } static int load_module(void) { ast_verb(3 ,"==Inside load_module=="); res |= ast_register_application_xml(app2,count_exec); return res; } static int unload_module(void) { res |= ast_unregister_application(app2); return res; } static struct ast_cli_entry cli_confbridge[] = { AST_CLI_DEFINE(admincount_exec, "MyConfbrigdeCount Show Number of adminUser(s) in Conference." ), } =============core dumap================================================= Program terminated with signal 11, Se...
2005 Jan 22
0
chan_capi patch: app_capiFax modifications
...le (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; STANDARD_USECOUNT(res); return res; } char *key() { return ASTERISK_GPL_KEY; }
2008 Mar 13
4
Application registration on Asterisk 1.4 and 1.6?
...rying to register the application. here is the code: int load_module(void){ int res; res = ast_register_application(app, example_exec, synopsis, descrip); return res; } int reload(void){ return load_module(); } int unload_module(void){ //STANDARD_HANGUP_LOCALUSERS; return ast_unregister_application(app); } char *description(void){ return tdesc; } int usecount(void){ int res; //STANDARD_USECOUNT(res); return res; } char *key(){ return ASTERISK_GPL_KEY; } Have the registration way that the applications are registered in arterisk 1.2.* changed to much from version 1.4...
2009 Oct 05
3
Questions about app_jack.c
Hello, My configuration is : Card 0 - kernel dummy sound card Card 1 - my soundcard I have a jackd running in background. My jackd launch command is : jackd --port-max 16 --realtime --no-mlock -d alsa --playback hw:1,0 --capture hw:1,0 --rate 8000 --period 1024 --shorts --inchannels 2 --outchannels 2 --dither triangular & 1 ) I open asterisk with chan_alsa.so connected (with asoundrc) to
2005 Aug 25
2
Custom Application For Asterisk
...- 1); } ast_destroy(cfg); mssql_connect(); res = ast_register_application(app, abcd_exec, synopsis, descrip); if (res){ ast_log(LOG_ERROR, "Unable to register abcd MSSQL handling\n"); } return res; } int unload_module(void) { STANDARD_HANGUP_LOCALUSERS; mssql_disconnect(); ast_unregister_application(app); if (abcdhostname) free(abcdhostname); if (abcddbname) free(abcddbname); if (abcddbuser) free(abcddbuser); if (abcdpassword) free(abcdpassword); if (abcdcharset) free(abcdcharset); if (abcdlanguage) free(abcdlanguage); return 0; } int reload(void) { unload_module(); return loa...