PJSIP set timer_t1 and timer_b

HI,

In my Asterisk 13.16.0, I’ve changed the value of timer_t1 and timer_b in [system] -> ‘pjsip.conf’ after restarting asterisk, these parameters keeps their default value:

[root@asterisk1 asterisk]# asterisk -V
Asterisk 13.16.0
[root@asterisk1 asterisk]# egrep -A3 -i "\[system\]" pjsip.conf
[system]
timer_t1 = 200
timer_b = 5000

[root@asterisk1 asterisk]# systemctl restart asterisk
[root@asterisk1 asterisk]# asterisk -rx "pjsip show settings"|egrep -A11 -i "System Settings"
System Settings:

 ParameterName             : ParameterValue
 ==========================================
 compact_headers           : false
 disable_tcp_switch        : true
 threadpool_auto_increment : 5
 threadpool_idle_timeout   : 60
 threadpool_initial_size   : 0
 threadpool_max_size       : 50
 timer_b                   : 32000
 timer_t1                  : 500

How can I change the default timer B from 32s to 15s in pjsip.conf and can I specify different timers by endpoints ? concerned

Thanks in advance for any help
Ouss

You need to add a “type=system” line to the “[system]” entry. Without it the section is ignored as being unknown.

Thanks :slight_smile:

[root@asterisk1 asterisk]# asterisk -rx "pjsip show settings"|egrep -A11 -i "System Settings"
System Settings:

 ParameterName             : ParameterValue
 ==========================================
 compact_headers           : false
 disable_tcp_switch        : true
 threadpool_auto_increment : 5
 threadpool_idle_timeout   : 60
 threadpool_initial_size   : 0
 threadpool_max_size       : 50
 timer_b                   : 12800
 timer_t1                  : 200