<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Calibri Light">Hi Razvan<br>
<br>
just one thing to be clear as I do not see anything in my
debugging mode.<br>
<br>
So after i get beck 180 ringing, must call:<br>
<br>
rtpproxy_answer("rfo",,"2");<br>
and<br>
rtpproxy_stream2uas("/tmp/wav.wav", "-1"); (I did conversion and
files are like wav.wav.3, .0, .8)<br>
<br>
Must I do something else? This is done on on_replay route. I guess
I must change to 183 session in progress?<br>
<br>
<br>
thank you for help!<br>
Miha<br>
<br>
<br>
<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 8/19/2019 8:57 PM, Miha via Users
wrote:<br>
</div>
<blockquote type="cite" cite="mid:web-127830908@softnet.si">
<pre class="moz-quote-pre" wrap="">Hi, Răzvan!
thank you, so i was thinking right :)
br
miha
On Mon, 19 Aug 2019 17:28:07 +0300
Răzvan Crainea <a class="moz-txt-link-rfc2396E" href="mailto:razvan@opensips.org"><razvan@opensips.org></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">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] <a class="moz-txt-link-freetext" href="https://github.com/sippy/rtpproxy/tree/master/makeann">https://github.com/sippy/rtpproxy/tree/master/makeann</a>
Best regards,
Răzvan
On 8/19/19 4:07 PM, Miha via Users wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hello guys
first time doing this, normally I use freeswitch... Se
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">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?
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
thank you for help!
miha
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap=""><a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
--
Răzvan Crainea
OpenSIPS Core Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>