<div dir="ltr">Dear All,<br><br> I am working on XMPP module of kamailio(4.0.2) server  along with Jabberd2 xmpp server (as recommended in XMPP module's README). <br>I
 was successful in setting-up Jabberd sever and i can transfer files 
through it (using Jitsi's XMPP clients) as a standalone xmpp server. <br>

But the problem is when trying to integrate this jabberd2 server with my kamailio server.<br><br><u>Problem</u>:<br>After starting Kamailio sever, Syslog is given the error as follows:<br><br>Aug 28 19:45:14 kamailio /usr/local/sbin/kamailio[<div>
19648]: ERROR: xmpp [network.c:110]: net_connect(): resolving <a href="http://xmpp.example.com" target="_blank">xmpp.example.com</a> failed (Unknown host).<br><br>And XMPP related Configuration in Kamailio.cfg is as follows:<br>
<br># ----- XMPP -----<br>#!ifdef WITH_XMPP<br>modparam("xmpp", "backend", "component")<br>modparam("xmpp", "domain_separator", "*")<br>modparam("xmpp", "gateway_domain", "192.168.2.41")<br>
modparam("xmpp", "xmpp_domain", "192.168.2.41")<br>modparam("xmpp", "xmpp_host", "192.168.2.41")<br>modparam("xmpp", "xmpp_port", 5347)<br>modparam("xmpp", "xmpp_password", "xmpp")<br>
modparam("xmpp", "outbound_proxy", "sip:192.168.2.41;transport=tcp")<br>modparam("xmpp", "gwmap", "192.168.2.41")<br>modparam("presence", "db_url", "mysql://kamailio:kamailiorw@kamailio/kamailio")<br>
modparam("usrloc", "db_url", "mysql://kamailio:kamailiorw@kamailio/kamailio")<br>modparam("pua", "db_url", "mysql://kamailio:kamailiorw@kamailio/kamailio")<br>modparam("pua", "db_table", "pua")<br>
modparam("presence_xml", "db_url", "mysql://kamailio:kamailiorw@kamailio/kamailio")<br>#modparam("presence_xml", "integrated_xcap_server", 1)<br>modparam("presence", "max_expires", 3600)<br>
modparam("presence", "server_address", "sip:<a href="http://192.168.2.41:5060">192.168.2.41:5060</a>")<br>modparam("pua_xmpp", "server_address", "sip:192.168.2.41")<br>
<br>#!endif <br><br></div><div>#-----XMPP----<br></div><div># Presence server route<br>route[PRESENCE] <br>#!ifdef WITH_XMPP<br>#    if ($rd =="192.168.2.41") {<br>    if (!t_newtran())<br>    {<br>        sl_reply_error();<br>
        exit;<br>    };<br>};<br>    # if( is_method("NOTIFY") && uri=~"<a href="mailto:sip%3A.%2B@192.168.2.41">sip:.+@192.168.2.41</a>")<br>    if( is_method("NOTIFY"))<br>    {<br>
        xlog("processing NOTIFY...\n");<br>        pua_xmpp_notify();<br>        t_reply("200", "OK");<br>        exit;<br>    }<br>    if(is_method("PUBLISH"))<br>    {<br>        xlog("processing PUBLISH ...\n");<br>
        if($hdr(Sender)!= $null)<br>        {<br>            xlog("Sender header found.\n");<br>        }<br>        handle_publish();<br>        t_release();<br>    }<br>    else<br>    if( is_method("SUBSCRIBE"))<br>
    {<br>        xlog("processing SUBSCRIBE ...\n");<br>        handle_subscribe();<br>        if( uri=~"<a href="mailto:sip%3A.%2B@192.168.2.41">sip:.+@192.168.2.41</a>" && $hdr(Event)== "presence")<br>
        {<br>            xlog("calling pua_xmpp_req_winfo()\n");<br>            pua_xmpp_req_winfo("$ruri", "$hdr(Expires)");<br>        }<br>        t_release();<br>    }<br>    exit;<br>#!endif<br>
<br>What could be the wrong with this ?<br>
<br>And regarding <b>File transfer </b>feature in kamailio, is there any other ways to get through?<br><br></div><div>Any help will greatly appreciate.<br><br></div><div>Regards,<br></div><div>Nandini<br></div><br></div>