mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-19 04:17:44 +00:00
feat: lcr
This commit is contained in:
@@ -168,7 +168,7 @@ module.exports = (logger, srf) => {
|
||||
if (matcher.test(toNumber)) {
|
||||
const [entries] = await pp.query(sqlQueryLcrCarrierSetEntryByLcrRouteSid, [r.lcr_route_sid]);
|
||||
// Currently just support first entry;
|
||||
if(entries.length) {
|
||||
if (entries.length) {
|
||||
return entries[0].voip_carrier_sid;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user