Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Altigen Play wav files on a call

Status
Not open for further replies.

apalcer

Programmer
Jul 29, 2010
2
US
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??????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top