Hi Vlad, 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.
- Jeff On Wed, Jan 15, 2014 at 1:19 PM, Vlad Paiu <[email protected]> wrote: > Hello, > > I've just tested this on the latest master, with a simple scenario > > create_dialog(); > set_dlg_profile("caller","$fU"); > > and it seems to be working for me : > > scripts/opensipsctl fifo profile_get_values caller > value:: vlad count=1 > > Is that profile, by any chance, a shared dialog profile ? Because, as the > docs states ( > http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296552 ) > the function will currently not work with shared profiles. > > 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 > http://www.opensips.org/html/docs/modules/1.9.x/dialog.html#id296393 ) > > Best Regards, > > Vlad Paiu > OpenSIPS Developerhttp://www.opensips-solutions.com > > On 15.01.2014 20:05, Jeff Pyle wrote: > > Ok, good. > > Bogdan, Rasvan, others on the dev team... is this a bug, or a change in > design? Should we open a bug report? > > > - Jeff > > > > On Wed, Jan 15, 2014 at 9:43 AM, Dragomir Haralambiev > <[email protected]>wrote: > >> All worked fine. >> >> >> 2014/1/15 Jeff Pyle <[email protected]> >> >>> 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. >>> >>> Try defining the profile without values. See if it changes your >>> result. >>> >>> >>> - Jeff >>> >>> >>> On Wed, Jan 15, 2014 at 9:20 AM, Dragomir Haralambiev < >>> [email protected]> wrote: >>> >>>> Hello, >>>> >>>> This is setings in opensips.cfg: >>>> modparam("dialog", "profiles_with_value", "caller") >>>> >>>> When run >>>> opensipsctl fifo profile_get_values caller >>>> >>>> I receive: >>>> "404 Profile not found" >>>> >>>> Where is my mistake? >>>> >>>> Regards, >>>> PlayMen >>>> >>>> >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>> >>>> >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > > _______________________________________________ > Users mailing > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
