<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
Im having a heck of a time figuring this out:<BR>
<BR>
INVITE comes to our switch, we send a INVITE to another proxy that responds with a 302, we parse that 302 in failure route then use a route() command to go to another route block which does some other processing (will send out more INVITE's, do certain things on failure, etc), if the original call does get canceled or completes successfully with a 200 OK the originating proxy receives the original 302 request plus what ever our final failure response code we want to send.<BR>
<BR>
The behavior does seem correct as openSIPs is just forwarding the 302, but in this case I want it to send only the final response code back to the originating client.<BR>
<BR>
The initital route block which sends the INVITE to get the 302 is very simple, we just write the rU and rd and send via t_relay, onreply_route does a little parsing then failure_route sends to a new block.<BR>
<BR>
Any help on this would be great, I think it's my logic in the switch that is wrong somewhere.<BR>
<BR>
Thanks!<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>