Re: SipException with jain-sip-presence proxy: Could not forward request

"M. Ranganathan" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Lionel,


Wrong version. Please look a jain-sip.dev.java.net and get it from the 
NIST CVS repository. You will find instructions there on how to get it 
from cvs on the NIST (not java.net) repository.  You want to be working 
with jain-sip-1.2 not jain-sip-1.1. I will rename the jar file to avoid 
future confusion. I will also move the source code to java.net in a few 
days after the TCK is completely done.

After you get it from cvs, please build it using  ant make. Then replace 
the jar files in the jain-sip-presence-proxy directory.

The tasks at hand dont require a lot of programmig skill but do reuqire 
some knowledge of jain-sip. We will elimiate the dialogs from the proxy 
essentially to make it a real proxy rather than a B2BUA (which is what 
it currently is). Are you willing to take a crack at it?
Regards

Ranga

[email protected] wrote:

> Hello Ranga,
>
> Thank you for your quick reply,
> I have now upgraded to the latest jain-sip jar (including the files  
> nist-sip-1.2.jar, nist-sdp-1.0.jar and JainSipApi1.1.jar.
> The error described in the first mail still occurs and I really have  
> no idea how to solve this problem.
> What do you exactly mean with "work with me to resolve issues" ?
> I would of course help you to get the proxy updated as far as no big  
> programming skills are needed :-)
>
>
> Many Thanks and regards,
>
> Lionel
>
> Quoting "M. Ranganathan" <[email protected]>:
>
>> Linonel,
>>
>> Can you try upgrading to the latest jain-sip jar. You can get it either
>> from the NIST CVS repository or you can try the tar.gz posted to the
>> documents and files section of the JAIN-SIP project.
>>
>> After you do that, if you are willing to work with me to resolve
>> issues, we can get the proxy updated. Its been long ( too long) on my
>> todo list as I am pushing to get JAIN-SIP 1.2 completed.
>>
>> Thanks and regards,
>>
>>
>> Ranga
>>
>>
>> [email protected] wrote:
>>
>>> Hi All,
>>>
>>> I am currently developping an client/server application based on   
>>> the  SIP protocol.
>>> I have installed the latest build (downloaded from the cvs   
>>> repository) of the
>>> "jain-sip-presence-proxy" and the "jain-sip".
>>> I have built the file sip-sdp.jar with Ant and this library is used  
>>>  by my application.
>>> All requests of the application are sent over the proxy(presence    
>>> feature is disabled) to
>>> the receiver.
>>>
>>> The problem is actually that a SipException is generated by the   
>>> proxy  and I don't know if
>>> this exception is due to a fault in the proxy or to an   
>>> implementation  error in my
>>> application. (see stacktrace below)
>>> [quote]
>>>     [java] javax.sip.SipException: could not forward request
>>>     [java]     at    
>>> gov.nist.javax.sip.SipProviderImpl.sendRequest(SipProviderImp
>>> l.java:547)
>>>     [java]     at    
>>> gov.nist.sip.proxy.RequestForwarding.forwardRequestStatelessl
>>> y(Unknown Source)
>>>     [java]     at    
>>> gov.nist.sip.proxy.RequestForwarding.forwardRequest(Unknown S
>>> ource)
>>>     [java]     at gov.nist.sip.proxy.Proxy.processRequest(Unknown 
>>> Source)
>>>     [java]     at    
>>> gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.jav
>>> a:185)
>>>     [java]     at 
>>> gov.nist.javax.sip.EventScanner.run(EventScanner.java:324)
>>>     [java]     at java.lang.Thread.run(Unknown Source)
>>> [/quote]
>>>
>>> This exception always occurs when the server wants to send a second  
>>>   notify request to the
>>> client.
>>> The request is sent to the proxy successfully, and after ~ 22   
>>> seconds, a  TimeoutEvent is
>>> generated at the application's server side and the SipException is   
>>>  displayed in the proxy
>>> server's command line.
>>>
>>> Please find attached an image giving more information about the    
>>> messages leading to the
>>> error and the log files generated by the proxy server.
>>>
>>> Any help will be appreciated.
>>>
>>> Thanks in advance
>>>
>>> Best Regards
>>>
>>> Lionel Montheu
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>> _______________________________________________
>>> 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!
>
>
>
>


-- 
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!
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.