[SR-Users] Avp_write missing modules ?

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 10 23:48:19 CET 2011



On 1/10/11 11:15 PM, Alex Balashov wrote:
> On 01/10/2011 05:14 PM, Amit Nepal wrote:
>
>> I need to store the value of $ruri into the avp , so can you tell me how
>> would i accomplish that ?
>
> It's much easier in the modern incarnation.
>
>    $avp(s:fwd_blind) = $ru;
even more: 's:' is optional if the avp has string name and no avp-alias 
for that string is defined :-) :

$avp(fwd_blind) = $ru;

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com




More information about the sr-users mailing list