Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
utils:fifo-relay [2006/10/22 09:24] – created 86.121.131.153 | utils:fifo-relay [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== FIFO Interface ====== | ||
+ | Valid for OpenSER 1.0.x. | ||
+ | |||
+ | ==== utils/ | ||
+ | |||
+ | The utils/ | ||
+ | |||
+ | fifo_server.cfg: | ||
+ | |||
+ | < | ||
+ | <?php | ||
+ | $fifo_server_address = " | ||
+ | $fifo_server_port | ||
+ | ?> | ||
+ | </ | ||
+ | |||
+ | 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: | ||
+ | |||
+ | < | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | Response: | ||
+ | |||
+ | < | ||
+ | 200 ok | ||
+ | total: | ||
+ | free: | ||
+ | used: | ||
+ | max used:0 | ||
+ | fragments: | ||
+ | </ | ||
+ | |||
+ | ==== kill ==== | ||
+ | |||
+ | ==== ps ==== | ||
+ | |||
+ | ==== which ==== | ||
+ | |||
+ | ==== arg ==== | ||
+ | |||
+ | ==== pwd ==== | ||
+ | |||
+ | ==== version ==== | ||
+ | |||
+ | Command: | ||
+ | |||
+ | : | ||
+ | |||
+ | Response: | ||
+ | |||
+ | < | ||
+ | 200 ok | ||
+ | Server: OpenSer (1.1.0-dev0 -tls (i386/ | ||
+ | </ | ||
+ | |||
+ | ==== uptime ==== | ||
+ | |||
+ | Command: | ||
+ | |||
+ | < | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | 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: | ||
+ | |||
+ | < | ||
+ | : | ||
+ | location | ||
+ | 1234 | ||
+ | </ | ||
+ | |||
+ | Response: | ||
+ | |||
+ | < | ||
+ | 200 OK | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== ul_add ==== | ||
+ | |||
+ | Command: | ||
+ | |||
+ | < | ||
+ | : | ||
+ | location | ||
+ | 1234@example.com | ||
+ | sip: | ||
+ | 3600 | ||
+ | 1.00 | ||
+ | 0 | ||
+ | 1 | ||
+ | </ | ||
+ | |||
+ | Response: | ||
+ | |||
+ | < | ||
+ | 200 Added to table | ||
+ | (' | ||
+ | </ | ||
+ | |||
+ | ==== ul_flush ==== | ||
+ | |||
+ | ==== ul_dump ==== | ||
+ | |||
+ | ==== ul_rm_contact ==== | ||
+ | |||
+ | ==== ul_rm ==== | ||
+ | |||
+ | ==== ul_stats ==== | ||
+ | |||
+ | Command: | ||
+ | |||
+ | < | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | Response: | ||
+ | |||
+ | < | ||
+ | 200 ok | ||
+ | Domain Registered Expired | ||
+ | ' | ||
+ | ' | ||
+ | </ | ||
+ | |||
+ | ==== t_stats ==== | ||
+ | |||
+ | Comand: | ||
+ | |||
+ | < | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | 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: | ||
+ | |||
+ | < | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | 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:// |