paly voice file in globle call

rated by 0 users
This post has 3 Replies | 2 Followers

Top 150 Contributor
Posts 38
Points 410

Hi

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 ?

Thanks.

Top 100 Contributor
Posts 62
Points 830
Dialogic Employee

Library Reference Dialogic Corporation 11.9999 Normal 0 false false false MicrosoftInternetExplorer4

Hi,

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.

  • | Post Points: 20
Top 150 Contributor
Posts 38
Points 410

Hi

Thank you! I will try it.

  • | Post Points: 20
Top 500 Contributor
Posts 27
Points 420

Hi everyone, 

 

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.  

 

Thank you,

Sincerely,

Anupam

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS