<div dir="ltr"><div><div><div><div><div>Hi Olle and Daniel,<br></div>Thank you for your replies, After receive your msg I looked again to my script and i found the problem.<br><br></div>I didn't configure the correct failure_route block and the failure route configured didn't print any msg on the logs, so I <span id="result_box" class="" lang="en"><span class="">thought</span></span> that it wasn't entering on failure route.<br><br></div>Sorry for my mistake.<br><br></div><div>Anyway, How should i handle the CANCEL sip msg to an INVITE that is suspended? (still related with this implementation)<br><br><br></div>Thank you for your support.<br><br></div>Regards</div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-14 14:52 GMT+01:00 Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On 14 Jun 2016, at 15:45, José Seabra <<a href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div><div><div><div>Hello,<br><br></div>Regarding to this implementation, I'm sending SIP Subscribe message from uac_req_send function to CNAM server but it is unavailable and Kamailio doesn't receive any reply from CNAM server, What I'm noticing is that kamailio is retransmitting the SIP Subscribe msg until get "408 request time out".<br><br></div><div>In order to implement a failure_route to this SIP Subscribe msg sent from uac_req_send I put kamailio send this SIP msg first to itself then kamailio set the failure_route and send SIP Subscribe msg to CNAM server using t_relay from script configuration file, but kamailio still not entering on failure_route block.<br></div></div></div></div></div></blockquote></span>I am doing the same with SIP REGISTER and get into the failure route with a lot of different issues. Haven’t specifically tried with a local TM timeout, a locally generated 408 though. <span class=""><br><blockquote type="cite"><div><div dir="ltr"><div><div><div><br>How can I set  failure_route to this SIP Subscribe msg sent from uac_req_send()</div></div></div></div></div></blockquote></span>SHould work with a normal failure route trigger in the script. </div><div><br></div><div>Sounds very strange ...</div><div><br></div><div>/O<br><blockquote type="cite"><div><div dir="ltr"><div><div><br></div>Regards<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2016-06-07 22:06 GMT+01:00 José Seabra <span dir="ltr"><<a href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">Hello, <div><br></div><div>Thank you for the feedback.</div><div><br></div><div>BR</div></div></span><div class="gmail_extra"><div><div><br><div class="gmail_quote"><span class="">2016-06-07 8:38 GMT+01:00 Pavel Eremin <span dir="ltr"><<a href="mailto:eremina.net@gmail.com" target="_blank">eremina.net@gmail.com</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr"><div>Hi,</div><div><br></div>We using PERL moodule and PERL script to do this.<div>Don't sure but, Kamailio will stop anyway when it sends www query and wating answer.</div><div><br></div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class=""><div><div>2016-06-06 19:56 GMT+05:00 José Seabra <span dir="ltr"><<a href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>></span>:<br></div></div></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><span class=""><div>Hello there,<br></div>I need to use kamailio to consult an CNAM server in order to get the caller id name and number to the call, the diagram bellow represents what i need implement:<br><br></span><span><kamailio_CNAM.png></span><div><div class="h5"><br>​<br clear="all"><div><div>Can I  implement this behavior through the following kamailio modules:<br></div><ol><li>tm and tmx module (call the function t_suspend and t_continue in order to stop INVITE transaction and resume it).</li><li>UAC module (generate the SUBSCRIBE sip message)</li><li>Some kamailio scripting logic to manage this behavior.</li></ol><div>what are your advices to implement this scenario?<br><br></div><div>Thank you for your help<br></div><div><br>Regards<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div><br></div><div><br></div><div>-- <br><div data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div></font></span></div></div></div></div>
<br></div></div><div><div class="h5">_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></div></div></blockquote></div><br></div><div><div class="h5">
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></div></div></blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><span><font color="#888888">-- <br><div data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</font></span></div><div><div class="h5">
_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br></div></div></div></blockquote></div><br></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div>