Skip to content
Snippets Groups Projects
  1. May 20, 2011
  2. May 19, 2011
  3. May 18, 2011
  4. May 17, 2011
  5. May 16, 2011
  6. May 15, 2011
  7. May 13, 2011
  8. May 12, 2011
    • Alec L Davis's avatar
      Merged revisions 318671 via svnmerge from · 892b7a2e
      Alec L Davis authored
      https://origsvn.digium.com/svn/asterisk/branches/1.8
      
      ........
        r318671 | alecdavis | 2011-05-13 10:52:08 +1200 (Fri, 13 May 2011) | 30 lines
        
        Fix directed group pickup feature code *8 with pickupsounds enabled 
        
        Since 1.6.2, the new pickupsound and pickupfailsound in features.conf cause many issues.
        
        1). chan_sip:handle_request_invite() shouldn't be playing out the fail/success audio, as it has 'netlock' locked.
        2). dialplan applications for directed_pickups shouldn't beep.
        3). feature code for directed pickup should beep on success/failure if configured.
        
        Created a sip_pickup() thread to handle the pickup and playout the audio, spawned from handle_request_invite.
        
        Moved app_directed:pickup_do() to features:ast_do_pickup().
        
        Functions below, all now use the new ast_do_pickup()
        app_directed_pickup.c:
           pickup_by_channel()
           pickup_by_exten()
           pickup_by_mark()
           pickup_by_part()
        features.c:
           ast_pickup_call()
        
        (closes issue #18654)
        Reported by: Docent
        Patches: 
              ast_do_pickup_1.8_trunk.diff.txt uploaded by alecdavis (license 585)
        Tested by: lmadsen, francesco_r, amilcar, isis242, alecdavis, irroot, rymkus, loloski, rmudgett
        
        Review: https://reviewboard.asterisk.org/r/1185/
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@318672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      892b7a2e
    • Damien Wedhorn's avatar
      Consolidate setsubstate_* into setsubstate and use a switch. · c37c0177
      Damien Wedhorn authored
      Consolidate the functions and add some debugging info. Allows to be
      able to set a substate without explicitly knowing what the state is. 
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@318635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c37c0177
    • Damien Wedhorn's avatar
      Add setsubstate_onhook. · bdbb3a50
      Damien Wedhorn authored
      Add the setsubstate_onhook to complete the initial substate handling
      procedures. Added dumpsub(sub, forcehangup) which is the common way of
      calling setsubstate_onhook. Dumpsub attempts to activate another sub
      after setting the current one onhook.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@318600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      bdbb3a50
  9. May 11, 2011
  10. May 10, 2011
  11. May 09, 2011
    • Richard Mudgett's avatar
      Merged revisions 318351 via svnmerge from · 08862040
      Richard Mudgett authored
      https://origsvn.digium.com/svn/asterisk/branches/1.8
      
      ........
        r318351 | rmudgett | 2011-05-09 18:15:32 -0500 (Mon, 09 May 2011) | 6 lines
        
        Remove references to res_features and its export file.
        
        The contents of res/res_features.c was moved to into main/features.c
        awhile ago.  There is no longer any need for the res/Makefile to reference
        res_features or the res_features linker exports file to exist.
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@318352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      08862040
    • Richard Mudgett's avatar
      Merged revisions 318282 via svnmerge from · bf57bb3c
      Richard Mudgett authored
      https://origsvn.digium.com/svn/asterisk/branches/1.8
      
      ........
        r318282 | rmudgett | 2011-05-09 14:07:01 -0500 (Mon, 09 May 2011) | 24 lines
        
        Hangup extension executed twice.
        
        When a user hangs up a call, in certain circumstances, the hangup
        extension can end up being executed twice:
        
        1) If a call is bridged and the 'h' extension executes the Hangup
        application, then the 'h' extension will be executed twice.
        
        2) If a call is bridged within a macro (Dial or Queue), it has its own 'h'
        extension, the main context also has an 'h' extension, and the macro 'h'
        extension executes the Hangup application, then both 'h' extensions will
        be executed.
        
        * Revert originally commited fix for #16106 and just set
        AST_FLAG_BRIDGE_HANGUP_RUN unconditionally in ast_bridge_call().  The
        bridge code just executed an 'h' extension so the main PBX loop does not
        need to execute one as well.
        
        (issue #16106)
        Reported by: ajohnson
        
        (issue #16548)
        Reported by: hajekd
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@318283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      bf57bb3c
Loading