On Fri, Sep 17, 2010 at 6:32 PM, Daniel-Constantin Mierla <miconda@gmail.com
wrote:
On 9/17/10 5:48 AM, shoks wrote:
On Fri, Sep 17, 2010 at 10:10 AM, Alex Balashov <abalashov@evaristesys.com
wrote:
It would be helpful if you could expound in additional on what exactly you tried and what did not work for you.
I tried to use pua_xmpp and other modules as described in their man pages. Attach is my configuration. Using Ekiga, it got OK for SUBSCRIBE and PUBLISH. However, I could not see any connection attempt to Jabberd (with debugging turned on). Or should I see this? Will this messages trigger Kamailio (via pua_xmpp, xmpp, etc modules) to communicate to Jabberd? Do I have to create an account in Jabberd for each SIP clients?
have you run kamailio with debug=4, any log messages from *xmpp modules that shows what happens?
I tried to add few debugging lines in pua_xmpp, pua and xmpp modules (and re-built) just to see where the problem is. The logs created when I launch the SIP client (now I'm using Twinkle, with user "10001" added to its contact list) are these:
--- Sep 17 07:31:20 sls-ab2p8 /usr/local/sbin/kamailio[87470]: ERROR: <script>: Client is behind NAT Sep 17 07:31:20 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: Client is behind NAT Sep 17 07:31:21 sls-ab2p8 /usr/local/sbin/kamailio[87470]: ERROR: <script>: Client is behind NAT Sep 17 07:31:21 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: Client is behind NAT Sep 17 07:31:23 sls-ab2p8 /usr/local/sbin/kamailio[87470]: ERROR: <script>: Client is behind NAT Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: Client is behind NAT Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87470]: ERROR: <script>: Client is behind NAT Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87470]: ERROR: <script>: processing PUBLISH ... Sep 17 07:31:24 sls-ab2p8 postgres[87474]: [2-1] WARNING: nonstandard use of \ in a string literal at character 164 Sep 17 07:31:24 sls-ab2p8 postgres[87474]: [2-2] HINT: Use the escape string syntax for backslashes, e.g., E'\'. Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: Client is behind NAT Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: processing SUBSCRIBE ... Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: calling pua_xmpp_req_winfo() Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua_xmpp [request_winfo.c:50]: entering request_winfo() Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua_xmpp [request_winfo.c:79]: uri= sip:10001@myserver.xyz.comsip%3A10001@myserver.xyz.com : Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua_xmpp [request_winfo.c:89]: server_address= sip:myserver.xyz.com: Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua [send_subscribe.c:818]: entering send_subscribe() Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua [send_subscribe.c:54]: pres_uri= sip:10001@myserver.xyz.comsip%3A10001@myserver.xyz.com- len: 27 Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua [send_subscribe.c:57]: watcher_uri= sip:10001@myserver.xyz.comsip%3A10001@myserver.xyz.com- len: 27 Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua [send_subscribe.c:864]: presentity is NULL Sep 17 07:31:24 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: pua [send_subscribe.c:1004]: exiting send_subscribe() Sep 17 07:32:19 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: Client is behind NAT Sep 17 07:32:19 sls-ab2p8 /usr/local/sbin/kamailio[87470]: ERROR: <script>: Client is behind NAT Sep 17 07:32:19 sls-ab2p8 /usr/local/sbin/kamailio[87470]: ERROR: <script>: processing SUBSCRIBE ... Sep 17 07:32:19 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: Client is behind NAT Sep 17 07:32:19 sls-ab2p8 /usr/local/sbin/kamailio[87471]: ERROR: <script>: processing PUBLISH ...
---
Btw, my system is FreeBSD 7.3. I am using Kamailio 3.0.3. Database is PostgreSQL.
Thanks
Cheers, Daniel
Thanks
On 09/16/2010 09:58 PM, shoks wrote:
Hi,
Has anyone managed to integrate Kamailio and Jabberd to support presence and messaging functions (XMPP). I've tried to setup based on notes and emails that I found online, but still could'nt make it work. I appreciate if someone can share their configuration or give me a link.
Thanks, sho
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://www.asipto.com