Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • PBXCall

    31 pages in this category

    1. PBXCall.Activate

      VBScript   → Lua   This functions activates a call previously being put on hold. Activating in fact means stop playing the music on hold.   PBXCall.Activate     This function returns an integer value of PBXSuccess (0) on success. See list of defined return values.   To put a call on hold you can use the PBXCall.Hold function.   All GSE Play Sound blocks as also all "Connect" blocks like Connect To, Follow Me and Loop will automatically activ
      • 168 views
    2. PBXCall.Alerting

      VBScript   → Lua   This function sends an alerting message to the originator of the current call.   PBXCall.Alerting     This function returns an integer value of PBXSuccess (0) on success. See list of defined return values.   If the current call is already in state Alerting or Connected the function call will be ignored.   Common usage of this function is to signal s standard ringing tone will be played in the direction of the caller. The c
      • 99 views
    3. PBXCall.CalledPartyNumber

      VBScript   → Lua   This function returns the dialed number that has leaded the call to reach the current script. It returns just the first digits to correctly identify the script user but *not* also the so called post dialing digits.   PBXCall.CalledPartyNumber     This function returns a string value.   This function is identical to the GSE build in function CalledNumber().   This function returns the internal number of the script user that
      • 171 views
    4. PBXCall.CalledPartyNumberCanonical

      VBScript   → Lua   SwxWare v7.00   This property returns called number that has leaded the call to reach the current script. A script is connected to a user who has internal and external numbers. This functions returns the external number.   PBXCall.CalledPartyNumberCanonical     This property returns a string value.   This function returns the external number of the script user that was called. If you are interested in the internal number that was
      • 130 views
    5. PBXCall.CallId

      VBScript   → Lua   This function returns the unique call id the server has reserved for the current call.   PBXCall.CallId     This function returns a long value.   SwyxServer reserves a unique id for each call within the system. This id will also be stored in the Call Detail Records.   Do mot mistake this id with the caller number.   Do also not mistake this CallID by the unique call id you find within the SwyxWare traces files pe
      • 130 views
    6. PBXCall.CallingDeviceName

      VBScript   → Lua   This property returns the name of the calling device.   PBXCall.CallingDeviceName     This property returns a string value.   If the call is "external", i.e. it comes via a gateway trunk, link trunk or sip trunk, this property contains the name of that trunk as configured in the SwyxWare Administration.   If you need to figure the calling device type as well you can use the property PBXCall.CallingDeviceType.   W
      • 89 views
    7. PBXCall.CallingDeviceType

      VBScript   → Lua   This function returns the name of the calling device type.   PBXCall.CallingDeviceType     This function returns a string value.   This is a list of possible return strings:   String Type ---------- ---------------------------------------- COMClient SwyxIt! (<v6.1x) SIP Client SwyxIt! (>= v6.1x) and other SIP devices H323Client H.323 device Gateway SwyxGate or third party gateway Phone SwyxPhone (Lx
      • 78 views
    8. PBXCall.CallingPartyName

      VBScript   → Lua   This property takes or returns the name of the current caller.   PBXCall.CallingPartyName = "Erika Mustermann"     This property takes or returns a string value.   This property can be used to modify the name being displayed on a client (SwyxIt!, SwyxPhone). It does not modify the caller list entry. This can be achieved using the PBXCall.PhoneCallListEntry object.   Additionally you can also modify the number being display
      • 246 views
    9. PBXCall.CallingPartyNumber

      VBScript   → Lua   This property takes or returns the number of the current caller.   PBXCall.CallingPartyNumber = "123456789"     This property takes or returns a string value.   This property can be used to modify the number being displayed on a client (SwyxIt!, SwyxPhone). It does not modify the caller list entry. This can be achieved using the PBXCall.PhoneCallListEntry object.   Additionally you can also modify the name being displayed
      • 184 views
    10. PBXCall.CallProceeding

      VBScript   → Lua   This function sents a "Call Proceeding" message to the originator of the current call.   PBXCall.CallProceeding     This function returns an integer value of  PBXSuccess (0) on success. See list of defined return values.   If the current call is already in state Proceeding, Alerting or Connected the function call will be ignored.   Common usage of this function is to signal call proceeding to the pstn, to state the fact th
      • 98 views
    11. PBXCall.Charges

      VBScript   → Lua   SwxWare 2011   Returns the charges of the current call.   PBXCall.Charges   This function returns a double value.   The returned number (e.g. 1,73) does not contain any currency information.    
      • 71 views
    12. PBXCall.CLIMode

      VBScript   Returns or sets the mode to handle calling party number and redirecting number on outgoing calls from a script, i.e. the script connects the call to an external destination.   PBXCall.CLIMode = 0     The property takes or returns an integer value.   The most common usage of this property is to set it within the PreProcessing rule which will be called for every incoming call to make sure to display the correct number.    The SwyxECR m
      • 123 views
    13. PBXCall.ConnectedName

      VBScript   → Lua   This property returns the name of the user a call was connected to right after a Connect To GSE block.   PBXCall.ConnectedName     This function returns a string value.   It returns an empty string once the call is disconnected.   If you connect a call to a group and need to know which user of this group has taken the call, this property can be requested right after leaving the Connected exit of the Connect To block.
      • 276 views
    14. PBXCall.ConnectedNumber

      VBScript   → Lua   This property returns the intenal extension of the user a call was connected to right after a Connect To GSE block.   PBXCall.ConnectedNumber     This function returns a string value.   If you connect a call to a group and need to know which user of this group has taken the call, this property can be requested right after leaving the Connected exit of the Connect To block.   There is another function PBXCall.ConnectedName 
      • 121 views
    15. PBXCall.DialedNumber

      VBScript   → Lua   This function returns the dialed number that has leaded the call to reach the current script. It returns *all* digit, not just the first digits to correctly identify the script user but also the so called post dialing digits.   PBXCall.DialedNumber     This function returns a string value.   There is another function available PBXCall.CalledPartyNumber which returns just the first digits to correctly identify the script user.  
      • 129 views
    16. PBXCall.Disconnect

      VBScript   → Lua   This functions disconnects the current call.   PBXCall.Disconnect ([cause])     This function returns an integer value of PBXSuccess (0) on success. See list of defined return values.   This function can be called before the call is connected to a user (by using e.g. the Connect To block in the GSE) or even after the call was connected.     Parameter   cause   Optional. Default: PBXCallTermNormalCallCl
      • 72 views
    17. PBXCall.FaxToneDetected

      VBScript   → Lua   SwxWare 2011   This property returns true, if a fax tone was detected in the current call.   PBXCall.FaxToneDetected     This function returns an boolean value.   If a fax tone has beend detected the call can then be connected to an extension a fax machine or SwyxFax is connected to.    
      • 115 views
    18. PBXCall.Hold

      VBScript   → Lua   This function sets the current call on hold, meaning it starts playing the given music on hold file (wav) and returns.   PBXCall.Hold "musiconhold.wav"     This function returns an integer value of PBXSuccess (0) on success. See list of defined return values.   In opposite to the GSE block Play Message which plays a wav file completely before returning, the hold function/block returns immediately.   The one parameter of th
      • 109 views
    19. PBXCall.IsInternal

      VBScript   → Lua   This function returns True if the current call has an SwyxWare internal initiator.   If PBXCall.IsInternal Then ' do something End If     This function returns a boolean value.    
      • 78 views
    20. PBXCall.IsOnHold

      VBScript   → Lua   This function returns True if the current call is currently on hold.   If PBXCall.IsOnHold Then PBXCall.Activate End If     This function returns a boolean value.   You can use the PBXCall.Hold function to put a call on hold, and the PBXCall.Activate function to activate a call again.    
      • 76 views
    21. PBXCall.IsOriginatorDisconnected

      VBScript   → Lua   Returns True if the originator of the current call has disconnected it.   If PBXCall.IsOriginatorDisconnected Then ' do something End If     This property returns a boolean value.   An example would be to put a call on hold with PBXCall.Hold and then to wait for an avaible agent within a loop. Don't miss to use the PBXScript.Sleep function when looping while waiting for something to prevent 100% cpu load. While being in such a loop
      • 88 views
    22. PBXCall.LastRecordedMessage

      VBScript   → Lua   This property returns the name (incl. path) of the last recorded message (by the Record Message block).   PBXCall.LastRecordedMessage     This function returns a string value.   When making use of the Record Message functionality the SwyxServer defines the unique name of the WAV file to take the recording. After a recording this name can be requested from the server i.e. by this property. The Record Message block also provides a var
      • 72 views
    23. PBXCall.LastRecordedMessageLength

      VBScript   → Lua   This function returns the length of the last recorded message in seconds.   PBXCall.LastRecordedMessageLength     The property takes or returns a long value.   When using either the PBXCall.RecordMessage function of the Record Message block a wav file is getting recorded. This function returns the length of this recording in seconds.     
      • 63 views
    24. PBXCall.PlayMessage

      VBScript   → Lua   This function plays a given wav file.   PBXCall.PlayMessage (bstrSoundfile, [nSkipFirstSeconds], [bRepeatAfterHoldOrTransfer], [FileOwner])     This function returns an integer value of  PBXSuccess (0) on success. See list of defined return values.     Parameters:   bstrSoundfile   Name of soundfile.   PBXCall.PlayMessage "Welcome.wav"   If no explicit path is given in the filename, SwyxServe
      • 112 views
    25. PBXCall.PhoneCallListEntry

      VBScript   This object can be used to manipulate the phone call list entry which is written for the current call into the user's phone call list.   This object defines the following properties and functions:   Name Number State CallbackState Delete       PBXCall.PhoneCallListEntry.Name = "Erika Mustermann"   The Name property takes or returns the name to be set in the phone call list entry as string value.
      • 153 views
×
×
  • 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.