Page 1 of 1

where or how can I modify the "auto"-files ?

PostPosted: Fri Jan 28, 2011 11:22 am
by ronator
Hello everybody,

this time I have a basic vicidial-question. And this time i googled for it before and checked the web-interface. I think I need your help.

It's about files like extensions-vicidial.conf and iax-vicidial.conf, these auto-generated files. I really like this feature, but the last days it really went on my nerves.
I want to modify some [ASTblind]-options and some custom entries, e.g. my 4 phone-servers. I am not happy with ulaw. I want alaw. First, I tried to copy the accounts to iax.conf and it was ok, but after a reload I had some connection problems in the cluster (No Authority found / Call rejected) . When I commented out the account in one file, it worked. So I knew, ok, in iax-vicidial.conf I have no chance to modify anything, because at the next reload (or the next phone added), everything will be lost (or rewritten). And to write it in iax.conf seems to cause some iax-register-problems (right?). I shortly thougt about creating an iax-custom.conf and include that, but this is all just a work-around.

How can I have influence on the settings in the auto-generated conf files ? I found templates for phones and for carriers but they don't match the entries in the conf-files ... I guess, the answer might be quite easy for you, so please apologize this long thread, but I didn't found any information on the internet. Maybe I was blind !

thx, best wishes, r0n

PostPosted: Fri Jan 28, 2011 12:25 pm
by williamconley
Removing them from the sip-vicidial.conf and putting them in sip.conf is not how you "edit" an existing entry.

Admin->Carriers->[choose one]->Account Entry

This can be used to add or edit an entry in sip or iax "-vicidial.conf".

Read the manual :)

PostPosted: Fri Jan 28, 2011 5:23 pm
by okli
If you DO need to change some of the auto-generated entries edit as per your needs:

/usr/share/astguiclient/ADMIN_keepalive_ALL.pl

And always make a backup of the original file :D

PostPosted: Mon Jan 31, 2011 6:52 am
by ronator
williamconley wrote:Admin->Carriers->[choose one]->Account Entry
This can be used to add or edit an entry in sip or iax "-vicidial.conf".
Read the manual :)


Well, those entries are _not_ marked as active and modifying them with a "rebuild conf files" afterwards does not change anything. Furthermore, all those example carriers relay on the test-server-ip (10.10.10.15). Do I have to change it to the correct ip and set it on active ? I'll better take a look into admin_keepalive_ALL.pl as okli suggested.

thank you (also for reminding to regularly re-read the manual ;-)

PostPosted: Mon Jan 31, 2011 7:06 am
by ronator
okli wrote:/usr/share/astguiclient/ADMIN_keepalive_ALL.pl
And always make a backup of the original file :D


Oh, yes, I found 'em ! I'll give it a try in the evening (germany) when the call volume is lower. I am a bit nervous since the tip of william didn't work but regarding the fact that I come from vicidialNOW (1.1), I am used to hack the files when the web-interface did not offer those options (or where my predecessor didn't know about it) but more and more I change my behaviour and try to set up more and more per web.
DIDs and Carrier entries are a good starting point for that :D

P.S.: thx, okli, now I understand what is meant with "Please edit the master file!" ;-)