Jump to content
  • PBXCall.CallingDeviceType()

    PBXCall.CallingDeviceType()

    Lua   → VBScript   SwxWare v13.10

     

    This function returns the name of the calling device type.

     

    local sType = PBXCall.CallingDeviceType()

     

     

    This function returns a string value.

     

    This is a list of possible return strings:

     

    String         Type
    -------------  -------------------------------------------------------
    COMClient      SwyxIt! (<v6.1x)
    Conference     Conferunce User
    MobileApp      Swyx Mobile App
    DesktopApp     Swyx macOS Desktop App
    Gateway        SwyxGate or third party gateway (via H.323)
    SIPGateway     Third party gateway (via SIP)
    Phone          SwyxPhone (Lxxx)
    Link           SwyxLink (via H.323)
    SIPClient      SwyxIt! (>= v6.1x) and other SIP devices
    PhoneDCF       IP phone connected via DCF (i.e. Yealink phone)
    MobileSIP      Mobile App (via SP, other than Swyx Mobile App)
    SIPLink        SwyxLink (via SIP)
    SIPLinkNoReg   SwyxLink (via registerless SIP, e.g. to a SIP provider)
    PublicSIPLink  SwyxLink (via SIP, e.g. to a SIP provider)
    unkonwn        something else

     

     

    If you need to know the name of the calling device, i.g. the name of the trunk as shown in SwyxWare Administration, you can use the PBXCall.CallingDeviceName() property.
     

    So with the combination of PBXCall.CallingDeviceType() and PBXCall.CallingDeviceName() you can easily identify a specifc trunk a call came into your SwyxWare, be it an external trunk or a trunk to another linked SwyxWare.

     

     


    Tom Wellige
     Share


     Share




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