You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trouble using the GetDeviceConfig function. From within my app I would like the user to permanently change settings for a specific tapi line without going to the control panel an searching for the tsp provider.
I have a sub with the following:
Public Shared Sub OpenConfigDialog()
' Get the current active tapi line
Dim ActiveTapiLine As TapiLine = GetActiveTapiLine()
' Open the config dialog for the line
ActiveTapiLine.Config(Nothing, "tapi/line")
' Get the config as byteArray
Dim LineConfigByteArray As Byte() = ActiveTapiLine.GetDeviceConfig("tapi/line")
' Store updated config as byteArray
ActiveTapiLine.SetDeviceConfig("tapi/line", LineConfigByteArray)
End Sub
The problem is that the GetDeviceConfig returns {Length=0}. However, I expect that to return an updated config so it can be used again with the SetDeviceConfig function.
Am I doing something wrong? Hope you can help.
The text was updated successfully, but these errors were encountered:
Hello,
I have trouble using the GetDeviceConfig function. From within my app I would like the user to permanently change settings for a specific tapi line without going to the control panel an searching for the tsp provider.
I have a sub with the following:
The problem is that the GetDeviceConfig returns {Length=0}. However, I expect that to return an updated config so it can be used again with the SetDeviceConfig function.
Am I doing something wrong? Hope you can help.
The text was updated successfully, but these errors were encountered: