<div dir="ltr">Hi,<div><a href="http://www.kamailio.org/docs/modules/devel/modules/rtpengine.html#rtpengine.f.rtpengine_manage">http://www.kamailio.org/docs/modules/devel/modules/rtpengine.html#rtpengine.f.rtpengine_manage</a>.<br></div><div>If you are calling it after resuming a transaction you are basically in a FAILURE_ROUTE, so it will call the "delete" command. You have to explicitly call rtpengine_offer for this to work.</div><div><br></div><div>Cheers,</div><div><br></div><div>Federico </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 6, 2017 at 5:23 PM, Anthony Alba <span dir="ltr"><<a href="mailto:ascanio.alba7@gmail.com" target="_blank">ascanio.alba7@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am using tsilo and  push notification recipe from<br>
<a href="https://www.kamailio.org/events/2015-KamailioWorld/Day2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf" rel="noreferrer" target="_blank">https://www.kamailio.org/<wbr>events/2015-KamailioWorld/<wbr>Day2/20-Federico.Cabiddu-<wbr>Kamailio-In-A-Mobile-World.pdf</a><br>
<br>
On resume of a suspended transaction rtpengine_manage() is sending<br>
delete instead of offer.<br>
<br>
In the routing block INVRESUME after t_continue():<br>
<br>
<br>
route[INVRESUME] {<br>
    lookup("location");<br>
    rtpengine_manage("DTLS=off ICE=remove");<br>
    t_relay();<br>
    ts_store();<br>
    $sht(vtp=>stored::$rU) = 1;<br>
}<br>
<br>
I expect rtpengine_manage() to send offer since this is a Request+SDP;<br>
instead it sends delete to rtpengine with garbage Call-ID. If I<br>
replace rtpengine_manage() with rtpengine_offer() then it works.<br>
<br>
rtpengine (the actual media proxy) sees<br>
<br>
Received command 'delete' from 192.168.1.755:49851<br>
Call-ID to delete not found<br>
<br>
which is totally bogus of course.<br>
<br>
rtpengine_offer() works fine but wondering why rtpengine_manage() goes<br>
berserk here.<br>
<br>
Anthony<br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote></div><br></div>