[Serdev] Path support
Greger V. Teigre
greger at teigre.com
Wed Dec 6 12:35:40 UTC 2006
Bogdan and Michal,
Thanks for a good thread, I'm following with interest!
Just a quick comment to
http://www.iptel.org/attribute_value_pairs_and_selects
I have a documentation contribution in the works that introduces avpairs
and selects in "layman terms" that probably should replace the above
snippet (which is not meant as a reference, but was a starting point for
documenting avps and select for Ottendorf)
g-)
Bogdan Pintea wrote:
> Michal Matyska wrote:
>
>> no need for specific support, textops selects are enough:
>> @hf_value.path
>>
>
> Indeed this works. I also overlooked the textops' selects.
>
>
>
>> or if you want be more strict
>> @hf_value.path[*].uri
>>
>>
> `@hf_value.path.uri' works as well (collecting all uri's in 'Path' HFs),
> but not the version with star. Which is strange, considering that this
> `*' example also appears in textops doc, but (again) the 'select_param'
> non-terminal definition in cfg.y seems to clearly disagree with this
> syntax. Are you using the notation as a shortcut, or is it there really
> a discrepancy?
>
> But speaking of select syntax and Path extension, the first Path value
> might have to be used by a registrar proxy for routing upstream;
> optimally, it might need special treatment, like detaching it from the
> group (to avoid storing it twice). So, there might be the need of only
> select addressing a subset (just like [1:] in python's [a:b] notation).
>
>
>> The contact select supports at the moment just the first contact, so the
>> construction like @contact[1] is not valid. I tried to dig through the
>> files, logs and docs (grep -r contact\[1\] :-) and nothing was found.
>> What "documentation" do you reffer to, so it could be updated?
>>
>>
>
> http://www.iptel.org/attribute_value_pairs_and_selects
>
>
> Cheers,
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.iptel.org/pipermail/serdev/attachments/20061206/e512bb8d/attachment.html
More information about the Serdev
mailing list