[SR-Users] Accounting based on location/contact
Juha Heinanen
jh at tutpro.com
Thu May 22 14:06:06 CEST 2014
John Murray writes:
> Does this also work for forked calls?
> So if I add an RURI parameter to the contact of each device I can get the
> one that answered the call?
accounting record is created when sip proxy gets final reply to invite.
so if you define, for example,
modparam("acc", "db_extra", "translated_ruri=$avp(acc_translated_ruri))
and set $avp(acc_translated_ruri) in branch route, then $ru of winning
branch should show up in your accounting record.
give it a try to check if this theory works.
-- juha
More information about the sr-users
mailing list