====== FIFO Interface ====== Valid for OpenSER 1.0.x. ==== utils/fifo_server.php ==== The utils/fifo_server.php program requires the two configuration files listed below: fifo_server.cfg: 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 ==== FIFO Commands ==== ==== DB ==== ==== meminfo ==== Command: :meminfo:REPLY_FILE_NAME Response: 200 ok total:33537872 free:31927176 used:1610696 max used:0 fragments:13 ==== kill ==== ==== ps ==== ==== which ==== ==== arg ==== ==== pwd ==== ==== version ==== Command: :version:REPLY_FILE_NAME Response: 200 ok Server: OpenSer (1.1.0-dev0 -tls (i386/freebsd)) ==== uptime ==== 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] ==== print ==== ==== print_timer_list ==== ==== print_ip_tree ==== ==== pdt_list ==== ==== pdt_delete ==== ==== pdt_add ==== ==== trusted_dump ==== ==== trusted_reload ==== ==== domain_dump ==== ==== domain_reload ==== ==== ul_show_contact ==== Command: :ul_show_contact:REPLY_FILE_NAME location 1234 Response: 200 OK ;q=0.1;expires=2411 ==== ul_add ==== 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' ==== ul_flush ==== ==== ul_dump ==== ==== ul_rm_contact ==== ==== ul_rm ==== ==== ul_stats ==== Command: :ul_stats:REPLY_FILE_NAME Response: 200 ok Domain Registered Expired 'aliases' 0 0 'location' 10 0 ==== t_stats ==== 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 ==== t_reply ==== ==== t_hash ==== ==== t_uac_cancel ==== ==== t_uac_dlg ==== ==== sl_stats ==== 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 ===== See also ===== SER FIFO Interface document [[http://iptel.org/~janakj/fifo.pdf]]