<div dir="ltr"><div class="gmail_extra"><div><div dir="ltr"><div>Hi Vlad,</div><div><br></div><div>That's encouraging! I had tried a few months ago on 1.10. It wasn't shared - in fact, very similar to your example. In my simple case I created another profile without values and queried that when I needed a total across all values.</div>
<div><br></div><div><br></div><div>- Jeff</div></div></div>
<br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 1:19 PM, Vlad Paiu <span dir="ltr"><<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hello,<br>
<br>
I've just tested this on the latest master, with a simple scenario<br>
<br>
create_dialog();<br>
set_dlg_profile("caller","$fU");<br>
<br>
and it seems to be working for me :<br>
<br>
scripts/opensipsctl fifo profile_get_values caller<br>
value:: vlad count=1<br>
<br>
Is that profile, by any chance, a shared dialog profile ? Because,
as the docs states (
<a href="http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296552" target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296552</a>
) the function will currently not work with shared profiles.<br>
<br>
if it's not the case of a shared profile, please let me know what
OpenSIPS version are you currently using. Also, please try to run
'opensipsctl fifo list_all_profiles' and see if you profile is
listed there ( assuming you're running an OpenSIPS version >=
1.9
<a href="http://www.opensips.org/html/docs/modules/1.9.x/dialog.html#id296393" target="_blank">http://www.opensips.org/html/docs/modules/1.9.x/dialog.html#id296393</a>
) <br>
<br>
Best Regards,<br>
<pre cols="72">Vlad Paiu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre><div><div class="h5">
On 15.01.2014 20:05, Jeff Pyle wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Ok, good.
<div><br>
</div>
<div>Bogdan, Rasvan, others on the dev team... is this a bug, or
a change in design? Should we open a bug report?</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">
<div>
<br>
</div>
<div>- Jeff</div>
<div><br>
</div>
</div>
</div>
<br>
<br>
<div class="gmail_quote">On Wed, Jan 15, 2014 at 9:43 AM,
Dragomir Haralambiev <span dir="ltr"><<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">All worked fine.</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014/1/15 Jeff Pyle <span dir="ltr"><<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div>
<div dir="ltr">
<div>Since you are defining the profile
with a value, your query needs to
contain a value as well. This wasn't
the case in, say, 1.6. This may be a
bug in more current versions.</div>
<div><br>
</div>
<div>Try defining the profile without
values. See if it changes your
result.</div>
<div><br>
</div>
<div><br>
</div>
<div>- Jeff</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div>
<div>
On Wed, Jan 15, 2014 at 9:20 AM,
Dragomir Haralambiev <span dir="ltr"><<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
<div>
<div>
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>This is setings in
opensips.cfg:<br>
modparam("dialog",
"profiles_with_value", "caller")</div>
<div><br>
</div>
<div>When run <br>
opensipsctl fifo
profile_get_values caller</div>
<div><br>
</div>
<div>I receive:<br>
"404 Profile not found"</div>
<div><br>
</div>
<div>Where is my mistake?</div>
<div><br>
</div>
<div>Regards,</div>
<div>PlayMen</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>