I've recently installed a vanilla OpenSER v1.3.0 (a new install) and I'm
trying to set up permanent user locations using openserctl as I have some
devices that won't register on their own.
I am currently running without a database.
When trying to add a user using the command line "openserctl ul add 100
sip:192.168.1.40" I get the error:
ERROR: 400; check if you use aliases in OpenSER.
Can someone please give me some pointers on what to try?
Thanks
Ashley
I've modified the openserctlrc as follows:
# $Id: openserctlrc,v 1.2 2006/07/05 19:37:20 miconda Exp $
#
# openser control tool resource file
#
# here you can set variables used in the openserctl
## your SIP domain
SIP_DOMAIN=openser.development.newvoicemedia.com
## database type: MYSQL or PGSQL, by defaulte none is loaded
# DBENGINE=MYSQL
## database host
# DBHOST=localhost
## database name
# DBNAME=openser
## database read/write user
# DBRWUSER=openser
## database read only user
# DBROUSER=openserro
## password for database read only user
# DBROPW=openserro
## database super user
# DBROOTUSER="root"
## type of aliases used: DB - database aliases; UL - usrloc aliases
## - default: none
ALIASES_TYPE=""UL
## control engine: FIFO or UNIXSOCK
## - default FIFO
# CTLENGINE="FIFO"
## path to FIFO file
# OSER_FIFO="FIFO"
## check ACL names; default on (1); off (0)
# VERIFY_ACL=1
## ACL names - if VERIFY_ACL is set, only the ACL names from below list
## are accepted
# ACL_GROUPS="local ld int voicemail free-pstn"
## verbose - debug purposes - default '0'
VERBOSE=1
Free Phone: 0800 280 2888 Tel: +44 (0)1256 892020 Fax: +44 (0)1256 892200
Registered Office: NewVoiceMedia Ltd, Laverstoke Grange, Laverstoke,
Whitchurch, Hants, RG28 7PF
NewVoiceMedia Registered in England No: 3602868