How to change Rebuild Conf File Script?

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How to change Rebuild Conf File Script?

Postby wjohnson133 » Tue Mar 27, 2018 12:16 pm

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.
Architecture: x86_64 CPU(s): 2 CPU family: 15 Model: 6
Model name: Intel(R) Pentium(R) 4 CPU 3.20GHz
Linux version 4.1.39-56-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VICIDIAL VERSION: 2.14-831a BUILD: 211012-0934
wjohnson133
 
Posts: 44
Joined: Wed Mar 15, 2017 2:00 pm

Re: How to change Rebuild Conf File Script?

Postby blackbird2306 » Tue Mar 27, 2018 12:32 pm

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!
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: How to change Rebuild Conf File Script?

Postby wjohnson133 » Wed Mar 28, 2018 1:35 pm

Thank you blackbird2306 that was so simple.
Architecture: x86_64 CPU(s): 2 CPU family: 15 Model: 6
Model name: Intel(R) Pentium(R) 4 CPU 3.20GHz
Linux version 4.1.39-56-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VICIDIAL VERSION: 2.14-831a BUILD: 211012-0934
wjohnson133
 
Posts: 44
Joined: Wed Mar 15, 2017 2:00 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 41 guests