<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi list I need to implement multileg radius 
accounting on openser 1.1.x cfg.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have configured radius to handle <FONT 
face="Times New Roman" size=3>Sip-Leg-Source and 
Sip-Leg-Destination.</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The problem is to configure openser.cfg 
propely.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In the beginning i have:</FONT></DIV>
<DIV><FONT face=Arial size=2>modparam("acc", "multi_leg_enabled", 
1)<BR>modparam("acc", "src_leg_avp_id", 110)<BR>modparam("acc", 
"dst_leg_avp_id", 111)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then in the route that handle the invite I load the 
avp by radius:</FONT></DIV>
<DIV><FONT face=Arial size=2>avp_load_radius("callee");<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>But then I miss the point to have two accounting 
start and two accounting stop, one for each leg. </FONT></DIV>
<DIV><FONT face=Arial size=2>Then...if it is not possible to have two accounting 
records, I would liek to know how to store all the information of the two legs 
insede one start and one stop.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>something like this one?</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
avp_write("$from/username", 
"$avp(i:110)");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
avp_pushto("$ru","$avp(s:callee_callfwd)");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
avp_write("$ruri/username", "$avp(i:111)");<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hope some one can drive me to understand better 
this situation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Rosario</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>