<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Jeff,<br>
      <br>
      Well then it seems like a bug - if you can, please provide more
      info on how you can replicate this and open a ticket on github.
      Thanks for the help in debugging this.<br>
      <br>
      Best Regards,<br>
      <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
      On 15.01.2014 20:47, Jeff Pyle wrote:<br>
    </div>
    <blockquote
cite="mid:CACYJG3+vAVB17gouf=gi2umsQkbQ8prZUix3p21wWOkqEpPWuA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div>
            <div dir="ltr">
              <div>Hi Vlad,</div>
              <div><br>
              </div>
              <div>That's encouraging! &nbsp;I had tried a few months ago on
                1.10. &nbsp;It wasn't shared - in fact, very similar to your
                example. &nbsp;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 moz-do-not-send="true"
                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've just tested this on the latest master, with a
                  simple scenario<br>
                  <br>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; create_dialog();<br>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set_dlg_profile("caller","$fU");<br>
                  <br>
                  and it seems to be working for me :<br>
                  <br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; scripts/opensipsctl fifo
                  profile_get_values caller<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; value:: vlad count=1<br>
                  <br>
                  Is that profile, by any chance, a shared dialog
                  profile ? Because, as the docs states ( <a
                    moz-do-not-send="true"
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
                  &gt;= 1.9 <a moz-do-not-send="true"
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>
                  )&nbsp; <br>
                  <br>
                  Best Regards,<br>
                  <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" 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? &nbsp;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 moz-do-not-send="true"
                                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
                                          moz-do-not-send="true"
                                          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. &nbsp;This
                                                  wasn't the case in,
                                                  say, 1.6. &nbsp;This may be
                                                  a bug in more current
                                                  versions.</div>
                                                <div><br>
                                                </div>
                                                <div>Try defining the
                                                  profile without
                                                  values. &nbsp;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
                                                      moz-do-not-send="true"
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("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
                                                  moz-do-not-send="true"
href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                                                <a
                                                  moz-do-not-send="true"
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 moz-do-not-send="true"
                                          href="mailto:Users@lists.opensips.org"
                                          target="_blank">Users@lists.opensips.org</a><br>
                                        <a moz-do-not-send="true"
                                          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 moz-do-not-send="true"
                                href="mailto:Users@lists.opensips.org"
                                target="_blank">Users@lists.opensips.org</a><br>
                              <a moz-do-not-send="true"
                                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 moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <a moz-do-not-send="true"
                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 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>