<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang="EN-US" link="blue" vlink="blue"><div><font size="2" color="navy" face="Arial">
Like I said, it just worked for me. Fs parsed the new contact (with maddr) and re-sent the invite to the new contact.<br><br>I&#39;m on &quot;vacation&quot; so I won&#39;t be able to look at this but I will in the next couple of weeks if you&#39;re still having problems.<br>

<br>
<br>--
<br>Kristian Kielhofner
<br><a href="http://blog.krisk.org">http://blog.krisk.org</a></font></div>
<br><div><hr size="2" width="100%" align="center" tabindex="-1">
<font face="Tahoma" size="2">
<b>From</b>: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> &lt;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>&gt;
<br>
<b>To</b>: &#39;FreeSWITCH Users Help&#39; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;
<br><b>Sent</b>: Wed Aug 11 19:02:46 2010<br><b>Subject</b>: Re: [Freeswitch-users] FS processing 302
<br>
</font><br></div>


<div class="Section1">

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">I’d like Freeswitch to send a new
Invite to the server IP listed in the maddr address in the 302 contact.</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Checking out the wiki to see what variable
options are possible,</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"> </span></font></p>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center" tabindex="-1">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Steven Ayre<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, August 11, 2010
4:39 PM<br>
<b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users] FS
processing 302</span></font></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> </span></font></p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">AFAIK 302 reenters the
dialplan. If the destination number is unchanged, it will execute the same
commands after the redirect as it did before the redirect, which would likely
cause it to continously bridge, redirect, bridge, redirect.... That could explain
what you&#39;re experiencing.<br>
<br>
How do you want to handle the 302?<br>
<br>
It&#39;s advisable to be careful what to do with a 302 which is why it reenters the
dialplan. You can try dialing a $0.01 route but have it redirect you to a $1.00
route leaving you sending the call out on a route costing you $1.00 but
charging your customer $0.01, or if you do bill them correctly leaving them
with a bill of $1.00 when they expected only $0.01.<br>
<br>
It&#39;s possible to handle a 302 manually by sending them to a dialplan context
specifically for it, which keeps the redirect logic away from your main
dialplan. See <a href="http://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect">http://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect</a><br>
<br>
-Steve<br>
<br>
</span></font></p>

</div>

</body>

</html>