asterisk/funcs
Richard Mudgett 928ec2b990 Merged revisions 309445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r309445 | rmudgett | 2011-03-04 09:22:04 -0600 (Fri, 04 Mar 2011) | 46 lines
  
  Get real channel of a DAHDI call.
  
  Starting with Asterisk v1.8, the DAHDI channel name format was changed for
  ISDN calls to: DAHDI/i<span>/<number>[:<subaddress>]-<sequence-number>
  
  There were several reasons that the channel name had to change.
  
  1) Call completion requires a device state for ISDN phones.  The generic
  device state uses the channel name.
  
  2) Calls do not necessarily have B channels.  Calls placed on hold by an
  ISDN phone do not have B channels.
  
  3) The B channel a call initially requests may not be the B channel the
  call ultimately uses.  Changes to the internal implementation of the
  Asterisk master channel list caused deadlock problems for chan_dahdi if it
  needed to change the channel name.  Chan_dahdi no longer changes the
  channel name.
  
  4) DTMF attended transfers now work with ISDN phones because the channel
  name is "dialable" like the chan_sip channel names.
  
  For various reasons, some people need to know which B channel a DAHDI call
  is using.
  
  * Added CHANNEL(dahdi_span), CHANNEL(dahdi_channel), and
  CHANNEL(dahdi_type) so the dialplan can determine the B channel currently
  in use by the channel.  Use CHANNEL(no_media_path) to determine if the
  channel even has a B channel.
  
  * Added AMI event DAHDIChannel to associate a DAHDI channel with an
  Asterisk channel so AMI applications can passively determine the B channel
  currently in use.  Calls with "no-media" as the DAHDIChannel do not have
  an associated B channel.  No-media calls are either on hold or
  call-waiting.
  
  (closes issue #17683)
  Reported by: mrwho
  Tested by: rmudgett
  
  (closes issue #18603)
  Reported by: arjankroon
  Patches:
        issue17683_18603_v1.8_v2.patch uploaded by rmudgett (license 664)
  Tested by: stever28, rmudgett
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@309446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-03-04 15:28:20 +00:00
..
Makefile Merged revisions 207647 via svnmerge from 2009-07-21 13:28:04 +00:00
func_aes.c Add relationships to function documentation. 2011-01-14 20:07:02 +00:00
func_audiohookinherit.c Merged revisions 229669 via svnmerge from 2009-11-12 16:44:39 +00:00
func_base64.c Add relationships to function documentation. 2011-01-14 20:07:02 +00:00
func_blacklist.c ast_callerid restructuring 2010-07-14 15:48:36 +00:00
func_callcompletion.c Replacing doc/* and asterisk.pdf with wiki links 2011-02-02 19:30:49 +00:00
func_callerid.c Expand the caller ANI field to an ast_party_id 2010-07-14 16:58:03 +00:00
func_cdr.c Add High Resolution Times to CDRs for Asterisk 2010-06-08 23:48:17 +00:00
func_channel.c Merged revisions 309445 via svnmerge from 2011-03-04 15:28:20 +00:00
func_config.c Merge changes from team/group/appdocsxml 2008-11-01 21:10:07 +00:00
func_curl.c According to section 19.1.2 of RFC 3261: 2011-01-24 18:59:22 +00:00
func_cut.c AST-2009-005 2009-08-10 19:20:57 +00:00
func_db.c Add DB_KEYS. 2011-01-21 08:13:18 +00:00
func_devstate.c Add load priority order, such that preload becomes unnecessary in most cases 2010-07-20 19:35:02 +00:00
func_dialgroup.c Merged revisions 298478 via svnmerge from 2010-12-16 08:56:59 +00:00
func_dialplan.c ast_callerid restructuring 2010-07-14 15:48:36 +00:00
func_enum.c Replacing doc/* and asterisk.pdf with wiki links 2011-02-02 19:30:49 +00:00
func_env.c Merged revisions 305844 via svnmerge from 2011-02-02 20:06:33 +00:00
func_extstate.c Merge str_substitution branch. 2009-04-29 18:53:01 +00:00
func_frame_trace.c Pass a MCID request to the bridged channel. 2011-02-07 23:33:44 +00:00
func_global.c Convert the ast_channel data structure over to the astobj2 framework. 2009-04-24 14:04:26 +00:00
func_groupcount.c Add support for GROUP_MATCH_COUNT regex matching on category 2010-02-17 19:51:53 +00:00
func_iconv.c Merge changes from team/group/appdocsxml 2008-11-01 21:10:07 +00:00
func_lock.c Fix a build error on FreeBSD. 2009-12-01 23:38:34 +00:00
func_logic.c Merge str_substitution branch. 2009-04-29 18:53:01 +00:00
func_math.c Kill some startup warnings and errors and make some messages more helpful in tracking down the source. 2010-07-09 17:00:22 +00:00
func_md5.c Merge str_substitution branch. 2009-04-29 18:53:01 +00:00
func_module.c Merge str_substitution branch. 2009-04-29 18:53:01 +00:00
func_odbc.c Merged revisions 308991 via svnmerge from 2011-02-28 09:34:16 +00:00
func_pitchshift.c Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00
func_rand.c AST-2009-005 2009-08-10 19:20:57 +00:00
func_realtime.c Add Function and Application Relationships to documentation 2011-01-30 00:22:59 +00:00
func_sha1.c Merge str_substitution branch. 2009-04-29 18:53:01 +00:00
func_shell.c Merge changes from team/group/appdocsxml 2008-11-01 21:10:07 +00:00
func_speex.c Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00
func_sprintf.c AST-2009-005 2009-08-10 19:20:57 +00:00
func_srv.c Commit compromise I suggested on review 608. 2010-04-19 18:42:31 +00:00
func_strings.c Merged revisions 293159 via svnmerge from 2010-10-28 16:11:53 +00:00
func_sysinfo.c Move function SYSINFO documentation to XML. 2009-06-06 21:56:58 +00:00
func_timeout.c AST-2009-005 2009-08-10 19:20:57 +00:00
func_uri.c According to section 19.1.2 of RFC 3261: 2011-01-24 18:59:22 +00:00
func_version.c Merge changes from team/group/appdocsxml 2008-11-01 21:10:07 +00:00
func_vmcount.c More 'static' qualifiers on module global variables. 2009-06-15 17:34:30 +00:00
func_volume.c Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00