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

  • PBXCall.CallingDeviceName()

    PBXCall.CallingDeviceName()

    Lua   → VBScript   SwxWare v13.10

     

    This function returns the name of the calling device.

     

    local sName = PBXCall.CallingDeviceName()

     

     

    This function returns a string value.

     

    If the call is "external", i.e. it comes via a gateway trunk, link trunk or sip trunk, this function returns 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 function PBXCall.CallingDeviceType().

     

    With the combination of PBXCall.CallingDeviceName() and PBXCall.CallingDeviceType() 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.