<!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">
Hello<br>
I also have a similar problem. The dialog module doesn't detect the BYE
message.<br>
I'm using ver 1.1.1.<br>
My configuration is as follow: 2 Wifi SIP phones (BCM) connected to the
same Access Point and the OpenSER runs on a PC.<br>
Attached the debug log, ethereal sniffing on the <b>Wire</b> LAN and
my config file.<br>
For both ACK and BYE message, the dialog module prints the error <br>
&nbsp;&nbsp;&nbsp; DEBUG:dialog:dlg_onroute: Route param 'did' not found<br>
Did you find a solution?<br>
<br>
If you want to check the attached files:<br>
Caller: 192.168.13.166<br>
Callee: 192.168.13.101<br>
SIP Proxy: 192.168.13.86<br>
<br>
Regards,<br>
Michel.<br>
<br>
<br>
Bogdan-Andrei Iancu wrote:
<blockquote cite="mid45DEF233.5030802@voice-system.ro" type="cite">Hi
Andy,
  <br>
  <br>
in client config, you need to add "[routes]" for ACK and BYE messages
(take a look at the cfg I sent you)
  <br>
  <br>
regards,
  <br>
bogdan
  <br>
  <br>
Andy Pyles wrote:
  <br>
  <blockquote type="cite">I Just re-read the docs on loose_route().&nbsp; So
please disregard this
    <br>
question. ( only processed if Route: header is present. Which isn't
    <br>
present because Record-route: header isn't being sent to caller )
    <br>
    <br>
So, I'm&nbsp; still trying to figure out why record-route: header is not
    <br>
being sent to caller.
    <br>
    <br>
    <br>
On 2/22/07, Andy Pyles <a class="moz-txt-link-rfc2396E" href="mailto:andy.pyles@gmail.com">&lt;andy.pyles@gmail.com&gt;</a> wrote:
    <br>
    <blockquote type="cite">Hi Bogdan,
      <br>
      <br>
After running additional debugs, for some reason the call to
      <br>
loose_route() is failing.
      <br>
      <br>
if (loose_route()) {
      <br>
&nbsp;&nbsp;&nbsp;&nbsp; # mark routing logic in request
      <br>
&nbsp;&nbsp;&nbsp;&nbsp; xlog("L_INFO", "loose_route() succeeded\n ");
      <br>
&nbsp;&nbsp;&nbsp;&nbsp; route(1);
      <br>
} else{
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("L_INFO", "loose_route()failed&nbsp; - M=$rm RURI=$ru F=$fu
      <br>
T=$tu IP=$si ID=$ci\n");
      <br>
};
      <br>
      <br>
      <br>
Any ideas why this could be occuring?
      <br>
      <br>
      <br>
On 2/22/07, Andy Pyles <a class="moz-txt-link-rfc2396E" href="mailto:andy.pyles@gmail.com">&lt;andy.pyles@gmail.com&gt;</a> wrote:
      <br>
&gt; HI Bogdan,
      <br>
&gt;
      <br>
&gt; I'm already using an almsot identical version of uas.xml and
uac.xml (
      <br>
&gt; yes rrs=true)&nbsp; is being used. However in your version the uas.xml
      <br>
&gt; doesn't have rrs="true" after initial invite which I think is
needed.
      <br>
&gt; See as you can see below, setting rrs="true" for uac will only
work if
      <br>
&gt; it receives a Record-Route header in the 200OK which it's not.
      <br>
&gt;
      <br>
&gt; In this case, ALL messages from openser to sipp uac do not contain
the
      <br>
&gt; Record-route header. So I don't think it's a sipp problem, but an
      <br>
&gt; openser configuration problem.&nbsp; I've tried using other devices for
a
      <br>
&gt; uac, such as x-lite&nbsp; but the same problem.
      <br>
&gt;
      <br>
&gt; Andy
      <br>
&gt;
      <br>
&gt; On 2/22/07, Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@voice-system.ro">&lt;bogdan@voice-system.ro&gt;</a>
wrote:
      <br>
&gt; &gt; Hi Andy,
      <br>
&gt; &gt;
      <br>
&gt; &gt; so it's about sipp :D - I remember I had some hard times to
make it work
      <br>
&gt; &gt; with record Route.
      <br>
&gt; &gt;
      <br>
&gt; &gt; take a look at the attached files, they might help you.
      <br>
&gt; &gt;
      <br>
&gt; &gt; regards,
      <br>
&gt; &gt; bogdan
      <br>
&gt; &gt;
      <br>
&gt; &gt; Andy Pyles wrote:
      <br>
&gt; &gt; &gt; HI Bogdan,
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt; thanks for your reply.
      <br>
&gt; &gt; &gt; yes you are correct. The Bye doesn't have the Route
header.
      <br>
&gt; &gt; &gt; It appears the the 200 OK&nbsp; sent to the caller doesn't
contain a
      <br>
&gt; &gt; &gt; Record-route header.
      <br>
&gt; &gt; &gt; Messages between openser and callee contain record-route
information,
      <br>
&gt; &gt; &gt; but messages between caller and openser do not.
      <br>
&gt; &gt; &gt; Is there a way to enable that?
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt; Here's more detail:
      <br>
&gt; &gt; &gt; 192.168.0.101 = Caller (sipp)
      <br>
&gt; &gt; &gt; 1.2.3.4 = openser
      <br>
&gt; &gt; &gt; 4.3.2.1 = callee ( sipp)
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt; 1.) 192.168.0.101 -&gt; 1.2.3.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP/SDP Request:
INVITE
      <br>
&gt; &gt; &gt; <a class="moz-txt-link-abbreviated" href="mailto:sip:service@1.2.3.4:5060">sip:service@1.2.3.4:5060</a>, with session description
      <br>
&gt; &gt; &gt; 2.)&nbsp; 1.2.3.4 -&gt; 192.168.0.101 SIP Status: 100 Giving
a try
      <br>
&gt; &gt; &gt; 3.)&nbsp; 1.2.3.4 -&gt; 4.3.2.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP/SDP Request: INVITE
      <br>
&gt; &gt; &gt; <a class="moz-txt-link-abbreviated" href="mailto:sip:service@4.3.2.1:5060">sip:service@4.3.2.1:5060</a>, with session description
      <br>
&gt; &gt; &gt; 4.)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.3.2.1 -&gt; 1.2.3.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP Status: 180
Ringing
      <br>
&gt; &gt; &gt; 5.)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.3.2.1 -&gt; 1.2.3.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP/SDP Status: 200
OK, with session
      <br>
&gt; &gt; &gt; description
      <br>
&gt; &gt; &gt; 6.)&nbsp;&nbsp;&nbsp;&nbsp; 1.2.3.4 -&gt; 192.168.0.101 SIP Status: 180
Ringing
      <br>
&gt; &gt; &gt; 7.)&nbsp;&nbsp;&nbsp;&nbsp; 1.2.3.4 -&gt; 192.168.0.101 SIP/SDP Status: 200
OK, with session
      <br>
&gt; &gt; &gt; description
      <br>
&gt; &gt; &gt; 8.)&nbsp;&nbsp;&nbsp;&nbsp; 192.168.0.101 -&gt; 1.2.3.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP Request:
ACK
      <br>
&gt; &gt; &gt; <a class="moz-txt-link-abbreviated" href="mailto:sip:service@1.2.3.4:5060">sip:service@1.2.3.4:5060</a>
      <br>
&gt; &gt; &gt; 9.)&nbsp;&nbsp;&nbsp;&nbsp; 1.2.3.4 -&gt; 4.3.2.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP Request: ACK
<a class="moz-txt-link-abbreviated" href="mailto:sip:service@4.3.2.1:5060">sip:service@4.3.2.1:5060</a>
      <br>
&gt; &gt; &gt; 10.)&nbsp;&nbsp; 192.168.0.101 -&gt; 1.2.3.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP Request: BYE
      <br>
&gt; &gt; &gt; <a class="moz-txt-link-abbreviated" href="mailto:sip:service@1.2.3.4:5060">sip:service@1.2.3.4:5060</a>
      <br>
&gt; &gt; &gt; 11.)&nbsp;&nbsp; 1.2.3.4 -&gt; 4.3.2.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP Request: BYE
<a class="moz-txt-link-abbreviated" href="mailto:sip:service@4.3.2.1:5060">sip:service@4.3.2.1:5060</a>
      <br>
&gt; &gt; &gt; 12.)&nbsp;&nbsp;&nbsp; 4.3.2.1 -&gt; 1.2.3.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP Status: 200 OK
      <br>
&gt; &gt; &gt; 13.)&nbsp;&nbsp; 1.2.3.4 -&gt; 192.168.0.101 SIP Status: 200 OK
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt; ---
      <br>
&gt; &gt; &gt; Packets 6,7 and following contain no Record-route
information.
      <br>
&gt; &gt; &gt; The other weird thing is that openser is passing on the
Route: header
      <br>
&gt; &gt; &gt; it recevied from callee to the caller.
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt; Please see attached for complete ngrep output.
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt;
      <br>
&gt; &gt; &gt; On 2/21/07, Bogdan-Andrei Iancu
<a class="moz-txt-link-rfc2396E" href="mailto:bogdan@voice-system.ro">&lt;bogdan@voice-system.ro&gt;</a> wrote:
      <br>
&gt; &gt; &gt;&gt; Hi Andy,
      <br>
&gt; &gt; &gt;&gt;
      <br>
&gt; &gt; &gt;&gt; could you check on the net if the BYE contain the
Route hdr added to
      <br>
&gt; &gt; &gt;&gt; INVITE as Record-Route? I have some doubts on this
as I see:
      <br>
&gt; &gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; 0(966) find_first_route: No Route headers found
      <br>
&gt; &gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; 0(966) loose_route: There is no Route HF
      <br>
&gt; &gt; &gt;&gt;
      <br>
&gt; &gt; &gt;&gt; and if the BYE is not identified, the dialog is not
closed.
      <br>
&gt; &gt; &gt;&gt;
      <br>
&gt; &gt; &gt;&gt; regards,
      <br>
&gt; &gt; &gt;&gt; bogdan
      <br>
&gt; &gt; &gt;&gt;
      <br>
&gt; &gt; &gt;&gt; Andy Pyles wrote:
      <br>
&gt; &gt; &gt;&gt; &gt; Hello,
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt; I have a question on how to configure the
dialog module&nbsp; ( 1.2.x from
      <br>
&gt; &gt; &gt;&gt; &gt; cvs yesterday ).
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt; With my config, ( attached) I can make calls
and have verified that
      <br>
&gt; &gt; &gt;&gt; &gt; the acc module is working correctly.
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt; My question is, when I enable the dialog
module, I can see that it is
      <br>
&gt; &gt; &gt;&gt; &gt; incrementing call count correctly, but when a
bye is received, the
      <br>
&gt; &gt; &gt;&gt; &gt; dialog:active_dialogs statistic is never
decremented.
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt; In the debug level 9 logs, ( also attached) I
see this error after the
      <br>
&gt; &gt; &gt;&gt; &gt; 200OK is sent to the bye:
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt; 1(969) DBUG:dialog:unref_dlg: unref dlg
0xa7ce5a98 with 1
      <br>
&gt; &gt; &gt;&gt; (delete=0)-&gt; 1
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt; Is this a case of one of the timers being set
too short? by the way
      <br>
&gt; &gt; &gt;&gt; &gt; using a variable call length&nbsp; from&nbsp; well under
a second ( using sipp )
      <br>
&gt; &gt; &gt;&gt; &gt; to 20 second call doesnt' seem to make a
difference .
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
&gt; &gt; &gt;&gt; &gt; Thanks,
      <br>
&gt; &gt; &gt;&gt; &gt; Andy
      <br>
&gt; &gt; &gt;&gt; &gt;
      <br>
    </blockquote>
  </blockquote>
  <br>
_______________________________________________
  <br>
Users mailing list
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@openser.org">Users@openser.org</a>
  <br>
<a class="moz-txt-link-freetext" href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a>
  <br>
  <br>
  <br>
</blockquote>
</body>
</html>