WARNING[5737]: chan_sip.c:4398 __sip_autodestruct: Autodest

Hi,

I’m running asterisk 11.2 on ubuntu 12.04.

After calling and “BYE”, the channels still remain and I can not clear the channel. I have a lot of WARNING regarding this in the “messages” file. Does anyone know how to solve this problem? (**** in the log is IP address or extension number)

—Asterisk Version
sip*CLI> core show version
Asterisk 11.2.0 built by root @ sip on a x86_64 running Linux on 2013-01-19 20:48:52 UTC

—WARNING in the message file
[Jan 22 12:43:51] WARNING[5737]: chan_sip.c:4398 __sip_autodestruct: Autodestruct on dialog ‘1c29772a6626728af6e17a372f09c40f@***.***.***.***’ with owner SIP/***-00000003 in place (Method: BYE). Rescheduling destruction for 10000 ms

—channels
sipCLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message Expiry Peer
.**.***.
**** bdaadb451f7e15e (ulaw) No Rx: BYE ****
.***.***. **** 1c29772a6626728 (ulaw) No Rx: BYE ****
.***.***. **** 3fac4bc6485df65 (ulaw) No Rx: BYE ****
3 active SIP dialogs

the configuration is:

—sip.conf
[1234]
type=friend
username=1234
secret=1234
host=dynamic
callerid=1234
dtmfmode=rfc2833
mailbox=1234
context=test
nat=no
canreinvite=yes
disallow=all
allow=gsm
allow=ulaw
allow=alaw
allow=g729

[5678]
type=friend
username=5678
secret=5678
host=dynamic
callerid=5678
dtmfmode=rfc2833
mailbox=5678
context=test
nat=no
canreinvite=yes
disallow=all
allow=gsm
allow=ulaw
allow=alaw
allow=g729

—extensions.conf
[test]
exten => _XXXX,1,Dial(SIP/${EXTEN},30,r)
exten => _XXXX,n,Hangup()

“…with owner in place” normally indicates a bug, and should be reported on the bug tracker, with all the required debug level traces, including sep set debug on traces.

The one other possibility is an h extension that takes more than about 30 seconds to complete.

The error means that the technology independent channel data structure was still present when the time out for the removal of the technology dependent one had expired. The risk is that something may try and access the technology dependent structure when it is no longer there.