[asterisk-commits] jpeeler: trunk r244792 - /trunk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 4 17:21:55 CST 2010


Author: jpeeler
Date: Thu Feb  4 17:21:49 2010
New Revision: 244792

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=244792
Log:
Blocked revisions 244785 via svnmerge

........
  r244785 | jpeeler | 2010-02-04 17:20:21 -0600 (Thu, 04 Feb 2010) | 22 lines
  
  Change channel state on local channels for busy,answer,ring.
  
  Previously local channels channel state never changed. This became problematic
  when the state of the other side of the local channel was lost, for example
  during a masquerade. Changing the state of the local channel allows for the
  scenario to be detected when the channel state is set to ringing, but the peer
  isn't ringing. The specific problem scenario is described in 164201. Although
  this was noted on one of the issues, here is the tested dialplan verified to
  work:
  
  exten => 9700,1,Dial(Local/*9700 at default&Local/#9700 at default)
  
  exten => *9700,1,Set(GLOBAL(TESTCHAN)=${CHANNEL:0:${MATH(${LEN(${CHANNEL})}-1):0:2}}1)
  exten => *9700,n,wait(3) ;3 works, 1 did not
  exten => *9700,n,Dial(SIP/5001)
  
  exten => #9700,1,Wait(1) ;1 works, 3 did not
  exten => #9700,n,ChannelRedirect(${TESTCHAN},parkedcalls,701,1)
  
  (closes issue #14992)
  Reported by: davidw
........

Modified:
    trunk/   (props changed)

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.




More information about the asterisk-commits mailing list