[SR-Users] Pseudo variable to get instance in the contact....

Olle E. Johansson oej at edvina.net
Mon Jan 28 10:39:00 CET 2013


28 jan 2013 kl. 10:21 skrev Daniel-Constantin Mierla <miconda at gmail.com>:

> Hello,
> 
> On 1/21/13 1:35 PM, Krishna Kurapati wrote:
>> Hi,
>> 
>> I added in my local branch "$ct.inst" pseudo variable to retrieve instance. Since instance could be an important attribute to make routing decisions, having quick access to it in the message may be useful.
>> 
>> Anyone else need this functionality?
> I would go for a class of PVs, so attributes can be accessed as $contact(attr) - for example $contact(inst), $contact(uri) ... it would be more standard and easier to track and to extend.

Would that be faster than using the current transformation to pick out header parameters?

/O


More information about the sr-users mailing list