File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ function setConfigSite {
94
94
echo " You have not enabled Video support in config_site"
95
95
fi
96
96
97
+ if [ " ${CHANGE_PJSIP_TRANSPORT_IDLE_TIME} " == " 1" ]
98
+ then
99
+ echo " Changing PJSIP_TRANSPORT_IDLE_TIME to $PJSIP_TRANSPORT_IDLE_TIME "
100
+ echo " #define PJSIP_TRANSPORT_IDLE_TIME $PJSIP_TRANSPORT_IDLE_TIME " >> " $CONFIG_SITE_PATH "
101
+ fi
102
+
97
103
echo " #include <pj/config_site_sample.h>" >> " $CONFIG_SITE_PATH "
98
104
}
99
105
Original file line number Diff line number Diff line change @@ -214,6 +214,11 @@ ENABLE_IPV6=0
214
214
215
215
# Patch PJSIP to use a fixed Call-ID --- see README.md in patches/fixed_callid folder
216
216
USE_FIXED_CALLID=1
217
+ # Change the default PJSIP_TRANSPORT_IDLE_TIME
218
+ # On anonymous calls servers might not send options to keep the transport alive
219
+ # in such scenario sip messages will not be received after transport shutdown
220
+ CHANGE_PJSIP_TRANSPORT_IDLE_TIME=1
221
+ PJSIP_TRANSPORT_IDLE_TIME=600
217
222
# Apply a different fixed Call-ID patch if PJSIP version is lower than 2.11
218
223
IS_PJSIP_LOWER_THAN_2_11=0
219
224
You can’t perform that action at this time.
0 commit comments