aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuvst
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2024-01-27 22:53:24 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2024-02-18 16:23:31 +0100
commit2dcf10b1b165cda744ee171d219d68a7d36765b0 (patch)
treea0b174b53e2118913556a710a24ccaf0b1831280 /src/fuvst
parentda9b0a0f8d18a8378517c0cd00c136545dc9b710 (diff)
Add metering information from osmo-cc to B-Netz and C-Netz
Untested!
Diffstat (limited to 'src/fuvst')
-rwxr-xr-xsrc/fuvst/fuvst.c2
-rw-r--r--src/fuvst/sniffer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fuvst/fuvst.c b/src/fuvst/fuvst.c
index bf6c60f..bac0f86 100755
--- a/src/fuvst/fuvst.c
+++ b/src/fuvst/fuvst.c
@@ -1360,7 +1360,7 @@ int call_down_setup(int callref, const char __attribute__((unused)) *caller_id,
return 0;
}
-void call_down_answer(int callref)
+void call_down_answer(int callref, struct timeval __attribute__((unused)) *tv_meter)
{
transaction_t *trans;
uint8_t opcode, *data;
diff --git a/src/fuvst/sniffer.c b/src/fuvst/sniffer.c
index 90e1e07..3f7ee2a 100644
--- a/src/fuvst/sniffer.c
+++ b/src/fuvst/sniffer.c
@@ -263,7 +263,7 @@ void call_down_clock(void) {}
int call_down_setup(int __attribute__((unused)) callref, const char __attribute__((unused)) *caller_id, enum number_type __attribute__((unused)) caller_type, const char __attribute__((unused)) *dialing) { return 0; }
-void call_down_answer(int __attribute__((unused)) callref) { }
+void call_down_answer(int __attribute__((unused)) callref, struct timeval __attribute__((unused)) *tv_meter) { }
void call_down_disconnect(int __attribute__((unused)) callref, int __attribute__((unused)) cause) { }