dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

176 Commits

Author SHA1 Message Date
pcadach 8c428efa57 Merged revisions 44684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44684 | pcadach | 2006-10-07 20:39:34 +0600 (Сбт, 07 Окт 2006) | 1 line

Propagate caller's transfer capability too
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44686 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-07 14:48:32 +00:00
kpfleming 1a08d9e31b Merged revisions 44378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines

update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 19:51:38 +00:00
pcadach f32f144b02 Merged revisions 44166 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44166 | pcadach | 2006-10-02 23:15:11 +0600 (Пнд, 02 Окт 2006) | 1 line

Optimization of oh323_indicate(): less locks - less problems, plus single exit point
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44187 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02 18:57:49 +00:00
pcadach 4344681c29 Merged revisions 44135 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44135 | pcadach | 2006-10-02 01:32:24 +0600 (Пнд, 02 Окт 2006) | 1 line

Do not simulate any audio tones if we got PROGRESS message
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44136 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-01 19:40:00 +00:00
pcadach 18f0e3efb4 Merged revisions 44009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44009 | pcadach | 2006-09-30 00:30:34 +0600 (Сбт, 30 Сен 2006) | 1 line

Pass TON/PRESENTATION information too
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44010 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 18:35:44 +00:00
pcadach 4ac9afef32 Handle HOLD/RETRIEVE notifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43845 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 10:41:38 +00:00
pcadach c6d618b89a Use ast_strdupa() instead of strdup(), thanks to sergee
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43763 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 12:32:06 +00:00
pcadach 6afd11ca94 Support for negotiation and receiption of Cisco's RTP DTMF
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-25 09:03:14 +00:00
pcadach 148879ffee Specify RFC2833 payload on dtmfmode option rather than dtmfcodec option (deprecated)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43575 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-24 18:59:38 +00:00
pcadach 11b3b49960 DTMF mode is bitmask, not valued field
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43574 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-24 18:53:44 +00:00
pcadach ede020dfe1 Define DTMF payload types
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-24 18:12:35 +00:00
pcadach 108937da65 Avoid possible deadlock on channel destruction
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43540 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-23 18:28:23 +00:00
pcadach 1e0cd5ceac Move from h.323 to h323 command prefix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43500 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22 20:33:47 +00:00
pcadach 37557227cd Fix compilation warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43498 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22 20:00:31 +00:00
tilghman 2a2a143966 Lots more removal of deprecated things
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 21:59:12 +00:00
pcadach 3d1a3d4296 Introduce Cisco G.726-32 capability (g726aal2 form)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43429 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 18:48:53 +00:00
pcadach 72833dbfdd Remove unnecessary (long time ago commented out) code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 18:08:42 +00:00
file cf87c5b3b6 Merge in latest round of chan_h323 changes. These are all isolated to chan_h323 so meh.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43331 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 16:24:00 +00:00
mattf 42a59d0531 Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 17:07:22 +00:00
kpfleming 5aacb6a82d merge qwell's CLI verbification work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:54:18 +00:00
mogorman 73925ee14a everything that loads a config that needs a config file to run
now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it 
had a non static function when it should.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:00:20 +00:00
file 3f22aa53af Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 01:59:02 +00:00
kpfleming 8b0c007ad9 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
russell 2dcd94043f move the calls to ast_jb_configure() to before the PBX thread is started on the
channel to remove the theoretical race condition that the channel could get
bridged before the channel's jitterbuffer gets configured.  This was pointed
out by PCadach on IRC.  Thanks!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16 03:43:47 +00:00
kpfleming 29b4ce09b7 complete the coding style changes for these frame structures
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 17:14:20 +00:00
murf d0a5262b98 Made "style" change requested by Kevin Fleming... used initializer in declaration,
brought decl down to block where the variable is used, got rid of memset.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 16:35:06 +00:00
murf 028accf651 On behalf of PCadach, " IMHO that was last deadlock in chan_h323..."
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39779 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 14:55:30 +00:00
russell a0ab5e9b80 Merged revisions 38903-38904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r38903 | russell | 2006-08-05 01:07:39 -0400 (Sat, 05 Aug 2006) | 2 lines

suppress a compiler warning about the usage of a potentially uninitialized variable

........
r38904 | russell | 2006-08-05 01:08:50 -0400 (Sat, 05 Aug 2006) | 10 lines

Fix an issue that would cause a NewCallerID manager event to be generated
before the channel's NewChannel event.  This was due to a somewhat recent
change that included using ast_set_callerid() where it wasn't before.  This
function should not be used in the channel driver "new" functions.
(issue #7654, fixed by me)

Also, fix a couple minor bugs in usecount handling.  chan_iax2 could have
increased the usecount but then returned an error.  The place where chan_sip
increased the usecount did not call ast_update_usecount()

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38905 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05 05:26:29 +00:00
kpfleming 6049bb6539 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19 20:44:39 +00:00
russell 4c50c16add Blocked revisions 36725 via svnmerge
........
r36725 | russell | 2006-07-03 00:19:09 -0400 (Mon, 03 Jul 2006) | 4 lines

use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285, gkloepfer)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36726 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03 04:25:21 +00:00
russell 604972725d revert my changes that converted the jb on the channel to be dynamically
allocated. These changes caused crashes when using a channel type that did
not support the jitterbuffer. Instead of fixing why it's crashing, I'm going
to implement this in a better way next week. The way I did it caused a
jitterbuffer to be allocated on every channel where the channel type supported
jitterbuffers, even if they were disabled.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35746 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 16:49:12 +00:00
russell 75865d5802 - dynamically allocate the ast_jb structure that is on the channel structure
so that channels not using a jitterbuffer don't waste as much memory
- ensure that the channel drivers that use jitterbuffers can handle a failure
  from configuring a jitterbuffer on a new channel because of a memory
  allocation error
- On passing through these channel drivers, configure the jitterbuffer before
  starting the PBX thread instead of afterwards. If the pbx fails to start for
  whatever reason, this would have caused a crash.
- Also on passing, move the increase of the usecount to after all of the
  possible failure conditions in the function
- fix a place where ast_update_use_count() was not called
- ensure that the owner channel pointer of the channel pvt strcutures is set to
  NULL in failure conditions


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35553 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 17:05:17 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell f796193575 - add the ability to configure forced jitterbuffers on h323, jingle,
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
  the sip, zap, and skinny channel drivers, as copying the same global
  configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257, north, with additional updates and modifications)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31413 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01 16:47:28 +00:00
russell 1266abd232 update the rest of the channel drivers that use RTP so that their channel
tech structures indicate that they create jitter


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31077 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 17:21:21 +00:00
kpfleming 216ab4669d update the ->indicate() callback for the new arguments
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26495 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 15:00:33 +00:00
rizzo 5540c8dc86 partial adaptation to the new module loading
(not sure if it compiles, partly inspired by #9981 but
with adaptations)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 04:54:05 +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
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
mogorman c73aef25da bug updates chan_h323 to some api changes it
also allows for it to compile once more patch
taken from 6446 with minor mods, similar bugs 6521
and 6560


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17104 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03 18:36:30 +00:00
russell b55d2bd3ea define a global null_frame object so when queueing a null frame, you don't
have to allocate one on the stack


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:18:58 +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
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
russell d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
russell ee234bbb3e Remove unnecessary checks before calls to ast_strlen_zero. Also, change
some places where strlen is used instead of ast_strlen_zero


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-27 02:19:37 +00:00
russell 2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
jeremy 478dd9752f ok wtf, no compiler error here
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6621 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 17:08:52 +00:00
jeremy 04483363fb I swore this compiled. Honest, officer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6620 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 16:58:02 +00:00
kpfleming f89c44df03 more license/copyright header updates (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 15:44:26 +00:00
jeremy 0f012309c7 Lets try this - an attempt to properly deal with DTMF
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6615 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 03:26:02 +00:00