Weirdscience06

New number script for Asterisk

Aug 25th, 2016
9,195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. rm extensions.conf
  4. sed "s/NEWNUMBER/$1/" < ext-template.conf > extensions.conf
  5. asterisk -rx "core restart now"
Advertisement
Add Comment
Please, Sign In to add comment