1 build a sip of environment speaker: yi-ji jheng date: 2007.10.03
TRANSCRIPT
![Page 1: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/1.jpg)
1
Build a SIP of Environment
Speaker: Yi-Ji JhengDate: 2007.10.03
![Page 2: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/2.jpg)
Outline
Test SIP of Environment
Direct call
Proxy call
2
![Page 3: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/3.jpg)
TEST SIP OF ENVIRONMENT
3
![Page 4: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/4.jpg)
Preface
Can to build up a Server is not point
It’s very important to know how it work and how I setup it for our need and maintain it later
Otherwise, it may change (evil tools)
4
![Page 5: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/5.jpg)
Direct call mode
5
SoftPhone A SoftPhone BPC
SIP signal
Talk
![Page 6: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/6.jpg)
Proxy Call mode
6
SIP Server
SoftPhone A SoftPhone B
VMware
PC
Talk
SIP signal
![Page 7: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/7.jpg)
Requirement
Softphones X_lite-v2.0
X_lite-v3.0 do not support network configure (direct call)
SJphone-1.60
SIP Server ser-0.9.6_src.tar.gz
7
![Page 8: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/8.jpg)
DIRECT CALL
8
![Page 9: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/9.jpg)
Environment
9
X-Lite SJPhone
Listen on <ip>:5060Listen on <ip>:50600
PC
Number 1000
SIP signal
![Page 10: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/10.jpg)
Setup SJPhone
10
![Page 11: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/11.jpg)
11
![Page 12: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/12.jpg)
12
![Page 13: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/13.jpg)
13
![Page 14: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/14.jpg)
Setup X-Lite
14
![Page 15: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/15.jpg)
System Settings / SIP Proxy / Default
Enables : Yes
Display Name : 1000 Username : 1000 Authorization User :
1000
Password : 1000
Register : Nerver Direct Dial IP : Yes
15
![Page 16: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/16.jpg)
System Settings / Network Auto Detect IP : No
Listen on IP : <IP>
Listen SIP Port : 50600
16
![Page 17: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/17.jpg)
Test basic of actions
SJPhone calls to X-Lite X-Lite hangs up phone SJPhone hangs up phone *
X-Lite calls to SJPhone * X-Lite hangs up phone SJPhone hangs up phone
17
![Page 18: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/18.jpg)
Phenomenon and Questions
Listen some quarrel voice
Ethereal cannot catch packet
Some action cannot run (previous slides that mark “*”)
18
![Page 19: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/19.jpg)
SJPhone Bugs
Occur when two softphones in the same PC
SJPhone calls to X-Lite when SJPhone hangs up phone Via part didn’t have branch
X-Lite calls to SJPhone c part in SDP (c : IN IPv4 127.0.0.1)
19
![Page 20: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/20.jpg)
Try again
Install SJphone 1.65
SJPhone calls to X-Lite X-Lite hangs up phone SJPhone hangs up phone
X-Lite calls to SJPhone X-Lite hangs up phone SJPhone hangs up phone
20
![Page 21: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/21.jpg)
PROXY CALL
21
![Page 22: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/22.jpg)
Enviroment
22
SIP Server
X-Lite SJPhone
VMware
PC
Number 1000 Number 2000
SIP signal
Listen on <ip>:5060Listen on <ip>:50600
Ethereal
![Page 23: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/23.jpg)
Install SIP Server
Use Winscp upload SER on the Linux Usually put it in /usr/src
Use Pietty connect to Linux #cd /usr/src #tar zxvf ser-0.9.6_src.tar.gz #make #make modules #make install
Can see /ser-0.9.6/INSTALL23
![Page 24: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/24.jpg)
Start SIP Server
After install, you can see /usr/local/etc/ser/ser.cfg /usr/local/sbin/ser
#ser Must to check
Did SER binding right ?? Did SER already executed ??
24
![Page 25: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/25.jpg)
Setup X-Lite
System Settings / SIP Proxy / Default Domain/Realm : <Server IP> SIP Proxy : <Server IP> Register : Always Direct Dial IP : No
Reboot X-Lite
25
![Page 26: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/26.jpg)
Setup SJPhone
26
![Page 27: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/27.jpg)
27
![Page 28: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/28.jpg)
28
![Page 29: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/29.jpg)
29
![Page 30: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/30.jpg)
30
![Page 31: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/31.jpg)
31
![Page 32: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/32.jpg)
Check Softphones really register on SER
#serctl ul show “serctl –h” to see more
32
![Page 33: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/33.jpg)
Setup Ethereal
33
![Page 34: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/34.jpg)
34
![Page 35: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/35.jpg)
35
![Page 36: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/36.jpg)
Ethereal filter command
Only see someone ip.addr eq <ip>
Protocol type arp 、 icmp 、 udp 、 tcp 、 rtp 、 sip
Logic eq 、 and 、 or == 、 && 、 ||
36
![Page 37: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/37.jpg)
Stop or Restart Ethereal
37
![Page 38: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/38.jpg)
Save file
38
![Page 39: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/39.jpg)
Careful
Catch packets in Switch may have some questions
Switch v.s. Hub
Can select “Capture packets in promiscuous mode” to solve some questions
39
![Page 40: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/40.jpg)
Call flow of actions
REGISTER
Call SJPhone(2000) calls to X-Lite(1000) X-Lite(1000) calls to SJPhone(2000)
40
![Page 41: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/41.jpg)
REGISTER
41
UA SIP Server
REGISTER
200 OK
REGISTER
200 OK
0 Bindings
1 Bindings
Un-Register 0 bindings expire=0 with contact Register 1 bindings (no)expire with contact
N bindings N number of contacts
![Page 42: 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e975503460f94b9a65c/html5/thumbnails/42.jpg)
Call
42
INVITE
100 Trying
UASUAC SIP Server
INVITE
100 Trying
180 Ringing
200 OK
180 Ringing
RTP
BYEBYE
Dialog
transaction
transaction
200 OK
200 OK200 OK