Luigi Rizzo
b94f6a6df4
normalize/simplify a bit of the command completion code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:20:13 +00:00
Luigi Rizzo
e9b7424737
The condition to check the zaptel version was too strict.
...
If you are compiling with WITHOUT_ZAPTEL=1, you can also
work with older version of zaptel, and there is no reason
not to allow that.
This should help various people mentioning on the -dev
list that there were issues with newer zaptel versions
on FreeBSD, and so they had to use older version.
(This includes me, btw!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 21:24:48 +00:00
Kevin P. Fleming
f7c2eed26a
ensure that 'zap show channel' will indicate that the echo canceler has been disabled when CED has been detected on the channel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:00:21 +00:00
Matt O'Gorman
a5ece3388a
Janitor work converting !ast_strlen_zero(a)?a:b
...
to S_OR functions. from bug note 6805 with minor
modifications.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 19:31:54 +00:00
Mark Spencer
9164eac21a
Add micro-http server and abstract manager interface, make snmp not die
...
on reload.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:50:09 +00:00
Matthew Fredrickson
ba8f7b8819
Allow channels to be moved if channel change is requested in SETUP_ACK, also add a WAY cool new field to the nsf option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 21:41:23 +00:00
Jim Dixon
7cfb9b3515
Added separate outsignalling specification, and fixed FEATDMF to allow for
...
international inbound calls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 22:31:36 +00:00
Russell Bryant
4c49c78e2e
Merged revisions 13237 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r13237 | russell | 2006-03-16 12:42:46 -0500 (Thu, 16 Mar 2006) | 3 lines
always use the callerid signalling method set in the zt_pvt strucutre as
opposed to the last one read from the config file (issue #6734 , with mods)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-16 17:46:15 +00:00
Mark Spencer
24c1501690
Fix some whitespace issues
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-04 18:12:02 +00:00
Tilghman Lesher
f2be8b518d
Bug 6554 - Show all spans statuses with a single command
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-21 05:41:37 +00:00
Tilghman Lesher
159711c838
Bug 6552 - Be a little more descriptive about which span has the PRI error
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-21 05:34:52 +00:00
Kevin P. Fleming
7b2988821a
clean up SMDI support commit:
...
copyright header format and dates
code formatting and guidelines conformance
use of timeval wrapper functions
use of memory allocation wrappers
propery unref created interface objects during config load
document new variable set by chan_zap in doc/channelvariables.txt
remove useless 'extern' on function prototypes and definitions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 23:55:47 +00:00
Matthew Fredrickson
5dd0b76b2d
Minor bugfix for #6386
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 22:45:03 +00:00
Matthew Fredrickson
af07dc8883
Add smdi support for asterisk (see doc/smdi.txt for config info) ( #5945 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 21:50:56 +00:00
Russell Bryant
7529e12ab4
remove unnecessary format check in zt_request so that we will actually accept
...
a requested format of ALAW (issue #6421 , different patch)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 02:21:57 +00:00
Russell Bryant
a8d24df108
clarify return value (issue #6434 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 01:52:09 +00:00
Matthew Fredrickson
556ec7c940
Make sure we output the APDU debug on pri debug commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-07 18:00:42 +00:00
Matthew Fredrickson
7bed7d9048
Fix w/ string field updates #6397
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-02 21:02:19 +00:00
Matthew Fredrickson
d65e912816
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-02 20:50:29 +00:00
Matthew Fredrickson
35edaf57d6
Fix so that hardhdlc works w/ chan_zap
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-02 16:09:38 +00:00
Kevin P. Fleming
a16ae226b6
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Russell Bryant
a228af1dd9
remove some more local declarations of null frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31 17:57:12 +00:00
Kevin P. Fleming
d819679da0
Yes Virginia, Zaptel does support native ALAW
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31 03:45:09 +00:00
Kevin P. Fleming
257212b930
Merged revisions 8905 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8905 | kpfleming | 2006-01-30 11:08:28 -0600 (Mon, 30 Jan 2006) | 2 lines
disable buggy PRI user-user code until it can be fixed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-30 17:09:55 +00:00
Kevin P. Fleming
cde6058aef
make ast_read() able to handle channel read()/exception() methods that return a chain of frames
...
cleanup code in ast_read()
add AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END so that variable-length DTMF events can be supported
teach chan_zap to send DTMF_BEGIN and DTMF_END when appropriate
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-29 05:07:04 +00:00
Russell Bryant
99abd45d01
Merged revisions 8729 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8729 | russell | 2006-01-26 14:42:35 -0500 (Thu, 26 Jan 2006) | 2 lines
fix problem with dtmf on e&m (issue #6364 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 19:44:16 +00:00
Kevin P. Fleming
1992ffbdb0
eliminate compiler warnings from recent const-ification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 17:27:51 +00:00
Olle Johansson
3d456ce4f0
Add support for "musicclass" instead of "musiconhold" to make chan_zap compatible
...
with other channels.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-19 22:41:55 +00:00
Matthew Fredrickson
6ba6a2be1c
Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes ( #6229 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 23:13:42 +00:00
Kevin P. Fleming
21347757ef
don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 05:15:33 +00:00
Russell Bryant
466a062b09
convert some channels to use the memory allocation wrappers.
...
(This is being added to the janitor projects list.)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 01:20:29 +00:00
Mark Spencer
1b57ae8b6c
Fix build if RINGBEGIN is not defined (bug #6166 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 20:38:40 +00:00
Matthew Fredrickson
4401b7e67f
Changes to allow receiving japanese callerid (Bug #5928 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-06 20:03:20 +00:00
Matthew Fredrickson
a14916bfa5
Fixes for bug #6125
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 14:46:41 +00:00
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Mark Spencer
63ed37defd
Don't do DTMF detect on pseudo's!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 23:56:44 +00:00
Jim Dixon
a945b5598e
Added support for Feature Group C CAMA trunks (both DP and MF), and support
...
for Feature Group D Tamdem trunks inbound (outbound was already there)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 20:01:35 +00:00
BJ Weschke
8ef327b3f5
Bug #5877
...
Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-10 18:05:00 +00:00
Russell Bryant
0ff48b4681
clean up some compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 15:28:48 +00:00
Tilghman Lesher
870f98f02d
Bug 5858 - Make the chanvars.c functions return a 'const char *'
...
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03 19:25:33 +00:00
Matthew Fredrickson
6a6b88c0e3
Fix all the warnings and errors for PRI to go to more logical places
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 23:52:00 +00:00
Matthew Fredrickson
39c7f262a0
Add app to send pri keypad facility digits during a call
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-01 18:52:24 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Mark Spencer
a7d794a0ac
Fix DTMF issue with 3-way native zap
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 18:00:07 +00:00
Kevin P. Fleming
bdda6254f4
correct logic for group-match CONGESTION checking
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 01:42:38 +00:00
Kevin P. Fleming
cdf4031963
issue #3360 plus related fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 00:48:38 +00:00
Mark Spencer
c5f0a6db6f
Fix three-way issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 19:36:20 +00:00
Russell Bryant
31a804b97c
issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Mark Spencer
3d473eebbc
Fix chan_zap build on non-PRI (bug #5620 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 04:38:39 +00:00
Mark Spencer
994b9db081
Handle DTMF properly when combined with other events
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-05 22:30:31 +00:00