Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Custom rules for load balancing

2012-08-03
2013-05-09
  • ardas.dp.ua
    ardas.dp.ua
    2012-08-03

    Hi all!

    I'd like use OpenSIPS for load-balancing Freeswitch nodes. I need to have possibility to select node based on caller's number.
    Let's assume, that I have all necessary info in DB. I need my script/app to be called somehow to provide OpenSIPS with info which node call must be routed to.
    Is it possible to do in OpenSIPS?

    Thanks.

     
  • Hi , you can call your external app by using the "exec" module -> but ideally you should try a DB interaction, rather than exec

    Regards,
    Bogdan