[OpenSER-Users] Problem getting redirect reason in uac_redirect

kokoska rokoska kokoska.rokoska at post.cz
Fri Jul 18 14:50:49 CEST 2008




Ruchir napsal(a):
> I'm using uac_redirect module to handle redirect and accounting from 
> openser. Redirect works fine so as cdr but I'm not getting how to write 
> redirect reason in cdr. I didn't find any way to find and store redirect 
> reason(call forward, busy, no answer) in CDR. Does anyone know how to do it?
> 
> 


I'm using something like this (shortened):

in config:

modparam("acc",
"multi_leg_info", "src_leg=$avp(i:901);dst_leg=$avp(i:902)")


in routing script:

$avp(s:acc_state) = "cfu";
avp_printf("$avp(i:901)", "$avp(s:caller_uuid)|$avp(s:acc_state)");


Works very well :-)

Hope this helps, best regards,

kokoska.rokoska




More information about the Users mailing list