Re: [SR-Users] Accounting based on location/contact

2014-05-22 Thread Juha Heinanen
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"

Re: [SR-Users] Accounting based on location/contact

2014-05-22 Thread John Murray
Thanks Juha, 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? Thanks John On 22 May 2014 12:48, Juha Heinanen wrote: > John Murray writes: > > > I can modify the contact string from the device to add a

[SR-Users] Accounting based on location/contact

2014-05-22 Thread Juha Heinanen
John Murray writes: > I can modify the contact string from the device to add a parameter for > example but I can't see how to add that into the accounting records using > tm and acc modules. acc module has extra param that you can use to add whatever to your accounting record, e.g. device info.

[SR-Users] Accounting based on location/contact

2014-05-22 Thread John Murray
Hello, I have subscribers that have 2 devices in the location table. These can make and receive call correctly and I can account for the calls. However I need to account which device has made or received the call as there are charges for one device type but not the other. I can modify the contac