Asterisk 13 PJSIP timers refresher how to

i want to activete refresher at asterisk 13.13.1 version. have a look at wiki , there is a timers options. even if i set options in endpoint , asterisk doesnt send re-invite on calls.


old one , chan_sip, there is option session-timers: originate.

How can i activete refresher on asterisk 13 PJSIP?

timers, session-timers , refresher , asterisk 13 ,pjsip

any idea how to activate refresher on PJSIP?

i want to do that, after call is established that means got 200 OK, sending re-invite to correction for codec. Because other side server doesnt sends SDP with 200 OK. so there is a mismatching codecs.

there is a feature on IOS pjsip. how can i activate it on Asterisk.


it calls on here as One of N codec Selection at page 20

There is no support currently for Asterisk sending a reinvite to change or lock the codec.

there is a function PJSIP_SEND_SESSION_REFRESH()

i will try it

it is works but it sends re-invite to incoming call leg, not outgoing call leg.

i need to work on “how to send this refresh re-invite to outgoing call leg.”


i solved this problem with pre -dialer method.


exten => s,1,NOOP(Pre dialer)
exten => s,n,Set(PJSIP_SEND_SESSION_REFRESH()=invite)
exten => s,n,Return()