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

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

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

Postby ronator » Fri Jan 28, 2011 11:22 am

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
ronator
 
Posts: 128
Joined: Tue Oct 27, 2009 8:35 am
Location: Berlin

Postby williamconley » Fri Jan 28, 2011 12:25 pm

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 :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby okli » Fri Jan 28, 2011 5:23 pm

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
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby ronator » Mon Jan 31, 2011 6:52 am

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 ;-)
ronator
 
Posts: 128
Joined: Tue Oct 27, 2009 8:35 am
Location: Berlin

Postby ronator » Mon Jan 31, 2011 7:06 am

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!" ;-)
ronator
 
Posts: 128
Joined: Tue Oct 27, 2009 8:35 am
Location: Berlin


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 101 guests