markster
6898f073de
Merge anthm's CDR updates (bug #3595 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-23 22:48:47 +00:00
markster
1b7bf35667
Allow uptime to be displayed in seconds (bug #3510 , with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4968 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-05 16:49:14 +00:00
markster
1bf9ce0083
Fix agent moh issue (bug #3383 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4943 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-01 07:09:56 +00:00
russell
7288b1ced0
update copyright headers for 2005
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster
aa441f1553
Fix command completion issue (bug #3257 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4694 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-06 08:11:43 +00:00
markster
63b86b9f80
Fix additional typos (bug #3162 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4581 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 07:46:10 +00:00
markster
9badca3f72
Fix CLI to report "N/A" when appropriate for time, chan_features updates, ALSA and OSS codec fixes (bug #3145 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4556 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-26 11:08:34 +00:00
markster
70cedacdde
Merge slimey's Solaris compatibility (with small mods) (bug #2740 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14 23:36:30 +00:00
markster
4d714a5488
Big diet for struct ast_channel
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-07 20:38:43 +00:00
markster
7e1e2a70ee
Fix compiler warning
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4302 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-21 17:02:04 +00:00
markster
ed0a628d34
Minor command completion tweak (bug #988 bis)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4287 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-18 04:11:51 +00:00
markster
a2038dfc02
Fix initialization of CLI (bug #2861 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4284 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17 19:28:08 +00:00
markster
bf6699ffaa
Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4167 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-06 21:33:01 +00:00
anthm
5646726039
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: http://svn.digium.com/svn/asterisk/trunk@4051 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-22 20:59:38 +00:00
markster
cc8b63051a
Provide module command completion (make twisted happy)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4022 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-16 21:14:05 +00:00
markster
850b151d70
Add option for "show modules like" (bug #2643 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3996 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-14 04:38:29 +00:00
markster
e53edbed56
Handle excessive entries properly (bug #2634 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3994 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-14 04:12:05 +00:00
markster
c930a4479c
Minor config updates, add module counts (bug #2593 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3953 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-08 18:20:49 +00:00
markster
99d5bcb07e
Fix small verboseness bugs (bug #2602 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3946 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-08 04:23:22 +00:00
markster
6868babd22
Huge callerid rework (might break H.323, others)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02 00:58:31 +00:00
markster
d905f33e0b
Add set debug option, make output for set verbose better (bug #2428 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3771 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-13 18:19:15 +00:00
markster
bfb57d8289
reload documentation, don't display res in app_test...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3718 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-03 14:02:12 +00:00
markster
aba9cc4bbf
Display elapsed time in hours/mins/seconds (bug #2365 kinda sorta)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3716 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-03 03:44:35 +00:00
markster
a0c4cf53bd
Don't try to look offhook with channel banks & Loopstart (bug #2362 ), also make individual modules reloadable...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3714 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-02 20:45:24 +00:00
markster
a295786986
Fix a couple minor command line completion issues
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3593 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-07 19:27:54 +00:00
markster
d3c5020bf3
Merge nicolasg's manager/cli patch (bug #2207 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3575 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-03 17:48:18 +00:00
citats
6698782fb7
Minor formatting fix from code audit in cli.c
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3437 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 14:53:24 +00:00
markster
65ae377f3d
Remaining rgagnon source audit improvements (bug #2011 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3430 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 07:44:19 +00:00
malcolmd
66cd2fcb8f
Bug # 1973: Change write to ast_carefulwrite
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3403 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-08 19:41:34 +00:00
citats
00b34f3e0a
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 18:49:00 +00:00
markster
ae5c80e1de
Merge major BSD mutex and symbol conflict patches (bug #1816 ) (link patch still pending)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3273 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 17:42:14 +00:00
markster
588ea7fd9d
Add "show channels concise" for machine readable format
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3187 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-11 00:18:30 +00:00
markster
7d00f23ad4
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09 01:45:08 +00:00
citats
54709f46d9
Hopefully last ast_strlen_zero fix in cli.c
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3105 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-28 19:23:30 +00:00
markster
ec76498f55
Make ast_channel_walk become ast_channel_walk_locked
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3029 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-20 16:30:10 +00:00
anthm
5e175511fb
Patch Submitted by BKW on 5/10/2004 to chan_sip.c
...
Fixing 'show help' inefficency.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2944 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-10 18:45:20 +00:00
citats
23d20ec90f
Use ast_strlen_zero in cli.c
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2909 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-06 20:49:24 +00:00
citats
0210619de1
Free some cli memory
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2660 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-08 05:28:53 +00:00
citats
c5b266afba
Remove size restiction on remote console command completion (bug 1360)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2634 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06 07:42:01 +00:00
citats
bb5b559d59
Make sure time is valid for uptime (bug 1214)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2417 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-14 09:11:32 +00:00
citats
2523ec1a66
Fix comment in cli.c
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2358 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-06 09:01:08 +00:00
citats
931e9ecf85
Fix 'show channel<tab>' completion, where show channel would be
...
autocompleted instead of displaying channel and channels. Also update
comment to reflect that items in the list should have longest matches
first.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2181 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-15 09:07:00 +00:00
citats
d6bc7030a9
Fix command completion (bug #988 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2163 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-15 05:19:44 +00:00
jeremy
c2a7c15730
another nickpick on formatting
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2046 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-16 01:24:00 +00:00
jeremy
74d1046171
Nitpic CLI output. Bug #858
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2041 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-15 22:56:53 +00:00
markster
d30c7b7b9e
Revert bad patch in 187
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1819 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-03 04:55:55 +00:00
markster
22f776a8e1
Minor patch for improving console response with asterisk -r (bug #183 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1817 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-03 03:03:15 +00:00
markster
66a4e3b2cd
Back out "leak" fixes, as it causes segfaults
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1713 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-09 20:31:54 +00:00
markster
91a86e54c5
CLI memory leak patch
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1712 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-09 19:33:39 +00:00
markster
0b3a23e8c4
Bah, it needs the free apparently
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1653 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-22 04:03:15 +00:00