aboutsummaryrefslogtreecommitdiffstats
path: root/src/mgcp_ss7.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-02-26 16:45:16 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-02-26 16:48:28 +0100
commit969b08a526c24395f103eb0d99012c62c99965c0 (patch)
treedb56180c91b3945a90c04774a75440f8d39c9d55 /src/mgcp_ss7.c
parentdcdaadbb8d8c908ea443d745796ce4c1271fd184 (diff)
mgcp: After the tones are played inform the DTMF state
dtmf_state_played will re-set the playing state. Currently the first tone was played and then no more tones were scheduled to be played.
Diffstat (limited to 'src/mgcp_ss7.c')
-rw-r--r--src/mgcp_ss7.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mgcp_ss7.c b/src/mgcp_ss7.c
index b254988..b1089f1 100644
--- a/src/mgcp_ss7.c
+++ b/src/mgcp_ss7.c
@@ -1,7 +1,7 @@
/* Use the UniPorte library to allocate endpoints */
/*
- * (C) 2010-2012 by Holger Hans Peter Freyther <zecke@selfish.org>
- * (C) 2010-2012 by On-Waves
+ * (C) 2010-2013 by Holger Hans Peter Freyther <zecke@selfish.org>
+ * (C) 2010-2013 by On-Waves
* All Rights Reserved
*
* This program is free software: you can redistribute it and/or modify
@@ -254,6 +254,7 @@ static int uniporte_events(unsigned long port, EventTypeT event,
fprintf(stderr, "Unexpected event on port %d\n", port);
return 0;
}
+ dtmf_state_played(&endp->dtmf_state);
play_pending_tones(endp);
}
}