This project is read-only.
1
Vote

Softphone does not close after a dispose

description

I have created a simple program in order to test the deletion of softphone object.
The code create a new softphone object and dispose this object.


class Program
{
    static void Main(string[] args)
    {
Console.WriteLine(string.Format("Start Ozeki program on the process Id :
{0}",Process.GetCurrentProcess().Id));
        // Init of the soft phone 
         // Ozeki Softphone oject 
        ISoftPhone SoftPhone = SoftPhoneFactory.CreateSoftPhone(5000, 8000, 5060);
        SoftPhone.Close();
        Console.ReadLine();

    }
}
As we can see in debug view, this object is never dispose and the program traces %s%s in debugview .

file attachments

comments