drachtio / drachtio-siprec-recording-server

SIPREC recording server based on drachtio and rtpengine
MIT License
81 stars 32 forks source link

Multiple rtpengine servers #12

Closed sashasaturn closed 5 years ago

sashasaturn commented 5 years ago

Hello Dave,

Is it supported to have multiple rtpengine instances?

From the code I assume that currently it's not supported, but maybe you have this feature on your roadmap?

Thanks,

Alxe

davehorton commented 5 years ago

Yes, you could definitely do this, pretty easily. Changes to the code would be relatively minor. If I have time in the next few days I will try to do a pull request for this (but no guarantees)

sashasaturn commented 5 years ago

Thank you very much Dave!

davehorton commented 5 years ago

ok, now you can provide an array of rtpengine servers if you want (it's still valid to provide a single rtpengine config object) and it will round robin calls across them