<?php

 namespace Informunity\Contexts; class MarkOutboundRoute { public static function make(&$ext) { goto ibc4h; ibc4h: $routes = \FreePBX::Core()->getAllRoutes(); goto PWROw; PWROw: foreach ($routes as $route) { goto NFIN_; HpRVD: IvrGO: goto t8rzm; C0Ha3: $comment = $route["\156\x61\x6d\145"]; goto U7Lny; FDZum: foreach ($patterns as $pattern) { goto xntvR; Q7V1b: if (isset($add_extra_pri1[$fpattern["\x62\141\x73\145\137\x70\x61\164\164\145\x72\156"]])) { goto vwRIw; } goto fi6OO; nQxlk: HxQyQ: goto Q7V1b; Gi1ca: $exten = $fpattern["\x64\x69\x61\154\x5f\x70\x61\164\164\x65\162\156"]; goto cu4Ht; xntvR: $fpattern = core_routing_formatpattern($pattern); goto Gi1ca; l2cm8: $ext->splice($context, $exten, 1, new \ext_noop("\124\150\x69\163\40\151\x73\72\x20\x22" . $comment . "\x22\x20\162\x6f\x75\x74\145\56\40\101\x6e\x64\40\x70\x61\x74\x74\145\162\x6e\x20\x3a" . $exten)); goto dCIhq; dCIhq: $add_extra_pri1[$fpattern["\142\141\163\145\137\x70\141\164\x74\145\x72\156"]] = true; goto nQxlk; cu4Ht: if (!($fpattern["\x62\141\x73\x65\x5f\160\141\164\164\x65\162\x6e"] != $exten)) { goto HxQyQ; } goto l2cm8; vVADy: vwRIw: goto mAonJ; T3DbE: $add_extra_pri1[$fpattern["\x62\x61\x73\145\x5f\160\x61\x74\164\145\162\x6e"]] = true; goto vVADy; fi6OO: $ext->splice($context, $fpattern["\x62\141\x73\x65\137\x70\141\x74\x74\x65\x72\x6e"], 1, new \ext_noop("\x54\150\x69\x73\x20\x69\x73\x3a\40\42" . $comment . "\42\x20\x72\157\165\x74\x65\x2e\x20\x41\156\x64\x20\160\141\164\x74\x65\162\156\x20\x3a" . $fpattern["\x62\x61\x73\x65\x5f\x70\141\164\x74\145\x72\156"])); goto T3DbE; mAonJ: ZBIQ8: goto PKP6X; PKP6X: } goto HpRVD; U7Lny: $patterns = core_routing_getroutepatternsbyid($route["\162\157\165\164\x65\x5f\151\x64"]); goto FDZum; t8rzm: tPBMf: goto SL6af; Ydgtg: $context = "\157\x75\x74\162\164\x2d" . $route["\x72\157\x75\164\x65\x5f\151\x64"]; goto C0Ha3; NFIN_: $add_extra_pri1 = array(); goto Ydgtg; SL6af: } goto ZHR1s; ZHR1s: AmzTj: goto L8gfM; L8gfM: } }
