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]

 



Create mutliple transports

regards
klaus

Muthusamy, Balamurugan schrieb:
> 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
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[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