Guys,<br><br>I agree with Edson, maybe you are using the function on a message that does not have an SDP. Print the METHOD and RESPONSE to be sure you are not passing all messages through the function.<br><br>Uriel<br><br>
<div class="gmail_quote">On Tue, Nov 17, 2009 at 9:53 AM, Edson - Lists <span dir="ltr"><<a href="mailto:4lists@gmail.com">4lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It seems like a report/information and not a problem...<br>
<br>
To be sure, could You please paste one call exchanged messages captured with NGREP? Don`t forget to hide relevant IPs end tell us who is who... ;)<br>
<br>
Edson.<br>
<br>
alex pappas escreveu:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Daniel Hi,<br>
<br>
I tried that in the first place but I had the following ERRORS:<br>
<br>
Nov 17 14:18:42 YGOR /usr/local/sbin/kamailio[4862]: WARNING:core:run_actions: null action list (rec_level=2)<br>
Nov 17 14:18:47 YGOR /usr/local/sbin/kamailio[4862]: ERROR:nathelper:extract_body: message body has length zero<br>
Nov 17 14:18:47 YGOR /usr/local/sbin/kamailio[4862]: ERROR:nathelper:force_rtp_proxy: can't extract body from the message<br>
Nov 17 14:18:47 YGOR /usr/local/sbin/kamailio[4862]: ERROR:nathelper:select_rtpp_node: script error -no valid set selected<br>
Nov 17 14:18:47 YGOR /usr/local/sbin/kamailio[4862]: ERROR:nathelper:rtpproxy_stream: no available proxies<br>
<br>
<br>
Thanks<br>
<br>
Alex<br>
<br>
<br>
<br></div><div><div></div><div class="h5">
On Tue, Nov 17, 2009 at 2:17 PM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>> wrote:<br>
<br>
Hello,<br>
<br>
<br>
On 17.11.2009 13:14 Uhr, alex pappas wrote:<br>
<br>
Dear all,<br>
<br>
I'm trying to play Early Media instead of Ringing WHEN an 180<br>
Ringing OR 182 Call Queue message is received from the<br>
destination UAC. In the onreply_route[1] I added the following<br>
lines in bold:<br>
<br>
I use kamailio 1.5 and I have NAT enabled.<br>
<br>
onreply_route[1] {<br>
xdbg("incoming reply\n");<br>
if ((isflagset(5) || isbflagset(6)) &&<br>
status=~"*(180)|*(183)|(2[0-9][0-9])") {<br>
force_rtp_proxy();<br>
}<br>
* if (status=~"(180)") {<br>
rtpproxy_stream2uac("/usr/local/etc/rtpproxy/ast-ivr.alaw","");<br>
} else {<br>
rtpproxy_stop_stream2uac();<br>
}*<br>
if (isbflagset(6)) {<br>
fix_nated_contact();<br>
}<br>
}<br>
<br>
<br>
try rtpproxy_stream2uas(...) instead of stream to uac function.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
When I get from a UAC an 180 Ringing does not play the media and<br>
also in the syslog I see the following ERRORs:<br>
<br>
Nov 17 14:11:29 YGOR /usr/local/sbin/kamailio[4681]:<br>
ERROR:nathelper:extract_body: message body has length zero<br>
Nov 17 14:11:29 YGOR /usr/local/sbin/kamailio[4681]:<br>
ERROR:nathelper:force_rtp_proxy: can't extract body from the message<br>
Nov 17 14:11:29 YGOR /usr/local/sbin/kamailio[4681]:<br>
ERROR:nathelper:select_rtpp_node: script error -no valid set<br>
selected<br>
Nov 17 14:11:29 YGOR /usr/local/sbin/kamailio[4681]:<br>
ERROR:nathelper:rtpproxy_stream: no available proxies<br>
<br>
<br>
Thanks in advance for any help<br>
<br>
Alex<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br></div></div>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a> <mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>><div class="im"><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
-- Daniel-Constantin Mierla<br>
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a><br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote><div><div></div><div class="h5">
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>