Example: SER CDRS to HEP - sipcapture/paStash GitHub Wiki
The following snippets will allow paStash to parse and convert CDR rows to full blown HEP Inserts for HOMER 7+
OpenSIPS CDRs
input {
file {
path => "/usr/local/cdr/opensips"
# start_index => 0
}
}
filter {
app_cdr_opensips{}
}
output {
stdout {}
hep {
host => localhost
port => 9066
hep_id => 2022
hep_type => 81
}
}
Kamailio CDRs
input {
file {
path => "/usr/local/cdr/kamailio"
# start_index => 0
}
}
filter {
app_cdr_kamailio{}
}
output {
stdout {}
hep {
host => localhost
port => 9066
hep_id => 2022
hep_type => 81
}
}