[asterisk-users] Configure SIP reply timeout (timerb in sip.conf)
Markus
universe at truemetal.org
Mon Jan 7 11:17:13 CST 2019
Reply to self: Found the problem after reading this post:
http://lists.digium.com/pipermail/asterisk-dev/2010-March/042735.html
You need to set timert1 in the peer config to *something*, otherwise it
will ignore the timerb setting. Bug? It now looks like this and works fine:
[peer01]
host=1.2.3.4
type=peer
context=nowhere
disallow=all
allow=alaw
allow=ulaw
canreinvite=no
dtmfmode=rfc2833
timert1=500
timerb=2000
timert1=500 is the default anyway, according to sip.conf comments...
Regards
Markus
Am 07.01.2019 um 17:23 schrieb Markus:
> Dear list,
>
> Asterisk 11.25.0 user here. I'm trying to set up failing over to a
> second SIP peer if the first SIP peer doesn't answer on our SIP INVITE
> within 2 seconds.
>
> In sip.conf I set timerb=2000 for this peer, but it doesn't seem to have
> any effect. The timeout is 6.5 seconds instead, which is in line with
> this description from sip.conf:
>
> "timerb: Call setup timer. If a provisional response is not received in
> this amount of time, the call will autocongest. Defaults to 64*timert1
> (Which is 100 ms = rougly 6.5 seconds)"
>
> Maybe I cannot set timerb on a peer-basis? Here's my peer config:
>
> [peer01]
> host=1.2.3.4
> type=peer
> context=nowhere
> disallow=all
> allow=alaw
> allow=ulaw
> canreinvite=no
> dtmfmode=rfc2833
> timerb=2000
>
> Thank you!
> Markus
>
More information about the asterisk-users
mailing list