<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div><span>Hi Daniel,</span></div><div><span><br></span></div><div>Thanks a lot for your assistance, so for server to server xmpp connection acceptance, can you please provide me any docs links or any configurations that you have so that I can alter to achieve my target.&nbsp;</div><div>&nbsp;</div><div>Regards,<br><br></div><div>Faisal Rehman<br>  <div style="font-size: 10pt; font-family: tahoma, 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Daniel-Constantin Mierla &lt;miconda@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Faisal Rehman &lt;faisal.rehman22@yahoo.com&gt;; SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
 Users Mailing List &lt;sr-users@lists.sip-router.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, March 3, 2012 5:06 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] Building Up a Kamailio Server<br> </font> </div> <br>
<div id="yiv456197658">
  

    
  
  <div>
    Hello,<br>
    <br>
    On 3/3/12 12:39 PM, Faisal Rehman wrote:
    <blockquote type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; ">
        <div><span style="font-weight: bold; font-family: tahoma, times, serif; ">Hi,</span></div>
        <div><span style="font-family: tahoma, times, serif; "><br>
          </span></div>
        <div><span style="font-family: tahoma, times, serif; ">Also here in the link&nbsp;http://kamailio.org/docs/modules/1.4.x/xmpp.html&nbsp;it
            is mentioned that Kamailio can work in two different modes:</span></div>
        <div><span style="font-family: tahoma, times, serif; "><br>
          </span></div>
        <div>
          <ul style="font-size:16px;" type="disc">
            <li>
              <div style="text-align:left;font-size:12px;"><span style="font-family: tahoma, times, serif; "><span class="yiv456197658bold"><b>XMPP Component Mode</b></span>.
                  In this mode, Kamailio connects to an XMPP server
                  using the standardized XMPP component interface,
                  extending your XMPP services. The connection is done
                  over TCP/IP with authorization.</span></div>
            </li>
            <li>
              <div style="text-align:left;font-size:12px;"><span style="font-family: tahoma, times, serif; "><span class="yiv456197658bold"><b>XMPP Server</b></span>. In
                  this mode, the Kamailio XMPP module is a stand-alone
                  XMPP server, with no requirement for another XMPP
                  server in the system. This server uses XMPP S2S
                  (Server to Server) connections to connect to other
                  XMPP servers or receive connections from other
                  servers. NOTE: this is limited implementation of a
                  XMPP server, it does not support SRV or TLS so far.
                  This mode is in beta stage for the moment.</span></div>
              <div style="text-align:left;font-size:12px;"><span style="font-family: tahoma, times, serif; "><br>
                </span></div>
              <div style="text-align:left;font-size:12px;"><span style="font-family: tahoma, times, serif; "><br>
                </span></div>
              <div style="text-align:left;font-size:12px;"><span style="font-weight: bold; font-family: tahoma, times, serif; ">So it means that the second mode
                  is not ready yet for Kamailio's standalone XMPP Server
                  functionality?</span></div>
            </li>
          </ul>
        </div>
      </div>
    </blockquote>
    no, server mode means kamailio will accept server-to-server xmpp
    connections, which is not the same as client-to-server xmpp
    connection. So other xmpp servers can connect to kamailio via xmpp
    module.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <br>
    <br>
    <b style="font-family: times, serif; "><span style="font-weight:bold;">From:</span></b> Faisal Rehman
    <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E" ymailto="mailto:faisal.rehman22@yahoo.com" target="_blank" href="mailto:faisal.rehman22@yahoo.com">&lt;faisal.rehman22@yahoo.com&gt;</a><br>
    <blockquote type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; ">
        <div>
          <div style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; ">
            <div style="font-size: 12pt; font-family: times, serif; ">
              <div dir="ltr"><font size="2"> <b style="font-family: times, serif; "><span style="font-weight:bold;">To:</span></b>
                  <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E" ymailto="mailto:miconda@gmail.com" target="_blank" href="mailto:miconda@gmail.com">"miconda@gmail.com"</a> <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E" ymailto="mailto:miconda@gmail.com" target="_blank" href="mailto:miconda@gmail.com">&lt;miconda@gmail.com&gt;</a>; SIP
                  Router - Kamailio (OpenSER) and SIP Express Router
                  (SER) - Users Mailing List
                  <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">&lt;sr-users@lists.sip-router.org&gt;</a> <br>
                  <b style="font-family: times, serif; "><span style="font-weight:bold;">Sent:</span></b>
                  Saturday, March 3, 2012 4:27 PM<br>
                  <b style="font-family: times, serif; "><span style="font-weight:bold;">Subject:</span></b>
                  Re: [SR-Users] Building Up a Kamailio Server<br>
                </font> </div>
              <br>
              <div id="yiv456197658" style="font-family: times, serif; ">
                <div>
                  <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: tahoma, times, serif; ">
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; "><span>Hi Daniel,</span></div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; "><span><br>
                      </span></div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; ">Okay I got it that Kamailio is a
                      SIP server so it means that it can not behave as
                      an independent XMPP server &amp; for this I have
                      to install a separate XMPP server like you've
                      mentioned Jabber or something right?&nbsp;</div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; "><br>
                    </div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; ">Do I need to have MySQL support
                      for the project that I want to do or it will be
                      okay without it? I have seen some configuration
                      for configuring Kamailio as a gateway which you
                      can see below:</div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; "><br>
                    </div>
                    <div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">modparam("xmpp",
                          "domain_separator", "*")</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">modparam("xmpp",
                          "gateway_domain", <a rel="nofollow" target="_blank" href="http://sip-xmpp.kamailio.org">sip-xmpp.kamailio.org</a>")</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">modparam("xmpp",
                          "xmpp_domain", <a rel="nofollow" target="_blank" href="http://xmpp-sip.kamailio.org">xmpp-sip.kamailio.org</a>")</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">modparam("xmpp",
                          "xmpp_host", <a rel="nofollow" target="_blank" href="http://xmpp.kamailio.org">xmpp.kamailio.org</a>")</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">modparam("xmpp",

                          "backend", component")</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><br>
                        </font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><br>
                        </font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><br>
                        </font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">if (uri =~
                          <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E">"sip:.+@sip-xmpp\.openser\.org"</a>)) {</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">&nbsp; #absorb
                          transmission</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>if
                          (!t_newtran()){</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>sl_reply_error();</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>exit;</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>}</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><br>
                        </font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">#Handling
                          Instant Messaging</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>if
                          (is_method("MESSAGE")){</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>xlog("message
                          to XMPP: from &lt;$fu&gt; ru&gt;\n");</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>if
                          (xmpp_send_message()){</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>sl_send_reply("202",
                          "Accepted");</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>} else {</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>sl_send_reply("404",
                          "Not found");</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>}</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>exit;</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">&nbsp; &nbsp;}</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">#Un-supported
                          Type of SIP Message</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>xlog(“message
                          to XMPP: method [$rm] not supported yet\n");</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>sl_send_reply("503",
                          "Service unavailable");</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2"><span class="yiv456197658Apple-tab-span" style="white-space:pre;"> </span>exit;</font></div>
                      <div><font style="font-family: courier, monaco, monospace, sans-serif; " size="2">}</font></div>
                      <div><font size="2"><br>
                        </font></div>
                      <div style="font-size: 10pt; font-family: tahoma, times, serif; "><br>
                      </div>
                    </div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; ">&nbsp;</div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; ">Regards,<br>
                      <br>
                    </div>
                    <div style="font-size: 10pt; font-family: tahoma, times, serif; ">Faisal Rehman<br>
                      <div style="font-size: 10pt; font-family: tahoma, times, serif; ">
                        <div style="font-size: 12pt; font-family: times, serif; ">
                          <div dir="ltr"> <font size="2" face="Arial">
                              <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
                              Daniel-Constantin Mierla
                              <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E" ymailto="mailto:miconda@gmail.com" target="_blank" href="mailto:miconda@gmail.com">&lt;miconda@gmail.com&gt;</a><br>
                              <b><span style="font-weight:bold;">To:</span></b>
                              Faisal Rehman
                              <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E" ymailto="mailto:faisal.rehman22@yahoo.com" target="_blank" href="mailto:faisal.rehman22@yahoo.com">&lt;faisal.rehman22@yahoo.com&gt;</a>; SIP
                              Router - Kamailio (OpenSER) and SIP
                              Express Router (SER) - Users Mailing List
                              <a rel="nofollow" class="yiv456197658moz-txt-link-rfc2396E" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">&lt;sr-users@lists.sip-router.org&gt;</a> <br>
                              <b><span style="font-weight:bold;">Sent:</span></b>
                              Friday, March 2, 2012 1:59 PM<br>
                              <b><span style="font-weight:bold;">Subject:</span></b>
                              Re: [SR-Users] Building Up a Kamailio
                              Server<br>
                            </font> </div>
                          <br>
                          <div id="yiv456197658">
                            <div> Hello,<br>
                              <br>
                              Kamailio is a SIP server, it has a module
                              for gatewaying instant messaging and
                              pressence to xmpp (see xmpp/pua_xmpp
                              modules), but it cannot be used to
                              register xmpp clients to it. You have to
                              use a xmpp server for that (e.g., jabberd,
                              prosody, ...).<br>
                              <br>
                              Cheers,<br>
                              Daniel<br>
                              <br>
                              On 3/1/12 8:46 PM, Faisal Rehman wrote:
                              <blockquote type="cite">
                                <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: tahoma, times, serif; ">
                                  <div><span style="font-size:13px;">Hi
                                      Everyone,</span></div>
                                  <div><span style="font-size:small;"><br>
                                    </span></div>
                                  <div><span style="font-size:small;"><font>I
                                        am totally new to Kamailio &amp;
                                        going to build up Kamailio
                                        server as an XMPP server with
                                        the following
                                        wanted&nbsp;functionalities:</font></span></div>
                                  <div><span style="font-size:small;"><br>
                                    </span></div>
                                  <div><span style="font-size:small;"><span style="">&nbsp;-Have XMPP client to
                                        register to my kamailio server</span><br style="">
                                      <span style="">- The XMPP clients
                                        should all be able to see each
                                        others presence</span><br style="">
                                      <span style="">- The XMPP clients
                                        should be able to IM other XMPP
                                        clients</span><br style="">
                                      <span style="">- The registered
                                        sip client will be able to just
                                        dial any other sip client. No
                                        need for any gateway or trunk
                                        for now</span>&nbsp;<br>
                                    </span></div>
                                  <div><span style="font-size:small;"><br>
                                    </span></div>
                                  <div><span style="font-size:13px;">I
                                      have a good previous background
                                      with SIP but its my first time to
                                      work with XMPP &amp; Kamailio
                                      &amp; that's why I am in need of a
                                      bit help &amp; assistance. I have
                                      installed Kamailio on my CentOS
                                      box &amp; now going to start to
                                      configure it in order to complete
                                      the above requirements, so any
                                      links or any refferals will be
                                      highly appreciated.</span></div>
                                  <div><span style="font-size:13px;"><br>
                                    </span></div>
                                  <div><span style="font-size:small;">&nbsp;</span></div>
                                  <div><span style="font-size:small;">Regards,<br>
                                      <br>
                                    </span></div>
                                  <div><span style="font-size:small;">Faisal
                                      Rehman</span></div>
                                </div>
                                <br>
                                <fieldset class="yiv456197658mimeAttachmentHeader"></fieldset>
                                <br>
                                <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" class="yiv456197658moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a rel="nofollow" class="yiv456197658moz-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="yiv456197658moz-signature">-- 
Daniel-Constantin Mierla -- <a rel="nofollow" class="yiv456197658moz-txt-link-freetext" target="_blank" href="http://www.asipto.com">http://www.asipto.com</a>
<a rel="nofollow" class="yiv456197658moz-txt-link-freetext" target="_blank" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a rel="nofollow" class="yiv456197658moz-txt-link-freetext" target="_blank" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
                            </div>
                          </div>
                          <br>
                          <br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              _______________________________________________<br>
              SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
              mailing list<br>
              <a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org" style="font-family: times, serif; ">sr-users@lists.sip-router.org</a><br>
              <a rel="nofollow" target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" style="font-family: times, serif; ">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="yiv456197658mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" class="yiv456197658moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a rel="nofollow" class="yiv456197658moz-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="yiv456197658moz-signature">-- 
Daniel-Constantin Mierla -- <a rel="nofollow" class="yiv456197658moz-txt-link-freetext" target="_blank" href="http://www.asipto.com">http://www.asipto.com</a>
<a rel="nofollow" class="yiv456197658moz-txt-link-freetext" target="_blank" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a rel="nofollow" class="yiv456197658moz-txt-link-freetext" target="_blank" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </div>

</div><br><br> </div> </div>  </div></div></body></html>