[asterisk-bugs] [Asterisk 0011091]: autopark strange behaviour if canreinvite=update, nonat
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Nov 20 07:25:47 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11091
======================================================================
Reported By: agx
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11091
Category: Resources/res_features
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.4.13
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 10-26-2007 08:35 CDT
Last Modified: 11-20-2007 07:25 CST
======================================================================
Summary: autopark strange behaviour if
canreinvite=update,nonat
Description:
The documentation says that re-invites are automatically disabled if a dial
option is included. If i try to call from SIP/13 to SIP/12 and i try to
park the call with *7 (autopark) i get a very strange behaviour:
- me (SIP/13) do not hear "701" that is the first extension slot;
- me (SIP/13) can still hear SIP/12 talking to me
- me (SIP/13) hear a low volume MOH as background;
- SIP/12 hear MOH
The call is started with: Dial(SIP/12|120|rtwkTWK)
i assume that this will disable re-invites.
The problem does not appear if in sip.conf i've canreinvite=no but only
when i use canreinvite=update,nonat
======================================================================
----------------------------------------------------------------------
agx - 11-20-07 07:25
----------------------------------------------------------------------
More investigation...
this is the CLI output before the crash:
-- Started music on hold, class 'default', on channel
'SIP/13-082d5278'
== Parked SIP/13-082d5278 on 701 at interni. Will timeout back to
extension [interni] s, 1 in 180
seconds
-- <SIP/12-082d78c0> Playing 'digits/7' (language 'it')
-- <SIP/12-082d78c0> Playing 'digits/0' (language 'it')
-- <SIP/12-082d78c0> Playing 'digits/1' (language 'it')
-- Added extension '701' priority 1 to interni
WARNING[20011] pbx.c: Channel 'SIP/13-082d5278' sent into invalid
extension 's' in context 'interni', but no invalid handler
-- Stopped music on hold on SIP/13-082d5278
i printed on CLI the variable just before the crash:
AST_MAX_FDS: 8
x: 0
chan: 0x82dd138
fds: 0x82dd168
fdsX: -1296717200
rfds: 0xb7a63334
efds: 0xb7a632b4
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213842512 (LWP 16975)]
0xb7a6dacc in do_parking_thread (ignore=0x0) at res_features.c:1727
1727 if (chan->fds[x] == -1 || (!FD_ISSET(chan->fds[x], &rfds) &&
!FD_ISSET(chan->fds[x], &efds)))
i suppose that chan->fds[x] cannot be < -1 ? correct ?? ok i tried to
change the code and avoid this to happen. So the crash is happening into a
different point now.
-- Added extension '701' priority 1 to interni
WARNING[20943]: pbx.c:2455 __ast_pbx_run: Channel 'SIP/13-082f7460' sent
into invalid extension 's' in context 'interni', but no invalid handler
-- Stopped music on hold on SIP/13-082f7460
== SIP/13-082f7460 got tired of being parked
WARNING[20723]: channel.c:1238 ast_channel_free: PBX may not have been
terminated properly on 'SIP/13-082f7460'
Program received signal SIGSEGV, Segmentation fault.
I'm uploading gdb.gz with the new backtrace details
Issue History
Date Modified Username Field Change
======================================================================
11-20-07 07:25 agx Note Added: 0074058
======================================================================
More information about the asterisk-bugs
mailing list