diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-02-26 16:45:16 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-02-26 16:48:28 +0100 |
commit | 969b08a526c24395f103eb0d99012c62c99965c0 (patch) | |
tree | db56180c91b3945a90c04774a75440f8d39c9d55 | |
parent | dcdaadbb8d8c908ea443d745796ce4c1271fd184 (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.
-rw-r--r-- | src/mgcp_ss7.c | 5 |
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); } } |