dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

39 Commits

Author SHA1 Message Date
dvossel f27e928f05 Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff
-Functional changes
1. Dynamic global format list build by codecs defined in codecs.conf
2. SILK 8khz, 12khz, 16khz, and 24khz with custom attributes defined in codecs.conf
3. Negotiation of SILK attributes in chan_sip.
4. SPEEX 32khz with translation
5. SLINEAR 8khz, 12khz, 24khz, 32khz, 44.1khz, 48khz, 96khz, 192khz with translation
   using codec_resample.c
6. Various changes to RTP code required to properly handle the dynamic format list
   and formats with attributes.
7. ConfBridge now dynamically jumps to the best possible sample rate.  This allows
   for conferences to take advantage of HD audio (Which sounds awesome)
8. Audiohooks are no longer limited to 8khz audio, and most effects have been
   updated to take advantage of this such as Volume, DENOISE, PITCH_SHIFT.
9. codec_resample now uses its own code rather than depending on libresample.

-Organizational changes
Global format list is moved from frame.c to format.c
Various format specific functions moved from frame.c to format.c

Review: https://reviewboard.asterisk.org/r/1104/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@308582 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-22 23:04:49 +00:00
dvossel 4aca3187a3 Asterisk media architecture conversion - no more format bitfields
This patch is the foundation of an entire new way of looking at media in Asterisk.
The code present in this patch is everything required to complete phase1 of my
Media Architecture proposal.  For more information about this project visit the link below.
https://wiki.asterisk.org/wiki/display/AST/Media+Architecture+Proposal

The primary function of this patch is to convert all the usages of format
bitfields in Asterisk to use the new format and format_cap APIs.  Functionally
no change in behavior should be present in this patch.  Thanks to twilson
and russell for all the time they spent reviewing these changes.

Review: https://reviewboard.asterisk.org/r/1083/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@306010 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-03 16:22:10 +00:00
tilghman 3bacd4082e Expand codec bitfield from 32 bits to 64 bits.
Reviewboard: https://reviewboard.asterisk.org/r/416/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227580 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-04 14:05:12 +00:00
dvossel 39acf19959 Merge code associated with AST-2009-006
(closes issue #12912)
Reported by: rathaus
Tested by: tilghman, russell, dvossel, dbrooks


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@215955 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-03 16:31:54 +00:00
dvossel 9925f010f9 Merged revisions 194557,194685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r194557 | dvossel | 2009-05-14 17:59:43 -0500 (Thu, 14 May 2009) | 10 lines
  
  IAX2 "Ghost" Channels
  
  There is a bug tracker issue where people are reporting "Ghost" channels in their 'iax2 show channels' output.  The confusion is caused by channels being listed as "(NONE)" with format "unknown".  These are not channels of coarse.  They are usually just pending registration or poke requests, but it is confusing output.  To help make sense of this I have added two columns to 'iax2 show channels'.  One shows the first message which started the transaction, and the second shows the last message sent by either side of the call.  This helps diagnose why the entry exists and why it may not go away.
  
  (closes issue #14207)
  Reported by: clive18
  
  Review: https://reviewboard.asterisk.org/r/246/
........
  r194685 | dvossel | 2009-05-15 10:40:37 -0500 (Fri, 15 May 2009) | 6 lines
  
  Update to previous IAX2 "Ghost" Channels patch.
  
  Fixed some comments made on reviewboard for the previous patch.
  
  (issue #14207)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@194833 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-15 20:52:12 +00:00
dvossel 6ca5b4ac7d Fixed iax2 key rotation backwards compatibility
Turns key rotation back on by default.  Added bit into encryption IE to indicate whether or not key rotation is supported or not. If it is not supported then it is not enabled, which insures backwards compatibility.  This eliminates the need for the keyrotate option in iax.conf, so it has been removed. 

Review: http://reviewboard.digium.com/r/159/ 


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175597 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-13 20:11:55 +00:00
russell 6c97118405 Merge changes from team/bbryant/keyrotation
This set of changes enhances IAX2 encryption support by adding key rotation
to provide enhanced security.  The key used for encryption is rotated right 
after the call gets set up, and then again every few minutes.  This was
discussed at the last AstriDevCon.  For interoperability with older versions
of Asterisk, there is an option that disables key rotation.

(closes issue #13018)
Reported by: bbryant
Patches:
      07072008__iax2_key_rotation.diff uploaded by bbryant (license 36)
Tested by: russell, bbryant


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135158 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-01 18:16:24 +00:00
bbryant d3a5ecf1ad Remove commit that somehow got mergeed into trunk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127933 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03 22:44:39 +00:00
bbryant 5ca399c2cd Update these files with transfer code.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127931 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03 22:36:02 +00:00
kpfleming 22feb5bb79 Merged revisions 114880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114880 | kpfleming | 2008-04-30 09:46:57 -0500 (Wed, 30 Apr 2008) | 2 lines

use the ARRAY_LEN macro for indexing through the iaxs/iaxsl arrays so that the size of the arrays can be adjusted in one place, and change the size of the arrays from 32768 calls to 2048 calls when LOW_MEMORY is defined

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114884 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30 14:49:51 +00:00
oej c7aed6ea2b Doxygen updates, formatting.
misdn stuff needs a lot of doxygenification

(Hello, Qwell :-) )


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92423 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-11 22:20:22 +00:00
russell 03b43d0941 Reformat some of iax2.h and convert comments to doxygen format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62295 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-28 21:26:00 +00:00
russell 8d14d22558 Merge changes from team/russell/iax2_osp
This set of changes adds OSP support to chan_iax2.  However, I have modified
the patch a bit from what was submitted.  You now use the CHANNEL() function
to get and set the OSP token for IAX2.

(issue #8531, reported by and original patch by homesick, patch updated by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61702 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-20 21:12:53 +00:00
tilghman 4373b2af13 IAX2 remote variables - Bug 7619
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51123 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16 08:38:59 +00:00
markster 9e8603c06d Allow media to go directly between IAX endpoints while signalling still
goes through the existing path.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26314 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 09:09:16 +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 9201aa9db0 add missing newlines, fix misspelling of nonexistent (bug #4027)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5467 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13 23:33:47 +00:00
markster 235a6486c3 Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532, #3400)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5192 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17 21:30:19 +00:00
markster 08db13f776 Add support for receiver reports (bug #3236, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5012 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-12 18:52:14 +00:00
markster 4c5d430977 Merge experimental codec preferences for IAX2 (bug #2971)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4727 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-09 10:32:53 +00:00
markster 8b4c7c6f2e Minor IAX2 fixes, add incomplete-but-very-basically-functional IAX2 encryption
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4595 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 23:02:21 +00:00
markster 7d6a256893 Merge Tilghman's cause codes patch (bug #3032)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4558 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-26 22:33:25 +00:00
markster fc16142d07 Add sampling rate handling
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4299 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-19 21:52:25 +00:00
markster f01f076e6d Add iax2 parsing for TNS/TON/PRES
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3877 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02 01:56:08 +00:00
markster c57919ab72 Enable understanding of service identifier and provisioning version
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3065 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-25 04:34:43 +00:00
markster 89db87c9d3 Add IAX2 firmware upgrade support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2234 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-24 21:27:16 +00:00
markster 05be3214f5 Update IAX2 parser for sending caller info
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1599 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-01 22:59:06 +00:00
markster 09234e825c Finish provisioning placeholder
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1459 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-01 19:24:23 +00:00
markster c42987a34b Add placeholder for provisioning info
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1458 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-01 18:36:15 +00:00
markster a0da9453b6 Add video support to IAX2 (theoretically)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1141 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-30 00:48:27 +00:00
markster 67b5919a15 Add transfer to IAX2, and transfer application
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1016 f38db490-d61c-443f-a65b-d21fe96a405b
2003-05-14 05:33:06 +00:00
markster 6ff1dd3a9f Add transfer ID for potential use in more complex NAT environments
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@661 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-20 05:56:00 +00:00
matteo 15d2f7aa97 Tue Mar 18 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@652 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-18 06:00:18 +00:00
matteo 342cf00fb7 dom mar 16 23:37:23 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@647 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-16 22:37:31 +00:00
matteo 40b9926da3 Sun Mar 16 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@646 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-16 06:00:11 +00:00
matteo 24c1f82b13 Fri Mar 14 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@644 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-14 06:00:20 +00:00
matteo 077328e266 gio mar 13 16:44:17 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@643 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-13 15:44:31 +00:00
matteo 30de186e01 Thu Mar 13 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@642 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-13 06:00:20 +00:00
matteo 48085489fc dom mar 2 20:52:10 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@629 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-02 19:52:23 +00:00