Hi,
Also here in the link
http://kamailio.org/docs/modules/1.4.x/xmpp.html it is mentioned
that Kamailio can work in two different modes:
* XMPP Component Mode. 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.
* XMPP Server. 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.
So it means that the second mode is not ready yet for Kamailio's standalone XMPP
Server functionality?
Regards,
Faisal Rehman
________________________________
From: Faisal Rehman <faisal.rehman22(a)yahoo.com>
To: "miconda(a)gmail.com" <miconda(a)gmail.com>om>; SIP Router - Kamailio
(OpenSER) and SIP Express Router (SER) - Users Mailing List
<sr-users(a)lists.sip-router.org>
Sent: Saturday, March 3, 2012 4:27 PM
Subject: Re: [SR-Users] Building Up a Kamailio Server
Hi Daniel,
Okay I got it that Kamailio is a SIP server so it means that it can not behave as an
independent XMPP server & for this I have to install a separate XMPP server like
you've mentioned Jabber or something right?
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:
modparam("xmpp", "domain_separator", "*")
modparam("xmpp", "gateway_domain", sip-xmpp.kamailio.org")
modparam("xmpp", "xmpp_domain", xmpp-sip.kamailio.org")
modparam("xmpp", "xmpp_host", xmpp.kamailio.org")
modparam("xmpp", "backend", component")
if (uri =~ "sip:.+@sip-xmpp\.openser\.org")) {
#absorb transmission
if (!t_newtran()){
sl_reply_error();
exit;
}
#Handling Instant Messaging
if (is_method("MESSAGE")){
xlog("message to XMPP: from <$fu> ru>\n");
if (xmpp_send_message()){
sl_send_reply("202", "Accepted");
} else {
sl_send_reply("404", "Not found");
}
exit;
}
#Un-supported Type of SIP Message
xlog(“message to XMPP: method [$rm] not supported yet\n");
sl_send_reply("503", "Service unavailable");
exit;
}
Regards,
Faisal Rehman
________________________________
From: Daniel-Constantin Mierla <miconda(a)gmail.com>
To: Faisal Rehman <faisal.rehman22(a)yahoo.com>om>; SIP Router - Kamailio (OpenSER) and
SIP Express Router (SER) - Users Mailing List <sr-users(a)lists.sip-router.org>
Sent: Friday, March 2, 2012 1:59 PM
Subject: Re: [SR-Users] Building Up a Kamailio Server
Hello,
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, ...).
Cheers,
Daniel
On 3/1/12 8:46 PM, Faisal Rehman wrote:
Hi Everyone,
I am totally new to Kamailio & going to build up Kamailio server as an XMPP server
with the following wanted functionalities:
-Have XMPP client to register to my kamailio server
- The XMPP clients should all be able to see each others presence
- The XMPP clients should be able to IM other XMPP clients
- The registered sip client will be able to just dial any other sip client. No need for
any gateway or trunk for now
I have a good previous background with SIP but its my first time to work with XMPP &
Kamailio & that's why I am in need of a bit help & assistance. I have
installed Kamailio on my CentOS box & now going to start to configure it in order to
complete the above requirements, so any links or any refferals will be highly
appreciated.
Regards,
Faisal Rehman
_______________________________________________
SIP Express Router (SER) and
Kamailio (OpenSER) - sr-users mailing list sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
http://www.asipto.com
http://linkedin.com/in/miconda --
http://twitter.com/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users