On 5/6/10 10:22 PM, Jon Bonilla (Manwe) wrote:
El Thu, 06 May 2010 22:13:32 +0200
Daniel-Constantin Mierla<miconda(a)gmail.com> escribió:
do you have only one value for that avp or many?
Many.
then avp_copy does it in one line. With script operations:
while($avp(s:block_out_list)) {
$avp(s:caller_block_out_list) = $avp(s:block_out_list);
$avp(s:block_out_list) = $null;
}
is same as:
avp_copy("$avp(s:block_out_list)",
"$avp(s:caller_block_out_list)/gd");
Cheers,
Daniel
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
*
http://www.asipto.com/