Bug#605211: linphonec regularly removes auth_info section from config file

Bruce bruce at blackpage.eu
Sun Nov 28 02:41:09 UTC 2010


Package: linphone-nox
Version: 3.3.2-1

I am using program linphonec to automatically create sip calls. I have two  
user accounts - operator and autocall. operator is a desktop user,  
autocall is a user under the linphonec runs (calls are initialized by  
operator over some server, the server connects to the operator's computer  
over ssh as autocall user, there starts linphonec and operator has a  
call). Under /home/autocall/.linphonerc I have following section:

...
[auth_info_0]
username=operator1
userid=operator1
passwd=*****
realm="asterisk"

The problem is that after some time (it can be some number of calls or  
time based, I don't have the pattern yet) this auth section is  
automatically deleted from the config file and therefore the automatic  
dialing stops working, I have to manually overwrite the config file again  
and again. If I set up only read flag for the user on the config file and  
delete all other, it is overwritten to rw flags for user and auth info can  
be deleted again. Linphonec inserts into the config file [call_log_N]  
sections, where N is a number. If next call is created, current linphonec  
process is destroyed by calling `kill PID` command and first then a new  
linphonec command is called.

The linphonec should not change content of the config file or its  
permissions. Call logs should be written somewhere else.

Using Debian Squeeze, kernel 2.6.32-5-686





More information about the Pkg-voip-maintainers mailing list