Hello. I install OpenSER and try to use howto from voip-info.org/wiki/view/Realtime … th+OpenSER but when I try to start I see there is error on the lines. Can somebody show me good configuration for SIP Proxy + Asterisk / SIP Proxy + VoiceMail + Asterisk for OpenSer1.2 ? All that have to works on the same machine. Please for help. Thank’s. Bye
Here is my config file without route script- just only settings. And I can add new user into mysql database usign openserctl but still everybody can login into SIP server and I don’t know why.
$Id: openser.cfg 2826 2007-09-27 09:07:00Z henningw $
simple quick-start config script
Please refer to the Core CookBook at openser.org/dokuwiki/doku.php
for a explanation of possible statements, functions and parameters.
----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
children=4
#port=5060
listen=udp:213.186.61.105:5060
alias:5060=gadatka.pl
Uncomment these lines to enter debugging mode
#fork=no
#log_stderror=yes
Uncomment this to prevent the blacklisting of temporary not available destinations
#disable_dns_blacklist=yes
# Uncomment this to prevent the IPv6 lookup after v4 dns lookup failures
#dns_try_ipv6=no
uncomment the following lines for TLS support
#disable_tls = 0
#listen = tls:your_IP:5061
#tls_verify_server = 1
#tls_verify_client = 1
#tls_require_client_certificate = 0
#tls_method = TLSv1
#tls_certificate = “/usr/local/etc/openser/tls/user/user-cert.pem”
#tls_private_key = “/usr/local/etc/openser/tls/user/user-privkey.pem”
#tls_ca_list = “/usr/local/etc/openser/tls/user/user-calist.pem”
------------------ module loading ----------------------------------
#set module path
mpath="/usr/local/lib/openser/modules/"
Uncomment this if you want to use SQL database
loadmodule "mysql.so"
loadmodule "xlog.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "avpops.so"
loadmodule "mi_fifo.so"
loadmodule "group.so"
loadmodule “uri.so”
Uncomment this if you want digest authentication
mysql.so must be loaded !
loadmodule "auth.so"
loadmodule “auth_db.so”
----------------- setting module-specific parameters ---------------
– mi_fifo params –
modparam(“mi_fifo”, “fifo_name”, “/tmp/openser_fifo”)
– usrloc params –
#modparam(“usrloc”, “db_mode”, 0)
Uncomment this if you want to use SQL database
for persistent storage and comment the previous line
modparam(“usrloc”, “db_mode”, 2)
– auth params –
Uncomment if you are using auth module
modparam(“auth_db”, “calculate_ha1”, yes)
If you set “calculate_ha1” parameter to yes (which true in this config),
uncomment also the following parameter)
modparam(“auth_db”, “password_column”, “password”)
– rr params –
add value to ;lr param to make some broken UAs happy
modparam(“rr”, “enable_full_lr”, 1)
modparam(“usrloc|auth_db|avpops|group”,
“db_url”, “mysql://openser:openserrw@localhost/openser”)
modparam(“avpops”, “avp_table”, “usr_preferences”)
May somebody give me good example just only for redirecting incoming calls to Asterisk. Please for help. Thank’s. Bye