Registration failed for TCP connection in symbian (carbide C++ 1.3) emulator.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can't fix this now unfortunately, as we're starting with the 1.1 release
process. This will go into 1.2/1.0.3:
 http://trac.pjsip.org/repos/ticket/758

Thanks for the report!

 -benny

On Thu, Mar 19, 2009 at 12:57 PM, Benny Prijono <bennylp at teluu.com> wrote:

> I think we found bug with TCP (on Symbian) here, let us fix this and get
> back to you soon.
>
> cheers
>  Benny
>
> 2009/3/18 chittaranjan rao <chittaranjanrao at hotmail.com>
>
>>  Hi Vinay,
>>
>>     Even I am facing the same problem on Symbian. The TCP connection binds
>> to a random port because zero is passed as the port number to the Bind()
>> function. I tried to change that to 5060 (hardcoding) but then it fails to
>> bind as the listener is already bound
>> to that port. I looked up RFC 3261 and it specifically says in section
>> 18.1.1 :
>>
>> "For reliable transports, the response is normally sent on the connection
>> on which the request was received.
>>
>> Therefore, the client transport
>> MUST be prepared to receive the response on the same connection used to
>> send the request."
>>
>> So, I cant ask the server to create a new TCP connection to 5060 and then
>> send the response.
>>
>>
>>
>> Has anyone else encountered this problem using TCP on Symbian? I suspect
>> that this issue will occur for Invite also, though I have not tried it,
>> being still stuck at registration.
>>
>>
>>
>> Regards,
>>
>> Chittaranjan
>>
>>
>> ------------------------------
>> Date: Mon, 16 Mar 2009 19:46:46 +0530
>> From: vinikiri@xxxxxxxxx
>> To: pjsip at lists.pjsip.org
>> Subject: Registration failed for TCP connection in symbian
>> (carbide C++ 1.3) emulator.
>>
>>
>> Hi ALL,
>>
>>  I am doing simple registration using pjsua client  for TCP . but
>> registration is failing .. by debug i came to know that none of the
>>  callback's like , on_connect_complete , on_data_read were getting called ..
>> i am using carbide c++ 1.3 emulator .and 1.0.1 version of pjsip. i tested
>> same for linux. it is working fine ..
>> let me clear the  problem in detail
>>
>> 1. Establishing  TCP connection  :- Here pjsua will lunch listener in 5060
>> port, establish's TCP connection with random source port.
>>
>> 2. Sending register sip packet and gettting response:-  when i send
>> register packet to server , server is responding with 200 response but he
>> is sending response to random source port  . but callback's are not
>> triggered to handle this  response ... so transcation  layer is sending 408
>> time out  response to pjsua.
>>
>> 3. While debugging i came to know that  *RunL*() ( then
>> callback's) should be called in ioqueue_symbian.cpp  file on getting
>> response . but that's not happening here.
>>
>> Thanks
>>  Vinay
>>
>> ------------------------------
>> So many new options, so little time. Windows Live Messenger.<http://www.microsoft.com/india/windows/windowslive/messenger.aspx>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090319/65f8d9d5/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux