How to play custom ringback using outbound ES.
Hi everyone, This is probably very simple, but I am stuck. I am using simple perl script to listen for incoming connection from freeswitch. I am willing to learn how to send a custom ringback to legA user. So far I managed to play some wav file in the following way: $con->execute("pre_answer", "", $uuid); $con->execute("playback", "somefile.wav", $uuid); So this works ok. Now I am trying to send a custom ringback (here are my guesses): 1) $con->execute("set", "ringback=\$\${ru-ring}", $uuid); $con->execute("pre_answer", "", $uuid); doesn't work (hear silence on legA user, see 183 with SDP in fs_cli sofia trace) 2) $con->execute("set", "ringback=\$\${ru-ring}", $uuid); $con->execute("ring_ready", "", $uuid); doesn't work either (hear RBT, pre-programmed in endpoint, see 180 w/o SDP in fs_cli sofia trace). Please give some advice. Regards, Pavel.
participants (1)
-
Post