Jump to content

DNW66

Member
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About DNW66

  • Rank
    Member
  1. Hi Tom, How does the script determine which day (Sunday or Monday) is the first day of the week? Is there a way to change this?
  2. Hi Tom, How does the script determine which day (Sunday or Monday) is the first day of the week? Is there a way to change this?
  3. Hi Tom, thanks for this. With a small amount of tweaking it's exactly what I wanted.
  4. I have four out of hours engineers on a weekly rotation. Each monday I have to edit my call routing with the details of that weeks on call engineer. As the sequence of engineer rotaion never changes, I was wondering how I could scipt this so the call is passed to the correct enginer for the week they are on call. i.e week 1 route to engineer 1 week 2 route to engineer 2 etc etc and this rotates through the four engineers on a week by week basis continually. I am open to any suggestions anyone may have. Thanks in advance
  5. You Sir, are a superstar. Thank you.
  6. I still can't get the ECR to see the .WAV file. Do you have any other suggestions?
  7. Hi Tom, thanks for the response. That is exactly what I did, the file is in a share which is accesible by the Swyx service account. The ECR says the file is absent. It all seems very simple, what could I be missing? I'll try restarting the Swyx server service tonight and see if that helps.
  8. One of our customers, a cricket club have a requirement to play a "state of play" announcement. This announcement could change by the hour. They would like to be able to record an announcement, give it a specific name i.e stateofplay.wav (it always be the same name) and save it to a network share. They would then like the ECR to play that file directly from the share. Is this possible?
  9. Thank you for your reply. I did this in the end...... ' FileOpen iomode Values Const fsoForReading = 1 Const fsoForWriting = 2 Const fsoForAppending = 8 ' Bankholiday Filename Const sBHFilename = "bankholiday.txt" Function IsBlockedNum ( vNum ) Dim wsh, fso, file Dim sDir, sFile, sLine Dim bReturn, nPos bReturn = False sFile = "C:\Scripts\blockednumbers.txt" ' Create FileSystemObejct Set fso = CreateObject("Scripting.FileSystemObject") ' Open text file Set file = fso.OpenTextFile(sFile, fsoForReading) do while (not (file.AtEndOfStream)) and (not bReturn) sLine = file.ReadLine if sLine = vNum then bReturn = True loop file.Close Set file = Nothing Set fso = Nothing IsBlockedNum = bReturn End Function I then used "IsBlockedNum (IpPbx.CallingNumber)" in the Evaluate block.
  10. I have been searching for a script to this as I am not fluent in VB. I have found the following from Tom Wellige in the old forum pages, but am not sure what to put in the evaluate block to get this to work. Also what format do the numbers need to be in the text document? Function Checkcaller ( callerID ) Const filename = "c:\scripts\blocked.txt" Dim bFound Dim fso, file bFound = False Set fso = CreateObject("Scripting.FileSystemObject") If fso.FileExists( filename ) Then Set file = fso.OpenTextFile( filename, 1, False, 0) Do While (Not file.AtEndOfStream) And (Not bFound) If InStr(file.ReadLine, PBXCall.CallingPartyNumber) <> 0 Then bFound = True Loop file.Close Set file = Nothing End If Set fso = Nothing Checkcaller = bFound End Function thanks in advance
  11. DNW66

    Setup Tapi On Rds Farm

    I have already see that article but don't seem to be able to get it working
  12. Hi All, I have a customer who uses SOS software. They have given us a a tapi test application which when I run on my laptop dials as expected. When I try and use the same software on our RDS server it just does nothing. Is there something special I need to do to get TAPI to work on RDS?
  13. I would like a way to either import a SpeeDial.key file to all users via Powershell or to use a Powershell script to copy the SpeedDial keys of one user to all other users. We are using Swyxware 2013. I am very new to Powershell so any help would be appreciated.
  14. Welcome to Swyx Forum :-)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.