greenswitch
greenswitch copied to clipboard
minor fixes
- I've changed socket file flags to rb (read, bytes). Without 'bytes' script can't count length properly if we have cyrillic symbols. For example len("раз") with 'r' flags return 3, with 'rb' 6.
- Some events can contain body with additional Content-Length header. DETECTED_SPEECH for example.
- new method for inbound mode: execute.
Hey thanks for contributing. Do you mind creating a test case for it?
no problem. i'll make some test soon.