[Kamailio-Users] AVP variable as a variable in a function

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 18 12:33:39 CET 2008


On 11/14/08 01:57, Juha Heinanen wrote:
> Alex R.S.M writes:
>
>  > append_branch( $avp(i:10) );   // getting error message
>
> append_branch does not accept pv parameter, whihc is a big problem.
>   
just to conclude this thread: the alternative to use PV to add new 
branches is assignment to $br (as others pointed):

$br = $avp(i:10);

There is another option via avpops module.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list