Coder Social home page Coder Social logo

Comments (3)

Kaian avatar Kaian commented on June 15, 2024

In fact, this is enabled by default in asterisk 13.

According to the pjsip show endpoint output, the current enabled Session-timers for all peers are:

 timers                             : yes
 timers_min_se                      : 90
 timers_sess_expires                : 1800

This seems to work, but we require more testing to check if this behave like the sip analog with accept, originate, uac, uas, and so on.

from ivozprovider.

Kaian avatar Kaian commented on June 15, 2024

Two cents more:

According to Asterisk 13 Documentation these are the settings configurable by endpoint:

timers_min_se: Minimium session timer expiration period. Time in seconds.
timers: [no, yes, required, always, forced]
timers_sess_expires: Maximium session timer expiration period. Time in seconds.

from ivozprovider.

Kaian avatar Kaian commented on June 15, 2024

After some testing with pjsip settings I'm not able to archive the ideal session timers behaviour.

Ideal timers will be:

  • Acting as UAS: suggest refresher if UAC supports timers. If it doesn't support them, still send them periodic reinvites to refresh the session (and check if it's still there)
  • Acting as UAC: always suggest session-timers. If UAC rejects them, still send them periodic reinvites to refresh the session (and check if it's still there)

I was unable to make it work that way so let's delay this and give it a try in asterisk 14.

from ivozprovider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.