[OpenSIPS-Users] Initializing SIP messages from routing
Răzvan Crainea
razvan at opensips.org
Wed Feb 26 11:42:19 CET 2014
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
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 at 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
> ------------------------------------------------------------------------
> Hi!
>
> What do you mean the function does not work properly? It doesn't send
> any command to RTPProxy? Can you trace the communication between
> OpenSIPS and RTPProxy?
> Also, have you checked the RTPProxy logs for errors? I am not sure how
> you can detect this, but if I remember correctly, I had to patch
> RTPProxy to properly inject media in early stage. If you want me, I can
> provide that patch for you so you can give it a try.
>
> Best regards,
>
> Razvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
>
> On 02/24/2014 08:03 AM, H Yavari wrote:
> > Hi,
> > I used Opensips with RTPproxy and now RTP goes from RTPproxy. But
> > rtpproxy_stream2uac() function not work properly. my cfg:
> >
> > if (is_method("INVITE")) {
> > rtpproxy_offer("ro");
> > rtpproxy_stream2uas("/var/rtpproxy/prompts/test", "-1");
> > }
> >
> > There isn't any info in logs about this function. what is the problem?
> > ------------------------------------------------------------------------
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list