[Kamailio-Users] Cancel messes with ACC

Mark Kent markmac at noc.mainstreet.net
Sat Jun 20 02:43:53 CEST 2009


I've been using openser 1.1.0 in a small pstn gateway config
for a few years.   I recently upgraded to kamailio 1.5.1.
I started completely from scratch, with no DB, no users, 
and started with the example kamailio.cfg file.  

I made a few changes mostly at the bottom of the main request routing
logic to ship things off to my pstn gateway, and re-entered things
into the db.  Works fine.

Then I tried to enable accounting, with mysql, and this works
when calls complete, but on a CANCEL I get this:

kamailio[87208]: ACC: call missed: timestamp=1245456629;method=INVITE;from_tag=6343AD47-243F70A2;to_tag=2486;call_id=4529cab6-c7e08a51-dd349b2c at 192.0.2.214;code=487;reason=Request Terminated;src_user=foouser;src_domain=sip.example.net;dst_ouser=18005551212;dst_user=18005551212;dst_domain=172.16.16.16
kamailio[87208]: ERROR:db_mysql:db_mysql_submit_query: driver error on query: Unknown column 'dst_user' in 'field list'
kamailio[87208]: ERROR:core:db_do_insert: error while submitting query
kamailio[87208]: ERROR:acc:acc_db_request: failed to insert into database

My CANCEL processing is still the generic processing in the
example kamailio.cfg file.

Any hints?

Thanks,
-mark





More information about the sr-users mailing list