[asterisk-bugs] [Asterisk 0015621]: [patch] session-expires default timer wrong
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 7 07:41:22 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15621
======================================================================
Reported By: fnordian
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15621
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for review
Target Version: 1.6.1.6
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 209451
Request Review:
======================================================================
Date Submitted: 2009-07-31 04:13 CDT
Last Modified: 2009-09-07 07:41 CDT
======================================================================
Summary: [patch] session-expires default timer wrong
Description:
There is a bug in chan_sip which causes asterisk to set invalid
session-expires-header in 200 OK after invites. My guess is that it's been
there for a long time but got activated with bugfix 15403.
The problem is, that for invites without session-expires-headers a reply
is generated with Session-Expires: -1;refresher=uas causing the uac to
hangup the call with BYE immediately.
A workaround is setting session-timers=refuse in sip.conf
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0015403 [patch] Session timer is not activated
======================================================================
----------------------------------------------------------------------
(0110279) atis (reporter) - 2009-09-07 07:41
https://issues.asterisk.org/view.php?id=15621#c110279
----------------------------------------------------------------------
mysql> SELECT * FROM sip_buddies WHERE username="90027"\G
*************************** 1. row ***************************
id: 527
ext_id: 34574
name: 90027
accountcode: NULL
amaflags: NULL
callgroup: 1
callerid: AudioCodes 1 - Port 01 <90027>
canreinvite: no
context: default-sip
defaultip: NULL
dtmfmode: rfc2833
fromuser: NULL
fromdomain: NULL
fullcontact: sip:90027 at 192.168.0.37
host: dynamic
insecure: NULL
language: NULL
mailbox:
md5secret: NULL
nat: yes
deny: NULL
permit: NULL
mask: NULL
pickupgroup:
port: 5060
qualify: no
restrictcid: NULL
rtptimeout: NULL
rtpholdtimeout: NULL
secret: 90027
type: friend
username: 90027
defaultuser: 90027
disallow: all
allow: ulaw
musiconhold: NULL
regseconds: 1252321664
lastms: 0
regserver: NULL
ipaddr: 192.168.0.37
useragent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.80A.025.004
regexten:
cancallforward: yes
setvar:
call-limit: 8
Issue History
Date Modified Username Field Change
======================================================================
2009-09-07 07:41 atis Note Added: 0110279
======================================================================
More information about the asterisk-bugs
mailing list