1
Vote

Class implementing IAsteriskAGIScript is not recognized by TcpAGIScriptHost

description

This issue affects my development on the .net Framework version 3.5. Specifically, line 84 of TcpAGIScriptHost.cs will return false if my class implements IAsteriskAGIScript. I believe this has to do with using the IsSubclassOf function. I have attached my fix for the problem which iterates through the types interfaces using the GetInterfaces() method. I have found this to be the most reliable way to get implementing interfaces, there seems to be quirks with every other method.
 
Thanks, Trevor Davis

file attachments

comments