From what I can see in your logs, you are first sending a command to
play the file (line 1) and only then you create the media session (line
4). First you have to create the session (rtpproxy_offer()), and then
play the sound.
The snipped you pasted below, shows the right order, however, they are
somehow executed the other way around. You should look into that.
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 01/05/2016 11:39 AM, Aqs Younas wrote:
Thanks for Replying. The asked pastebin is
http://pastebin.com/Hu8mkbTj
Please do tell if you need anything else.
On 5 January 2016 at 13:27, Răzvan Crainea <[email protected]
<mailto:[email protected]>> wrote:
Hello!
Try to increase rtpproxy debugging and post the logs on pastebin.
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com <http://www.opensips-solutions.com>
On 01/04/2016 09:45 PM, Aqs Younas wrote:
Hi users.
I am trying to play caller a file before dialing callee. I used
the makeann from rtpproxy to pre encode a wav file
didyou8r1c.wav(mono, 16bit, 8k), which gave didyou8r1c.wav.0 and
didyou8r1c.wav.8.
Both files are located in /opt/test/ directory. My invite block
is given below.
if (has_body("application/sdp")) {
if (rtpproxy_offer())
t_on_reply("1");
xlog("Trying to Play Caller file");
rtpproxy_stream2uac("/opt/test/didyou8r1c", "-1");
}
But i see this error in rtpproxy logs.
Jan 4 04:07:08 66-226-76-150 rtpproxy[3977]:
INFO:GLOBAL:handle_command: play request failed: session
ZjU2NDU4Y2M1ODJlYjVmZjNmODY4MGI2MmU5ZTNkZjI., tags
253e361d;1/NONE not found
I hope someone can help me in figuring out what i am doing wrong.
Best Regards.
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected] <mailto:[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