Re: Problem using transactions when forking requests

"Jeroen van Bemmel" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <001001c67dce$206eb8e0$31713b51@BEMBUSTER>
Michael,

FYI - Ranga is referring to JAIN NIST 1.2 here (which has better support for 
forking, and better support for proxy applications in general).

Your application should create 1 ServerTransaction, not 2. How you associate 
the ST with the 2 CTs is up to your application, but you could use the new 
Transaction.setApplicationData API call for that

Regards,

Jeroen

----- Original Message ----- 
From: "M. Ranganathan" <[email protected]>
To: "Michalis Michail" <[email protected]>
Cc: <[email protected]>
Sent: Monday, May 22, 2006 4:45 PM
Subject: Re: [nist-sip] Problem using transactions when forking requests


> Michael
>
> Please take a look at examples/forked/invite
>
> I believe it does what you want and I believe it works. It should give you 
> a pattern from which you can work. Do cvs update from the NIST repository.
>
> Regards,
>
> Ranga
>
> Michalis Michail wrote:
>
>>Hi,again
>>
>>I am trying to build a statefull forking proxy ,but i am having truble 
>>using
>>Transactions.When i fork the incoming invite request ,into to two seperate
>>requests ,i cannot add a different ServerTransction to the second 
>>request.So
>>when a response arrives to the proxy i can only send one response back by
>>using the ServerTransaction.Also i have the same problem with the user 
>>agent
>>that created originally the request and sent it via the proxy.It can only
>>receive only one of the incoming responses.Because of that i cannot create 
>>two
>>different Dialogs as a result of the forked invite request. I was 
>>wondering if there is another way to send and receive the responses to
>>the forked request statefully without having to send and receive them 
>>statlessly.
>>Or if that is not possible how can i create a Dialog  by sending 
>>statelessly
>>the   invite requests and also receiving statelessly the following 
>>responses.
>>Thank you Michael.
>>_______________________________________________
>>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.