search for: ast_register_application

Displaying 20 results from an estimated 23 matches for "ast_register_application".

2004 Sep 23
1
running 1.0 on macosx
...sterisk/logger.conf': Found Asterisk Event Logger Started /var/log/asterisk/event_log == Manager registered action Ping ... == Parsing '/etc/asterisk/voicemail.conf': Found [app_voicemail2.so] => (Comedian Mail (Voicemail System)) Sep 23 16:25:43 WARNING[-1610571284]: pbx.c:2304 ast_register_application: Already have an application 'VoiceMail2' Sep 23 16:25:43 WARNING[-1610571284]: pbx.c:2304 ast_register_application: Already have an application 'VoiceMailMain2' Sep 23 16:25:43 WARNING[-1610571284]: loader.c:334 ast_load_resource: app_voicemail2.so: load_module failed, returning...
2009 May 03
2
Asterisk not starting up due to database problems
...tent context 'ael-parkedcalls' [May 3 13:29:14] NOTICE[7477]: pbx_ael.c:4157 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'. ............................. == No hardware transcoders found. ....[May 3 13:29:14] WARNING[7477]: pbx.c:2981 ast_register_application: Already have an application 'VoiceMail' [May 3 13:29:14] WARNING[7477]: pbx.c:2981 ast_register_application: Already have an application 'VoiceMailMain' [May 3 13:29:14] WARNING[7477]: pbx.c:2981 ast_register_application: Already have an application 'MailboxExists' [May...
2003 Nov 11
4
Registering an application
...*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 ASTERISK_GPL_KEY; } I've put the so in apps/ but no results.. Thanks a lot for...
2003 Jul 22
2
enabling dtmf detection on zap channel?
Hi, is there a way to enable dtmf detection on zap channels? I am trying to pickup, play a ringtone and the dial out. I.e. exten => s,1,Wait,1 exten => s,1,Answer exten => s,2,Playtones(dial) exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,10 exten => _X,1,StopPlaytones exten => _X,2,Dial,Zap/g8/BYEXTENSION|10
2008 Feb 26
6
[URGENT] Zap channels fail to load
...bank to our current Asterisk, but it failed, so I just removed the hardware, restore the config files to the original setup and started asterisk.; I could see that no Zap channels are started so I did load chan_zap.so: pbx*CLI> module load chan_zap.so [Feb 26 10:32:18] WARNING[3809]: pbx.c:2968 ast_register_application: Already have an application 'ZapSendKeypadFacility' == Parsing '/etc/asterisk/zapata.conf': Found [Feb 26 10:32:18] WARNING[3809]: chan_zap.c:904 zt_open: Unable to specify channel 1: Device or resource busy [Feb 26 10:32:18] ERROR[3809]: chan_zap.c:7186 mkintf: Unable to open ch...
2006 Nov 23
1
When does voicemail authentication take place?
I have a rather technical question here. I'm looking at the code in app/app_voicemail.c, I'm wondering when the vmauthenticate() function is called. Aside from being called by load_module() as follows: res |= ast_register_application(app4, vmauthenticate, synopsis_vmauthenticate, descrip_vmauthenticate); I can't see any other calls to it. Can someone explain to me at what point in the program vmauthenticate() is called? Thanks so much jez ________________________________________________________________________________...
2009 Dec 23
4
Asterisk and Faxing
...0] asterisk[2647]: segfault at 30353466 ip b7e6338b sp bfb7708c error 4 in libc-2.7.so[b7ded000+155000] asterisk[2666]: segfault at 30353466 ip b7dfe38b sp bfa6e4ec error 4 in libc-2.7.so[b7ded000+155000] When I use dahdi at least asterisk will start but app_rxfax will fail with unknown symbol in ast_register_application I could only find a precompiled-linux-spandsp-app-fax is there anyway to get the source and compile for myself? Where I can compile for dahdi and not zaptel. Or can someone explain why the segfaulting?? my machine O/S is: Debian kernel : 2.6.26-2-686 i686 My goal is to connect a fax mac...
2009 Aug 26
1
app_swift issue
...help static int load_module(void) { int res; const char *t = NULL; struct ast_config *cfg; struct ast_flags config_flags = { 0 }; // Set defaults cfg_buffer_size = 65535; cfg_goto_exten = 0; strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice)); res = ast_register_application(app, engine, synopsis, descrip); cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags); if (cfg) { if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) { cfg_buffer_size = atoi(t); ast_log(LOG_DEBUG, "Config buffer_size i...
2003 Jun 04
1
new application Dialtone()
...ast_log(LOG_NOTICE,"Unable to start playtones\n"); > > if (!res) { > res = ast_waitfordigit(chan, (const int) timeout); > ast_playtones_stop(chan); > } > > return 0; > } > > > /* 380a432,440 > ast_register_application( > "Dialtone", > handle_dialtone, > "Play a dialtone while awaiting extension", > " Dialtone([timeout[|mailbox]]): Plays a dialtone, including an initial stutter\n" > "on new voi...
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
2009 Aug 26
4
Fw: app_swift issue
...but in vain .... Please help static int load_module(void) { int res; const char *t = NULL; struct ast_config *cfg; struct ast_flags config_flags = { 0 }; // Set defaults cfg_buffer_size = 65535; cfg_goto_exten = 0; strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice)); res = ast_register_application(app, engine, synopsis, descrip); cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags); if (cfg) { if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) { cfg_buffer_size = atoi(t); ast_log(LOG_DEBUG, "Config buffer_size is %d\n", cfg_buffer_size); }...
2004 Jun 16
1
Modified Prepaid Error
...16 14:27:27 ERROR[-1085267840]: app_prepaid.c:127 check_connected: app_prepaid: cannot connect to database server localhost. Calls will not be logged == Registered application 'Prepaid' 2nd error: [app_datetime.so] => (Date and Time) Jun 16 14:27:28 WARNING[-1085267840]: pbx.c:2240 ast_register_application: Already have an application 'DateTime' Jun 16 14:27:28 WARNING[-1085267840]: loader.c:326 ast_load_resource: app_datetime.so: load_module failed, returning -1 == Unregistered application 'DateTime' Jun 16 14:27:28 WARNING[-1085267840]: loader.c:421 load_modules: Loading module ap...
2005 Mar 24
1
Missing CallingPres Application
...toi((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);
2009 Oct 06
2
adding modules
Hi, I am working on Trixbox. I want to create my own dial() function (named specificdial()) and I want to know how I can create a module and integrate the module in the trixbox plateform. thanks a lot Mickael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091006/b69d4103/attachment.htm
2005 Aug 26
0
Broken pipe of stdinpcm on asterisk-ices.xml
...lose(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; } ------------------------------- Is this "broken pipe" means that I don't have "st...
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
2011 Sep 29
2
[asterik-users] Installing PRI card
Hi, We have got a new PRI card at one of our Office locations and now I need to install the the device on a remote server. Is there any way to know if the device is loaded already. When I give " cat /proc/zaptel/* " it returns the following. # cat /proc/zaptel/* Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) B8ZS/ESF RED IRQ misses: 2 1 WCT1/0/1
2005 Jan 22
0
chan_capi patch: app_capiFax modifications
...} 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?
...t with asterisk 1.2.23 and it works fine. But when I tested the same application with a newest version of asterisk like 1.4.* it always returns an error trying to load the module or more specific, trying 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; //STANDAR...