[OpenSIPS-Devel] trunk/ACC module

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Mon Dec 6 14:12:21 CET 2010


Using example (modparam("acc",
"multi_leg_info","text1=$avp(src);text2=$avp(dst)")) I've got
ERROR:core:pv_parse_avp_name: bad avp name [src]
ERROR:core:pv_parse_spec: pvar "avp" has an invalid name param [src]
ERROR:core:pv_parse_spec: wrong char [)/41] in [$avp(src);text2=$avp(dst)]
at [8 (5)]
ERROR:acc:parse_acc_extra: parse failed in <text1=$avp(src);text2=$avp(dst)>
around position 6
ERROR:acc:parse_acc_extra: error
ERROR:acc:parse_acc_leg: failed to parse extra leg
ERROR:acc:mod_init: failed to parse multileg_info param






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagorskiy at oyster-telecom.ru
www.oyster-telecom.ru



> -----Original Message-----
> From: devel-bounces at lists.opensips.org [mailto:devel-
> bounces at lists.opensips.org] On Behalf Of Vlad Paiu
> Sent: Monday, December 06, 2010 4:03 PM
> To: OpenSIPS devel mailling list
> Subject: Re: [OpenSIPS-Devel] trunk/ACC module
> 
> Hello Anton,
> 
> You are not properly using the multi_leg_info feature. The parameter
> value must be a list of tuples in the form of
> "text1=$avp(src);text2=$avp(dst)", for example.
> Depending on what is the back-end that you are using for accounting,
> the
> first text part has a different
> meaning.
> You can read more about this here :
> http://www.opensips.org/html/docs/modules/devel/acc.html#id292964
> 
> Regards,
> 
> 
> On 12/06/2010 02:54 PM, Anton Zagorskiy wrote:
> > Hello.
> >
> > ACC module from trunk generates errors on a multi_leg_info parameter:
> > ERROR:acc:parse_acc_extra: parse failed in<$avp(src)>  around
> position 9
> > ERROR:acc:parse_acc_extra: error
> > ERROR:acc:parse_acc_leg: failed to parse extra leg
> > ERROR:acc:mod_init: failed to parse multileg_info param
> > 						 ^^^^^^^^^^^^^
> > ACC sayed 'multileg_info' despite I wrote
> > modparam("acc", "multi_leg_info", "$avp(src)")
> >
> >
> >
> >
> > WBR, Anton Zagorskiy
> > VoIP Developer, Oyster Telecom
> > Phone.: +7 812 601-0666
> > Fax: +7 812 601-0593
> > a.zagorskiy at oyster-telecom.ru
> > www.oyster-telecom.ru
> >
> >
> >
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >
> >
> 
> 
> --
> Vlad Paiu
> www.voice-system.ro
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel




More information about the Devel mailing list