Re: (no subject)

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

Take a look at examples.reinvite. ReinviteTest.java
You have a template there for multiplexing requests based on provider.
You can register a single listener with the stack and multiplex to many 
sublisteners using the provider to route requests.

Hope that helps

Ranga

Michalis Michail wrote:

>Hello again 
>
>thanks for the previus response but i havent figure out what i am supposed to
>do yet.Anyways i have modified the \jain-sip-1.2\src\examples\simplecallsetup
>shootist example as a runnable object so it can be runned as a thread.Each UAC
>sends a register message then cleans up and the thread dies.So i can have
>multiple UACs running in different threads.The problem is that when i try to
>repeat the loop again and create the same number of UAC threads only one of
>them  initialize properly and the rest give a ToManyListenersException .Is
>there a reason why this is happenning,since the first loop starts up
>ok.Considering the fact that each UAC is a different thread,and every thread
>before it dies cleans up everything ,its very wird.I even tried to put the
>loop in a threa but i got the same results.I have attached the code of the UAC
>if this is can help.Thanks for answering all my question so far.
>
>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!
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.