Meridian1Tech
MIS
Hi,I have here a very simple script :
proc main
commandmode on
pause 2
transmit "atdt *3324748,20750^M"
pause 15
hangup
pwexit
endproc
The script is use to activate "Call Forward" on the phone... when I do this manually with the phone, I dial and I wait for the dial tone return, and then I know that the feature is activate.
The script work fine... but I would like to replace "pause 15" by something like "waitfor dial tone".
There is a way to detect when the dial tone is back ?
Thank you to all of you guys !
Jean-Pierre
Work with MITEL system now (Meridian1 before)
proc main
commandmode on
pause 2
transmit "atdt *3324748,20750^M"
pause 15
hangup
pwexit
endproc
The script is use to activate "Call Forward" on the phone... when I do this manually with the phone, I dial and I wait for the dial tone return, and then I know that the feature is activate.
The script work fine... but I would like to replace "pause 15" by something like "waitfor dial tone".
There is a way to detect when the dial tone is back ?
Thank you to all of you guys !
Jean-Pierre
Work with MITEL system now (Meridian1 before)