How to tweak PJ SIP to listen to more than one port at the same time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can pjsip listen to more than one port at the same time?  I am writing a load simulator, where I am simulating many clients, and each client has its own SIP port on which it listens (and transmits) with the server.


This is better explained as below:

Even though we would have 1000s of clients, I would take an example with 3 clients:
A: SIP Port: 8000
B: SIP Port: 8001
C: SIP Port 8002

Now, is there a way to make PJ SIP start sending AND receiving messages from all these 3 different ports, at the same time?

I see that PJSIP can operate with only one port at any given time.  Even if we use: pjsua_acc_set_transport and do an pjsip_endpt_acquire_transport, it can still operate with only one port at any given time.  So, there is not an easy way for me to make port 8000 (User A) send an INVITE message at the same time while port 8001 (user B) receives an INVITE and port 8002 (user C) receives a BYE.

Bala


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090803/35f8da24/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux