Skip to content

Instantly share code, notes, and snippets.

@amboxer21
Created February 25, 2015 21:51
Show Gist options
  • Save amboxer21/f7fc6c936b3624c4c237 to your computer and use it in GitHub Desktop.
Save amboxer21/f7fc6c936b3624c4c237 to your computer and use it in GitHub Desktop.
Enable cnam on all outbound numbers for dynamic bandwith
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