home-assistant-libs / voip-utils

Apache License 2.0
1 stars 5 forks source link

Read ruri from request and change URI parsing to regex #4

Closed BaTnz closed 1 year ago

BaTnz commented 1 year ago

This makes it so that URIs should be parsed properly. Also changed it to read from the request URI rather than the to header as the request URI is more reliable and if there is a URI in the to header it should match the request URI anyway.

Still plenty of other stuff to fix but this will make it more likely to work with alternate UAs to the Grandstream HT801/2 (ignoring any codec issues).

With this change it now works with MizuDroid on Android.

synesthesiam commented 1 year ago

Thanks!