On Mon, Feb 27, 2017 at 07:11:28PM +0100, przeqpiciel wrote:
> Thanm you for respond. I would like to have a farm of asterisks for one
> domain and few single asterisk for dedicated domains. So probably i have to
>  check destination domain and after that if i found this domain in my DB
> then i could use dispatcher module. Am i right?

Yes, the dispatcher module would apply as a solution, it essentially
sets $du. Just set an avp based on domain and use that avp as a
selector:

if(!ds_select_dst($avp(dispatcherid), $avp(dispatcheralgo)))
{
        send_reply("404", "No dispatcher available");
        exit;
}




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to