I am using Altigen sdk. I have a program that can make a call and all the events fire. I am trying to play a wav file while the outgoing call is picked up. I have
I created an object from ACallControl and I have tried .Play and .PlayEx
.Play(file path)
.PlayEx(A_PLAY_METHOD.A_MEDIA_METHOD_PLAY, A_PLAY_TYPE.A_MEDIA_TYPE_VOICEFILE, FilePath, "", 0)
And it keeps erroring out with invalid state.
My ACallControl is also the object that MakeCall.
I have also looked into the AAPC, but that errors out
when I do this....
oAPC = oSession.GetServiceObj(A_SERVICE_TYPE.A_SERVICE_APC)
Any Suggestions??????
I created an object from ACallControl and I have tried .Play and .PlayEx
.Play(file path)
.PlayEx(A_PLAY_METHOD.A_MEDIA_METHOD_PLAY, A_PLAY_TYPE.A_MEDIA_TYPE_VOICEFILE, FilePath, "", 0)
And it keeps erroring out with invalid state.
My ACallControl is also the object that MakeCall.
I have also looked into the AAPC, but that errors out
when I do this....
oAPC = oSession.GetServiceObj(A_SERVICE_TYPE.A_SERVICE_APC)
Any Suggestions??????