<div dir="ltr"><div dir="ltr">On Tue, May 26, 2020 at 10:48 AM Nick Olsen <<a href="mailto:nick@floridavirtualsolutions.com">nick@floridavirtualsolutions.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>We would like to pull the RTT of registered endpoints from MySQL for use in a webportal. However it doesn't appear asterisk tables this by default like chan_sip did.</div><div><br></div><div>I've found some information [1] that a modification of sorcery.conf can get it writing to a table. But I'm struggling to figure out what that configuration is. It seems the object is called "contact_status", and I've tried [2] in sorcery.conf, But I'm not seeing any output or seeing anything else to follow with GoogleFu.</div><div><br></div><div>[1], A mailinglist crawler, i know: <a href="https://asteriskfaqs.org/2015/10/29/asterisk-users/pjsip-and-rtt-in-realtime.html" target="_blank" style="outline-width:0px!important">https://asteriskfaqs.org/2015/10/29/asterisk-users/pjsip-and-rtt-in-realtime.html</a></div><div>[2], sourcery.conf</div><div>[res_pjsip]</div><div>******stuff***********</div><div>contact_status=realtime,ps_contact_status (Which I've also defined in extconfig<br>)</div></div></blockquote><div><br></div><div>Contact status is not a sorcery object and is kept strictly in memory. There's no ability to store the information in a database, you'd need to query Asterisk. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>