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

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 28 10:21:05 CET 2013


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.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -




More information about the sr-users mailing list