Mark Spencer
eb91006b7c
Allow functions to be written to (bug #2278 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 06:16:49 +00:00
Mark Spencer
b6c4282a03
Merge anthm's CDR updates (bug #3595 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-23 22:48:47 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Josh Roberson
7f887cca90
Misc Grammer/formatting fixes - Thanks Corydon76! (bug #3361 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-17 22:53:36 +00:00
Mark Spencer
92eb0c2018
More flagification, courtesy drumkilla (bug #3280 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-10 14:46:59 +00:00
Anthony Minessale II
a18f60f5e8
rollback stupid code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-27 03:33:14 +00:00
Anthony Minessale II
4f2438acab
This patch adds a new api call:
...
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: https://origsvn.digium.com/svn/asterisk/trunk@4051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-22 20:59:38 +00:00
Mark Spencer
e8f0958d01
Correct CDR's for supervised transfer (bug #1595 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 19:59:46 +00:00
Mark Spencer
fce17976e9
Major PBX revamps (including labels, update examples)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 04:19:59 +00:00
Mark Spencer
04fc29c8b2
Huge callerid rework (might break H.323, others)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 00:58:31 +00:00
Anthony Minessale II
255ce93616
add app_forkcdr
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-24 21:33:48 +00:00
Mark Spencer
a6e748e491
Handle macros in the CDR properly (bug #2414 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-10 13:40:56 +00:00
Mark Spencer
7ca6f85a41
More strcpy / snprintf as part of rgagnon's audit (bug #2004 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-09 10:08:09 +00:00
Jeremy McNamara
6f0a7f7a15
Add new built-in app 'SetAMAFlags'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-28 03:48:53 +00:00
James Golovich
3f9c34f415
Misc formatting cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 20:11:15 +00:00
James Golovich
8801247d76
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer
b72227e845
Merge (and cleanup) anthm's CDR changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-20 22:46:42 +00:00
Mark Spencer
70167380a3
Allow CDR's to be linked and work on the linked list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-20 15:19:36 +00:00
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
James Golovich
f1d0d949dc
Use ast_strlen_zero in cdr.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-06 20:21:06 +00:00
James Golovich
0f3f7eee9a
Log that we are unregistering cdr module (bug 1460)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-21 04:25:44 +00:00
Jeremy McNamara
e8622a660a
Add application to log user data to the CDRs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 03:23:05 +00:00
Martin Pycko
a2894c1114
Don't complain that wait4 is unkown and make sure that we won't segfault if chan->cdr is NULL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-17 04:21:56 +00:00
Martin Pycko
4828759ab8
Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always 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: https://origsvn.digium.com/svn/asterisk/trunk@1499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-12 16:51:35 +00:00
Mark Spencer
1bb58646de
Totally revamp thread debugging to support locating and removing deadlocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 15:25:16 +00:00
Mark Spencer
047bc4bd88
Add unique identifier
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-30 04:41:18 +00:00
Mark Spencer
e6918cb42e
Merge hint patch, add new variables, and misc. PBX cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-30 22:55:42 +00:00
Mark Spencer
0592345e63
Version 0.3.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-02-02 19:44:47 +00:00
Mark Spencer
861a2d021d
Version 0.2.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-07-29 22:40:07 +00:00
Mark Spencer
d5930d1fe8
Version 0.1.12 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-05-13 22:29:39 +00:00
Mark Spencer
bc740c86fd
Version 0.1.11 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-02-18 20:25:25 +00:00
Mark Spencer
39b383b353
Version 0.1.10 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-10-18 15:38:46 +00:00