You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see a problem in your code... Is the caller perhaps expiring the inter-digit timer (default: 3s)?
Are you, perhaps, encountering an error and not seeing it?
I want to receive a list of digits from the client, but the Play method returns immediately when the client clicks on the first digit.
This is my code:
func chooseLesson(ctx context.Context, h *ari.ChannelHandle, user *User) { res, _ := play.Play(ctx, h, play.URI(msgPath(msg)), play.MatchLenOrTerminator(10, "#")).Result() lessonId := res.DTMF // <<< Only first digit here }
where is my mistake?
The text was updated successfully, but these errors were encountered: