<div dir="ltr"><div class="gmail_extra"><div><div dir="ltr"><div>Hi Vlad,</div><div><br></div><div>That&#39;s encouraging!  I had tried a few months ago on 1.10.  It wasn&#39;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">&lt;<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>&gt;</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&#39;ve just tested this on the latest master, with a simple scenario<br>
      <br>
                      create_dialog();<br>
                      set_dlg_profile(&quot;caller&quot;,&quot;$fU&quot;);<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&#39;s not the case of a shared profile, please let me know what
      OpenSIPS version are you currently using. Also, please try to run
      &#39;opensipsctl fifo list_all_profiles&#39; and see if you profile is
      listed there ( assuming you&#39;re running an OpenSIPS version &gt;=
      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">&lt;<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>&gt;</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">&lt;<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt;</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&#39;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">&lt;<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>&gt;</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(&quot;dialog&quot;,
                                        &quot;profiles_with_value&quot;, &quot;caller&quot;)</div>
                                      <div><br>
                                      </div>
                                      <div>When run <br>
                                        opensipsctl fifo
                                        profile_get_values caller</div>
                                      <div><br>
                                      </div>
                                      <div>I receive:<br>
                                        &quot;404 Profile not found&quot;</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>