mattf
9b3edb7fad
Make sure we use the correct event type when we're moving channels around :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 16:20:39 +00:00
kpfleming
29f496ef12
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
jdixon
c4e93002d6
Added "Operator Services" connection mode for Zap channels, and the 'O' option
...
in app_dial to support the use of this mode.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22128 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-22 11:30:06 +00:00
rizzo
3664249356
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming
e4880150b1
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
tilghman
e0ba99b7f5
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
oej
e74b0868ba
Formatting cleanup
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 18:34:21 +00:00
oej
731348a1de
Issue #6878 - Manager event DNDstate hidden under verbose option (casper)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17366 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 18:26:24 +00:00
rizzo
5004f1cb9d
normalize/simplify a bit of the command completion code.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15856 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 23:20:13 +00:00
rizzo
4790cfb2bd
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: http://svn.digium.com/svn/asterisk/trunk@15785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 21:24:48 +00:00
kpfleming
6a9c46a4e4
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: http://svn.digium.com/svn/asterisk/trunk@15662 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 19:00:21 +00:00
mogorman
7f2b0a39ea
Janitor work converting !ast_strlen_zero(a)?a:b
...
to S_OR functions. from bug note 6805 with minor
modifications.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27 19:31:54 +00:00
markster
4f4a24ec6f
Add micro-http server and abstract manager interface, make snmp not die
...
on reload.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 23:50:09 +00:00
mattf
21339b3972
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: http://svn.digium.com/svn/asterisk/trunk@14521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23 21:41:23 +00:00
jdixon
1948a178a5
Added separate outsignalling specification, and fixed FEATDMF to allow for
...
international inbound calls.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14079 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21 22:31:36 +00:00
russell
100452677b
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: http://svn.digium.com/svn/asterisk/trunk@13238 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-16 17:46:15 +00:00
markster
6946ee9011
Fix some whitespace issues
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11817 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-04 18:12:02 +00:00
tilghman
12253afbbc
Bug 6554 - Show all spans statuses with a single command
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10607 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21 05:41:37 +00:00
tilghman
b8236f054e
Bug 6552 - Be a little more descriptive about which span has the PRI error
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10606 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21 05:34:52 +00:00
kpfleming
6fdcb5fae5
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: http://svn.digium.com/svn/asterisk/trunk@9451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10 23:55:47 +00:00
mattf
0f4e8cfda1
Minor bugfix for #6386
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10 22:45:03 +00:00
mattf
8ebf7821fe
Add smdi support for asterisk (see doc/smdi.txt for config info) ( #5945 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10 21:50:56 +00:00
russell
0bd623857e
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: http://svn.digium.com/svn/asterisk/trunk@9260 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09 02:21:57 +00:00
russell
1996eb58ac
clarify return value (issue #6434 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09 01:52:09 +00:00
mattf
f6b0326637
Make sure we output the APDU debug on pri debug commands
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9194 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-07 18:00:42 +00:00
mattf
7f27c64826
Fix w/ string field updates #6397
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9113 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02 21:02:19 +00:00
mattf
dd80bec97d
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9106 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02 20:50:29 +00:00
mattf
4f0e946c0c
Fix so that hardhdlc works w/ chan_zap
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9072 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02 16:09:38 +00:00
kpfleming
21d21f89c0
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: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +00:00
russell
bd5352e51f
remove some more local declarations of null frames
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9004 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:57:12 +00:00
kpfleming
2f6550a327
Yes Virginia, Zaptel does support native ALAW
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 03:45:09 +00:00
kpfleming
25ad5f5f13
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: http://svn.digium.com/svn/asterisk/trunk@8906 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30 17:09:55 +00:00
kpfleming
d6dcf07573
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: http://svn.digium.com/svn/asterisk/trunk@8850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29 05:07:04 +00:00
russell
24e1605a2d
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: http://svn.digium.com/svn/asterisk/trunk@8730 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26 19:44:16 +00:00
kpfleming
7007891a03
eliminate compiler warnings from recent const-ification
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8338 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20 17:27:51 +00:00
oej
1aabf33033
Add support for "musicclass" instead of "musiconhold" to make chan_zap compatible
...
with other channels.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8300 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-19 22:41:55 +00:00
mattf
2a43f4e15d
Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes ( #6229 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8155 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 23:13:42 +00:00
kpfleming
2684505cef
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: http://svn.digium.com/svn/asterisk/trunk@8120 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 05:15:33 +00:00
russell
305867a9e0
convert some channels to use the memory allocation wrappers.
...
(This is being added to the janitor projects list.)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7954 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 01:20:29 +00:00
markster
a2a72bc595
Fix build if RINGBEGIN is not defined (bug #6166 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 20:38:40 +00:00
mattf
e157d1f1e9
Changes to allow receiving japanese callerid (Bug #5928 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-06 20:03:20 +00:00
mattf
3ee49fcd8a
Fixes for bug #6125
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7786 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 14:46:41 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
markster
e0618cf82a
Don't do DTMF detect on pseudo's!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7640 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26 23:56:44 +00:00
jdixon
262e9759c4
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: http://svn.digium.com/svn/asterisk/trunk@7636 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26 20:01:35 +00:00
bweschke
5d400b777b
Bug #5877
...
Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7424 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-10 18:05:00 +00:00
russell
b7bb984340
clean up some compiler warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7327 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04 15:28:48 +00:00
tilghman
3365b1cc9f
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: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03 19:25:33 +00:00
mattf
a3c74f33dd
Fix all the warnings and errors for PRI to go to more logical places
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7294 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-02 23:52:00 +00:00
mattf
ceafc46bc4
Add app to send pri keypad facility digits during a call
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7254 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-01 18:52:24 +00:00