<div dir="ltr"><div class="gmail_quote"><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">Hi Bogdan,<br><br>Here is the output requested.<div class="im">
<br>#0  0xb7573031 in pre_print_uac_request (t=0xb56156c0, branch=1, request=0xb75a10a0) at t_fwd.c:132<br></div>(gdb) print request-&gt;dst_uri.s<br>$1 = 0x0<br>(gdb) print request-&gt;dst_uri.len<br>
$2 = -1<br>(gdb) <br><br>My route script for failure route scenários is:<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(&quot;3[0-9][0-9]&quot;)) {<br>    ##t_reply(&quot;404&quot;,&quot;Not found&quot;);<br>    ##    exit;<br>    ##}<br><br>    # Redirect busy calls to a media server<br>

    if (t_check_status(&quot;486&quot;)) {<br>        #If there is an AVP called fwdbusy send to it<br>        if(avp_db_load(&quot;$ru&quot;,&quot;$avp(s:fwdbusy)&quot;)) {<br>            xlog(&quot;Redirect busy calls\n&quot;);<br>

            revert_uri();<br>            $ru = $avp(s:fwdbusy);            <br>            xlog(&quot;forwarded to: $ru&quot;);<br>            t_reply(&quot;181&quot;,&quot;Call Is Being Forwarded&quot;);<br>            t_relay();<br>

            exit;<br>        }<br>        exit;<br>    }<br><br>    # Redirect unanswered calls to the media server<br>    if (t_check_status(&quot;480|408&quot;)) {<br>        #If there is an AVP called fwdnoansw send to it<br>

        if(avp_db_load(&quot;$ru&quot;,&quot;$avp(s:fwdnoansw)&quot;)) {<br>            xlog(&quot;Redirect unanswered calls\n&quot;);<br>            revert_uri();<br>            $ru = $avp(s:fwdnoansw);        <br>            xlog(&quot;forwarded to: $ru&quot;);<br>

            t_reply(&quot;181&quot;,&quot;Call Is Being Forwarded&quot;);<br>            t_relay();<br>            exit;<br>        }<br>        exit;<br>    }<br>}<br><br>Regarding the scenário, I&#39;m trying to do an early media call (PRACK) with call forward no answer. Please, see the wireshark flow bellow.<br>

<br>|Time     | 192.168.1.2       | 192.168.1.200     |<br>|250.483  |         INVITE SDP ( g711U)           |SIP From: <a href="mailto:sip%3A121@192.168.1.200" target="_blank">sip:121@192.168.1.200</a> <a href="mailto:To%3Asip%3A127@192.168.1.200" target="_blank">To:sip:127@192.168.1.200</a><br>

|         |(5060)   ------------------&gt;  (5060)   |<br>|250.483  |         INVITE SDP ( g711U)           |SIP From: <a href="mailto:sip%3A121@192.168.1.200" target="_blank">sip:121@192.168.1.200</a> <a href="mailto:To%3Asip%3A127@192.168.1.200" target="_blank">To:sip:127@192.168.1.200</a><br>

|         |(5060)   ------------------&gt;  (5060)   |<br>|250.511  |         100 Giving a try              |SIP Status<br>|         |(5060)   &lt;------------------  (5060)   |<br>|250.511  |         100 Giving a try              |SIP Status<br>

|         |(5060)   &lt;------------------  (5060)   |<br>|250.522  |         INVITE SDP ( g711U)           |SIP Request<br>|         |(5060)   &lt;------------------  (5060)   |<br>|250.522  |         INVITE SDP ( g711U)           |SIP Request<br>

|         |(5060)   &lt;------------------  (5060)   |<br>|250.632  |         100 Trying|                   |SIP Status<br>|         |(5060)   ------------------&gt;  (5060)   |<br>|250.632  |         100 Trying|                   |SIP Status<br>

|         |(5060)   ------------------&gt;  (5060)   |<br>|250.686  |         180 Ringing SDP ( g711U)          |SIP Status<br>|         |(5060)   ------------------&gt;  (5060)   |<br>|250.686  |         180 Ringing SDP ( g711U)          |SIP Status<br>

|         |(5060)   ------------------&gt;  (5060)   |<br>|250.687  |         180 Ringing SDP ( g711U)          |SIP Status<br>|         |(5060)   &lt;------------------  (5060)   |<br>|250.687  |         180 Ringing SDP ( g711U)          |SIP Status<br>

|         |(5060)   &lt;------------------  (5060)   |<br>|250.777  |         PRACK     |                   |SIP Request<br>|         |(5060)   ------------------&gt;  (5060)   |<br>|250.777  |         PRACK     |                   |SIP Request<br>

|         |(5060)   ------------------&gt;  (5060)   |<br>|250.778  |         PRACK     |                   |SIP Request<br>|         |(5060)   &lt;------------------  (5060)   |<br>|250.778  |         PRACK     |                   |SIP Request<br>

|         |(5060)   &lt;------------------  (5060)   |<br>|250.820  |         200 OK    |                   |SIP Status<br>|         |(5060)   ------------------&gt;  (5060)   |<br>|250.820  |         200 OK    |                   |SIP Status<br>

|         |(5060)   ------------------&gt;  (5060)   |<br>|250.820  |         200 OK    |                   |SIP Status<br>|         |(5060)   &lt;------------------  (5060)   |<br>|250.820  |         200 OK    |                   |SIP Status<br>

|         |(5060)   &lt;------------------  (5060)   |<br>|260.510  |         181 Call Is Being Forwarded          |SIP Status<br>|         |(5060)   &lt;------------------  (5060)   |<br>|260.510  |         181 Call Is Being Forwarded          |SIP Status<br>

|         |(5060)   &lt;------------------  (5060)   |<br>###############################openSIPS crash<br>|340.888  |         CANCEL    |                   |SIP Request<br>|         |(5060)   ------------------&gt;  (5060)   |<br>

|340.888  |         CANCEL    |                   |SIP Request<br>|         |(5060)   ------------------&gt;  (5060)   |<br>|651.455  |         487 Request Terminated          |SIP Status<br>|         |(5060)   ------------------&gt;  (5060)   |<br>

|651.455  |         487 Request Terminated          |SIP Status<br>|         |(5060)   ------------------&gt;  (5060)   |<br>|651.961  |         487 Request Terminated          |SIP Status<br><br><div><div></div><br></div>
</div></blockquote></div>Thanks<br><br>Daniel<br>
</div>