<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1"><font face="FaceplateSansAGaugeLE">Thanks for the
pointers.<br>
<br>
When I remove append_branch from the route blocks, for some reason,
rewritehostport fails in subsequent routes. No errors show up in the
log, but the call will proceed through each block, traceable by the log
statements, but the host ip address on the new invites is the same as
the first invite.<br>
<br>
Thanks,<br>
matt<br>
</font></font><br>
Raúl Alexis Betancor Santana wrote:
<blockquote cite="mid:200809092106.37880.rabs@dimension-virtual.com"
 type="cite">
  <pre wrap="">El Tuesday 09 September 2008 19:42:05 Matthew McGuire escribió:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm having a problem with the route sections below. When my proxy
receives an Invite to proxy to a PSTN gateway, the proxy is sending 2
invites very fast to the gateway in the first route block which ends up
creating a mess with the gateway.

Either I have something wrong in  the routing code or I have an
SER/OS/hardware timing problem.

Any suggestions ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Yes, why are you calling append_branch() on route blocks? I guess you have 
missundestood how it works and here it must be used.

Remove all those append_branch() calls and your gateway will be happier .. 

Best regards
  </pre>
</blockquote>
</body>
</html>