<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It may also be related to the timer accuracy of OpenSER 1.1<br>
<br>
If the T1 interval is 500ms but OpenSER 1.1 doesn't support sub-second
timer accuracy it is probable to see it retransmitting in situations
where T1 hasn't been reached yet<br>
It shouldn't cause any problems though, just a few erroneous
retransmits from time to time<br>
<br>
tavis<br>
<br>
Ovidiu Sas wrote:
<blockquote
 cite="mid:6f497e130712031042t4cb19307t8ca57390ad9fc4bf@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi Douglas,

You posted this questionawhileago and by checkingthe archives
Irealised that my answer was truncated somehow ...
Here's the full answer:

This is the way that is supposed to work.  If nothing is received from
upstream, the request is resent.
&gt;From the rfc3261:

17.1.1.1 Overview of INVITE Transaction

  The INVITE transaction consists of a three-way handshake.  The client
  transaction sends an INVITE, the server transaction sends responses,
  and the client transaction sends an ACK.  For unreliable transports
  (such as UDP), the client transaction retransmits requests at an
  interval that starts at T1 seconds and doubles after every
  retransmission.  T1 is an estimate of the round-trip time (RTT), and
  it defaults to 500 ms.


It seems that your upstream UAS is slowin sending out the 100 Trying
and therefor openSER is resending out the INVITE.


Regards,
Ovidiu Sas

On Dec 3, 2007 12:35 PM, Douglas Garstang <a class="moz-txt-link-rfc2396E" href="mailto:dougmig33@yahoo.com">&lt;dougmig33@yahoo.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I have an OpenSER 1.1 install here, and for some reason, OpenSER is sending
the INVITE message twice to the upstream host.

Asterisk        OpenSER        Provider
-----------------------------------------------
| ---INVITE---&gt; |                           |
|                         | ---INVITE---&gt;   |
|                         | ---INVITE---&gt;   |
|                         | &lt;---TRYING--- |
|                         | &lt;---TRYING--- |

The time difference between them is about 1/5 of a second. Nothing is
received between the first and second INVITE's.

Why is OpenSER doing this?

I have xlog() statements everywhere in openser.cfg, and OpenSER is only
logging ONE outgoing INVITE message, eventhough it's sending two. It is
logging the multiple TRYING messages that come back however.

OpenSER is not calling failure_route because nothing is logged in there.
What could be going wrong? Why is it doing this?

Doug.

 ________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.openser.org">Users@lists.openser.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openser.org/cgi-bin/mailman/listinfo/users">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.openser.org">Users@lists.openser.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openser.org/cgi-bin/mailman/listinfo/users">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a>

  </pre>
</blockquote>
<br>
</body>
</html>