[Users] multi-leg accounting

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Dec 9 17:57:48 CET 2005


Hi Helge,

try

avp_write("i:100","i:111")
avp_write("i:101","i:111")


xxx_leg_avp_id is a parameter name, but not an avp alias...you were 
writing in the wrong avps ;)

regards,
bogdan


Helge Waastad wrote:

>Hi,
>And thanks for the response.
>
>I have the scheme in the current cvs (from today)...
>
>I've tried the following (just for test)
>avp_write("i:100","src_leg_avp_id")
>avp_write("i:101","src_leg_avp_id")
>
>(I'v also tried $ruri and $from in the above, but nothing helps)
>But still n/a
>
>in modparam acc:
>
>src_leg_avp_id is 110
>dst_leg_avp_id is 111
>
>I hope I'm not mistaken completely :-|
>
>br hw
>
>
>fre, 09,.12.2005 kl. 11.50 +0100, skrev Klaus Darilion:
>  
>
>>Do you use the proper acc table schema? There was a bug in the table 
>>definition which was fixed recently.
>>
>>klaus
>>
>>Helge Waastad wrote:
>>    
>>
>>>Hi,
>>>to get multi-leg accounting to work,
>>>is it necessary to avp_write "something" to the
>>>src_leg_avp_id/dst_leg_avp_id avp's?
>>>
>>>Right now I only get "n/a" in those columns.
>>>I've tried to use avp_write without any success.
>>>
>>>br, hw
>>>
>>>
>>>      
>>>





More information about the sr-users mailing list