[OpenSIPS-Users] routing calls to several asterisks

vasilevalex alexei.vasilyev at gmail.com
Thu Aug 30 03:15:25 EDT 2018

In the same situation I used dialplan and dynamic routing modules like this:

# Get ID of destination Asterisk server according to CustomerID
dp_translate("1", "$var(cust_id)/$var(dst_srv)");
if ($var(dst_srv)==NULL) {
# Set route for SIP according ID of Asterisk server from Dynamic routing
gateways table

Both modules load information from DB only during start time or via MI
command. So all these requests are made from memory. I think this is more

Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html

More information about the Users mailing list