Created
February 25, 2015 21:51
-
-
Save amboxer21/f7fc6c936b3624c4c237 to your computer and use it in GitHub Desktop.
Enable cnam on all outbound numbers for dynamic bandwith
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mcl plex0spa | |
mcl> rtrv-route-digits::MTT-CDPN-NATNUM-73278424; | |
#save rd_73278424 | |
cat rd_73278424 | grep -o "MTT-CDPN-NATNUM-[0-9]\{10\}:RTDEST=RTLIST-VOIP" | sed -e 's/MTT-CDPN-NATNUM-[0-9]\{10\}:RTDEST=RTLIST-VOIP/ED-ROUTE-DIGITS::&_CNAM;/g;s/:RTDEST/:::RTDEST/g' | |
The above can be used in place of any number. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment