cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

Turn down D channel when SIP is down?

Jump to solution

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.

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
mnorton
New Contributor II

Re: Turn down D channel when SIP is down?

Jump to solution

There is a built in function to do this with track/probe, but this monitors IP reach-ability to your SIP server, not the status of the SIP trunk itself.

probe CheckCircuits icmp-echo

  destination X.X.X.X (IP of softswitch)

  size 10

  tolerance consecutive fail 5 pass 2

  no shutdown

!

track ReactToCheckCircuits

  test if probe CheckCircuits

  no shutdown

voice trunk T01 type isdn

  description "PRI"

  busy-out monitor track ReactToCheckCircuits

  connect isdn-group 1

!

View solution in original post

3 Replies
jayer
New Contributor II

Re: Turn down D channel when SIP is down?

Jump to solution

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

}]

mnorton
New Contributor II

Re: Turn down D channel when SIP is down?

Jump to solution

There is a built in function to do this with track/probe, but this monitors IP reach-ability to your SIP server, not the status of the SIP trunk itself.

probe CheckCircuits icmp-echo

  destination X.X.X.X (IP of softswitch)

  size 10

  tolerance consecutive fail 5 pass 2

  no shutdown

!

track ReactToCheckCircuits

  test if probe CheckCircuits

  no shutdown

voice trunk T01 type isdn

  description "PRI"

  busy-out monitor track ReactToCheckCircuits

  connect isdn-group 1

!

jayer
New Contributor II

Re: Turn down D channel when SIP is down?

Jump to solution

Hi:

Good to know; this little gem will come in useful.

For reference documentation:ISDN/RBS Trunk Busy-Out Feature Guide in AOS or page 3451 of the Adtran Command Reference Guide for AOS Version R10.10.

Thanks!