On Thursday 02 July 2015 09:12:41 Slava Bendersky wrote:
Is dispatcher module can do call routing based on
domain ?
This only inbound traffic.
So if call come from @domain1.tld -----> asterisk box 1 @domain2.tld ----->
asterisk box 2.
Sure, just make the dispatcher target dynamic with an avp:
if($fd=="domain1.tld")
{
$avp(dispatcher_id)=1;
}
...
ds_select_dst($avp(dispatcher_id),4);