I have tidied up the script and added some help text, feel free to
download and maybe improve.
http://www.masonc.com/phoneconf
Usage: Usage: ./phoneconf [config|help] phonemacaddress extention
username context
./phoneconf help will print syntax info
./phoneconf 0004f201aa11 500 MyPhone defaulot
will configure the phone with that mac with one extension (500), and
add the phone to sip.conf.
Edit at least the first two variables before using and change the
sip.conf stuff to suit, this works well for me on internal and remote
phones.
Improvements greatly appreciated, I'm a crappy programmer.
** Use at your own risk **
--
Chris Mason
NetConcepts
(264) 497-5670 Fax: (264) 497-8463
Int: (305) 704-7249 Fax: (815)301-9759
Cell: 264-235-5670
Yahoo IM: [EMAIL PROTECTED]
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users