danbarua / NEventSocket

A reactive FreeSwitch eventsocket library for Modern .Net
Mozilla Public License 2.0
74 stars 37 forks source link

Make PlayGetDigitsOptions.digitsRegex public #38

Closed m-jepson closed 8 years ago

m-jepson commented 8 years ago

I would like to set a regex for the accepted dtmf input, so I can set a certain logic, for instance where the code has to begin with either a 0 or a 1 and then some numbers and then ends with a 9 or a 0. I have now used reflection to set the private field digitsRegex, which works as expected, but it would be nicer if the field was just public to begin with.

danbarua commented 8 years ago

Thanks for the use case, I hadn't considered that. This will be in the next pre-release build on MyGet.

danbarua commented 8 years ago

MyGet doesn't seem to be updating the package feed correctly - I'll look into this - might as well push v2 to NuGet

danbarua commented 8 years ago

There was a bug in MyGet's logic for pre-release packages, they've added the latest build to the feed while they work on the bug.