[sr-dev] cfg compat mode
Daniel-Constantin Mierla
miconda at gmail.com
Mon Apr 19 21:43:50 CEST 2010
On 4/19/10 10:05 AM, Andrei Pelinescu-Onciul wrote:
> On Apr 17, 2010 at 14:11, Daniel-Constantin Mierla<miconda at gmail.com> wrote:
>
>> Hello,
>>
>> following the irc devel meeting discussions, I removed most of cfg
>> compat stuff, the only remaining one is avp name parameters for TM.
>> - for K mode expect: '$avp(name)'
>> - for S mode expects: 'name'
>>
>> The tracker item #2 is opened by Jan for it:
>> http://sip-router.org/tracker/index.php?do=details&task_id=2
>>
>> Now, shall I make it default the format $avp(..)? or keep both modes as:
>> - if starts with pv marker '$', then parse as PV
>>
> and if not found try avp (the same as for everything else).
>
>
>> - otherwise parse as avp name string
>>
> Maybe we should add also a warning that this is obsolete and t_set_fr()
> should be used instead.
>
added the warning and for now changed cfg compat dependecy of using
either avp pv spec or avp name format with auto-detection based on pv
marker.
Cheers,
Daniel
--
Daniel-Constantin Mierla * http://www.asipto.com/ *
http://twitter.com/miconda *
http://www.linkedin.com/in/danielconstantinmierla
More information about the sr-dev
mailing list