I'm having a syntax writers block. How do I convert the collowing C++ code into something I can use in my php script? I'm getting close, but seem to be getting stuck.
CODE
Call call = mSkype.PlaceCall("Echo123",null,null,null);
call.set_InputDevice(TCallIoDeviceType.callIoDeviceTypeFile,"happy.wav");
this is what I have:
CODE
$user = $skype->user("echo123"); //this line is good to go
$call = $skype->PlaceCall($user->handle); //this line is good to go
$call->InputDevice($call->Type->callIoDeviceTypeFile, "happy.wav"); //no go
Keep in mind that I skipped some code, and the call is already active while trying to set the device type.
I know $call->Type->callIoDeviceTypeFile is wrong. $call->Type itself returns 3. There is no $call->TCallIoDeviceType->callIoDeviceTypeFile or $call->TCallIoDeviceType for that matter.
Any thoughts? I will keep digging at it.