<div dir="ltr"><br><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">see comments inline.<br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 12:35 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    you message is not clear for me ... see some comments inline.<div class="im"><br>
    <br>
    <div>On 11/5/13 2:22 PM, Seudin Kasumovic
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>Test configuration uses OPTION for ping method. In log
          below host 198.51.100.68 probed first but reply come latter
          then 192.0.2.4. Seams that only last probed uri tried for
          setting state other hosts.</div>
      </div>
    </blockquote></div>
    Are you saying that only the state for the last probed uri is
    updated?</div></blockquote><div><br></div><div>Yes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="im"><br>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div> Also, DEBUG log is broken. (kamailio version: kamailio
          4.1.0-pre1 (i386/linux)).</div>
      </div>
    </blockquote>
    <br></div>
    What is broken with it? More details will help seeing the issue, dry
    messages don't help that much.<br></div></blockquote><div><br></div><div>Log is produced with debug=3 for tm and dispatcher module, I tried with debug=5 but not get more verbose then posted logs.</div><div><br></div>
<div>Debug output of these lines are not complete when update failed (cut off after '>'):</div><div><br></div><div><div>DEBUG: dispatcher [dispatch.c:2359]: ds_options_callback(): OPTIONS-Request was finished with code 200 (to <a href="http://192.0.2.4:5090">192.0.2.4:5090</a>></div>
<div>ERROR: dispatcher [dispatch.c:2372]: ds_options_callback(): Setting the state failed (<a href="http://192.0.2.4:5090">192.0.2.4:5090</a>></div></div><div><br></div><div>Regards,</div><div>Seudin </div><div><br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div><br>
        </div>
        <div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG:
            dispatcher [dispatch.c:2420]: ds_check_timer(): probing set
            #28, URI sip:<a href="http://198.51.100.68:5060" target="_blank">198.51.100.68:5060</a></div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG: tm
            [uac.c:243]: t_uac_prepare(): DEBUG:tm:t_uac:
            next_hop=<a><sip:172.16.23.130></a></div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG: tm
            [uac.c:182]: dlg2hash(): DEBUG: dlg2hash: 33871</div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG: tm
            [uac.c:345]: t_uac_prepare(): executing
            event_route[tm:local-request]</div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: INFO:
            <script>: 1280:tm:local-request OPTIONS sip:<a href="http://198.51.100.68:5060" target="_blank">198.51.100.68:5060</a>
            --ID=<a href="mailto:77db7ea0-23729@172.16.23.5" target="_blank">77db7ea0-23729@172.16.23.5</a></div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG: tm
            [uac.c:410]: t_uac_prepare(): apply new updates to sip msg</div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG:
            dispatcher [dispatch.c:2420]: ds_check_timer(): probing set
            #0, URI sip:<a href="http://192.0.2.4:5090" target="_blank">192.0.2.4:5090</a></div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG: tm
            [uac.c:243]: t_uac_prepare(): DEBUG:tm:t_uac:
            next_hop=<a><sip:172.16.23.130></a></div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG: tm
            [uac.c:182]: dlg2hash(): DEBUG: dlg2hash: 33872</div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: DEBUG: tm
            [uac.c:345]: t_uac_prepare(): executing
            event_route[tm:local-request]</div>
          <div>Nov  5 12:48:01 localhost kamailio[23729]: INFO:
            <script>: 1280:tm:local-request OPTIONS sip:<a href="http://192.0.2.4:5090" target="_blank">192.0.2.4:5090</a>
            --ID=<a href="mailto:77db7ea1-23729@172.16.23.5" target="_blank">77db7ea1-23729@172.16.23.5</a></div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_lookup.c:1071]: t_check_msg(): DEBUG: t_check_msg: msg
            id=54 global id=53 T start=(nil)</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_lookup.c:949]: t_reply_matching(): DEBUG:
            t_reply_matching: hash 33871 label 0 branch 0</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_lookup.c:1003]: t_reply_matching(): DEBUG:
            t_reply_matching: reply matched (T=0xb492a8a8)!</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_lookup.c:1140]: t_check_msg(): DEBUG: t_check_msg: msg
            id=54 global id=54 T end=0xb492a8a8</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_reply.c:2205]: reply_received(): DEBUG: reply_received:
            org. status uas=0, uac[0]=0 local=2 is_invite=0)</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_reply.c:1309]: t_should_relay_response():
            ->>>>>>>>> T_code=0, new_code=200</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_reply.c:2085]: local_reply(): DEBUG: local_reply:
            branch=0, save=0, winner=0</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_reply.c:2122]: local_reply(): DEBUG: local transaction
            completed</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_hooks.c:288]: run_trans_callbacks_internal(): DBG:
            trans=0xb492a8a8, callback type 1024, id 0 entered</div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG:
            dispatcher [dispatch.c:2359]: ds_options_callback():
            OPTIONS-Request was finished with code 200 (to <a href="http://192.0.2.4:5090" target="_blank">192.0.2.4:5090</a>></div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: ERROR:
            dispatcher [dispatch.c:2372]: ds_options_callback(): Setting
            the state failed (<a href="http://192.0.2.4:5090" target="_blank">192.0.2.4:5090</a>></div>
          <div>Nov  5 12:48:01 localhost kamailio[23725]: DEBUG: tm
            [t_reply.c:1667]: cleanup_uac_timers(): DEBUG:
            cleanup_uac_timers: RETR/FR timers reset</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_lookup.c:1071]: t_check_msg(): DEBUG: t_check_msg: msg
            id=50 global id=49 T start=(nil)</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_lookup.c:949]: t_reply_matching(): DEBUG:
            t_reply_matching: hash 33872 label 0 branch 0</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_lookup.c:1003]: t_reply_matching(): DEBUG:
            t_reply_matching: reply matched (T=0xb492c918)!</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_lookup.c:1140]: t_check_msg(): DEBUG: t_check_msg: msg
            id=50 global id=50 T end=0xb492c918</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_reply.c:2205]: reply_received(): DEBUG: reply_received:
            org. status uas=0, uac[0]=0 local=2 is_invite=0)</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_reply.c:1309]: t_should_relay_response():
            ->>>>>>>>> T_code=0, new_code=200</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_reply.c:2085]: local_reply(): DEBUG: local_reply:
            branch=0, save=0, winner=0</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_reply.c:2122]: local_reply(): DEBUG: local transaction
            completed</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG: tm
            [t_hooks.c:288]: run_trans_callbacks_internal(): DBG:
            trans=0xb492c918, callback type 1024, id 0 entered</div>
          <div>Nov  5 12:48:01 localhost kamailio[23726]: DEBUG:
            dispatcher [dispatch.c:2359]: ds_options_callback():
            OPTIONS-Request was finished with code 200 (to sip:<a href="http://192.0.2.4:5090" target="_blank">192.0.2.4:5090</a>,
            group 0)</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>ds_list shows:</div>
        <div>
          <div>SET_NO:: 2</div>
          <div>SET:: 28</div>
          <div><span style="white-space:pre-wrap"> </span>URI::
            sip:<a href="http://198.51.100.68:5060" target="_blank">198.51.100.68:5060</a>
            flags=TX priority=1 attrs=</div>
          <div>SET:: 0</div>
          <div><span style="white-space:pre-wrap"> </span>URI::
            sip:<a href="http://192.0.2.4:5090" target="_blank">192.0.2.4:5090</a>
            flags=AP priority=1 attrs=</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        -- <br>
        Seudin Kasumovic<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class=""><font color="#888888">
</font></span></pre><span class=""><font color="#888888">
    </font></span></blockquote><span class=""><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Nov 25-28
  - more details about Kamailio trainings at <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> -
</pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>MSC Seudin Kasumovic<br>Tuzla, Bosnia
</div></div>