[Users] adding aliases does not work
cristian.caprar at iquestint.com
Fri Jan 12 11:37:28 CET 2007
If I start openser, the file /tmp/openser_fifo is created. I am running
openser under root, so there is no problem with permissions.
But I just realized that openser must be running, otherwise some
commands in openserctl will fail, and alias add is one of them :( Maybe
it would be a good idea to document this somewhere (I can help on this).
I started openser and of course the command worked as expected.
Thanks for the help,
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
> Sent: Friday, January 12, 2007 11:28 AM
> To: Cristian Caprar
> Cc: users at openser.org
> Subject: Re: [Users] adding aliases does not work
> Hi Cristian,
> does your openser create /tmp/openser_fifo fifo file? does your user
> write permissions on that file?
> Cristian Caprar wrote:
> >Adding aliases with openserctl does not seem to be working anymore in
> >the latest CVS snapshot. I run the command:
> >/usr/local/sbin/openserctl alias add 00162123456
sip:user at domain.local
> >And the output is:
> >database engine 'MYSQL' loaded
> >Control engine 'FIFO' loaded
> >is_user: user counter=0
> >check_db_alias: alias counter=0
> >entering fifo_cmd ul_add aliases 00162123456 at domain.local
> >sip:user at domain.local 0 1.00 0 0 4294967295
> >ERROR: Error opening openser's FIFO /tmp/openser_fifo
> >ERROR: Make sure you have line fifo=/tmp/openser_fifo in your config
> >The same command used to work with a snapshot I got around 20 dec.
> >OpenSER starts correctly.
> >Users mailing list
> >Users at openser.org
More information about the sr-users