Array size hardcoded to 8 in pjsua_data->pjsua_transport_data tpdata[8];

AS
Arindam Saha
Tue, Feb 26, 2019 3:32 AM

Hi All,

I was trying to create more than 8 transports basically each transport
tied to a specific account.
I hit upon the error PJ_TOMANY, upon debugging I found that

 pjsua_data->pjsua_transport_data tpdata[8]

This array size of 8 is restricting to create more than 8 transports.
Please help me in understanding why do we have a limitation of 8 transport
and if I increase it to 20 or 30 , what all issues I can face if I go ahead
and create 20 transports?

I have seen config to increase account numbers which works fine but
couldn't find a config to increase transport count.

Please help.

Regards,
Arindam

Hi All, I was trying to create more than 8 transports basically each transport tied to a specific account. I hit upon the error PJ_TOMANY, upon debugging I found that pjsua_data->pjsua_transport_data tpdata[8] This array size of 8 is restricting to create more than 8 transports. Please help me in understanding why do we have a limitation of 8 transport and if I increase it to 20 or 30 , what all issues I can face if I go ahead and create 20 transports? I have seen config to increase account numbers which works fine but couldn't find a config to increase transport count. Please help. Regards, Arindam