This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!KAMAILIO | |
# | |
# Kamailio (OpenSER) SIP Server v4.1 - default configuration script | |
# - web: http://www.kamailio.org | |
# - git: http://sip-router.org | |
# | |
# Direct your questions about this file to: <sr-users@lists.sip-router.org> | |
# | |
# Refer to the Core CookBook at http://www.kamailio.org/wiki/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table cdr ( | |
id serial primary key, | |
local_ip_v4 inet not null, | |
caller_id_name varchar, | |
caller_id_number varchar, | |
destination_number varchar not null, | |
context varchar not null, | |
start_stamp timestamp with time zone not null, | |
answer_stamp timestamp with time zone, | |
end_stamp timestamp with time zone not null, |