<div dir="ltr">The last mail bounced back because of size so I truncated older conversations.<br><br><div class="gmail_quote">On Thu, Aug 21, 2008 at 11:32 AM, Ruchir <span dir="ltr"><<a href="mailto:ruchir.lists@gmail.com">ruchir.lists@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">I'm populating it from onreply route. Below is my onreply route.<br>if($hdr(Diversion)!=null)<br>
{<br> avp_delete("$avp(s:src_user_reply)");<br> $avp(s:src_user_reply) = $hdr(Diversion);<div class="Ih2E3d"><br>
xlog("Client call forwarding to $avp(s:src_user_reply)\n ");<br> avp_subst("$avp(s:src_user_reply)", "/(.*)<sip:(.*)@(.*)>;reason=(.*)/\4/");<br></div> $avp(s:src) = $rU;<br>
switch($avp(s:src_user_reply))<div class="Ih2E3d"><br> {<br> case "unconditional":<br> $avp(s:call_type) = "cwfd";<br> break;<br> case "user-busy":<br>
$avp(s:call_type) = "cwfdbusy";<br> break;<br> case "no-answer":<br> $avp(s:call_type) = "cwfdnoanswer";<br> break;<br>
default:<br> log("no forwarding\n");<br> }<br></div> xlog("FORWARDING REASON: $avp(s:call_type) \n ");<div><div></div><div class="Wj3C7c"><br><br> }<br><br>
<div class="gmail_quote">On Tue, Aug 19, 2008 at 5:49 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</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;">Hi Ruchir,<br>
<br>
I see in failure route you are using route[1] to do the job if a redirect happens. How exactly are you populating in the second set of caller/callee in route[1] ?<br>
<br>
Regards,<br>
Bogdan<br>
<br></blockquote></div></div></div></div></blockquote></div><br></div>