How can I make in game voice communication?

How can I switch between PushToTalk and Non-PushToTalk in Blueprints?
Basically re-write the .ini file every time I change a bool?