aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/cdr.h
AgeCommit message (Collapse)AuthorFilesLines
2004-10-27rollback stupid codeanthm1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4109 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-03Correct CDR's for supervised transfer (bug #1595)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3902 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-03Major PBX revamps (including labels, update examples)markster1-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3886 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-24add app_forkcdranthm1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3832 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-02Back out accidental changes by anthmmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3378 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-02autodial updateanthm1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3377 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-28Add new built-in app 'SetAMAFlags'jeremy1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3327 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-20Merge (and cleanup) anthm's CDR changesmarkster1-4/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3248 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-20Allow CDR's to be linked and work on the linked listmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3247 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11Add application to log user data to the CDRsjeremy1-1/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1926 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-12Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always ↵martinp1-0/+16
save CDR record (even if the call fails). If the call fails try to see if there is "failed" extension in the specified context (only if you use context,extension,priority syntax) and execute it. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1499 f38db490-d61c-443f-a65b-d21fe96a405b
2003-05-30Add unique identifiermarkster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1064 f38db490-d61c-443f-a65b-d21fe96a405b
2003-02-02Version 0.3.0 from FTPmarkster1-0/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@597 f38db490-d61c-443f-a65b-d21fe96a405b
2002-07-15Version 0.2.0 from FTPmarkster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@486 f38db490-d61c-443f-a65b-d21fe96a405b
2001-10-31Version 0.1.10 from FTPmarkster1-0/+196
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@380 f38db490-d61c-443f-a65b-d21fe96a405b