asterisk/asterisk.git
15 years agoLittle variable optimizations
Mark Spencer [Mon, 1 Nov 2004 15:48:42 +0000 (15:48 +0000)]
Little variable optimizations

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4144 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix small typo
Mark Spencer [Mon, 1 Nov 2004 14:48:07 +0000 (14:48 +0000)]
Fix small typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4143 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate ChangeLog
Mark Spencer [Mon, 1 Nov 2004 02:43:53 +0000 (02:43 +0000)]
Update ChangeLog

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4142 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake channel variables inheritable by _ (bug #928)
Mark Spencer [Mon, 1 Nov 2004 02:23:28 +0000 (02:23 +0000)]
Make channel variables inheritable by _ (bug #928)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4141 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agovmail.cgi updates (bug #2686)
Mark Spencer [Mon, 1 Nov 2004 02:08:55 +0000 (02:08 +0000)]
vmail.cgi updates (bug #2686)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4140 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd TALK_DETECTED variable (bug #2628)
Mark Spencer [Mon, 1 Nov 2004 02:04:05 +0000 (02:04 +0000)]
Add TALK_DETECTED variable (bug #2628)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4139 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAccept %d/%d in m= line of SDP (bug #2625, but not their patch)
Mark Spencer [Mon, 1 Nov 2004 02:01:37 +0000 (02:01 +0000)]
Accept %d/%d in m= line of SDP (bug #2625, but not their patch)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4138 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix say for portugese (bug #2749)
Mark Spencer [Mon, 1 Nov 2004 01:51:12 +0000 (01:51 +0000)]
Fix say for portugese (bug #2749)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4137 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoConsole fix (bug #2764) and logger fix...
Mark Spencer [Mon, 1 Nov 2004 01:48:35 +0000 (01:48 +0000)]
Console fix (bug #2764) and logger fix...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4136 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDebugging improvements (bug #2765)
Mark Spencer [Mon, 1 Nov 2004 01:44:11 +0000 (01:44 +0000)]
Debugging improvements (bug #2765)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4135 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPass redirecting number on PRI calls (bug #2763)
Mark Spencer [Sun, 31 Oct 2004 23:34:22 +0000 (23:34 +0000)]
Pass redirecting number on PRI calls (bug #2763)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4134 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOuch.
Mark Spencer [Sun, 31 Oct 2004 23:29:56 +0000 (23:29 +0000)]
Ouch.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4133 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDISA enhancemnets (bug #2766)
Mark Spencer [Sun, 31 Oct 2004 23:28:42 +0000 (23:28 +0000)]
DISA enhancemnets (bug #2766)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4132 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMisc code fixes (bug #2762)
Mark Spencer [Sun, 31 Oct 2004 23:17:11 +0000 (23:17 +0000)]
Misc code fixes (bug #2762)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4131 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd voicemail to say # of minutes remaining (bug #2302)
Mark Spencer [Sat, 30 Oct 2004 20:49:42 +0000 (20:49 +0000)]
Add voicemail to say # of minutes remaining (bug #2302)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4130 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd RTP debug support (bug #2570)
Mark Spencer [Sat, 30 Oct 2004 01:52:12 +0000 (01:52 +0000)]
Add RTP debug support (bug #2570)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4129 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOopsies...
Mark Spencer [Fri, 29 Oct 2004 22:31:36 +0000 (22:31 +0000)]
Oopsies...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4128 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake retrans timer less aggressive
Mark Spencer [Fri, 29 Oct 2004 21:47:42 +0000 (21:47 +0000)]
Make retrans timer less aggressive

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4127 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoComplete DUNDi push (first pass) support
Mark Spencer [Fri, 29 Oct 2004 13:04:37 +0000 (13:04 +0000)]
Complete DUNDi push (first pass) support

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4125 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix record app
Mark Spencer [Thu, 28 Oct 2004 22:14:08 +0000 (22:14 +0000)]
Fix record app

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4124 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix qsig support
Mark Spencer [Thu, 28 Oct 2004 21:42:39 +0000 (21:42 +0000)]
Fix qsig support

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4123 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix potential seg if someone doesn't specify an extension
Mark Spencer [Thu, 28 Oct 2004 21:37:18 +0000 (21:37 +0000)]
Fix potential seg if someone doesn't specify an extension

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4122 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd structures for status reporting
Mark Spencer [Thu, 28 Oct 2004 19:55:18 +0000 (19:55 +0000)]
Add structures for status reporting

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4121 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRecord application updates (bug #2627)
Mark Spencer [Thu, 28 Oct 2004 19:08:02 +0000 (19:08 +0000)]
Record application updates (bug #2627)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4120 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdding Q.SIG switchtype option to chan_zap
Matthew Fredrickson [Thu, 28 Oct 2004 16:11:04 +0000 (16:11 +0000)]
Adding Q.SIG switchtype option to chan_zap

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4119 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoCleanup formatting in bug 2741 patch
James Golovich [Thu, 28 Oct 2004 15:53:36 +0000 (15:53 +0000)]
Cleanup formatting in bug 2741 patch

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4118 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOops
Mark Spencer [Thu, 28 Oct 2004 14:25:50 +0000 (14:25 +0000)]
Oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4117 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agomore code clean-up
Jeremy McNamara [Thu, 28 Oct 2004 06:06:58 +0000 (06:06 +0000)]
more code clean-up

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4116 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofix compiler warning
Mark Spencer [Thu, 28 Oct 2004 01:56:49 +0000 (01:56 +0000)]
fix compiler warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4115 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years ago/ fixed for change in ast_channel structure
Ben Kramer [Thu, 28 Oct 2004 00:51:25 +0000 (00:51 +0000)]
/ fixed for change in ast_channel structure

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4114 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoTransfer improvements and fixes (bug #2741)
Mark Spencer [Wed, 27 Oct 2004 22:01:33 +0000 (22:01 +0000)]
Transfer improvements and fixes (bug #2741)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4113 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix H.323 doc stuff (bug #2739)
Mark Spencer [Wed, 27 Oct 2004 20:02:35 +0000 (20:02 +0000)]
Fix H.323 doc stuff (bug #2739)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4112 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPreliminary "PRECACHE" / push support...
Mark Spencer [Wed, 27 Oct 2004 13:58:31 +0000 (13:58 +0000)]
Preliminary "PRECACHE"  / push support...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4110 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agorollback stupid code
Anthony Minessale II [Wed, 27 Oct 2004 03:33:14 +0000 (03:33 +0000)]
rollback stupid code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4109 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoeven more paranoid serialize code
Anthony Minessale II [Wed, 27 Oct 2004 02:26:17 +0000 (02:26 +0000)]
even more paranoid serialize code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4108 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoadd more paranoid handling to pbx_builtin_serialize_variables
Anthony Minessale II [Wed, 27 Oct 2004 01:34:06 +0000 (01:34 +0000)]
add more paranoid handling to pbx_builtin_serialize_variables

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPass concept of status back, permit "leaveempty" to work with static agents who are...
Mark Spencer [Tue, 26 Oct 2004 22:25:43 +0000 (22:25 +0000)]
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd manager proxy (bug #2506)
Mark Spencer [Tue, 26 Oct 2004 04:02:57 +0000 (04:02 +0000)]
Add manager proxy (bug #2506)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4102 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix chan_local debug message (bug #2725)
Mark Spencer [Tue, 26 Oct 2004 03:01:52 +0000 (03:01 +0000)]
Fix chan_local debug message (bug #2725)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4101 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix MGCP dtmf buglet (bug #2696)
Mark Spencer [Tue, 26 Oct 2004 02:57:18 +0000 (02:57 +0000)]
Fix MGCP dtmf buglet (bug #2696)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4100 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd n+101 jump if file does not exist (bug #2722)
Mark Spencer [Tue, 26 Oct 2004 02:25:50 +0000 (02:25 +0000)]
Add n+101 jump if file does not exist (bug #2722)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4099 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix short message isssue (bug #2723)
Mark Spencer [Tue, 26 Oct 2004 02:21:43 +0000 (02:21 +0000)]
Fix short message isssue (bug #2723)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4098 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix compilation of chan_agent.c on gcc < 3.0
James Golovich [Sun, 24 Oct 2004 18:02:32 +0000 (18:02 +0000)]
Fix compilation of chan_agent.c on gcc < 3.0

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4085 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUse same defines for NetBSD as FreeBSD in pbx_dundi.c (bug 2716)
James Golovich [Sun, 24 Oct 2004 17:53:10 +0000 (17:53 +0000)]
Use same defines for NetBSD as FreeBSD in pbx_dundi.c (bug 2716)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4084 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd new features to agent stuff (bug #1693)
Mark Spencer [Sun, 24 Oct 2004 13:24:16 +0000 (13:24 +0000)]
Add new features to agent stuff (bug #1693)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4083 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDo not build with DEBUG_THREADS on by default!
Mark Spencer [Sun, 24 Oct 2004 13:18:19 +0000 (13:18 +0000)]
Do not build with DEBUG_THREADS on by default!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4082 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix email debyg line (bug #2675)
Mark Spencer [Sun, 24 Oct 2004 13:15:12 +0000 (13:15 +0000)]
Fix email debyg line (bug #2675)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4081 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix Makefile issue (bug #2691, again)
Mark Spencer [Sun, 24 Oct 2004 13:11:15 +0000 (13:11 +0000)]
Fix Makefile issue (bug #2691, again)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPass format string
James Golovich [Sun, 24 Oct 2004 06:44:37 +0000 (06:44 +0000)]
Pass format string

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4079 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't execute log functions for log levels we don't track
Mark Spencer [Sun, 24 Oct 2004 06:12:21 +0000 (06:12 +0000)]
Don't execute log functions for log levels we don't track

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4078 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAllow "dundi flush" to flush statistics too
Mark Spencer [Sun, 24 Oct 2004 06:04:48 +0000 (06:04 +0000)]
Allow "dundi flush" to flush statistics too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4077 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOops
Mark Spencer [Sun, 24 Oct 2004 05:55:34 +0000 (05:55 +0000)]
Oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4076 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd cache bypass mode
Mark Spencer [Sun, 24 Oct 2004 05:51:57 +0000 (05:51 +0000)]
Add cache bypass mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4075 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOops
Mark Spencer [Sun, 24 Oct 2004 05:08:45 +0000 (05:08 +0000)]
Oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4074 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDUNDi performance enhancments and metrics for average lookup time.
Mark Spencer [Sun, 24 Oct 2004 04:54:42 +0000 (04:54 +0000)]
DUNDi performance enhancments and metrics for average lookup time.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4073 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix user event body (bug #2713)
Mark Spencer [Sun, 24 Oct 2004 03:17:37 +0000 (03:17 +0000)]
Fix user event body (bug #2713)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4072 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd missing pbx_loopback file...
Mark Spencer [Sun, 24 Oct 2004 03:14:44 +0000 (03:14 +0000)]
Add missing pbx_loopback file...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4071 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd "Loopback" switch
Mark Spencer [Sun, 24 Oct 2004 02:53:24 +0000 (02:53 +0000)]
Add "Loopback" switch

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4070 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake sure close() is not called on a fd < 1 with a wrapper call
Anthony Minessale II [Sat, 23 Oct 2004 22:00:40 +0000 (22:00 +0000)]
Make sure close() is not called on a fd < 1 with a wrapper call

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4069 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix for FreeBSD (netbsd too?) (bug #2702)
Mark Spencer [Sat, 23 Oct 2004 21:41:17 +0000 (21:41 +0000)]
Fix for FreeBSD (netbsd too?) (bug #2702)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4068 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix SMS thingy for Bezeq (bug #2708)
Mark Spencer [Sat, 23 Oct 2004 20:34:40 +0000 (20:34 +0000)]
Fix SMS thingy for Bezeq (bug #2708)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4067 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoCheck return value of malloc before dereferencing ptr in chan_zap.c
James Golovich [Sat, 23 Oct 2004 20:33:01 +0000 (20:33 +0000)]
Check return value of malloc before dereferencing ptr in chan_zap.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix BSD issue (bug #2668)
Mark Spencer [Sat, 23 Oct 2004 14:15:59 +0000 (14:15 +0000)]
Fix BSD issue (bug #2668)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoTones for singapore (bug #2688)
Mark Spencer [Sat, 23 Oct 2004 13:08:57 +0000 (13:08 +0000)]
Tones for singapore (bug #2688)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4064 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFirst pass at making transfer work within agent (not tested, shouldn't break anything...
Mark Spencer [Sat, 23 Oct 2004 12:19:47 +0000 (12:19 +0000)]
First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4061 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoHelp leanup (bug #2677)
Mark Spencer [Sat, 23 Oct 2004 12:17:46 +0000 (12:17 +0000)]
Help leanup (bug #2677)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4060 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd missing fixup (bug #2667)
Mark Spencer [Sat, 23 Oct 2004 11:50:04 +0000 (11:50 +0000)]
Add missing fixup (bug #2667)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4057 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMore memory checks
James Golovich [Sat, 23 Oct 2004 07:03:01 +0000 (07:03 +0000)]
More memory checks

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4056 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake sure malloc worked before accessing the mem in tdd.c
James Golovich [Sat, 23 Oct 2004 06:28:19 +0000 (06:28 +0000)]
Make sure malloc worked before accessing the mem in tdd.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4055 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake sure malloc worked before accessing the mem in chan_modem.c (bug 2704)
James Golovich [Sat, 23 Oct 2004 06:03:29 +0000 (06:03 +0000)]
Make sure malloc worked before accessing the mem in chan_modem.c (bug 2704)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4054 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoCleanup dundi-parser.c
James Golovich [Sat, 23 Oct 2004 04:53:12 +0000 (04:53 +0000)]
Cleanup dundi-parser.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4053 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoimplement type=alias to deprecate type=h323 and a whole lot more code clean up
Jeremy McNamara [Sat, 23 Oct 2004 02:43:41 +0000 (02:43 +0000)]
implement type=alias to deprecate type=h323 and a whole lot more code clean up

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoThis patch adds a new api call:
Anthony Minessale II [Fri, 22 Oct 2004 20:59:38 +0000 (20:59 +0000)]
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

15 years agoFix some callerid output
Mark Spencer [Fri, 22 Oct 2004 19:45:39 +0000 (19:45 +0000)]
Fix some callerid output

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agore-implement callerid, still might not be right. Remove channel limits, in favor...
Jeremy McNamara [Fri, 22 Oct 2004 19:04:02 +0000 (19:04 +0000)]
re-implement callerid, still might not be right. Remove channel limits, in favor to app_groupcount. A lot more code cleanup. Please test and report as I am sure I broke something

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4049 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix minor OSP issue
Mark Spencer [Fri, 22 Oct 2004 15:28:32 +0000 (15:28 +0000)]
Fix minor OSP issue

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4048 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSmall verbosity fix in chan_iax2.c from bkw_
James Golovich [Fri, 22 Oct 2004 15:02:13 +0000 (15:02 +0000)]
Small verbosity fix in chan_iax2.c from bkw_

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4047 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate example dundi.conf docs to include the other 2 variables that can be used...
James Golovich [Fri, 22 Oct 2004 14:52:42 +0000 (14:52 +0000)]
Update example dundi.conf docs to include the other 2 variables that can be used in the destination string

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4046 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoWork on precaching
Mark Spencer [Fri, 22 Oct 2004 14:19:11 +0000 (14:19 +0000)]
Work on precaching

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4045 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixed in CVS head.
Mark Spencer [Fri, 22 Oct 2004 13:24:00 +0000 (13:24 +0000)]
Fixed in CVS head.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4044 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoHandle unknown 1xx reponses as 100 (bug #2698)
Mark Spencer [Fri, 22 Oct 2004 13:18:20 +0000 (13:18 +0000)]
Handle unknown 1xx reponses as 100 (bug #2698)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4043 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix the shrink_number to not remove the trailing '.'
Mark Spencer [Fri, 22 Oct 2004 13:08:35 +0000 (13:08 +0000)]
Fix the shrink_number to not remove the trailing '.'

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4042 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years ago/ updated caller ID to use the new structures and re-enabled
Ben Kramer [Thu, 21 Oct 2004 05:03:00 +0000 (05:03 +0000)]
/ updated caller ID to use the new structures and re-enabled

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4041 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDisable mac lookup, fix compile on NetBSD (bug #2680)
Mark Spencer [Wed, 20 Oct 2004 12:47:03 +0000 (12:47 +0000)]
Disable mac lookup, fix compile on NetBSD (bug #2680)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4040 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix initialization tiddly bit
Mark Spencer [Wed, 20 Oct 2004 12:39:22 +0000 (12:39 +0000)]
Fix initialization tiddly bit

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix typo and missing format string in a fprintf in lock.h
James Golovich [Wed, 20 Oct 2004 05:45:09 +0000 (05:45 +0000)]
Fix typo and missing format string in a fprintf in lock.h

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4038 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix potential segfault.
Mark Spencer [Wed, 20 Oct 2004 04:27:31 +0000 (04:27 +0000)]
Fix potential segfault.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4037 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPut Constantine's last name in
Mark Spencer [Tue, 19 Oct 2004 21:16:46 +0000 (21:16 +0000)]
Put Constantine's last name in

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4036 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSend empty frames when missing frames arrive (hope this doesn't break anything)
Mark Spencer [Tue, 19 Oct 2004 21:07:10 +0000 (21:07 +0000)]
Send empty frames when missing frames arrive (hope this doesn't break anything)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4035 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't "ignore" on CANCEL (bug #2670)
Mark Spencer [Tue, 19 Oct 2004 03:17:26 +0000 (03:17 +0000)]
Don't "ignore" on CANCEL (bug #2670)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4034 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd DUNDi.... (http://www.dundi.com)
Mark Spencer [Mon, 18 Oct 2004 21:45:13 +0000 (21:45 +0000)]
Add DUNDi.... (http://www.dundi.com)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4033 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDelete old app_qcall (obsolete)
Mark Spencer [Mon, 18 Oct 2004 01:32:24 +0000 (01:32 +0000)]
Delete old app_qcall (obsolete)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4032 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix ndbm compile warnings (bug #2540)
Mark Spencer [Sun, 17 Oct 2004 22:24:46 +0000 (22:24 +0000)]
Fix ndbm compile warnings (bug #2540)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4031 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoThread fixes, vm fix (bug #2665)
Mark Spencer [Sun, 17 Oct 2004 22:13:05 +0000 (22:13 +0000)]
Thread fixes, vm fix (bug #2665)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4030 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemove late-night excuse for wasting cpu cycles. revert previous res_agi change
James Golovich [Sun, 17 Oct 2004 05:16:22 +0000 (05:16 +0000)]
Remove late-night excuse for wasting cpu cycles.  revert previous res_agi change

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4029 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix chan_zap reload with pseudo channels (bug 2664)
James Golovich [Sun, 17 Oct 2004 05:05:22 +0000 (05:05 +0000)]
Fix chan_zap reload with pseudo channels (bug 2664)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4028 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPut a real beep...
Mark Spencer [Sun, 17 Oct 2004 00:10:07 +0000 (00:10 +0000)]
Put a real beep...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4026 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't restart PRI channels
Mark Spencer [Sat, 16 Oct 2004 22:44:53 +0000 (22:44 +0000)]
Don't restart PRI channels

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4025 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoImprove peer stats (bug #2635)
Mark Spencer [Sat, 16 Oct 2004 22:40:48 +0000 (22:40 +0000)]
Improve peer stats (bug #2635)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake chan_zap reloadable (bug #2637)
Mark Spencer [Sat, 16 Oct 2004 22:34:57 +0000 (22:34 +0000)]
Make chan_zap reloadable (bug #2637)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4023 65c4cc65-6c06-0410-ace0-fbb531ad65f3