<!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 Duane,<br>
    <br>
    Just took a look at your config.<br>
    What was happening is that you were first calling trace_dialog(),
    which creates the dialog structure internally. When the call to
    create_dialog("PpB") came later on, it already found that the dialog
    was created and did not set the needed flags for pinging.<br>
    <br>
    I have committed a fix for this in OpenSIPS trunk. Please update and
    let me know if everything is ok.<br>
    <br>
    <br>
    Regards,<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Vlad Paiu
OpenSIPS Developer</pre>
    <br>
    <br>
    On 07/14/2011 05:08 PM, Duane Larson wrote:
    <blockquote
cite="mid:CAFcM1EpqdkQ89txyDjwSbMxhxZGmhys6fZwRDytBafjqC4Z4EQ@mail.gmail.com"
      type="cite">
      <div>I am pretty much doing the following</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>if (method=="INVITE" &amp;&amp; !has_totag() ) {<br>
        &nbsp;if ( create_dialog("PpB") )<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
        xlog("L_INFO", "----- !*!*!*!**!*!*!*!*!**! Successfully created
        Dialog Pp");<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>
        };</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>I will send you a personal email showing you what I am really
        doing.<br>
        <br>
      </div>
      <div class="gmail_quote">On Thu, Jul 14, 2011 at 5:36 AM, Vlad
        Paiu <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:vladpaiu@opensips.org">vladpaiu@opensips.org</a>&gt;</span>
        wrote:<br>
        <blockquote style="border-left: 1px solid rgb(204, 204, 204);
          margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
          class="gmail_quote">Hello,<br>
          <br>
          How are you calling create_dialog() ? Could you maybe paste a
          snippet from the cfg file ?<br>
          If should be called like<br>
          &nbsp; &nbsp;create_dialog("Pp");<br>
          to enable pinging.<br>
          <br>
          <br>
          Regards,<br>
          <br>
          -- <br>
          Vlad Paiu<br>
          OpenSIPS Developer<br>
          <br>
          <br>
          <br>
          On 07/13/2011 10:14 PM, osiris123d wrote:<br>
          <blockquote style="border-left: 1px solid rgb(204, 204, 204);
            margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
            class="gmail_quote">When the call is initially set up
            between the two clients should I see sip<br>
            OPTIONS messages being sent to both clients every X seconds?
            &nbsp;I have this<br>
            set up and I don't see any OPTIONS messages being sent at
            all during the<br>
            duration of the good call.<br>
            <br>
            --<br>
            View this message in context: <a moz-do-not-send="true"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Ping-tp6484704p6580315.html"
              target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Ping-tp6484704p6580315.html</a><br>
            Sent from the OpenSIPS - Users mailing list archive at
            Nabble.com.<br>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
          </blockquote>
          <br>
          <br>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      --<br>
      *--*--*--*--*--*<br>
      Duane<br>
      *--*--*--*--*--*<br>
      --<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></pre>
    </blockquote>
    <br>
  </body>
</html>