RE: Not tracing UDP responses

"MALLET Lionel" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <83735C079165F240916D0D1845F5974C9A695F@VGEEXC01.CORP.DS.GEMPLUS.COM>
 
Hello Jeroen,

Initiallly I thoug that nothing was missing as I could  find a call to
log the response in the SIPClientTransaction class. But eventually, I
traced down the processMessage() method of the TCPMessageChannel to
determine what was done for a response and I figured out that the
missing call was in the NistSipHandlerImpl class. I will provide a patch
to Ranga soon.

BTW, the responses that weren't traced were the ones received by the
proxy, not the ones it generated. It seems to me that  with your fix
only the proxy generated ones will be traced. But I'm still new to the
code so I may be wrong.

Regards,
________________________________

	Lionel Mallet - Gemalto
	Tel: +33 (0)4 42 36 59 70


-----Original Message-----
From: Jeroen van Bemmel [mailto:[email protected]] 
Sent: jeudi 15 juin 2006 18:32
To: M. Rangnathan; MALLET Lionel
Cc: [email protected]
Subject: Re: [nist-sip] Not tracing UDP responses

Lionel,

A while ago I changed some code having to do with response logging. I
too had the problem that responses weren't showing up, the logging call
is in SIPTransactionStack newSIPServerResponse line 877

It could be that I missed some code paths...

Regards,

jeroen

----- Original Message -----
From: "M. Rangnathan" <[email protected]>
To: "MALLET Lionel" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, June 15, 2006 12:24 PM
Subject: Re: [nist-sip] Not tracing UDP responses


> Lionel,
>
> Sure! Go ahead and make a patch for UDPMessageChannel in  JAIN-SIP-1.2
and 
> send it to me. I will apply it.  Alternatively you can modify the file
and 
> just send me the entire file. I will generate the diff and apply it.
That 
> omission has been sitting for a while.
>
> Thanks
>
> Ranga
>
> MALLET Lionel wrote:
>
>> I think I have not found the reason why some Response messages are
not 
>> traced in server_log.txt (see my previous post on missing 202
response 
>> from SUBSCRIBE).
>>  In gov.nist.javax.sip.stack.UDPMessageChannel:run(), there is call
to 
>> logMessage when the sipMessage is of type SIPRequest, but nothing
similar 
>> when it is a SIPResponse. I wonder if this is done on purpose or if I
can 
>> safely add that call for the latter?
>>  Thx for your advice.
>>
------------------------------------------------------------------------
>>
>>     *Lionel Mallet/ - Gemalto/*
>>     Tel: +33 (0)4 42 36 59 70
>>
>>----------------------------------------------------------------------
--
>>
>>_______________________________________________
>>nist-sip mailing list
>>[email protected]
>>http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
>>
>
>
> -- 
> M. Ranganathan
> Advanced Networking Technologies Division,
> National Institute of Standards and Technology (NIST),
> 100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. tel:301 975 3664
, 
> fax:301 590 0932 http://w3.antd.nist.gov/
> Advanced Networking Technologies For the People!
>
>
> _______________________________________________
> nist-sip mailing list
> [email protected]
> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.