<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Adrian,<br>
<br>
Unfortunately there is no way to directly access the dialog info
remotely (from the context of another dialog). Maybe this will be
a great addition if you consider opening a ticket on the GITHUB
tracker.<br>
<br>
Now, have you managed to make it work using the double storing in
conjunction with get_dialog_info() ?<br>
<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 18.08.2016 12:03, Adrian Fretwell
wrote:<br>
</div>
<blockquote
cite="mid:75d08002-4040-42d0-b9ae-47a615bb7774@topgreen.co.uk"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p><font size="-1">Ok, To put it another way; It seems like an
overhead for me to store say a to_tag so I can retrieve it
later when the to_tag is already stored in the dialog, I just
can't work out how to get at it...</font></p>
<p><font size="-1"> if ( t_check_status("200") ) {<br>
store_dlg_value("my_callee_tag","$tt");<br>
}<br>
.......</font></p>
<p><font size="-1">
get_dialog_info("my_callee_tag","$var(my_callee_tag)","my_caller_cid","$var(my_srch_call_id)");<br>
</font></p>
<p><font size="-1">Perhaps there is a way I don't need to store
something that is already there?<br>
</font></p>
<div class="moz-signature"><font size="-1"><font face="Verdana">Kind
regards,<br>
<br>
Adrian Fretwell<br>
</font></font> </div>
<div class="moz-cite-prefix"><br>
On 17/08/16 19:25, Adrian Fretwell wrote:<br>
</div>
<blockquote
cite="mid:4e3d7c04-bb4d-bfc7-4e08-cde036b238f3@topgreen.co.uk"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<p><font size="-1">Hello all, A simple question that I can't
seem to work out for myself:</font></p>
<p><font size="-1">When I execute the MI command :dlg_list_ctx:
I can see lots of useful information about the dialog like
caller_contact:: and callee_tag:: etc.<br>
</font></p>
<p><font size="-1">Is there a way of retrieving these values
from within the script especially from another dialog? I
have tried get_dialog_info but this will only retrieve
values that I have set in the script through
store_dlg_value. Or am I just missing a naming convention
for the other dialog values and attributes?<br>
</font></p>
<font size="-1"><font face="Verdana">Kind regards,</font></font><br>
<div class="moz-signature"><font size="-1"><font face="Verdana"><br>
Adrian Fretwell<br>
</font></font> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>