[asterisk-dev] Media TimeOut for SIP and IAX Trunk
Raj Jain
rj2807 at gmail.com
Wed Jun 4 12:12:51 CDT 2008
On Wed, Jun 4, 2008 at 12:12 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
> And in case of SIP, I heared it is existed but I have
> to check the session timer in the trunk version of the
> sip_chan, but really I do not know how to check this
> and wether there is any need to be done on the source
> to be modified and compiled to obtain it successfully
> working.
There is no need to modify/compile the source code for this.
Session-timers are configured in sip.conf. There are four flags that
control the operation of this feature:
session-timers=originate
session-expires=600
session-minse=90
session-refresher=uas
You can either set them globally or at a per user/peer level. The
value of "originate" for session-timers flag means that Asterisk will
actively request session-timers support from the other end-point. If
the other end-point supports session-timers then the two will
negotiate the frequency at which session will be refreshed and which
side will initiate the refresh requests. In the "originate" mode even
if the other end-point doesn't support this feature, Asterisk will
refresh the session periodically anyway.
The session-expires and session-mine are high and low watermarks for
how tolerable Asterisk will be to the frequency of session refreshes.
Feel free to tune these to what's more suitable in your environment.
--
Raj Jain
More information about the asterisk-dev
mailing list