[asterisk-dev] pjsip never expire stale contact

Joshua C. Colp jcolp at sangoma.com
Wed Apr 20 04:11:13 CDT 2022


On Tue, Apr 19, 2022 at 11:50 PM John Bittner <john at xaccel.net> wrote:

> Hello,
>
> Anyone know what command I can use to tell PJSIP to never expire a stale
> contact?
> I believe chan_sip you could do it via ignoreregexpire = yes
>
> I know PJSIP has maximum_expiration and minimum_expiration but not sure
> if this is going to work.
>
> What I am trying to do is keep the expired stale contact in the database
> so I can do a contact lookup (get push keys) before I send a push
> notification to a Linphone softphone.
> Any ideas on a better way... I am open
>

There is no such functionality currently to disable expiration.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20220420/014fb8e2/attachment.html>


More information about the asterisk-dev mailing list