Author |
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: March 05 2007 at 5:05am | IP Logged
|
|
|
Dear support,
We used TransmitOnHoldIvrData to play music during on hold. When the line is holded we start transmitting our wave packets using TransmitOnHoldIvrData until the line is unholded. After the line is unholded, in a short time (usually less than 500ms) the music which was playing using TransmitOnHoldIvrData is played on the local sound card !!!
I think TransmitOnHoldIvrData should send the data through RTP to the far end not on the local sound card.
Thanks
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: March 05 2007 at 11:06am | IP Logged
|
|
|
Hi Jalal,
The TransmitOnHoldIvrData() API procedure sends the sample buffer you specify immediately to the phone line’s transmit mixer. It gets processed (mixed) with other outgoing signal paths if required and transmitted via RTP. The TransmitOnHoldIvrData() API procedure is completely isolated from local audio playback and any local audio signal paths.
The only way you might hear a short burst (500Ms) of your “on hold” data when you go “off hold” is if the far end of the call is echoing back the “on hold” audio somehow.
You can verify that this is the case by using ethereal network sniffer and capturing RTP payload packets between the call endpoints.
Support
|
Back to Top |
|
|