]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 183172 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Thu, 19 Mar 2009 17:08:23 +0000 (17:08 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 19 Mar 2009 17:08:23 +0000 (17:08 +0000)
commit88af25b2bd2ae4423e2d065128aa3a64ff5bcb18
treeb29ddaf61d3591b7ea19b725cc4476a086427746
parent64e003be29a7f5330e2d165566709e0fcb026cb8
Merged revisions 183172 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r183172 | dvossel | 2009-03-19 11:28:33 -0500 (Thu, 19 Mar 2009) | 20 lines

  Merged revisions 183126 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r183126 | dvossel | 2009-03-19 11:15:16 -0500 (Thu, 19 Mar 2009) | 17 lines

    Allow disconnect feature before a call is bridged

    feature.conf has a disconnect option.  By default this option is set to '*', but it could be anything.  If a user wishes to disconnect a call before the other side answers, only '*' will work, regardless if the disconnect option is set to something else.  This is because features are unavailable until bridging takes place.  The default disconnect option, '*', was hardcoded in app_dial, which doesn't make any sense from a user perspective since they may expect it to be something different.  This patch allows features to be detected from outside of the bridge, but not operated on.  In this case, the disconnect feature can be detected before briding and handled outside of features.c.

    (closes issue #11583)
    Reported by: sobomax
    Patches:
     patch-apps__app_dial.c uploaded by sobomax (license 359)
     11583.latest-patch uploaded by murf (license 17)
     detect_disconnect.diff uploaded by dvossel (license 671)
    Tested by: sobomax, dvossel
    Review: http://reviewboard.digium.com/r/195/
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@183198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c
include/asterisk/features.h
main/features.c