Dokumentation auf [[http://www.openser.org/docs/|OpenSER Doku]

Installation - Debian

Basic out of the box

  • insert line into /etc/apt/sources.list
    deb http://www.openser.org/debian sarge main
  • apt-get install openser
  • edit /etc/hosts
    z.B. 192.168.0.3 sip.telefonica.es sip
  • edit /etc/default/openser
    RUN_OPENSER=YES
  • run with /etc/init.d/openser start
    see if error messages are displayed
  • test with x-lite, use 2 clients and try to call each other

add logging

  • edit /etc/syslog.conf
    add line: local7.*
    add local7.none to line: *.*;auth,authpriv.none,local7.none -/var/log/syslog
    add local7.none to line: *.=info;*.=notice;*.=warn;\

mail,news.none,local7.none -/var/log/messages

  • edit /etc/openser/openser.cfg
    add line: log_facility=LOG_LOCAL7

add MySQL

  • apt-get install openser-mysql-module
  • edit openser.cfg
  • run /usr/sbin/openser_mysql.sh create

For Utility openserctl

  • set variable: export SIP_DOMAIN=sip.telefonica.es
  • change /etc/openser/openserctlrc (the config file for the utility) uncomment
    SIP_DOMAIN=sip.telefonica.es
    DBENGINE=MYSQL
    DBHOST=localhost
    DBNAME=openser
    DBRWUSER=openser
    DBROUSER=openserro
    DBROPW=openserro
    DBROOTUSER=„root“

Installation-Anmerkungen

Probleme

Message too big - Error beim Registrieren

1. Hosts Datei mit vollem Domainennamen ausstatten z.B. 192.168.0.3 sip.telefonica.es
2. Parameter in der openser.cfg setzten alias=sip.telefonica.es:5060

Prüfung auf loops mit z.B. ngrep -q 'user_name'

Tools

ngrep, tcpdump, sipsak ( http://sipsak.berlios.de/ ), Monit

openser.cfg

MySQL-Password

you may use „rc“ files in

 /etc/openser/
 /usr/local/etc/openser/
 ~/

names: .opensermysqlrc and .openserctlrc

for .opensermysqlrc you may define:

 DBNAME, DBHOST, DBRWUSER, DEFAULT_PW, DBROUSER, RO_PW

and for .openserctlrc

 SQL_DB, SQL_HOST, SQL_USER, RO_USER, RO_PW
 
software/openser/start.txt · Zuletzt geändert: 2007/01/12 13:53 von tomton
 
Impressum
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki