<div dir="ltr">I try that but don't work.<br><br><br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: new branch at <a href="mailto:sip%3A11@192.168.1.2">sip:11@192.168.1.2</a> <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: incoming reply <br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: onreply invite <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: incoming reply <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: onreply invite <br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: incoming reply error 486 <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: ACC: call missed: timestamp=1269021181;method=INVITE;from_tag=1744708490;to_tag=192.168.1.2+1+1080000+b729333f;call_id=<a href="mailto:72768D14-A5DB-EDCD-DD18-C6CFB4EAD16D@192.168.1.200">72768D14-A5DB-EDCD-DD18-C6CFB4EAD16D@192.168.1.200</a>;code=486;reason=Busy Here <br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: Redirect busy calls <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: before revert <a href="mailto:sip%3A11@192.168.1.2">sip:11@192.168.1.2</a> <br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: after revert <a href="mailto:sip%3A11@192.168.1.200">sip:11@192.168.1.200</a> <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: forwarded to: <a href="mailto:sip%3A13@192.168.1.200">sip:13@192.168.1.200</a><br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: new branch at <a href="mailto:sip%3A13@192.168.1.200">sip:13@192.168.1.200</a> <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: new branch at <a href="mailto:sip%3A13@192.168.1.2">sip:13@192.168.1.2</a> <br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: incoming reply <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: onreply invite <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: incoming reply <br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: onreply invite <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: ACC: call missed: timestamp=1269021181;method=INVITE;from_tag=1744708490;to_tag=192.168.1.2+1+1080000+b729333f;call_id=<a href="mailto:72768D14-A5DB-EDCD-DD18-C6CFB4EAD16D@192.168.1.200">72768D14-A5DB-EDCD-DD18-C6CFB4EAD16D@192.168.1.200</a>;code=482;reason=Loop Detected <br>
Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: incoming reply <br>Mar 19 14:53:01 danielribeiro /usr/local/sbin/opensips[26630]: onreply invite <br><br><br><div class="gmail_quote">On Fri, Mar 19, 2010 at 2:17 PM, Brett Nemeroff <span dir="ltr"><<a href="mailto:brett@nemeroff.com">brett@nemeroff.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;">Oh, right.. failure routes don't make sense in stateless. maybe t_reply then?<div>t_reply("181","Call Is Being Forwarded") </div>
<div>??</div><div>-brett</div><div><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Mar 19, 2010 at 12:13 PM, Daniel Ribeiro <span dir="ltr"><<a href="mailto:ribeiro.danielf@gmail.com" target="_blank">ribeiro.danielf@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5"><div dir="ltr">This method isn't permitted at failure_route.<div>
<div></div><div><br><br><br><div class="gmail_quote">
On Fri, Mar 19, 2010 at 2:11 PM, Daniel Ribeiro <span dir="ltr"><<a href="mailto:ribeiro.danielf@gmail.com" target="_blank">ribeiro.danielf@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;"><div dir="ltr">One more detail...<br>I'm trying to implement this scenario.<br><a href="http://www.tech-invite.com/Ti-sip-service-8.html#fig4" target="_blank">http://www.tech-invite.com/Ti-sip-service-8.html#fig4</a><div>
<div></div><div><br><br><br><div class="gmail_quote">
On Fri, Mar 19, 2010 at 2:05 PM, Daniel Ribeiro <span dir="ltr"><<a href="mailto:ribeiro.danielf@gmail.com" target="_blank">ribeiro.danielf@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;">
<div dir="ltr">Hello guys,<br><br>I'm trying to implement the call forward after a busy message following some internet examples but without success.<br>How can I generate an 181 message after a error 486.<br>I'm trying with this cfg for failure_route.<br>
<br>failure_route[1] {<br> if (t_was_cancelled()) {<br> exit;<br> }<br><br> # uncomment the following lines if you want to block client <br> # redirect based on 3xx replies.<br> ##if (t_check_status("3[0-9][0-9]")) {<br>
##t_reply("404","Not found");<br> ## exit;<br> ##}<br><br> # Redirect busy calls to another destination<br> if (t_check_status("486")) {<br> xlog("Redirect busy calls\n");<br>
xlog("before revert $ru\n");<br> revert_uri();<br> xlog("after revert $ru\n");<br> #If there is an AVP called fwdbusy send to it<br> if(avp_db_load("$ru","$avp(s:fwdbusy)")) {<br>
$ru = $avp(s:fwdbusy); <br> xlog("forwarded to: $ru");<br> }<br> t_relay();<br> }<br>}<br><br><br>The log output was:<br>Mar 19 13:34:49 danielribeiro /usr/local/sbin/opensips[26188]: new branch at <a href="mailto:sip%3A11@192.168.1.2" target="_blank">sip:11@192.168.1.2</a> <br>
Mar 19 13:34:49 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>Mar 19 13:34:49 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br>Mar 19 13:34:50 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>
Mar 19 13:34:50 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br>Mar 19 13:34:58 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>Mar 19 13:34:58 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br>
Mar 19 13:34:58 danielribeiro /usr/local/sbin/opensips[26188]: ACC: transaction answered: timestamp=1269016498;method=INVITE;from_tag=286496395;to_tag=192.168.1.2+1+1060000+dca82b99;call_id=<a href="mailto:3F0187FE-C3FE-E6DF-A2F3-457DF8E17B14@192.168.1.200" target="_blank">3F0187FE-C3FE-E6DF-A2F3-457DF8E17B14@192.168.1.200</a>;code=200;reason=OK <br>
Mar 19 13:34:58 danielribeiro /usr/local/sbin/opensips[26188]: ACC: request acknowledged: timestamp=1269016498;method=ACK;from_tag=286496395;to_tag=192.168.1.2+1+1060000+dca82b99;call_id=<a href="mailto:3F0187FE-C3FE-E6DF-A2F3-457DF8E17B14@192.168.1.200" target="_blank">3F0187FE-C3FE-E6DF-A2F3-457DF8E17B14@192.168.1.200</a>;code=200;reason=OK <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: new branch at <a href="mailto:sip%3A11@192.168.1.2" target="_blank">sip:11@192.168.1.2</a> <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply error 486 <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: ACC: call missed: timestamp=1269016500;method=INVITE;from_tag=c298fc07-e331-df11-91ee-002421899f1c;to_tag=192.168.1.2+1+1080000+b729333f;call_id=fc95fc07-e331-df11-91ee-002421899f1c@danielribeiro;code=486;reason=Busy Here <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: Redirect busy calls <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: before revert <a href="mailto:sip%3A11@192.168.1.2" target="_blank">sip:11@192.168.1.2</a> <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: after revert <a href="mailto:sip%3A11@192.168.1.200" target="_blank">sip:11@192.168.1.200</a> <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: forwarded to: <a href="mailto:sip%3A13@192.168.1.200" target="_blank">sip:13@192.168.1.200</a><br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: new branch at <a href="mailto:sip%3A13@192.168.1.200" target="_blank">sip:13@192.168.1.200</a> <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: new branch at <a href="mailto:sip%3A13@192.168.1.2" target="_blank">sip:13@192.168.1.2</a> <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: ACC: call missed: timestamp=1269016500;method=INVITE;from_tag=c298fc07-e331-df11-91ee-002421899f1c;to_tag=192.168.1.2+1+1080000+b729333f;call_id=fc95fc07-e331-df11-91ee-002421899f1c@xxxxxxx;code=482;reason=Loop Detected <br>
Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: incoming reply <br>Mar 19 13:35:00 danielribeiro /usr/local/sbin/opensips[26188]: onreply invite <br><br><br>-- <br>Daniel Ribeiro<br>
</div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>Daniel Ribeiro<br>
</div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>Daniel Ribeiro<br>
</div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Daniel Ribeiro<br>
</div>