# Session reference counter

**URL:** <https://community.asterisk.org/t/session-reference-counter/85415>\
**Category:** Asterisk SIP\
**Created:** [August 25, 2020, 12:23pm UTC](https://community.asterisk.org/t/session-reference-counter/85415 "2020-08-25T12:23:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijendrarawal](https://avatars.discourse-cdn.com/v4/letter/v/35a633/32.png) [@vijendrarawal](https://community.asterisk.org/u/vijendrarawal)\
**Post date:** [August 25, 2020, 12:23pm UTC](https://community.asterisk.org/t/session-reference-counter/85415/1 "2020-08-25T12:23:36Z")

</div>

Hi

I am using Asterisk 16.5.0 with PJSIP , getting this error and calls disconnect .  
This is the only error i am getting in messages log . can you help me with this please .  
I have tried to find out how we to control this value if possible but not seeing any relevant info

I see this log before calls disconnect .

===============================================================  
[Aug 25 09:11:55] ERROR[125624][C-00001cd6] chan\_pjsip.c: Can’t increase the session reference counter  
[Aug 25 09:11:55] ERROR[124476] chan\_pjsip.c: Session already DISCONNECTED [reason=487 (Request Terminated)]  
[Aug 25 09:11:55] ERROR[125622][C-00001cd3] chan\_pjsip.c: Can’t increase the session reference counter

---

<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:** [August 25, 2020, 12:25pm UTC](https://community.asterisk.org/t/session-reference-counter/85415/2 "2020-08-25T12:25:07Z")

</div>

Your version of Asterisk is over a year old, and bundled PJSIP has also been updated since then. I would suggest updating to ensure things haven’t been fixed or changed already.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [September 24, 2020, 12:25pm UTC](https://community.asterisk.org/t/session-reference-counter/85415/3 "2020-09-24T12:25:14Z")

</div>

Closed on September 24, 2020, 12:25pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
