Jump to content

Tom Wellige

Root Moderator
  • Posts

    4,310
  • Joined

  • Last visited

  • Days Won

    117

 Content Type 

Profiles

SwyxPEDIA Wiki

Zendesk Integration

Persistent Variables

Longest Waiting

VBScript build in functions

GSE build in functions (VBScript)

Server Script API (VBScript)

GSE build in functions (Lua)

Server Script API (Lua)

Function Collection (VBScript)

Function Collection (Lua)

IPS Integration

Jira Service Integration

Forums

Blogs

Downloads

Everything posted by Tom Wellige

  1. VBScript Lua The Zendesk Integration provides a SwyxIt! skin with a special Zendesk button. This button directly opens a Zendesk ticket if the caller name in the SwyxIt! client contains a valid Zendesk ticket id in a special format (##nnnn). The idea is, that a call routing script asks the caller for a valid ticket id. If the given ticket id is valid the call will be connected to an agent (or group of agents) with the given ticket id stored in the display. The agent is now able to click the Zendesk button to directly open that ticket. The setup and usage is explained in chapter 2.2 - Zendesk SwyxIt! button. A complete example making use of this button is shown in chapter A.2 - Example: Check Status and Update Ticket. Please note, that it is also possible to open a ticket in an already opened web browser window, in which an agent is also already logged in into his Zendesk account. An example is shown in chapter A.5 - Example: Open Ticket. Adaption in call routing script Before a call is getting connected by using the Connect To block, an Insert Script Code block must be used to modify the caller name, i.e. the name being displayed in the SwyxIt! client. IpPbx.CallingName = IpPbx.CallingName & " (##" & sTicketID & ")" The Zendesk ticket id must be added as shown above in (##nnnn) format. On incoming calls On incoming calls routed through the specially adapted call routing script simply press the Zendesk button. Zendesk will be opened in a new browser windows (your default web browser) displaying the ticket being entered by the caller.
  2. VBScript Lua This GSE action can be used to update (i.e. add a comment to it) a given Zendesk ticket from within the call routing. An example call routing script can be found in A.4 - Example: Update Ticket or a more advanced example in A.2 - Example: Check Status and Update Ticket. Configure action parameters By double clicking on every parameter in the list, you can edit it. TicketID The Zendesk ID of the ticket to update. The ID can be given with or without the Zendesk typical # prefix, i.e. 1234 or #1234. TicketIDMinLength (from v1.3.0 on) The minimum length of a valid Zendesk Ticket ID. The default value is 4. This prevents the Zendesk API to return huge result lists. Comment The comment string to be placed into the ticket. The comment will be displayed as none public comment in with Zendesk. Zendesk AuthorID The Zendesk id of the comment author. This is according to the Zendesk Core API optional. If give, this user will be displayed as author of the comment. Otherwise Zendesk will display the following authenticated user as updater. Zendesk Login User Login user. To connect to Zendesk a Zendesk user login is required. This project uses a username/token authentication instead of username/password. This is a more robust solution, and keeps the call routing script independent from any password changes the Zendesk user might do. Please follow this link to learn how to obtain the needed login token. Zendesk Login Token Login token. To connect to Zendesk a Zendesk user login is required. This project uses a username/token authentication instead of username/password. This is a more robust solution, and keeps the call routing script independent from any password changes the Zendesk user might do. Please follow this link to learn how to obtain the needed login token. Zendesk Domain Your Zendesk domain URL. This is something like "yourcompanyname.zendesk.com". Configure action exits Exit 0 (Default) This exit will be reached on any error during updating the ticket. Please refer to 3.6 - Trouble shooting for more information on how to do a deeper analysis of the error. You should label this exit to something like "error". Exit 1 This exit will be reached if the ticket has been successfully updated. You need to enable this exit (checkbox) and should label it to something like "success". Additional return value (as global variable) g_sLatestZendeskTicketID (string) 1.5.0 This global variable holds the ID of the latest updated ticket after the ok (0) exit has been reached.
  3. VBScript Lua This GSE action can be used to check the status of a given Zendesk ticket from within the call routing. An example call routing script can be found in A.1 - Example: Check Status or a more advanced example in A.2 - Example: Check Status and Update Ticket. Configure action parameters By double clicking on every parameter in the list, you can edit it. TicketID The Zendesk ID of the ticket to check the status from. The ID can be given with or without the Zendesk typical # prefix, i.e. 1234 or #1234. TicketIDMinLength 1.3.0 The minimum length of a valid Zendesk Ticket ID. The default value is 4. This prevents the Zendesk API to return huge result lists. Zendesk Login User Login user. To connect to Zendesk a Zendesk user login is required. This project uses a username/token authentication instead of username/password. This is a more robust solution, and keeps the call routing script independent from any password changes the Zendesk user might do. Please follow this link to learn how to obtain the needed login token. Zendesk Login Token Login token. To connect to Zendesk a Zendesk user login is required. This project uses a username/token authentication instead of username/password. This is a more robust solution, and keeps the call routing script independent from any password changes the Zendesk user might do. Please follow this link to learn how to obtain the needed login token. Zendesk Domain Your Zendesk domain URL. This is something like "yourcompanyname.zendesk.com". Configure action exits Exit 0 (Default) This exit will be reached if the given ticket id does not address an existing ticket. You should label this exit to something like "invalid". Exit 1 This exit will be reached if the given ticket is in status new. You need to enable this exit (checkbox) and should label it to something like "new". Exit 2 This exit will be reached if the given ticket is in status open. You need to enable this exit (checkbox) and should label it to something like "open". Exit 3 This exit will be reached if the given ticket is in status pending. You need to enable this exit (checkbox) and should label it to something like "pending". Exit 4 This exit will be reached if the given ticket is in status hold. You need to enable this exit (checkbox) and should label it to something like "hold". Exit 5 This exit will be reached if the given ticket is in status solved. You need to enable this exit (checkbox) and should label it to something like "solved". Exit 6 This exit will be reached if the given ticket is in status closed. You need to enable this exit (checkbox) and should label it to something like "closed". Exit 9 This exit will be reached if the given ticket is in an unknown status, i.e. in none of the above listed. You need to enable this exit (checkbox) and should label it to something like "unknown". Additional return values (as global variables) g_sLatestZendeskTicketID (string) This global variable holds the ID of the latest checked ticket after the ok (0) exit has been reached. g_sLatestZendeskTicketStatus (string) 1.5.0 This global variable holds the status of the latest checked ticket after the ok (0) exit has been reached. The A.6 - Example: Check and Announce Status makes use of this variable to announce the status via AzureTTS (text-to-speech). g_sLatestZendeskTicketModified (string) 1.5.0 This global variable holds the latest modification date of the latest checked ticket after the ok (0) exit has been reached. The date is as the Zendesk API provides it (in UTC time), e.g. "2024-09-06T15:52:48Z". g_sLatestZendeskTicketModifiedReadable (string) 1.5.0 This global variable holds the latest modification date of the latest checked ticket after the ok (0) exit has been reached. The date is in a better readable in most importantly in local time, e.g. "06.09.2024 17:52:48". The A.6 - Example: Check and Announce Status makes use of this variable to announce the latest modification date via AzureTTS (text-to-speech).
  4. VBScript Lua This GSE action can be used to create a new Zendesk ticket from within the call routing. An example call routing script can be found in A.3 - Example: Create Ticket. Configure action parameters By double clicking on every parameter in the list, you can edit it. Subject The subject of the ticket. Comment The initial comment string to be placed in the new ticket. RequestName Name if the requester. If left empty either the caller name (if available) or the caller number will be used automatically. Type As of Zendesk Core API allowed values are problem, incident, question, or task. Any other type value will be ignored by the GSE action. Priority As of Zendesk Core API allowed values are urgent, high, normal, or low. Any other priority value will be ignored by the GSE action. Zendesk Login User Login user. To connect to Zendesk a Zendesk user login is required. This project uses a username/token authentication instead of username/password. This is a more robust solution, and keeps the call routing script independent from any password changes the Zendesk user might do. Please follow this link to learn how to obtain the needed login token. Zendesk Login Token Login token. To connect to Zendesk a Zendesk user login is required. This project uses a username/token authentication instead of username/password. This is a more robust solution, and keeps the call routing script independent from any password changes the Zendesk user might do. Please follow this link to learn how to obtain the needed login token. Zendesk Domain Your Zendesk domain URL. This is something like "yourcompanyname.zendesk.com". Configure action exits Exit 0 (Default) This exit will be reached on any error during creating the ticket. Please refer to 3.6 - Trouble shooting for more information on how to do a deeper analysis of the error. You should label this exit to something like error. Exit 1 This exit will be reached if the ticket has been successfully created. You need to enable this exit (checkbox) and should label it to something like "success". Additional return value (as global variable) g_sLatestZendeskTicketID (string) This global variable holds the ID of the newly created ticket after the ok (0) exit has been reached.
  5. VBScript Lua Setting up the Zendesk SwyxIt! button needs to be done in two steps: Step 1 Copy the file \Skin Integration\OpenZendesk.wsf into the SwyxIt! program folder, e.g. C:\Program Files (x86)\SwyxIt!\ Open this file in a standard text editor (e.g. notepad.exe) and modify the following line: ' You need to modify this! Const ZENDESK_DOMAIN = "dummy.zendesk.com" This should point to your Zendesk domain URL. This is something like "yourcompanyname.zendesk.com". Step 2 Install the SwyxIt! skin containing the Zendesk button. To do so Open SwyxIt! Navigate to the File | Skin | Load... menu item Press the "..." button next to the Skin select box and select the following file from the download package \Skin Integration\ZendeskButton.cab Press Ok Right click the Zendesk button right next to the Swyx logo above the line keys. Enter the complete name and path of the file you have copied in step 1 into the Command field: C:\Program Files (x86)\SwyxIt!\OpenZendesk.wsf Press Ok. This concludes the installation of the Zendesk SwyxIt! button. The usage is explained in chapter 3.5 - Zendesk SwyxIt! button. A complete example making use of this button is shown in chapter A.2 - Example: Check Status and Update Ticket.
  6. VBScript Lua The Zendesk Integration extension is designed as GSE actions. To install these GSE actions you need to use the SwyxWare Administration. Step 1 Open the SwyxWare Administration and open the properties of your Swyx Server. Step 2 Switch to the Files page and click on Edit.... Step 3 Click on Add... Step 4.1 - VBScript usage 1. Select all files from the VBScript based\ase folder from the download package. 2. Select Global as Scope. (you can also select User to load the files into the user scope a your script user) 3. Select Call Routing VBS scripts as Category. 4. It is recommended to enter Zendesk Integration into the Description field, but not necessary. Step 4.2 - Lua usage 1. Select all files from the Lua based\ase folder from the download package. 2. Select Global as Scope. (you can also select User to load the files into the user scope a your script user) 3. Select Call Routing Lua scripts as Category. 4. It is recommended to enter Zendesk Integration into the Description field, but not necessary. Step 5 To check if the GSE action is available within call routing scripts open the Call Routing Manager of any user and click the button Sequence of Actions. Scroll the list on the left side down until you reach the Zendesk actions. The (System) behind the GSE action name shows that this is a global action being available for every SwyxWare user. The Zendesk Integration actions are now installed and can be fully used within GSE call routing scripts.
  7. VBScript Lua Download the latest version of this project. Please note that from version 1.4.0 on, this extension requires SwyxWare 13.10 (or higher) to be installed. Please note that from version 1.3.0 on, this extension requires SwyxWare 12.40 (or higher) to be installed. Older versions of this extension made use of the open source "curl" tool for the required web requests into the Zendesk Core API (REST). From version 1.3.0 on this is not needed anymore, as it uses the new PBXScript.WebRequest api from SwyxWare 12.40 (or higher).
  8. VBScript Lua This extension provides Zendesk ticket functionality for the SwyxWare call routing: Check the current status of a Zendesk ticket Create a new Zendesk ticket Update an existing Zendesk ticket Open an existing Zendesk ticket in an agent's web browser window Zendesk SwyxIt! button to open the Zendesk ticket directly with a mouse click within SwyxIt! Comes for VBscript based and Lua based call routing requires SwyxWare 12.40 (or newer) for VBScript based call routing requires SwyxWare 13.10 (or newer) for Lua based call routing To handle Zendesk tickets it makes use of the Zendesk Core API (REST API) and the Zendesk Talk Partner Edition API (REST API). Please note: Lua based call routing has been introduced to SwyxWare from 13.10 on. As of the release of the Zendesk Integration the Lua based call routing is still in BETA state and should not be used in productive environments. However, this project already comes also for Lua based call routing as an example of its ease of use. Please refer to the Forums to discuss the Zendesk Integration or for support requests. Please find the download for this project here. For the complete documentation explaining the setup, usage and all included examples just read the following chapters from the menu on the left. As with all other Swyx Forum Open Source Projects, Support is EXCLUSIVELY provided in the Project Froum (see link above). License Zendesk SwyxWare Integration v1.4.0 This is a Swyx Forum Open Source Project. https://www.swyxforum.com/projects/ https://www.swyxforum.com/zendesk-integration/introduction/0-introduction-r6/ The MIT License (MIT) Copyright (c) 2017-22 by Swyx Forum Copyright (c) 2017-22 by Tom Wellige All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------------------------------------------------------------------------------------------------------- For the VBScript based integration this project also includes the following Open Source project: JSON object class 3.5.4 - May, 29th - 2016 Licence: The MIT License (MIT) Copyright (c) 2016 RCDMK - rcdmk[at]hotmail[dot]com https://github.com/rcdmk/aspJSON https://github.com/rcdmk/aspJSON/blob/master/README.md Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Modifications needed for SwyxWare Call Routing Tom Wellige, 03.05.2017 ---------------------------------------------------------------------------------------------------------------- For the Lua based integration this project also includes the following Open Source project: Simple JSON encoding and decoding in pure Lua. Copyright 2010-2016 Jeffrey Friedl http://regex.info/blog/ Latest version: http://regex.info/blog/lua/json This code is released under a Creative Commons CC-BY "Attribution" License: http://creativecommons.org/licenses/by/3.0/deed.en_US It can be used for any purpose so long as: 1) the copyright notice above is maintained 2) the web-page links above are maintained 3) the 'AUTHOR_NOTE' string below is maintained
  9. Lua No, winter is not coming, but Lua is. The current SwyxWare 13.10 includes a beta version of a new Lua Call Routing engine which adds to the existing VBSript engine. It will not replace VBScript, but will be just another language that can be used for the SwyxWare Call Routing. The Call Routing of a user will be either VBScript or LUA, it can't be a mix of both. Existing users with VBScript Call Routing will simply continue to use the VBScript call routing. New users will from some point on (not yet!) be based on LUA. It will always be possible to switch a user from VBScript to LUA and vice versa. If you want to take a look on the beta version of the Lua Call Routing within SwyxWare 13.10 you need to have a login into the Enreach Help Center and follow this link: Beta-Lua Testing (SwyxWare 13.10) Over the next weeks and months I want to use this new blog article series to showcase the LUA language as also its usage within the SwyxWare Call Routing. So, stay tuned!
  10. Das Homeoffice ist für deutsche Arbeitnehmer nicht mehr wegzudenken, doch es gibt noch Optimierungsbedarf. Eine Umfrage von Enreach zeigt: Diese drei Herausforderungen muss Deutschland für erfolgreiche hybride Arbeit meistern. Deutschlands ArbeitnehmerInnen sind im Homeoffice flexibler und zufriedener als bei der Arbeit im Büro. Das ist das Ergebnis einer Umfrage, die Enreach, einer der führenden europäischen Anbieter von Unified-Communications- und Cloud-Contact-Center-Lösungen, im April 2022 in Zusammenarbeit mit dem Markt- und Meinungsforschungsinstitut YouGov durchgeführt hat. Basierend auf Online-Interviews mit mehr als 2.000 Befragten aus ganz Deutschland, untersucht die Umfrage das Verhalten sowie die berufliche Entwicklung von Beschäftigten bei der Arbeit von zu Hause gegenüber der Arbeit im Büro. Das Fazit: Homeoffice ist mittlerweile als fester Bestandteil in das Arbeitsleben integriert und wird von Beschäftigten überwiegend positiv bewertet. „Die Pandemie-Jahre haben die Arbeit von zuhause etabliert, Arbeitnehmer möchten die Vorteile wie die höhere Flexibilität und die oft bessere Vereinbarkeit von Arbeit- und Privatleben nun nicht mehr missen. Doch unsere Umfrage zeigt auch, dass es noch Herausforderungen gibt, die beim Übergang in die hybride Arbeitswelt gemeistert werden müssen. Drei Punkte fallen dabei besonders ins Auge, bei denen der Handlungsbedarf auf Seiten der Arbeitgeber liegt“, ordnet Dr. Ralf Ebbinghaus, Geschäftsführer der Enreach GmbH, die Ergebnisse ein. 1. Work-Life-Balance im Homeoffice wahren Rund 53 Prozent der Befragten fühlen sich im Homeoffice flexibler als bei der Arbeit im Büro, 43 Prozent zufriedener, 40 Prozent produktiver und 39 Prozent ausgeglichener. Die positiven Auswirkungen der Arbeit von zuhause sind damit deutlich. Doch die Umfrage deckt auch Schwierigkeiten auf: So sind 51 Prozent auch außerhalb der regulären Arbeitszeiten erreichbar, für 53 Prozent verschwimmen die Grenzen zwischen Arbeit und Freizeit und immerhin 33 Prozent können auch nach Feierabend im Homeoffice nicht richtig abschalten. Dieser sogenannte Telepressure führt zu mentaler Erschöpfung und im schlimmsten Fall zu einem Burnout. „Unternehmen müssen Maßnahmen ergreifen, um vorzubeugen. Richtlinien, die klar festlegen, dass Mitarbeiter nach Feierabend nicht erreichbar sein müssen, können bereits helfen. Aber auch Kommunikationslösungen, mit denen Nutzer ihre Erreichbarkeit gezielt steuern und beispielsweise einstellen können, dass außerhalb der Arbeitszeiten nur Anrufe von privaten Kontakten oder wichtige Kunden durchgestellt werden, entlasten Mitarbeiter – das sehen auch 36 Prozent der Befragten so“, erklärt Dr. Ralf Ebbinghaus. 2. Interne Kommunikation verbessern Die Kommunikation mit Kollegen und Vorgesetzten ist immer ein wichtiges Thema in Unternehmen und muss auch im Homeoffice reibungslos ablaufen. Rund 15 Prozent der Befragten sehen im Homeoffice eine verbesserte Kommunikation mit den Kollegen, 16 Prozent empfinden den Austausch mit Vorgesetzten als besser. Demgegenüber stehen 33 Prozent bzw. 27 Prozent, für die sich die Kommunikation mit Kollegen bzw. Vorgesetzten im Homeoffice verschlechtert hat. Wesentliche Grundlage für eine gelungene Kommunikation ist eine geeignete ITK-Lösung – also eine Gesamtlösung, die Informationstechnologie (IT) und Telekommunikation (TK) optimal miteinander verschmelzen lässt. Sie hilft dabei, Kommunikationswege effizient zu gestalten und Informationsflüsse sowie Abläufe zu optimieren. 43 Prozent der Befragten glauben, dass eine solche Lösung bei der Verbesserung der Kommunikation helfen kann. Darüber hinaus müssen Unternehmen für klare Strukturen und eine passende Kultur sorgen. Führungskräfte sollten Sorge tragen, dass sie mit ihren Mitarbeitern in Kontakt bleiben und sich Kollegen regelmäßig austauschen. 3. Die richtige Technologie einsetzen Wenn fast die Hälfte der deutschen Mitarbeitenden glaubt, durch Kommunikationslösungen entscheidende Vorteile in der täglichen Arbeit zu haben, ist es umso wichtiger, dass ihnen diese auch zur Verfügung stehen. Immerhin 49 Prozent der Befragten sind der Ansicht, eine passende Lösung von ihrem Arbeitgeber zur Verfügung gestellt zu bekommen, Doch 36 Prozent sehen dies anders und sind mit ihrer Ausstattung am digitalen Arbeitsplatz überhaupt nicht zufrieden. 27 Prozent sind der Meinung, dass sie nicht alle Funktionen haben, die sie für ihre Arbeit im Homeoffice benötigen, 25 Prozent nicht alle für die Arbeit aus dem Büro. Bei der hybriden Arbeit wird es noch deutlicher: 34 Prozent der Befragten geben an, dass sich ihre aktuelle Kommunikationslösung nicht problemlos und in gleicher Qualität im Homeoffice und im Büro einsetzen lässt. „Auch wenn bereits zahlreiche Mitarbeiter mit ihrer Kommunikationssoftware zufrieden sind, gibt es immer noch sehr viele Angestellte, die nicht die Lösung haben, die sie brauchen. Unternehmen müssen sehr genau prüfen, welche ITK-Lösungen sie einsetzen und was sie in der neuen Normalität benötigen. Voneinander getrennte Insel-Lösungen machen Nutzern das Leben schwer: Verschiedene Kommunikationskanäle stehen in Konkurrenz zueinander und sorgen dafür, dass sich Mitarbeiter gestresst fühlen oder abgelenkt werden. Mit unseren Converged Contact Solutions schaffen wir einen Gegenentwurf: ein benutzerorientiertes Zusammenspiel verschiedener Tools und Kontaktwege, sodass der Mensch die Kontrolle über seinen digitalen Arbeitsplatz behält – immer mit dem Ziel, dass Mitarbeiter sich auf das konzentrieren können, was wirklich wichtig ist“, so Dr. Ralf Ebbinghaus abschließend. Über die Umfrage: Die verwendeten Daten beruhen auf einer Online-Umfrage der YouGov Deutschland GmbH, an der im April 2022 2.069 Personen teilnahmen, davon 548 Befragte, die (teilweise) im Homeoffice arbeiten. Die Ergebnisse wurden gewichtet und sind repräsentativ für die deutsche Bevölkerung ab 18 Jahren. Pressemitteilung auf enreach.de
  11. Wenn Du willst, kannst Du es mir hier im Forum als private Nachtricht schicken. Dazu geh einfach mit der Maus über mein Profil Bild und warte einen kleinen Augenblick. Es tut sich dann ein kleines Fenster auf wo Du unten links einen "Message" Schalter findest. Ich bräuchte dann noch Datum/Uhrzeit Deines Testanrufes, und von welcher Nummer Du welche Nummer angerufen hast.
  12. Ah, sorry, da hatte ich nicht dran gedacht. Ich hatte das Skript auf meiner Seite nicht ausprobiert, da ich ja Deine Datenbank nicht habe. Freut mich, dass jetzt alles läuft 🙂
  13. Als erstes würde ich das aus dem PreProcessing heraus nehmen und auf einem normalen Benutzer an den Start bringen. Dort kann es problemlos getestet und erweitert werden bis es wie gewünscht läuft. Erst danach sollte es ins PreProcessing überführt werden. Irgendetwas muss zu Deinen Testanrufen im Server Trace erscheinen. Filter Dir doch mal einen solchn Ruf entsprechend aus dem Trace heraus und verfolge ihn. Wie man da macht, wird hier beschrieben.
  14. Hallo Stefan, da hatte sich ein kleiner Fehler in das 2. SQL Statement eingeschlichen. Ich habe den Code mal entsprechend angepasst, aufgeräumt und die Funktion umbenannt (da sie ja nicht mehr überprüft, ob der Anrufer bekannt ist). Das GSE Skript habe ich entsprechend angepasst und auch noch eine kleine Überprüfung eingebaut, ob es überhaupt eine 2. Nummer aus der Datenbnk gelesen wurde, bevor versucht wird auf diese zu zustellen. Bereitschaft_vt_v2.rse
  15. Hallo Stefan, was ich meinte, war die komplette Fehlermeldung aus dem Server Trace. So wie Du sie ja auch vorher schonmal gepostet hattest.
  16. Poste doch bitte mal die komplette Fehlermeldung und häng auch Dein Skript als .RSE Datei exportiert mit an.
  17. Zwei Dinge: Setz mal in der Mitte noch ein "rs.Close" End If rs.Close sSQL = "select * from bereit_nummern where (bereit_name = '" & name_bereit1 & "'") or (bereit_name = '" & name_bereit2 & "'") Und am Ende ist ein "End If" zu viel: PBXScript.OutputTrace "vTelefon1 =" & vTelefon1 PBXScript.OutputTrace "vTelefon2 =" & vTelefon2 PBXScript.OutputTrace "<--------- KnownCallerId"
  18. Hallo Stefan, mit den beiden gefundenen Namen aus der "bereit_plan1" Tabelle musst Du in der "bereit_nummern" Tabelle suchen: sSQL = "select * from bereit_nummern where (bereit_name = '" & name_bereit1 & "'") or (bereit_name = '" & name_bereit2 & "'") Denk abe bitte daran, dass diese Abfrage voraussetzt, dass Du immer beide Namen gesetzt hast. Für den Fall, dass nur ein Kollege Bereitschaft macht, würde ich in da sowas wie "xxx" oder irgendeine andere Zeichenkette eintragen. Hauptsache ist, das Feld ist nicht Null. Da Du das "rs" Objekt bereits hast, musst Du es für die 2. Abfrage nicht noch einmal mittels Set rs = CreateObject("ADODB.Recordset") anlegen. Lass diese Zeile einfach weg. Anschliessend musst Du davon ausgehen, dass Du 1 order 2 Datensätze zurück bekommst. Das könnte dann z.B. so aussehen: Dim nFeld nFeld = 1 vTelefon1 = "" vTelefon2 = "" while not rs.EOF select case nFeld case 1 vTelefon1 = rs("bereit_nummer") case 2 vTelefon2 = rs("bereit_nummer") end select nFeld = nFeld + 1 rs.MoveNext wend
  19. Hi all, until now the login into the Swyx Forum was with your display name and password. For security reasons I have changed that. From now on you need to login using your email address and password. The display name can no longer be used for logging in. Tom.
  20. Hi all, an update of the forum software on the weekend ran into a problem and I needed some assitance from the manufacturer to get it up and running again. As you can see, it is up and running again, although there are a few glitches which still need my attention. If you find anything broken please feel free to comment in this topic. I will try to get everything fixed. Sorry for the trouble, Tom.
  21. Hello Ben, this is the default behaviour of SwyxWare (for security reasons), but can be changed via a registry key. The Enreach support is able to provide that key.
  22. Hast Du schonmal wie von mir vorgeschlagen das Server Trace überprüft um sicher zu stellen, dass der Status der einzelnen Gruppen Mitglieder auch richtig ermittelt wird?
  23. Das hat dann aber überhaupt nichts mit der obigen Funktion IsUserInGroup zu tun. Da Gruppen selbst kein Call Routing haben, legt man dazu einen Dummy Benutzer an, gibt dem die ööfentliche Gruppen Nummer und das Call Routing, welches dann per "Durchstellen" an die Gruppe zustellt. Das ist auch nochmal etwas ausführlicher hier beschrieben: How to configure call routing for a group
  24. Die Zuordnung in der obigen Funnktion IsUserInGroup erfolgt über den Namen des Benutzers und nicht dessen Rufnummer. Da ein Benutzer ja beliebig viele interne Durchwahlen und externe Rufnummer zugeordnet haben kann, ist der Weg über den Namen der einfachste. Die Funktion bekommt als Parameter den Namen einer Gruppe und schaut dann, ob der aktuelle Skript Benutzer (also der für den das Call Routing gerade läuft) sich in dieser Gruppe befindet. Ist das wirklich exakt das, was Du brauchst?
  25. Werf doch mal einen Blick ins Server Trace, was an Status Werten ermittelt wird. Hier wird erklärt, wie Du die das Server Trace auf einzelne Rufe und nur Call Routing Ausgaben filtern kannst: How to filter SwyxWare traces for call routing output of single call
×
×
  • 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.