Hi All, I tested again today by disabling the presence module.
Still i could not make TCP based IM working with Kamailio. I checked the tcp-connection-lifetime =3605. Still i get 480 Temperory un available. Step 1 : login/register on two lin phones ( on differnt PC) Step 2: from PC 1 (user A) send message to user B Step 3: user B receive the mesage. Step 4. Send message from User B to User A Result : 480 Temperory unavailable. 1. I feel user A connection is getting closed . Hence not able to reach user A. 2. I also see User A and User B message contruct has 2 Via headers. There is no change or anything abnormal happening. Kindly help me forward to get tcp based IM working between two clients. On Tue, Jun 18, 2013 at 2:27 PM, Sunil Chandrasekharan < sunil.kai...@gmail.com> wrote: > Hi , > > I used open internet, i really doubt if there is any NAT issue here. > > But my config file(kamailio.cfg) shows : tcp-connection-lifetime=3605 > But i dont know what is the registration expire time . How can i see the > registration expire time? > also my lin phone sends keep alive right? > > can you please help me how can i see connection close parameter during > forward/reply? i dont know where to set them? > > Please suggest me the correct link to find tcp paremeter and cook book. > > > On Tue, Jun 18, 2013 at 2:06 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Hello, >> >> >> On 6/17/13 7:09 AM, Sunil Chandrasekharan wrote: >> >>> >>> Hi All, >>> >>> I have set up Kamailio 3.3 on Ubuntu machine.I created two user test 1 >>> and test 2. >>> I could use Presence and also i was able to register to Kamailio server >>> and exchange presence status with each other. >>> >>> Details- I used TCP protocol . >>> >>> testing methods - Linphone, a sample application. >>> >>> I am able to register succesfully with (TCP) on to kamailio server using >>> Lin phone and sample application. >>> I am able to update presence status of the users. >>> >>> Issue : >>> >>> When i try to send messages between two users ( using TCP ) >>> >>> 1. from Sample application, when i try to send message, i get 420 >>> temporarily Unavailable error from server. >>> 2. from Lin phone 3.5.2, i was able to send messages ( sue TCP) but when >>> the other user try to reply back , i get same error >>> >>> 480 Temporarily Unavailable. error from server. >>> >>> I want a support to understand why i get error while sending messages >>> with TCP via Kamailio server. >>> >>> I am able to succeesfully send and receive messages when i use UDP from >>> my sample application and Lin phone. >>> >> if the phones are behind nat, be sure the tcp connection lifetime is >> higher than the registration expire and that you don't set connection close >> after forward/reply. Look at core cookbook for the appropriate tcp >> parameter and config functions. >> >> Cheers, >> Daniel >> >> -- >> Daniel-Constantin Mierla - http://www.asipto.com >> http://twitter.com/#!/miconda - >> http://www.linkedin.com/in/**miconda<http://www.linkedin.com/in/miconda> >> Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013 >> * http://asipto.com/u/katu * >> >> >> ______________________________**_________________ >> 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<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> >> > >
_______________________________________________ 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