3 Replies Latest reply on Mar 10, 2016 7:22 AM by jayer

    Turn down D channel when SIP is down?

    nickmoomaw New Member

      We use TA908 as a SIP to PRI for our customers. Is there a way to turn down the D channel on the PRI interface when the SIP is down. Our customers phone system have multiple types of lines that won't fail over because it still see's the PRI as up.

        • Re: Turn down D channel when SIP is down?
          jayer New Member

          Hi:

           

          I needed to do something similar and came up with a TCL script combined with a track to accomplish this. This tests for connectivity to the SIP server/gateway/proxy and not actual SIP signaling.

           

          Hope it helps!

           

          !

          probe testing_sip icmp-echo

          destination 0.0.0.0

          period 5

          tolerance consecutive fail 3 pass 3

          no shutdown

          !

          track sip_track

          test if probe testing_sip

          no shutdown

          !

          run-tcl shut_pri.tcl track sip_track on-fail

          run-tcl noshut_pri.tcl track sip_track on-pass

          !

           

          shut_pri.tcl

          echo [cli{

          interfeace pri 1

          shutdown

          exit

          }]

           

          noshut_pri.tcl

          echo [cli{

          interface pri 1

          no shutdown

          exit

          }]