YATE: Cek Registered User

From OnnoWiki
Jump to navigation Jump to search

Untuk mencek apakah user berhasil register atau tidak gunakan

tail /var/log/yate

atau

vi /var/log/yate

Harusnya terlihat ada kata-kata kira-kira sebagai berikut

------
<RegFile:INFO> Registered '2032' via 'sip/sip:2032@192.168.0.150:5061'
<sip:NOTE> Registered user '2032' expires in 3600 s
<sip:INFO> Sending code 200 0xabe05168 to 192.168.0.150:5061
------
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.150:5061;branch=z9hG4bK-ff3f91e3;received=192.168.0.150;rport=5061
From: 2032 <sip:2032@192.168.0.3>;tag=b1d27ca84210a36eo1
To: 2032 <sip:2032@192.168.0.3>;tag=987987334
Call-ID: 664aa2d8-80b332fe@192.168.0.150
CSeq: 2 REGISTER
Expires: 3600
Contact: <sip:2032@192.168.0.150:5061>;expires=3600
Server: YATE/2.2.0
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0

------

Artinya kurang lebih

  • user 2032 dari IP 192.168.0.150 berhasil terdaftar


Pranala Menarik