1. 01 12月, 2011 5 次提交
    • wadam's avatar
    • wadam's avatar
      6dabe540
    • James Zhang's avatar
      Fixed the exception condition - trigger reset · 7b83dd4c
      James Zhang 提交于
      	used to clear ckt_flags, this was wrong.
      	if ctk_flags are blindly cleard a PAUSE might be cleared.
      	changed the code to clear only TX RESET and try to reset again.
      
      Release Collision
      	If we get out of sync with other side we must
      	reset the circuit.
          This condition occoured at 1+3 test box
      
      Local Management Block
          Its possible for stack to send us a BLO indicating to us
          that we are local blocked.  This case never worked and
          we would get stuck there forever.
          If we never manaully sent a LOCAL block, the BLO from
          the stack will be acked and then unblocked.
          This condition occoured at 1+3 test box
      7b83dd4c
    • James Zhang's avatar
      Fixed following two secnarios · 997c127a
      James Zhang 提交于
      From previous commit, failed to clear the done flag _DN
      which cause SUSPEND to think that there was a block
      pending, causing state to remain in RESTART
      
      S UP -> relay down -> Tx AIS -> relay up -> Tx AIS off
        -> confirm all back up
        -> In this condition BLO will not go out due to PAUSE
      
      S UP -> Tx AIS -> relay down -> Tx AIS off -> relay up
        -> confirm all back up
        -> In this condition UBL will not go out due to PAUSE
      997c127a
    • James Zhang's avatar
      Sigificant changes to the core state machine :) · fa64d395
      James Zhang 提交于
      Visually status of channels will only be DOWN once all resets/blocks are cleared.
      Therefore if any reset/block is active on a channel, the channel state will be in RESTART not DOWN.
      
      Logic Change
      
      SUSPENDED
         -> Originally used as intermediate state. Purpose is to handle a condition
            from any state and go back to the previous state.
            Conditions: such as  block/ucic.
         -> Updated logic is that SUSPEND will be smart enough not to
            go back to just any state.  SUSPEND will only go back to
            UP - if call is still up
            RESTART - if for any reason singaling is not up due to
                      blocks/resets/etc...
            DOWN - if signaling is UP - no resets/blocks
            In this case we avoid infinite loops due to state jumping
            from STATE->SUSPEND->STATE->SUSPEND
      HANGUP_COMPLETE
         -> If call is in use and a RESET comes on a call
            the RESTART state will first try the HANGUP_COMPLETE state.
            HANGUP_COMPLETE will Tx RSC and wait for it.
            Reset Response handle was updated if current state HANGUP/HANGUP_COMPLETE
            go back to RESTART state.  Which will call HANGUP COMPLETE due to
            channel in usage and HANDLE_COMPLETE will clear RESET condition and go back to DOWN
      TERMINATING
         -> This state is used to hangup a call. Sends a signal to FS.
         -> Usually TERMINATING state stays in TERMINATING until FS comes back.
         -> I added a condition in case of RESET on the line though TERMINATING
            will go back to RESTART.
            This allows us to process RESET commands even though we are
            in the middle of hanging up.
      Block Handler
         If BLO is received on circuit is already blocked,
         we failed to trasmit BLA.  We should always ack the BLO
         even though it was alrady in blocked state.
      
      Fixed & Tested
      
      S UP --> place call --> relay down --> hangup --> relay up-->
         Confirm that call is hungup properly.
         In this condition, on relay up the circuit  is put into RESET.
         Since circuit is still in use, it will HANGUP first, then RESET
         then clear pending BLOCK.
      
      S UP --> place call -> Tx RSC on call.
         Used to cause infitie loop
         Confirm call is cleard properly
      
      Re-Tested
      
      S UP --> place call -> Rx RSC on call
         Confirm call is cleard properly
      
      S UP --> place call -> Rx BLO -> hangup -> place call
         Confirm call cannot be placed
         Tx UBL
         Confirm call can be placed
      
      S UP --> place call -> Rx BLO -> Tx BLO -> hangup -> place call
         Confirm call cannot be placed
         Tx UBL
         Confirm call cannot be placed
         Rx UBL
         Confirm call can be placed
      
      S UP --> place call -> relay down --> Rx BLO on channel from telco
           --> relay up
         Confirm that relay detects the BLO channels even though relay was down
      
      Tx AIS -> S Start -> Confirm HW block -> Tx AIS off
         -> Confirm hw block clear and UP
      
      S UP -> Tx AIS -> Confirm HW block -> Tx AIS off
         -> confirm hw block clear and UP
      
      S UP -> relay down -> Tx AIS -> relay up -> Tx AIS off
         -> confirm all back up
         -> In this condition BLO will not go out due to PAUSE
      
      S UP -> Tx AIS -> relay down -> Tx AIS off -> relay up
         -> confirm all back up
         -> In this condition UBL will not go out due to PAUSE
      fa64d395
  2. 29 11月, 2011 1 次提交
    • James Zhang's avatar
      Fixed case · 96068d90
      James Zhang 提交于
      S UP - Place Call - relay down - Hangup - relay up -
      Confirm Call hangsup up properly and unblock is set.
      
      Fixed unexpeced reset condidtions.
      96068d90
  3. 26 11月, 2011 1 次提交
    • James Zhang's avatar
      Fixed 5 relay conditions · 5b8af78a
      James Zhang 提交于
      M UP  -> S UP
      M Down -> S UP -> M UP
      M UP -> S UP -> relay down -> relay up
      M UP -> S UP -> Kill M -> M UP
      M Up -> S UP -> relay down -> M link down -> relay up -> M link up
      5b8af78a
  4. 25 11月, 2011 1 次提交
  5. 17 11月, 2011 1 次提交
  6. 15 11月, 2011 2 次提交
  7. 14 11月, 2011 1 次提交
  8. 08 11月, 2011 1 次提交
    • wadam's avatar
      Fix error in call reference conversion to string. · 5c4a3f81
      wadam 提交于
        src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_handle.c
        cc1: warnings being treated as errors
        src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_handle.c: In function
        'handle_con_ind':
        src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_handle.c:255: warning: format '%x'
        expects type 'unsigned int', but argument 3 has type 'U32'
        make[6]: *** [ftmod_sangoma_ss7_la-ftmod_sangoma_ss7_handle.lo] Error 1
      5c4a3f81
  9. 07 11月, 2011 4 次提交
  10. 04 11月, 2011 1 次提交
  11. 03 11月, 2011 2 次提交
  12. 02 11月, 2011 1 次提交
  13. 01 11月, 2011 2 次提交
  14. 29 10月, 2011 1 次提交
  15. 28 10月, 2011 1 次提交
  16. 26 10月, 2011 9 次提交
  17. 25 10月, 2011 5 次提交
  18. 24 10月, 2011 1 次提交