Asterisk 13 PJSIP timers refresher how to

Hello,
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.

timers=always

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

How can i activete refresher on asterisk 13 PJSIP?
Cheers

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

Hello,
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.

Thanks.

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.

Hello,
there is a function PJSIP_SEND_SESSION_REFRESH()

i will try it

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_PJSIP_SEND_SESSION_REFRESH

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.”

Cheers

i solved this problem with pre -dialer method.

Thanks

https://wiki.asterisk.org/wiki/display/AST/Pre-Dial+Handlers

[out-pre-dial]
exten => s,1,NOOP(Pre dialer)
exten => s,n,Set(PJSIP_SEND_SESSION_REFRESH()=invite)
exten => s,n,Return()