<div dir="ltr">Hi John,<div><br></div><div>For the current call, you can access dialog attributes via the "$dlg(...)" pseudo-variable. But I don't believe there is a way to access other dialogs from within the config script without querying the database (and setting db_mode to 1).<br>
</div><div><br></div><div>If you can explain your use case slightly, someone may be able to suggest another way to achieve it.<br></div><div><br></div><div>Regards,</div><div><br></div><div>Charles</div><div><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 2 February 2014 15:40, John Murray <span dir="ltr"><<a href="mailto:john.murray@skyracktelecom.com" target="_blank">john.murray@skyracktelecom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Charles,</p>
<p dir="ltr">Thanks For that.</p>
<p dir="ltr">How do I get the callid from a call in a specific profile if it is stored in memory?</p>
<p dir="ltr">Regards.</p>
<p dir="ltr">John</p>
<div class="gmail_quote"><div><div class="h5">On 2 Feb 2014 15:05, "Charles Chance" <<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<p dir="ltr">Hi John,</p>
<p dir="ltr">><br>
> >What db_mode are you using for dialog module?<br>
><br>
> Mode 5. I Don't need to persist the dialog state so means table maintained in memory and not flushed to disk until shutdown but I can access it through normal avp_db_query right?</p>
<p dir="ltr">Do you mean mode 3? Anyway, avp_db_query is for reading from the database - if you're not persisting dialogs to db in realtime then there'll be nothing to read.</p>
<p dir="ltr">> >Are the entries in the db if you check manually?<br>
><br>
> If I do sercmd dlg.dlg_list I see the call fine including callid etc.</p>
<p dir="ltr">dlg.list shows all dialogs in memory, not in db.</p>
<p dir="ltr">Regards,</p>
<p dir="ltr">Charles<br>
</p>

<br>
</div></div><font face="Helvetica, Arial, sans-serif"><font><span style="font-size:10pt"><a href="http://www.sipcentric.com/" title="blocked::http://www.sipcentric.com/" target="_blank">www.sipcentric.com</a><br>
            <br>
            Follow us on twitter <a href="http://twitter.com/sipcentric" title="blocked::http://twitter.com/sipcentric" target="_blank">@sipcentric</a><br>
            <br>
            <font color="gray">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font> <font color="gray">Registered
                office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.</font></span></font></font></blockquote></div>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div>

<br>
<font face="Helvetica, Arial, sans-serif"><font size="2"><span style="font-size:10pt"><a href="http://www.sipcentric.com/" title="blocked::http://www.sipcentric.com/" target="_blank">www.sipcentric.com</a><br>
            <br>
            Follow us on twitter <a href="http://twitter.com/sipcentric" title="blocked::http://twitter.com/sipcentric" target="_blank">@sipcentric</a><br>
            <br>
            <font color="gray">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font> <font color="gray">Registered
                office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.</font></span></font></font>