[SR-Users] Pseudo variable to access SIP instance in contact

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


Hello,

On 1/19/13 4:24 PM, Krishna Kurapati wrote:
> Hi,
>
> Is there a way to directly access the SIP instance present in message 
> from the script?
not a dedicated variable now, but you can get along with 'to' or 
'namaddr' and 'param' transformations.

The alternative would be via selects, try:

http://www.kamailio.org/wiki/cookbooks/devel/selects#contacturiparams_s

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