Hi,

> I'm developing  a SIP application now. Currently I only have one
computer
> to
> do it.

You need to define a way to specify to your application on which port
you would like to listen to. Then, you'll be able to load two instances
on the same machine and be able to send messages between each others.

Since I don't know how JAIN works, you will need to know how to works at
a lower level in the stack you used to implement the feature I told you.
But, everything is a matter of port when you talk about multi network
application on a single computer, unless you have multiple IP address or
network adapter.

> 
> I am new to JAIN, so I do not know how to simulate a SIP application
in
> one
> computer? I tried to create 2 SipProvider, but still it did not work.


Sorry I can't help you at that level, but advice you to search for
ServerSocket class instance in the code and you should find where the
listening socket are opened then should be able to trace where to define
the port.


Hope this helped a little bit,


Kevin.

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:sip-implementors-
> [EMAIL PROTECTED] On Behalf Of Ying Yu
> Sent: 13 avril, 2004 15:31
> To: [EMAIL PROTECTED]
> Subject: [Sip-implementors] how to simulate a SIP application in one
> computer
> 
> Hi all...
> 
> I'm developing  a SIP application now. Currently I only have one
computer
> to
> do it. My source code could send out the INVITE message, but the
> processRequest() method is not triggered at all. I tried to create two
> threads, one is used to send out the request, the other one is
listening
> all
> the time. But still no processRequest() is triggered.
> 
> I am new to JAIN, so I do not know how to simulate a SIP application
in
> one
> computer? I tried to create 2 SipProvider, but still it did not work.
> 
> Is there any suggestions?
> 
> Thanks in advance.
> 
> Regards
> Angela
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Kevin Bouchard, ift.a.
Software engineer
 
Pyxis Products
Cardinal Health
330 St-Vallier Street E., Suite 330
Quebec City, QC, Canada
G1K 9C5
Tel.: (418)872-0172, x8974
Fax: (418)872-0038
[EMAIL PROTECTED]


_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to