aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/pbx.h
AgeCommit message (Collapse)AuthorFilesLines
2006-03-29Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in ↵tilghman1-0/+3
API approved by Russell) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@16192 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11now that CDR is a loadable module, don't depend on it elsewhere (issue #6460)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9581 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #2720kpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26clean up a lot of doxygen errors and warnings (issue #5522)russell1-6/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-13check call limit in ast_pbx_start(), instead of waiting until background ↵kpfleming1-5/+11
thread has been launched (needed for issue #5131) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6568 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30major header file cleanup: license, copyrights, descriptions, markers, etc.kpfleming1-8/+17
remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6454 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)kpfleming1-3/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6446 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-27preserve hint watchers and laststate across 'extensions reload' (issue #2522)kpfleming1-9/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15Allow manager originate to specifiy more than one variable to be set.russell1-2/+2
Allow manager originate and spool files to set writable dialplan functions, including those that use the pipe symbol to seperate arguments. Allow CDR dialplan function to be able to set the account code and userfield. This deprecates the use of the Account header in manager originate and spool files, as well as the SetAccount and SetCDRUserField applications. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6147 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08queue device state changes and handle them serially in a background threadkpfleming1-21/+2
optimize device state related functions add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-18Add optional call limitmarkster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5712 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05expose function execution routines and warn about trying to set a read-only ↵anthm1-0/+23
cdr var git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5589 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05major re-work of dialplan functions, including:kpfleming1-6/+8
- locking of functions list during registration/unregistration/searching - rename of function description structure to be consistent with the rest of the API - addition of 'desc' element to description structure, for detailed description (like applications) - addition of 'show function' CLI command to show function details - conversion of existing functions to use uppercase names to match policy - creation of new 'pbx_functions.so' module to contain standard 'builtin' functions - removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5583 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-2/+2
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-29Allow functions to be written to (bug #2278, with mods)markster1-3/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5296 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Add registerable functional variables (bug #3636, with doc mods)markster1-0/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5136 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-02Include uniqueid in response for ManagerOriginate stuff (bug #3439)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4948 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-01Allow hints to have names (bug #3471)markster1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4938 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-15Repair // comments to /* */ comments (bug #3347)markster1-52/+52
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4806 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-13Implement eswitch for evalulating variables at runtime (bug #3168)markster1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4780 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-23Fix AGI to know about "builtin" variables, too (bug #2737)markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4538 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-24Make realtime pbx understand patterns.markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4326 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-23fix inherited softhangup issue in ast_goto_if_exists()anthm1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4325 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-22Add improved macro functionality (bug #2905)markster1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4317 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-13Big agent / queue fixesmarkster1-0/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4231 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11Make timing stuff generic (bug #2839)markster1-0/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4213 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-24Add "Loopback" switchmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4070 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-22This patch adds a new api call:anthm1-0/+1
int pbx_builtin_serialize_variables(struct ast_channel *chan, char *buf, size_t size); takes a chan and a char * 'buf' assumed to be 'size' bytes. The function fills 'buf' with a <CR>('\n') delimited list of name,value pairs in turn delimeted by '=' eg: SIPCALLID=f30e4e72-f715193f@1.2.3.4 SIPUSERAGENT=Sipura/SPA2000-2.0.6(c) SIPDOMAIN=1.2.3.4 It returns the acutal number of variables encountered. If the attempt to fill 'buf' goes beyond 'size' bytes the operation is halted and the incomplete string is returned as is. To demonstrate a use for this, the "show channel <channame>" command has been retrofitted with the call so it also dumps all of the chan's vars *CLI> show channel Zap/5-1 -- General -- Name: Zap/5-1 Type: Zap UniqueID: 1098480666.17 Caller ID: 4999 Caller ID Name: Tony DNID Digits: (N/A) State: Up (6) Rings: 0 NativeFormat: 68 WriteFormat: 4 ReadFormat: 4 1st File Descriptor: 22 Frames in: 41969 Frames out: 83240 Time to Hangup: 0 Elapsed Time: 0h13m54s -- PBX -- Context: phone1 Extension: 4994 Priority: 2 Call Group: 2 Pickup Group: 2 Application: Dial Data: IAX2/ulaw@cube1/00010014994@croip Stack: 0 Blocking in: ast_waitfor_nandfds Variables: DIALEDPEERNUMBER=ulaw@cube1/00010014994@croip DIALEDPEERNAME=IAX2/cube1/3 CALLTYPE=SPEECH tempvar=tempval git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4051 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-16Add autofallthrough modemarkster1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4020 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-03Allow you to use labels with + to be nice to Tilghman.markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3897 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-03Major PBX revamps (including labels, update examples)markster1-61/+74
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3886 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02Huge callerid rework (might break H.323, others)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-21Save CID and switches in "save dialplan" command (bug #2279)markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3630 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06Get rid of all that old needlock garbage now that we're using recursive mutexesmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-25Verify includes, and give warnings if invalid (bug #429)markster1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1667 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-01Pass accountcode to outgoing spool call when originated with ↵martinp1-2/+2
Context&Extension&Priority git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1597 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-22Create better 'failed' CDRs for outgoing spool calls with ↵martinp1-0/+1
context,extension,priority git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1538 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-13CLeanup PBX patch and add localtime stuff for saytime (bug #168)markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1506 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-25Merge james's patch (bug #7)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1432 f38db490-d61c-443f-a65b-d21fe96a405b
2003-07-14Add the possibility to delete all the contexts registered by a certain ↵martinp1-1/+2
registrar with ast_merge_and_delete routine; make it the default behaviour when reloding extensions git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1187 f38db490-d61c-443f-a65b-d21fe96a405b
2003-07-14Add a safe way to reload extensions config (don't change/delete the current ↵martinp1-1/+8
extenions until extensions.conf was parsed and the new set of extensions is created) and add "extensions reload" CLI command so we could reload only extensions.conf config file without touching config files of other modules git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1183 f38db490-d61c-443f-a65b-d21fe96a405b
2003-07-02Merge 'T' and other dialing enhancementsmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1156 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-11Use digit/response timeoutsmarkster1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1081 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-04Add some configuration keywords for voicemail2: pbxskip, emailbody, fromstringmartinp1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1073 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-06Merge enhanced status changes, add SIP subscribe from Andremarkster1-5/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@759 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-30Merge hint patch, add new variables, and misc. PBX cleanupsmarkster1-0/+66
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@722 f38db490-d61c-443f-a65b-d21fe96a405b
2003-02-12mer feb 12 14:56:57 CET 2003matteo1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@612 f38db490-d61c-443f-a65b-d21fe96a405b
2002-11-10Version 0.3.0 from FTPmarkster1-2/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@544 f38db490-d61c-443f-a65b-d21fe96a405b