|Summary:||ASTERISK-19925: Accountcode field in realtime does not work!|
|Reporter:||Peter Petrov (peterpet)||Labels:|
|Date Opened:||2012-05-30 08:32:18||Date Closed:||2012-06-03 21:30:58|
|Environment:||Ubuntu 12.04 - Server LTS||Attachments:|
if i set accountcode in sip.conf everithing is ok,
after a successful call accountcode field in cdr's is properly inserted
but if i set accountcode in realtime sip peers and after a successful call
field in cdr's is empty.
|Comments:||By: Walter Doekes (wdoekes) 2012-05-31 09:30:28.720-0500|
Thanks for reporting the issue.
Please show us the relevant config and peer table contents and table layout (describe table). And what it says when you 'sip show peer PEERNAME load'
I use accountcodes in CDRs with realtime peers and they work just fine (both in 1.4.x, 1.6.2.x and 10.x). I doubt that 1.8 would be solely affected.
By: Peter Petrov (peterpet) 2012-06-01 01:15:29.172-0500
I resolved the problem - the arrangement of fields in the table was wrong, and now when accountcode is in the correct layout is taken correctly. Example - $sources/contrib/realtime/mysql/sippeers.sql
By: Walter Doekes (wdoekes) 2012-06-01 05:35:14.396-0500
Does that mean we can close the issue?
By: Peter Petrov (peterpet) 2012-06-02 02:17:05.072-0500
Yes! :) Thanks.