This shows you the differences between two versions of the page.
| — | siremis:install20:mi-commands [2010/11/01 11:03] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Siremis v2.0 - Commands Panel ====== | ||
| + | [[http:// | ||
| + | |||
| + | ===== Config File ===== | ||
| + | |||
| + | In your Kamailio configuration file you have to load // | ||
| + | < | ||
| + | |||
| + | | ||
| + | </ | ||
| + | |||
| + | and configure it to listen on an UDP port: | ||
| + | < | ||
| + | | ||
| + | </ | ||
| + | <note tip>If you set the UDP socket to a public address, make sure you set properly the firewall to allow only communication from and to SIREMIS server.</ | ||
| + | |||
| + | At this time you are set with Kamailio configuration file, just restart it. | ||
| + | |||
| + | ==== Siremis Config ==== | ||
| + | |||
| + | The configuration related to MI for SIREMIS | ||
| + | < | ||
| + | siremis/ | ||
| + | </ | ||
| + | |||
| + | The content can look like: | ||
| + | <code xml> | ||
| + | <?xml version=" | ||
| + | < | ||
| + | < | ||
| + | <Local name=" | ||
| + | < | ||
| + | < | ||
| + | <cmd name=" | ||
| + | <cmd name=" | ||
| + | <cmd name=" | ||
| + | <cmd name=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | There are two UDP sockets you have to set: | ||
| + | |||
| + | * local – is the socket SIREMIS will create and use for communication with Kamailio | ||
| + | * remote – is the socket Kamailio is listening on for MI commands | ||
| + | |||
| + | In case you want to have a drop-down menu with MI commands, fill in new ‘cmd’ tags in ‘MICommands’ node. | ||
| + | |||
| + | {{tag> | ||