[OpenSIPS-Users] fifo profile_get_values
Vlad Paiu
vladpaiu at opensips.org
Mon Feb 10 15:16:49 CET 2014
Hello,
Any updates on this ?
Best Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 16.01.2014 18:13, Vlad Paiu wrote:
> Hello Jeff,
>
> 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.
>
> Best Regards,
> Vlad Paiu
> OpenSIPS Developer
> http://www.opensips-solutions.com
> On 15.01.2014 20:47, Jeff Pyle wrote:
>> 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 <vladpaiu at opensips.org
>> <mailto:vladpaiu at opensips.org>> 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 Developer
>> http://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
>>> <goup2010 at gmail.com <mailto:goup2010 at gmail.com>> wrote:
>>>
>>> All worked fine.
>>>
>>>
>>> 2014/1/15 Jeff Pyle <jpyle at fidelityvoice.com
>>> <mailto:jpyle at fidelityvoice.com>>
>>>
>>> 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
>>> <goup2010 at gmail.com <mailto:goup2010 at gmail.com>> 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
>>> Users at lists.opensips.org
>>> <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140210/5ef76931/attachment.htm>
More information about the Users
mailing list