music on hold

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Everybody,

I would like to play a wav-file to a caller once he was put "on-hold" with pjsua_call_set_hold(callID, NULL). 

For that purpose I created a player with pjsua_player_create() and connected it's conf-port to the one of the holding call (as a response to the triggered on_call_media_state() callback). 

Unfortunately, this does not work - the file is not heard by the holding caller. However, the player-mechanism works fine - that is verified: The wav-file can be heard beautifully by the caller, when the call is not on hold. 

What is the suggested approach to implement music-on-hold with pjsua?

Thank you very much in advance!

Cheers,

-Thomas


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux