Hi Razvan,
I want Ringing replaced with Playing media for user that called (UAC). Yet
caller hear nothing. I should drop 180 ? I should call this method when I
received INVITE?
Best Regards,
H.Yavari
________________________________
Hi, Yavari!
In your scenario, you want to play media to UAC, not UAS, right? Does it
work properly now, can the caller hear the ringing?
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 02/26/2014 01:34 PM, H Yavari wrote:
> Hi,
> Your hint solved the problem of the playing and now I see this in logs:
> INFO:handle_play: -1 times playing prompt /var/rtpproxy/prompts/092 codec 8.
>
> "Shouldn't you use the rtpproxy_stream2uac() function for playing
> ringback tone?" Why? and How I should this?
> ------------------------------------------------------------------------
>
> Hi, Yavari!
>
> That error indicates that RTPProxy couldn't find any available codecs
> for your client. Please check the files in /var/rtpproxy/prompts/092.*
> to make sure you have the proper files installed.
>
> I find something weird in your examples: you're saying that you are
> calling the function like this, which is correct:
>
> rtpproxy_stream2uas("/var/rtpproxy/prompts/092", "-1");
>
> However, RTPProxy prints the comand as: /var/rtpproxy/prompts/092.8,
> which is incorrect, since the codec should not be appended to the file.
> Are you using different configure versions?
>
> Also, shouldn't you use the rtpproxy_stream2uac() function for playing
> ringback tone?
>
> Best regards,
>
> Razvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
>
> On 02/26/2014 09:22 AM, H Yavari wrote:
> > Dear Razvan,
> > Thanks for your reply. RTPproxy and OpenSIPS have communication with
> > each other and all of call's RTP streams passed from RTPproxy. So there
> > isn't any problem between them.In logs only exist this info:
> > DBG:rtpproxy:force_rtp_proxy_body: proxy reply: 57548 192.168.1.20#012
> > and nothing for : rtpproxy_stream2uas("/var/rtpproxy/prompts/test",
> > "-1") or any errors.
> > "What do you mean the function does not work properly?" I mean this
> > function not work for me and not send any command to RTPproxy.
> > If you can, give me a choice to use your patch.
> > Thanks so.
> >
> > Best Regards,
> > H.Yavari
> >
> > PS:
> > I enabled the RTPproxy logging and this is result of calling the method
> > :rtpproxy_stream2uas("/var/rtpproxy/prompts/092", "-1") :::
> >
> > DBUG:handle_command: received command "6387_7 P-1
> > 562e15da4cdd600161336f3235ce8213@192.168.1.116
> <mailto:562e15da4cdd600161336f3235ce8213@192.168.1.116>
> > /var/rtpproxy/prompts/092.8 session as5f218e73;1 "
> > ERR:handle_play: can't create player
> > DBUG:doreply: sending reply "6387_7 E6
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users