Hi,
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@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@domain.local sip:user@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.
Thanks, Cristian
Hi Bogdan,
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, Cristian
has
sip:user@domain.local