SIP_Thingy/README.md
Wonko the Sane d84aa07def Minor tweaks
2021-07-11 00:05:13 +01:00

35 lines
1.8 KiB
Markdown

The new and improved python3 version is here!
Because as we all know, python2 is the work of the devil, a major contributor
to global warming and is probably responsible for the death of Jesus.
Installing.
Find a nice place to put the file 'sipproxy', preferrably in a directory of
its own. cd to that directory in a terminal/console/xterm and invoke the
program by typing ./sipproxy (see Note below.)
It is purposely verbose, and will display a running commentary on what is
happening. During this first run, the config file will be created as
conf/config.conf and the phone book will be created as conf/addressbook.conf;
(Both of these files require editing, and a great deal of effort has been put
into using the right number words to enable the user to understand what is
required, without competing with 'War & Peace'). sipproxy will then exit.
After the configuration file, 'config.conf' has been modified to your needs
and your VOIP telephone has been similarly setup with the correct settings,
you are then ready to run sipproxy for real.
Note:
Microsoft Windows users will need to affix a '.py' file extension on to
'sipproxy', because Windows uses the file extension to determine the action
required to use the file. Linux does not require a file extension, relying
instead on file execute permissions and the shebang line, (#!/usr/bin/python
or #!/usr/bin/env python or #!/usr/bin/python3 or #!/usr/bin/env python3).
BSD is pretty similar but requires '#!/usr/bin/env python', and macOS requires
'#!/usr/bin/python'. Basicly, you need to edit the first line in sipproxy to
match your OS, because there is no 'one_size_fits_all' setting.
You can however, launch sipproxy as an argument to python, 'python sipproxy'
or 'python ./siproxy', or 'python /home/me/sipthing/sipproxy', etc..