No subject


Mon Dec 27 18:28:28 CET 2010


for you only with avps.

I will correct that in the docs.

Regards,
Ovidiu Sas

On Thu, Jul 7, 2011 at 7:36 AM, Jayesh Nambiar <jayesh.voip at gmail.com> wrote:
> Hi Ovidiu,
> Ofcourse it can use avp and var. I was just trying to point out a small
> error that I came across. I loaded the param as mentioned in the doc which
> was:
> modparam("b2b_logic", "b2bl_from_param_spec", "$var(b2bl_from)")
> But the above gave me an error saying unable to find parameter
> "b2bl_from_param_spec" in b2b_logic. Then I wrote the modparam as follows:
> modparam("b2b_logic", "b2bl_from_spec_param", "$var(b2bl_from)")
> and this worked without any errors.
> Thanks,
> --- Jayesh
>
>>
>> The name of this specific param is *_spec_param and not *_avp.
>> It means that it will accept both avps and vars.
>> Please re-test this, because last time when I tested it it was working.
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Tue, Jul 5, 2011 at 4:03 AM, Jayesh Nambiar <jayesh.voip at gmail.com>
>> wrote:
>> > Hi All,
>> > Was just going through the progress in b2b modules in the devel version
>> > and
>> > was experimenting with it. I just figured that the documentation for
>> > b2bl_from_param_spec is wrongly documented
>> >
>> > here?http://www.opensips.org/html/docs/modules/devel/b2b_logic.html#id250322.
>> > The correct syntax for specifying the parameter is:
>> > modparam("b2b_logic", "b2bl_from_spec_param", "$avp(b2bl_from)").
>> > I spent good 15 minutes figuring out the problem, might help other users
>> > who
>> > wish to try this out.
>> > --- Jayesh
>> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>



More information about the Users mailing list