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:47:48 +0100 |
commit | 46c79994e6879ee1bf11f2a3f6060f61261af2c4 (patch) | |
tree | db56180c91b3945a90c04774a75440f8d39c9d55 /src | |
parent | fb7ae15abea57d2fb5fb0da1748c60899fca7d49 (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')
-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); } } |