差分

移動先: 案内検索

Asterisk CLI SIP

3,221 バイト追加, 2009年6月13日 (土) 22:46
sip showコマンド
peerになっている(Asteriskに接続している)<BR>
機器の状態を一覧表示します。
Asterisk**CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
509/509 (Unspecified) D A 0 UNKNOWN
;OK (25 ms):死活確認に反応あり(ミリ秒表示)
;UNREACHABLE:死活確認に反応なし
 
<!--
=sip historyコマンド=
=sip notifyコマンド=
SIPのNOTIFYパケットを相手先に送出します。
Asterisk*CLI> sip set debug peer 201
SIP Debugging Enabled for IP: 192.168.0.54:9999
Asterisk*CLI> sip notify snom-check-cfg 201
Sending NOTIFY of type 'snom-check-cfg' to '201'
Transmitting (no NAT) to 192.168.0.54:9999:
NOTIFY sip:201@192.168.0.54:9999;line=pb6z8sxp SIP/2.0
Via: SIP/2.0/UDP 10.0.5.6:5060;branch=z9hG4bK4fb5eb0a;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@10.0.5.6>;tag=as755f462a
To: <sip:201@192.168.0.54:9999;line=pb6z8sxp>
Contact: <sip:Unknown@10.0.5.6>
Call-ID: 2d655c48358b36895efcd6443165eab9@10.0.5.6
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX 1.6.0.6
Event: check-sync;reboot=false
Content-Length: 0
---
Scheduling destruction of SIP dialog '6c23851a1b3218da13e4d4686a7fb6c8@192.168.0.5' in 32000 ms (Method: NOTIFY)
Asterisk*CLI>
<--- SIP read from UDP://192.168.0.54:9999 --->
SIP/2.0 200 Ok
Via: SIP/2.0/UDP 10.0.5.6:5060;branch=z9hG4bK4fb5eb0a;rport=5060
From: "Unknown" <sip:Unknown@10.0.5.6>;tag=as755f462a
To: <sip:201@192.168.0.54:9999;line=pb6z8sxp>
Call-ID: 2d655c48358b36895efcd6443165eab9@10.0.5.6
CSeq: 102 NOTIFY
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
Really destroying SIP dialog '6c23851a1b3218da13e4d4686a7fb6c8@192.168.0.5' Method: NOTIFY
Asterisk*CLI>
<!--
=sip prune realtimeコマンド=
==sip prune realtime userコマンド==
==sip prune realtime allコマンド==
-->
 
==sip show peers==
peerになっている(Asteriskに接続している)機器との接続状況と、設定内容を表示します。<BR>
'''sip show peers'''コマンドでは一覧を表示するのみで、詳細ステータスは出てきませんが、<BR>
'''sip show peers'''では、更に細かい情報を確認することができます。
 
Asterisk*CLI> sip show peer 201
Asterisk*CLI>
* Name : 201
Secret : <Set>
MD5Secret : <Not set>
Context : default
Subscr.Cont. : <Not set>
Language : jp
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup : 1
Pickupgroup : 1
Mailbox : 201
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Dynamic : Yes
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : 161
Insecure : no
Nat : RFC3581
ACL : No
T38 pt UDPTL : No
CanReinvite : No
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : 192.168.0.54 Port 9999
Defaddr->IP : 0.0.0.0 Port 5060
Transport : UDP
Def. Username: 201
SIP Options : (none)
Codecs : 0x4 (ulaw)
Codec Order : (ulaw:20)
Auto-Framing : No
100 on REG : No
Status : Unmonitored
Useragent : snom300/7.3.14
Reg. Contact : sip:201@192.168.0.54:9999;line=pb6z8sxp
Qualify Freq : 60000 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
Asterisk*CLI>
===Overlap dial===
 
===DTMFmode===
DTMF(ダイヤル音による番号送出)の送出設定が表示されます。
=sip reloadコマンド=

案内メニュー

VoIp-Info.jp

HP Directplus -HP公式オンラインストア-