summaryrefslogtreecommitdiff
path: root/src/libgsmd/libgsmd_voicecall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgsmd/libgsmd_voicecall.c')
-rw-r--r--src/libgsmd/libgsmd_voicecall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libgsmd/libgsmd_voicecall.c b/src/libgsmd/libgsmd_voicecall.c
index d78fb3d..214ae0c 100644
--- a/src/libgsmd/libgsmd_voicecall.c
+++ b/src/libgsmd/libgsmd_voicecall.c
@@ -95,3 +95,8 @@ int lgsm_voice_volume_set(struct lgsm_handle *lh, int volume)
/* FIXME: we need to pass along the parameter */
return lgsm_send_simple(lh, GSMD_MSG_VOICECALL, GSMD_VOICECALL_VOL_SET);
}
+
+int lgsm_voice_get_status(struct lgsm_handle *lh)
+{
+ return lgsm_send_simple(lh, GSMD_MSG_VOICECALL, GSMD_VOICECALL_GET_STAT);
+}
personal git repositories of Harald Welte. Your mileage may vary