PJSIP_MAX_TRANSPORTS doesn't work

MT
Mike Taylor
Sat, Feb 8, 2020 12:13 AM

Greetings,

I tried defining PJSIP_MAX_TRANSPORTS to 30 in my config_site.h
and it didn't work.  Upon grepping around in the code I found this:

./pjsip/include/pjsua-lib/pjsua_internal.h:    pjsua_transport_data
tpdata[8]; /**< Array of transports.                */

Clearly then PJSIP_MAX_TRANSPORTS can't increase the number of

Transports.  I am going to try changing the array size to
PJSIP_MAX_TRANSPORTS.
Crossing fingers..

Regards,

Mike

Greetings, I tried defining PJSIP_MAX_TRANSPORTS to 30 in my config_site.h and it didn't work. Upon grepping around in the code I found this: ./pjsip/include/pjsua-lib/pjsua_internal.h: pjsua_transport_data tpdata[8]; /**< Array of transports. */ Clearly then PJSIP_MAX_TRANSPORTS can't increase the number of Transports. I am going to try changing the array size to PJSIP_MAX_TRANSPORTS. Crossing fingers.. Regards, Mike