I have make a globle call successfully with SIP Protocol ,now,i want to play a voice file on a phone when making a globle call,how to do it ?
Once the call is in connected state,
Open Voice device dx_open()
Get the CT bus time slots of the voice and global call line devices
(dx_getxmitslot( ) and gc_GetXmitSlot( )).
Connect voice and global call line devices (dx_listen(), gc_Listen())
Finally play the file using dx_play api’s.
Please refer Voice API reference guide and Global Call API reference guide for more details on how to use these functions
Hope this helps.
Thank you! I will try it.
I have modified the global call demo with voice software. It can call perfectly fine but I am not able to play or listen any audio file (VOX or WAV). I have tried using dx_play, dx_playwav, dx_playvox, and dx_playiottdata, but not positive results. Please help! Any code will be helpful.. I have attached my project as a rar file.