[asterisk-users] script to trim sip.conf
satish patel
satish_lx at hotmail.com
Tue May 17 15:21:54 CDT 2011
Hey Guys!
Sorry i am posting scripting question in asterisk forum but i had no choice. also i am not script expert so i though anyone here might help me.
following is my example sip.conf now i want to add accountcode="<callerid_name>" for example accountcode="Katie Wilson" in entire file. we have around 200 extension could someone help me to figure out how to do that with perl script or shell would be fine.
[100](seb-exten)
callerid="Katie Wilson" <100>
mailbox=100 at default
[200](seb-exten)
callerid="Ramona Minero" <200>
mailbox=200 at default
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110517/61bfe9d8/attachment.htm>
More information about the asterisk-users
mailing list