Page 1 of 1

How to change Rebuild Conf File Script?

PostPosted: Tue Mar 27, 2018 12:16 pm
by wjohnson133
Everytime I have to rebuild my conf files I have to go into sip-vicidial to take out the lines underneath my Carrier:

host=dynamic
context = default
something = something

If I don't delete these lines then my incoming calls don't work and other various issues.

Re: How to change Rebuild Conf File Script?

PostPosted: Tue Mar 27, 2018 12:32 pm
by blackbird2306
How about putting these lines into sip.conf itself? sip-vicidial.conf is included in sip.conf and it won't get changed when rebuilding the conf files.
There is also under Servers --> at the bottom a "Custom Dialplan Entry" field

UPDATE: I didn't read it until end!! You mean you want to change the entries for the phones in sip-vicidial.conf?
These lines will be written by ADMIN_keepalive_ALL process and are populated from a template if defined!
1. Admin --> Templates --> Make a new template (look into the other ones and copy the lines and delete the 2 lines you don't want)
2. Phones --> select the affected phones --> select the new template you made before (without the 2 lines)
3. Rebuild conf files

It's also possible to use the "Conf Override" field in phones entry right under template selection!

Re: How to change Rebuild Conf File Script?

PostPosted: Wed Mar 28, 2018 1:35 pm
by wjohnson133
Thank you blackbird2306 that was so simple.