Jump to content

mac_key

Member
  • Posts

    15
  • Joined

  • Last visited

Reputation

0 Neutral

Contact Methods

  • Website URL
    https://www.innovasys.de

Profile Information

  • Gender
    Male
  • Location
    Hamburg - Germany
  • Interests
    Swyx, WiFi, Homeautomation

Recent Profile Visitors

810 profile views
  1. In the context of a User all works, thanks a lot for your help!
  2. Ok, i tried that, but i was not able to figure out how to use that PBXGroup.IsLoggedOn function.
  3. It's a 13.28, so i ran the script in the group call routing manager. Here is a part of the Logfile from a group with nobody of the members logged in: 29 12:11:52.504 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::EntityGetId () -> G:11 29 12:11:52.504 0013e4 Inf3 SrvPBXCtl 09D815C0 0000009b SScrServer::EntityGetName () returning: Testgruppe 29 12:11:52.504 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () Script for group [11] Testgruppe 29 12:11:52.504 0013e4 Info SrvScrAPI 09D815C0 0000009b SScrServer::EntityGetRIEnabled () returning 0 29 12:11:52.504 0013e4 Info SrvScrAPI 09D815C0 0000009b SScrServer::EntityGetRIUsePIN () returning 0 29 12:11:52.504 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () RI/PL parameters loaded: 0,Falsch,XXX,Falsch, 29 12:11:52.504 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::CallGetCalledNumber () returning 13 29 12:11:52.504 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::CallGetDialedNumReq () returning 13 29 12:11:52.504 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::CallGetCallTypeReq () returning 'Group' 29 12:11:52.504 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::GetCallingNumber () returning '+49CALLER' 29 12:11:52.504 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::GetCallingNumber () returning '+49CALLER' 29 12:11:52.504 0013e4 Inf3 SrvPBXCtl 09D815C0 0000009b ScriptInfo::GetPreviousScripts (connId 155) no previous scripts available 29 12:11:52.504 0013e4 Inf3 SrvPBXCtl 09D815C0 0000009b SScrServer::GetPreviousScripts () NO script found 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () rule PreProcessing started... 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () User-defined PreProcessing (dummy) 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () Begin GSE Script (Rule: ruleWhrendGZeiten) 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () GSEVersion: 13.27.0.31 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () case [Start0] 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () --> gseStart() 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () <-- gseStart, rc = 1 [gseStateStarted] 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () case [Evaluate6] 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () IsGroupLoggedOff(11) 29 12:11:52.505 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () -------------> IsGroupLoggedOff ( sNumber = 11 ) 29 12:11:52.511 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () bReturn = Wahr 29 12:11:52.511 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () <------------- IsGroupLoggedOff 29 12:11:52.511 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () --> gseEvaluateEx(Wahr) 29 12:11:52.511 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () <-- gseEvaluateEx, rc = 34 [gseStateEvaluateMatch] 29 12:11:52.511 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::CallIsOriginatorDiscd () returning no 29 12:11:52.511 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () case [PlaySound7] 29 12:11:52.511 0013e4 Info SrvScript 09CD46C0 0000009b SPBXScriptVbs::OutputTrace () --> gsePlaySoundEx2(niemand da.wav, , Falsch, , Wahr, Falsch, , Falsch) 29 12:11:52.511 0013e4 Info SrvPBXCtl 09D815C0 0000009b SScrServer::CallGetDtmfInput (niemand da.wav, U:0, name , dir 0, skip 0 sec, rep 0, interval 0 sec, mask= '', timeout 0 sec, repeat after hold/transfer: YES) 29 12:11:52.511 0013e4 Inf2 SrvPBXCtl 09D815C0 0000009b SScrServer::EventGetDtmfInput () 29 12:11:52.511 0010d0 Inf2 SrvPBXCtl 097A7660 0000009b SScriptFsm::ActionOnGetDtmfInputWInbound() 29 12:11:52.511 0010d0 Inf3 SrvPBXCtl 09719D88 0000009b SPBXCall::EventAlert (alert type: AlertTypeNormal, , <empty>, redir <empty>) 29 12:11:52.512 000a3c Inf2 SrvPBXCtl 09CCA190 0000009b SPBXCallFSM::ActionOnAlert () B1-A 29 12:11:52.512 0010d0 Info SrvPBXCtl 097A7660 0000009b SScriptFsm::TraceTransition () Inbound --GetDtmfInput--> AlertingGetDtmf (Result: 0)
  4. As far as i can say that is true.
  5. Did anybody try to use the example script ? Seems to return "true", no matter if sbdy is logged on or not. Are there any requirements to be met besides signalling one another? Appreciating a hint Marc
  6. We need to place calls and play prerecorded sound-files from prtg, when certain alerts fire. PRTG can start externall .exe files with parameters. Google pointed me to sipcli from kaplansoft and the featurelist looked like that could fulfilll my needs. However ist does not seem to work. The ippbxsrv.log shows the search of the server in the list of bindings, but the registration attempt of sipcli is never recorded, despite the setting forcing a registration in the configfile. Another Google research led me to 3cx forum, they said that they are activly blocking sipcli, as this tool is known to be used by hackers, in order to find vulnerable accounts. At least 3cx provides a configurationdirective to circumvent the block. My question is now: - how can i place a call from another application and play a prerecorded soundfile or - how can i make sipcli work in conjunction with swyx? Best Marc log.txt
  7. Hmmpf, hätte ich ja auch selber drauf kommen können, jedenfalls klappt das jetzt und tut exakt das was es soll! Perfekt! Jetzt ins rulePreProcessing?
  8. Sieht aus wie ich mir das vorgestellt habe. Da ist noch ein winziges Problem, das Script hat keinen Wert für sNumber, also die Durchwahl des Users. Gebe ich den im VB-Script Block mit oder kann ich mir den im Startblock schon holen`? Dim Users Set Users = g_PBXConfig.GetUserByAddress(sNumber) wird bemerckert
  9. Sieht aus wie ich mir das vorgestellt habe. Da ist noch ein winziges Problem, das Script hat keinen Wert für sNumber, also die Durchwahl des Users. Gebe ich den im VB-Script Block mit oder kann ich mir den im Startblock schon holen`?
  10. Klingt interessant und ist mindestens eine Lösung. Allerdings geht es mir hauptsächlich darum, den Beachtungsaufwand bei der Administration zu senken. Ich glaube das ist bei diesem Vorschlag eher schwierig.
  11. Moin Tom, es geht mir darum über die Gruppenzugegehörigkeit eines Users zu steuern, an welche Gruppe der Call nötigenfalls weitergeleitet werden soll. Das soll den Beachtungsaufwand bei späteren administrativen Änderungen reduzieren und die Fehlerwahrscheinlichkeit reduzieren. In diesem Fall administrieren nämlich auch Menschen die nicht so tief im Callrouting stecken die User. Zwar wissen die in welche Abteilungen die Leute gehören, aber nicht viel über Callrouting.
  12. Hmm, ich stehe gerade mal wieder vor dem selben Thema. Bei mir sieht es so aus: - Ein interner Call soll zum Zieluser durchgestellt und nicht weiter behandelt werden. D.h. ist der Zieluser angemeldet, soll es klingeln bis der Anrufer keine Lust mehr hat - Ein externer Call während der Geschäftszeiten soll für 10 Sek. an das ursprüngliche Ziel weitergeleitet werden. - wird er dort nicht erfolgreich zugestellt, soll er für weitere 10 Sek. an die Gruppe (hier sind aber nur die Abteilungsgruppen gemeint) weitergeleitet werden. - wenn der Call da auch nicht zugestellt werden kann, dann soll er an die zentrale Rufannahmegruppe weitergeleitet werden. - sollte sogar das scheitern, dann soll an das ursprüngliche Ziel eine E-Mail gesandt werden, in der der Anrufer auf den versäumten Call hingewiesen wird. Die Gruppen sind bekannt und können der Reihe nach abgefragt werden, ob der Angerufene Mitglied ist. Es ist durch den administrativen Prozess auch sichergestellt, dass er nur Mitglied einer solcher Gruppe ist. Hat jemand so was schon mal gebaut?
  13. Welcome to Swyx Forum :-)

    1. mac_key

      mac_key

      Hi Tom,

       

      sorry habe Deinen Post nicht mitbekommen.

×
×
  • 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.