Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sync time off opt 11c with network 1

Status
Not open for further replies.
Sep 17, 2003
35
Does anyone know if the PBX clock could sync to a Network Time Protocol?
 
i have a script that does a sync from the network to the switch, it runs with a few others right after the midn.. if your running procomm here's a copy of it

proc main
integer iDay, iMonth, iYear, iMin, iHour, iSec
string sSend

ltimeints $LTIME iYear iMonth iDay iHour iMin iSec

strfmt sSend "STAD %02d %02d %d %02d %02d %02d" iDay iMonth iYear iHour iMin iSec
set txpace 30
transmit "****^M"
waitfor ">"
transmit "ld 2^M"
waitfor "."
transmit "TTAD^M"
waitfor "."
transmit sSend
transmit "^M"
waitfor "."
pause 2
transmit "TTAD^M"
waitfor "."
pause 2
transmit "****^M"

set txpace 0

endproc

their is not a way to do this from the switch commands, so if your using procomm, this one works

john poole
bellsouth business
columbia,sc
 
Check out this thread. The UNIX script works for us.
thread798-936368
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top