aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
AgeCommit message (Collapse)AuthorFilesLines
2005-03-23Merge Russell's formatting patch (bug #3838)markster1-44/+45
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5234 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05Allow debug to be enabled on a per-file basis...markster1-0/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Rework channel structure to eliminate "pvt" portion of channel (bug #3573)markster1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-23Merge anthm's CDR updates (bug #3595)markster1-3/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-05Allow uptime to be displayed in seconds (bug #3510, with mods)markster1-10/+28
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4968 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-01Fix agent moh issue (bug #3383)markster1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4943 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-06Fix command completion issue (bug #3257)markster1-15/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4694 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29Fix additional typos (bug #3162)markster1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4581 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-26Fix CLI to report "N/A" when appropriate for time, chan_features updates, ↵markster1-3/+6
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-14Merge slimey's Solaris compatibility (with small mods) (bug #2740)markster1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-07Big diet for struct ast_channelmarkster1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-21Fix compiler warningmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4302 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-18Minor command completion tweak (bug #988 bis)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4287 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17Fix initialization of CLI (bug #2861)markster1-8/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4284 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-06Add features (incomplete, highly experimental), fix DundiLookup app, debug ↵markster1-17/+45
improvements (bug #2800) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4167 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-22This patch adds a new api call:anthm1-0/+5
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-16Provide module command completion (make twisted happy)markster1-3/+24
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4022 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-14Add option for "show modules like" (bug #2643)markster1-7/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3996 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-14Handle excessive entries properly (bug #2634)markster1-6/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3994 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-08Minor config updates, add module counts (bug #2593)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3953 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-08Fix small verboseness bugs (bug #2602)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3946 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02Huge callerid rework (might break H.323, others)markster1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-13Add set debug option, make output for set verbose better (bug #2428)markster1-2/+44
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3771 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-03reload documentation, don't display res in app_test...markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3718 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-03Display elapsed time in hours/mins/seconds (bug #2365 kinda sorta)markster1-4/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3716 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-02Don't try to look offhook with channel banks & Loopstart (bug #2362), also ↵markster1-2/+7
make individual modules reloadable... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3714 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-07Fix a couple minor command line completion issuesmarkster1-7/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3593 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-03Merge nicolasg's manager/cli patch (bug #2207)markster1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3575 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14Minor formatting fix from code audit in cli.ccitats1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3437 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14Remaining rgagnon source audit improvements (bug #2011)markster1-35/+62
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3430 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-08Bug # 1973: Change write to ast_carefulwritemalcolmd1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3403 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵citats1-1/+1
instead (except in asterisk/lock.h). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch ↵markster1-5/+5
still pending) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3273 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-11Add "show channels concise" for machine readable formatmarkster1-7/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3187 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09Merge FreeBSD locking fixes (bug #1411)markster1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-28Hopefully last ast_strlen_zero fix in cli.ccitats1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3105 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-20Make ast_channel_walk become ast_channel_walk_lockedmarkster1-17/+33
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3029 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-10Patch Submitted by BKW on 5/10/2004 to chan_sip.canthm1-1/+1
Fixing 'show help' inefficency. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2944 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-06Use ast_strlen_zero in cli.ccitats1-3/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2909 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-08Free some cli memorycitats1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2660 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06Remove size restiction on remote console command completion (bug 1360)citats1-2/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2634 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-14Make sure time is valid for uptime (bug 1214)citats1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2417 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-06Fix comment in cli.ccitats1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2358 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-15Fix 'show channel<tab>' completion, where show channel would becitats1-2/+2
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-15Fix command completion (bug #988)citats1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2163 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-16another nickpick on formattingjeremy1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2046 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-15Nitpic CLI output. Bug #858jeremy1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2041 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-03Revert bad patch in 187markster1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1819 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-03Minor patch for improving console response with asterisk -r (bug #183)markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1817 f38db490-d61c-443f-a65b-d21fe96a405b