Hi David, 
SEMS's sbc module (aka B2BUA) works quite well in practice, not just in theory :)

and yes, you can just pass next hop as a custom header

from mod sbc doc:
next_hop=$H(P-NextHop)


On Sun, Jul 4, 2021 at 11:41 PM David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,

I know SEMS can provide conference, voicemail, and other services.

In theory it’s also a B2BUA. Could I use a python script to provide a simple routing service? I.e.: receive an invite and send it somewhere else based on some routing logic?

Thanks all

David
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Arsen Semenov