<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Daniel,<div><br></div><div>Thanks a lot for your quick reply.</div><div><br></div><div>I recompile and install the Kamailio as the following page described.</div><div><a rel="nofollow" class="yiv7251728moz-txt-link-freetext" target="_blank" href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git</a></div><div><br></div><div><a rel="nofollow" class="yiv7251728moz-txt-link-freetext" target="_blank" href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git"></a>I also successfully created two SIP users: "User1" and "User2". Now the registeration is passed for the two users. But when "User1" sends INVITE to "User2" through the Kamailio proxy, it always response with 403 "Not relaying" and not forward the INVITE to "User2". Could you please
 give me some help on this case? Thanks.</div><div><br></div><div>BTW, I have export the environment variable SIP_DOMAIN to "mysipserver.com". And please check the attached enclosed config file and trace.</div><div><br></div><div>Best Regards,</div><div>Spencer<br><br>--- On <b>Wed, 2/23/11, Daniel-Constantin Mierla <i>&lt;miconda@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Daniel-Constantin Mierla &lt;miconda@gmail.com&gt;<br>Subject: Re: [SR-Users] How to get the dialog information via dlg_list command?<br>To: "yan wang" &lt;rtosvip@yahoo.com.cn&gt;<br>Cc: sr-users@lists.sip-router.org<br>Date: Wednesday, February 23, 2011, 2:42 PM<br><br><div id="yiv7251728">

  

    
  
  
    Hello,<br>
    <br>
    the problem is you are using the dialog module coming from SER, not
    the one coming from Kamailio.<br>
    <br>
    The loadpath (or mpath) has to include directorins ending in
    modules_k and modules.<br>
    <br>
    I recommend you use kamailio.cfg as a start to build your config and
    then add the dialog module.<br>
    <br>
    Before compiling, when you are using the sources, you have to do:<br>
    <br>
    make FLAVOUR=kamailio cfg<br>
    <br>
    You can see more at:<br>
<a rel="nofollow" class="yiv7251728moz-txt-link-freetext" target="_blank" href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git</a><br>
    <br>
    If you prefer to install deb files (on Debian/Ubuntu), see:<br>
    <a rel="nofollow" class="yiv7251728moz-txt-link-freetext" target="_blank" href="http://www.kamailio.org/dokuwiki/doku.php/packages:debs">http://www.kamailio.org/dokuwiki/doku.php/packages:debs</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 2/23/11 7:32 AM, yan wang wrote:
    <blockquote type="cite">
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td style="font:inherit;" valign="top">Dear Friends,
              <div><br>
              </div>
              <div>I need your help on the following question:</div>
              <div><br>
              </div>
              <div>I am using Kamailio 3.1.2. I want to get the dialog
                information dynamically via the FIFO command "dlg_list"
                by "kamctl fifo dlg_list". But unfortunately, I could
                get NOTHING in the output. And the fact is that I have
                setup 5 pairs SIP calls with the Kamailio SIP proxy.</div>
              <div><br>
              </div>
              <div>Could anyone show me the clues and how to get the
                correct dialog information? Thanks.</div>
              <div><br>
              </div>
              <div>BTW, I attached the config file.</div>
              <div><br>
              </div>
              <div>Best Regards,</div>
              <div>Spencer</div>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <pre><fieldset class="yiv7251728mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" class="yiv7251728moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="/mc/compose?to=sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a rel="nofollow" class="yiv7251728moz-txt-link-freetext" target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="yiv7251728moz-signature">-- 
Daniel-Constantin Mierla
<a rel="nofollow" class="yiv7251728moz-txt-link-freetext" target="_blank" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  

</div></blockquote></div></td></tr></table><br>