# WARNING\[12980\] chan\_sip.c: Autodestruct on dialog

**URL:** <https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055>\
**Category:** Asterisk SIP\
**Created:** [May 24, 2023, 1:19pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055 "2023-05-24T13:19:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 24, 2023, 1:19pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/1 "2023-05-24T13:19:07Z")

</div>

WARNING[12980] chan\_sip.c: Autodestruct on dialog ‘3516a25e311be0854700ca5e2de6e356@10.0.91.32:5060’ with owner SIP/serverA9132-0000b338 in place (Method: BYE). Rescheduling destruction for 10000 ms.  
Calls not patch, when we get this on Our Server

---

<div class="post-metadata">

**Author:** ![TheMark](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/themark/32/4771_2.png) [@TheMark](https://community.asterisk.org/u/TheMark)\
**Post date:** [May 24, 2023, 1:23pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/2 "2023-05-24T13:23:37Z")

</div>

witch version of asterisk are you using ?  
Asterisk 18.18.0 / 18.X.X or something even older

also you may want to change from chan\_sip to chan\_pjsip as that is what is supported going forward

---

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 24, 2023, 1:29pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/3 "2023-05-24T13:29:52Z")

</div>

asterisk 13

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [May 24, 2023, 2:08pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/4 "2023-05-24T14:08:52Z")

</div>

It means that SOMETHING is blocking the channel. There have been issues filed for this a few times for chan\_sip. Some were resolved, others weren’t.

---

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 24, 2023, 2:29pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/5 "2023-05-24T14:29:19Z")

</div>

What should I do

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [May 24, 2023, 2:29pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/6 "2023-05-24T14:29:44Z")

</div>

Upgrade to a supported version of Asterisk and switch to chan\_pjsip.

---

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 24, 2023, 2:30pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/7 "2023-05-24T14:30:42Z")

</div>

What it mean supported version in this context

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [May 24, 2023, 2:31pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/8 "2023-05-24T14:31:40Z")

</div>

Asterisk 13 went end of life in 2021. Current supported major versions are 18 and 20. Dates and what things mean are on the wiki[1].

[1] [Asterisk Versions - Asterisk Project - Asterisk Project Wiki](https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions)

---

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 24, 2023, 2:35pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/9 "2023-05-24T14:35:30Z")

</div>

I am using doubango sipml5 will it work with chan\_pjsip

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [May 24, 2023, 2:36pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/10 "2023-05-24T14:36:26Z")

</div>

The chan\_pjsip module implements SIP and supports WebRTC.

---

<div class="post-metadata">

**Author:** ![Pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pooh](https://community.asterisk.org/u/Pooh)\
**Post date:** [May 24, 2023, 2:45pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/11 "2023-05-24T14:45:27Z")

</div>

For practical purposes, and in this context, “supported version” means one  
which people here are likely to be able/inclined to help you with.

Antony

---

<div class="post-metadata">

**Author:** ![TheMark](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/themark/32/4771_2.png) [@TheMark](https://community.asterisk.org/u/TheMark)\
**Post date:** [May 24, 2023, 3:51pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/12 "2023-05-24T15:51:35Z")

</div>

you can start with upgrading to Asterisk 18 as that one still have chan\_sip  
and when that is working change to chan\_pjsip

---

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 26, 2023, 1:31pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/13 "2023-05-26T13:31:29Z")

</div>

Any instant solution without upgrading ?

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [May 26, 2023, 2:04pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/14 "2023-05-26T14:04:26Z")

</div>

This message can be caused by h extensions and hangup handlers that take a long time to complete, so you should make sure that you are not doing that.

However, if it is an actual deadlock, you are not going to get helped on an obsolete version.

---

<div class="post-metadata">

**Author:** ![Pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pooh](https://community.asterisk.org/u/Pooh)\
**Post date:** [May 26, 2023, 2:34pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/15 "2023-05-26T14:34:01Z")

</div>

I too have occasionally wondered about this problem in the past, and I wonder  
whether anyone can give a definition of “a long time”?

Thanks,

Antony.

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [May 26, 2023, 9:49pm UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/16 "2023-05-26T21:49:53Z")

</div>

I think it is in the initial scheduling message, but just look at the timestamp of the SIP channel being hung up and the first extension. It looks like it is 32 seconds.

However, I would have said the intent was \<\< 1 second.

---

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 30, 2023, 10:03am UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/17 "2023-05-30T10:03:43Z")

</div>

I have upgraded to Asterisk 18.17.1  
I am getting a warning  
chan\_sip.c:8153 sip\_indicate: Don’t know how to indicate condition 36

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [May 30, 2023, 10:09am UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/18 "2023-05-30T10:09:34Z")

</div>

That would be a topology change which chan\_sip doesn’t support and would have no effect on things. If you’re actually having a problem, you’d need to state what the problem is.

---

<div class="post-metadata">

**Author:** ![gaurav\_pb](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gaurav\_pb](https://community.asterisk.org/u/gaurav_pb)\
**Post date:** [May 30, 2023, 10:17am UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/19 "2023-05-30T10:17:34Z")

</div>

What I Need to change if I want to switch from chan\_sip to chan\_pjsip

---

<div class="post-metadata">

**Author:** ![Pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pooh](https://community.asterisk.org/u/Pooh)\
**Post date:** [May 30, 2023, 10:33am UTC](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055/20 "2023-05-30T10:33:07Z")

</div>

[https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan\_sip+to+res\_pjsip](https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip)  
should help you with this.

[https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Sections+and+Relationships](https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Sections+and+Relationships)  
also explains more detail about how PJSIP works.

Antony.

[Next page](https://community.asterisk.org/t/warning-12980-chan-sip-c-autodestruct-on-dialog/97055.md?page=2)
