Jump to content
  • PBXCall

    38 pages in this category

    1. PBXCall.Activate()

      Lua   → VBScript   SwxWare v13.10   This functions activates a call previously being put on hold. Activating in fact means stop playing the music on hold.   local nReturn = PBXCall.Activate()     This function returns a PBXResult value of PBXSuccess or PBXFailure.   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
      • 163 views
    2. PBXCall.Alerting()

      Lua   → VBScript   SwxWare v13.10   This function sends an alerting message to the originator of the current call.   local nReturn = PBXCall.Alerting()     This function returns a PBXResult value of PBXSuccess, PBXFailure or PBXCallTermOriginatorDisconnected.   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
      • 170 views
    3. PBXCall.CalledPartyName()

      Lua   SwxWare v13.10   This function returns the name of the user that has been called.   local sName = PBXCall.CalledPartyName()     This function returns a string value.   To figure which number has been called you can use the PBXCall.CalledPartyNumber() function.    
      • 270 views
    4. PBXCall.CallingPartyName()

      Lua   → VBScript   SwxWare v13.10   This function sets or returns the name of the current caller.   -- get the calling party name local sName = PBXCall.CallingPartyName() -- set new calling party name PBXCall.CallingPartyName("Erika Mustermann")     This function sets or returns a string value.   This function can be used to modify the name being displayed on a client (SwyxIt!, SwyxPhone). It does not modify the caller list entry.   Addi
      • 264 views
    5. PBXCall.CallProceeding()

      Lua   → VBScript   SwxWare v13.10   This function sents a "Call Proceeding" message to the originator of the current call.   local nReturn = PBXCall.CallProceeding()     This function returns a PBXResult value of PBXSuccess, PBXFailure or PBXCallTermOriginatorDisconnected.   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 proceed
      • 215 views
    6. PBXCall.CallType()

      Lua   SwxWare v13.10   This funtion returns the type of the current call.   local sType = PBXCall.CallType()     This function returns a string value.   The returned value can be any of the following:   "Normal" "Group" "Direct" "Supervisor" "Notification" "unknown"    
      • 292 views
    7. PBXCall.Charges()

      Lua   → VBScript   SwxWare v13.10   This function returns the charges of the current call.   local nCharges = PBXCall.Charges()     This function returns a number value.   The returned number (e.g. 1,73) does not contain any currency information.    
      • 193 views
    8. PBXCall.ConnectedName()

      Lua   → VBScript   SwxWare v13.10   This function returns the name of the user a call was connected to right after a Connect To GSE block.   local sName = 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
      • 206 views
    9. PBXCall.DeletePhoneCallListEntry()

      Lua   SwxWare v13.10   This function deletes the phone call list entry of the current call.   local nReturn = PBXCall.DeletePhoneCallListEntry()     This function return a PBXResult value of PBXSuccess or PBXFailure.   By calling this function you can prevent that an entry in the phone call list will appear for the current call. This comes in handy when creating a blacklist call routing for unwanted calls.    
      • 215 views
    10. PBXCall.DialedNumber()

      Lua   → VBScript   SwxWare v13.10   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.   local sNumber = PBXCall.DialedNumber()     This function returns a string value.   There is another function available PBXCall.CalledPartyNumber() which returns just the first digits to co
      • 174 views
    11. PBXCall.Disconnect()

      Lua   → VBScript   SwxWare v13.10   This functions disconnects the current call.   local nReturn = PBXCall.Disconnect(nCause)     This function returns a PBXResult value of PBXSuccess or PBXFailure.   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 after the call was connected.     Parameter   nCause   Optional. Default: PBXCallTermNormalCallClearin
      • 250 views
    12. PBXCall.Hold()

      Lua   → VBScript   SwxWare v13.10   This function sets the current call on hold, meaning it starts playing the given music on hold file (wav) and returns.   local nReturn = PBXCall.Hold(sMusicOnHold)     This function returns a PBXResult value of PBXSuccess or PBXFailure.   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 this
      • 189 views
    13. PBXCall.CallingPartyNumber()

      Lua   → VBScript   SwxWare v13.10   This function takes or returns the number of the current caller.   -- get calling party number local sNumber = PBXCall.CallingPartyNumber() -- set new calling partyn umber PBXCall.CallingPartyNumber("123456789")     This function sets or returns a string value.   This function can be used to modify the number being displayed on a client (SwyxIt!, SwyxPhone). It does not modify the caller list entry.  
      • 238 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.