Modifying the transport port for each account

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

 



Hi, all,


I met a problem when using PJSUA-LIB APIs (v2.4). 


My application needs to manage 4 accounts, all of which should be allowed to configure the local port for transporting SIP messages.


I attempted to use pjsua_transport_create/close to manage the re-configuration of local ports, but after doing that for 8 times, it prompted an error: 
"Error creating transport: Too many objects of the specified type (PJ_ETOOMANY) [status=70010]". 
Note that the stack only sent a REGISTER and then received a 200OK when the re-configuration was triggered.


I also tried to the force=TRUE version of pjsua_transport_close, it also failed. It seems that the transport has some references when being destroyed.


It there any elegant ways to handle this situation? Any clues are welcome. Thanks in advance.






Best regards,
Geffrrey James.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20151019/635147db/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