Hi Razvan

just one thing to be clear as I do not see anything in my debugging mode.

So after i get beck 180 ringing, must call:

rtpproxy_answer("rfo",,"2");
and
rtpproxy_stream2uas("/tmp/wav.wav", "-1"); (I did conversion and files are like wav.wav.3, .0, .8)

Must I do something else? This is done on on_replay route. I guess I must change to 183 session in progress?


thank you for help!
Miha





On 8/19/2019 8:57 PM, Miha via Users wrote:
Hi, Răzvan!

thank you, so i was thinking right :)


br
miha

On Mon, 19 Aug 2019 17:28:07 +0300
  Răzvan Crainea <[email protected]> wrote:
Hi, Miha!

You first need to convert the wav file you want to stream
to a RTP payload, one for each codec you support. To do
that, you can use the makeann tool that rtpproxy
provides[1].
Once you have those files (named file.3 for GSM, file.0
for PCMU. file.8 for PCMA), you need to call the
rtpproxy_stream2uac("file"). This will automatically do
the codec selection and choose the right file.

[1] https://github.com/sippy/rtpproxy/tree/master/makeann

Best regards,
Răzvan

On 8/19/19 4:07 PM, Miha via Users wrote:
Hello guys

first time doing this, normally I use freeswitch... Se
in combination with rtpproxy how to enable ringback tone.
I need to call rtpproxy_stream2() i add it as file? Or
there is some other option for this if I would like that
is played by UAS?

thank you for help!
miha

_______________________________________________
Users mailing list
[email protected]

http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Răzvan Crainea
OpenSIPS Core Developer
    http://www.opensips-solutions.com

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to