小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

opensips 控制臺相關(guān)信息

 shangat 2010-03-21

=================================================================

 

 

usage: opensipsdbctl create <db name or db_path, optional> .....(creates a new database)     新建一個(gè)數(shù)據(jù)庫

       opensipsdbctl drop <db name or db_path, optional> .......(!entirely deletes tables!)  完全刪除一個(gè)數(shù)據(jù)庫

       opensipsdbctl reinit <db name or db_path, optional> .....(!entirely deletes and than re-creates tables!) 刪除后再新建

       opensipsdbctl backup <file> .............................(dumps current database to file) 當(dāng)前數(shù)據(jù)庫的轉(zhuǎn)儲文件

       opensipsdbctl restore <file> ............................(restores tables from a file)  從文件中恢復(fù)表

       opensipsdbctl copy <new_db> .............................(creates a new db from an existing one) 模板新建一個(gè)數(shù)據(jù)庫

       opensipsdbctl migrate <old_db> <new_db> ................. (migrates DB from 1.2 to 1.3, not implemented yet!)   ?

       opensipsdbctl presence ...................................(adds the presence related tables)   添加相關(guān)表的存在

       opensipsdbctl extra ......................................(adds the extra tables) 增加額外的表

 

 

       if you want to manipulate database as other database user than

       root, want to change database name from default value "opensips",

       or want to use other values for users and password, edit the

       "config vars" section of the command opensipsdbctl.

 

 

===================================================================

Existing commands:

 

 

 -- command 'start|stop|restart'

 

 

 restart ............................ restart OpenSIPS    重啟

 start .............................. start OpenSIPS      開始

 stop ............................... stop OpenSIPS       停止

 

 

===================================================================

 -- command 'acl' - manage access control lists (acl)     管理訪問控制列表

 

 

 acl show [<username>] .............. show user membership         顯示用戶成員

 acl grant <username> <group> ....... grant user membership (*)    授予用戶會員

 acl revoke <username> [<group>] .... grant user membership(s) (*) 撤銷用戶會員

 

 

===================================================================

 -- command 'lcr' - manage least cost routes (lcr)        最低成本路由管理?

 

 

   * IP addresses must be entered in dotted quad format e.g. 1.2.3.4 *

   * <uri_scheme> and <transport> must be entered in integer or text,*

   * e.g. transport '2' is identical to transport 'tcp'.             *

   *   scheme: 1=sip, 2=sips;   transport: 1=udp, 2=tcp, 3=tls       *

   * Examples:  lcr addgw level3 1.2.3.4 5080 sip tcp 1              *

   *            lcr addroute +1 '' 1 1                               *

 lcr show ....................... show routes, gateways and groups   顯示路由、網(wǎng)關(guān)和群組

 lcr reload ..................... reload lcr gateways                重新載入網(wǎng)關(guān)

 lcr addgw <gw_name> <ip> <port> <scheme> <transport> <grp_id> <flags> <tag> <strip>

           ............... add a gateway with flags, tag and strip   以選項(xiàng) flags tag strip (必選項(xiàng))添加網(wǎng)關(guān)

 lcr rmgw  <gw_name> ............ delete a gateway                   刪除一個(gè)網(wǎng)關(guān)

 lcr addroute <prefix> <from> <grp_id> <prio> ................

           .............. add a route ( use '' to match anything in <from> ) 

                                                                             以選項(xiàng) prefix from grp_id prio (必選項(xiàng))添加網(wǎng)關(guān)

 lcr rmroute  <prefix> <from> <grp_id> <prio> .... delete a route    刪除一個(gè)路由

 

 

====================================================================

 -- command 'cr' - manage carrierroute tables             管理 carrierroute

 

 

 cr show ....................................................... show tables             顯示表

 cr reload ..................................................... reload tables           加載表

 cr dump ....................................................... show in memory tables   在內(nèi)存中顯示表

 cr addrt <routing_tree_id> <routing_tree> ..................... add a tree              增加一個(gè)樹狀路由

 cr rmrt  <routing_tree> ....................................... rm a tree               刪除一個(gè)樹狀路由

 cr addcarrier <carrier> <scan_prefix> <domain> <rewrite_host> ................

               <prob> <strip> <rewrite_prefix> <rewrite_suffix> ...............

               <flags> <mask> <comment> .........................add a carrier           增加一個(gè) carrier

               (prob, strip, rewrite_prefix, rewrite_suffix,...................

                flags, mask and comment are optional arguments) ...............

 cr rmcarrier  <carrier> <scan_prefix> <domain> ................ rm a carrier             刪除一個(gè) carrier

 

 

=====================================================================

 -- command 'rpid' - manage Remote-Party-ID (RPID)         管理遠(yuǎn)程?ID

 

 

 rpid add <username> <rpid> ......... add rpid for a user (*)             為一個(gè)用戶新建一個(gè) rpid

 rpid rm <username> ................. set rpid to NULL for a user (*)     設(shè)置為空?

 rpid show <username> ............... show rpid of a user                 顯示一個(gè) rpid 用戶的信息

 

 

==================================================================

 -- command 'add|passwd|rm' - manage subscribers           后臺管理

 

 

 add <username> <password> .......... add a new subscriber (*)      新建一后臺管理

 passwd <username> <passwd> ......... change user's password (*)    更改密碼

 rm <username> ...................... delete a user (*)             刪除后臺管理者

 

 

==================================================================

 -- command 'add|dump|reload|rm|show' - manage trusted      信任管理

 

 

 trusted show ...................... show db content                  顯示db 內(nèi)容

 trusted dump ...................... show cache content               顯示緩存的內(nèi)容

 trusted reload .................... reload db table into cache       加載 db 表到緩存中

 trusted add <src_ip> <proto> <from_pattern> <tag>

             ....................... add a new entry                  新建一個(gè)新條目,from_pattern tag 為必選項(xiàng)

            ....................... (from_pattern and tag are optional arguments)

 trusted rm <src_ip> ............... remove all entres for the given src_ip  刪除指定的 ?

 

 

=================================================================

 -- command 'dispatcher' - manage dispatcher                調(diào)度管理

 

 

   * Examples:  dispatcher addgw 1 sip:1.2.3.1:5050 1 'outbound gateway'

   *            dispatcher addgw 2 sip:1.2.3.4:5050 3 ''

   *            dispatcher rmgw 4

 dispatcher show ..................... show dispatcher gateways            顯示網(wǎng)關(guān)調(diào)度

 dispatcher reload ................... reload dispatcher gateways          加載網(wǎng)關(guān)調(diào)度

 dispatcher dump ..................... show in memory dispatcher gateways  顯示緩存調(diào)度

 dispatcher addgw <setid> <destination> <flags> <description>

            .......................... add gateway                         增加網(wǎng)關(guān)調(diào)度

 dispatcher rmgw <id> ................ delete gateway                      刪除網(wǎng)關(guān)調(diào)度

 

 

=================================================================

 -- command 'db' - database operations                      數(shù)據(jù)庫的操作

 

 

 db exec <query> ..................... execute SQL query                    執(zhí)行SQL 查詢

 db roexec <roquery> ................. execute read-only SQL query          執(zhí)行只讀 SQL 查詢

 db run <id> ......................... execute SQL query from $id variable  執(zhí)行從 ID 變量的SQL查詢

 db rorun <id> ....................... execute read-only SQL query from     執(zhí)行從 ID 變量的只讀 SQL查詢

                                       $id variable

 db show <table> ..................... display table content                顯示表的內(nèi)容

 

 

=================================================================

 -- command 'speeddial' - manage speed dials (short numbers) 快速撥號管理

 

 

 speeddial show <speeddial-id> ....... show speeddial details     顯示快速撥號列表

 speeddial list <sip-id> ............. list speeddial for uri     快速撥號的開放清單

 speeddial add <sip-id> <sd-id> <new-uri> [<desc>] ...

           ........................... add a speedial (*)         新建一個(gè)快速撥號

 speeddial rm <sip-id> <sd-id> ....... remove a speeddial (*)     刪除一個(gè)快速撥號

 speeddial help ...................... help message               快速撥號幫助信息

    - <speeddial-id>, <sd-id> must be an AoR (username@domain)

    - <sip-id> must be an AoR (username@domain)

    - <new-uri> must be a SIP AoR (sip:username@domain)

    - <desc> a description for speeddial                          快速撥號列表信息

 

 

==================================================================

 -- command 'avp' - manage AVPs                               AVPs 管理

 

 

 avp list [-T table] [-u <sip-id|uuid>]                      

     [-a attribute] [-v value] [-t type] ... list AVPs        AVPs 列表

 avp add [-T table] <sip-id|uuid>

     <attribute> <type> <value> ............ add AVP (*)      新建 AVPs

 avp rm [-T table]  [-u <sip-id|uuid>]

     [-a attribute] [-v value] [-t type] ... remove AVP (*)   刪除 AVPs

 avp help .................................. help message     AVPs 幫助信息

    - -T - table name                                         表的名字

    - -u - SIP id or unique id                                sip is 唯一表示

    - -a - AVP name                                           AVPs 的名字

    - -v - AVP value                                          AVPs 變量

    - -t - AVP name and type (0 (str:str), 1 (str:int),        

                              2 (int:str), 3 (int:int))       

    - <sip-id> must be an AoR (username@domain)

    - <uuid> must be a string but not AoR

 

 

==================================================================

 -- command 'alias_db' - manage database aliases              別名數(shù)據(jù)庫管理

 

 

 alias_db show <alias> .............. show alias details      顯示別名書庫據(jù)庫信息

 alias_db list <sip-id> ............. list aliases for uri    顯示別名數(shù)據(jù)庫中用戶 id 的信息

 alias_db add <alias> <sip-id> ...... add an alias (*)        新建一個(gè)別名數(shù)據(jù)庫

 alias_db rm <alias> ................ remove an alias (*)     刪除一個(gè)別名數(shù)據(jù)庫

 alias_db help ...................... help message            別名數(shù)據(jù)庫幫助信息

    - <alias> must be an AoR (username@domain)"

    - <sip-id> must be an AoR (username@domain)"

 

 

=================================================================

 -- command 'domain' - manage local domains                   本地域名管理

 

 

 domain reload ....................... reload domains from disk            從硬盤加載域名

 domain show ......................... show current domains in memory      顯示內(nèi)存中的當(dāng)前域名

 domain showdb ....................... show domains in the database        顯示數(shù)據(jù)庫中的域名信息

 domain add <domain> ................. add the domain to the database      向數(shù)據(jù)庫增加新的域名

 domain rm <domain> .................. delete the domain from the database 刪除數(shù)據(jù)庫中的域名

 

 

================================================================

 -- command 'cisco_restart' - restart CISCO phone (NOTIFY)    重啟思科電話

 

 

 cisco_restart <uri> ................ restart phone configured for <uri>

 

 

 -- command 'online' - dump online users from memory          從內(nèi)存中轉(zhuǎn)儲在線用戶

 

 

 online ............................. display online users    顯示在線用戶

 

 

==================================================================

 -- command 'monitor' - show internal status                  顯示網(wǎng)絡(luò)狀況

  monitor ........................ show server's internal status    顯示網(wǎng)絡(luò)服務(wù)器狀態(tài)

 

 

===================================================================

 -- command 'ping' - ping a SIP URI (OPTIONS)                 ping 一個(gè) sip URL

  ping <uri> ....................... ping <uri> with SIP OPTIONS

 

 

=================================================================

 -- command 'ul|alias' - manage user location or aliases 用戶位置或者別名管理

 

 

 ul show [<username>]................ show in-RAM online users                 

 ul show --brief..................... show in-RAM online users in short format  以短格式顯示在線用戶的 ram?

 ul rm <username> [<contact URI>].... delete user's usrloc entries              刪除用戶的位置條目

 ul add <username> <uri> ............ introduce a permanent usrloc entry        增設(shè)一條永久用戶位置條目

 ul add <username> <uri> <expires> .. introduce a temporary usrloc entry        增設(shè)一條臨時(shí)用戶位置條目

 

 

==================================================================

 -- command 'fifo'

 

 

 fifo ............................... send raw FIFO command   發(fā)送原始 fifo 命令

 

    本站是提供個(gè)人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多