Valid for OpenSER 1.0.x.
The utils/fifo_server.php program requires the two configuration files listed below:
fifo_server.cfg:
<?php $fifo_server_address = "192.168.1.1"; $fifo_server_port = "12345"; ?>
fifo_server.clients:
# List IP addresses (one per line) of all hosts that are allowed to # send commands to OpenSER FIFO: 192.168.1.2
Command:
:meminfo:REPLY_FILE_NAME
Response:
200 ok total:33537872 free:31927176 used:1610696 max used:0 fragments:13
Command:
:version:REPLY_FILE_NAME
Response:
200 ok Server: OpenSer (1.1.0-dev0 -tls (i386/freebsd))
Command:
:uptime:REPLY_FILE_NAME
Response:
200 ok Now: Wed Nov 2 19:09:08 2005 Up Since: Wed Nov 2 15:03:54 2005 Up time: 14714 [sec]
Command:
:ul_show_contact:REPLY_FILE_NAME location 1234
Response:
200 OK ;q=0.1;expires=2411
Command:
:ul_add:REPLY_FILE_NAME location 1234@example.com sip:18005551212@example.com 3600 1.00 0 1
Response:
200 Added to table ('1234','sip:18005551212@example.com') to 'location'
Command:
:ul_stats:REPLY_FILE_NAME
Response:
200 ok Domain Registered Expired 'aliases' 0 0 'location' 10 0
Comand:
:t_stats:REPLY_FILE_NAME
Response:
200 ok Current: 2 (2 waiting) Total: 7 (0 local) Replied localy: 13 Completion status 6xx: 0, 5xx: 0, 4xx: 0, 3xx: 0,2xx: 7
Command:
:sl_stats:REPLY_FILE_NAME
Response:
200 ok 200: 823 202: 0 2xx: 0 300: 0 301: 0 302: 0 3xx: 0 400: 0 401: 154 403: 0 404: 0 407: 0 408: 0 483: 0 4xx: 0 500: 0 5xx: 0 6xx: 0 xxx: 493 failures: 0
SER FIFO Interface document http://iptel.org/~janakj/fifo.pdf