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 Cristian,
does your openser create /tmp/openser_fifo fifo file? does your user has write permissions on that file?
regards, bogdan
Cristian Caprar wrote:
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
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
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
-----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] Sent: Friday, January 12, 2007 11:28 AM To: Cristian Caprar Cc: users@openser.org Subject: Re: [Users] adding aliases does not work
Hi Cristian,
does your openser create /tmp/openser_fifo fifo file? does your user
has
write permissions on that file?
regards, bogdan
Cristian Caprar wrote:
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
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users