Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03.

Similar presentations


Presentation on theme: "1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03."— Presentation transcript:

1 1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03

2 Outline  Test SIP of Environment  Direct call  Proxy call 2

3 TEST SIP OF ENVIRONMENT 3

4 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

5 Direct call mode 5 SoftPhone ASoftPhone B PC SIP signal Talk

6 Proxy Call mode 6 SIP Server SoftPhone ASoftPhone B VMware PC Talk SIP signal

7 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

8 DIRECT CALL 8

9 Environment 9 X-LiteSJPhone Listen on :5060Listen on :50600 PC Number  1000 SIP signal

10 Setup SJPhone 10

11 11

12 12

13 13

14 Setup X-Lite 14

15 System Settings / SIP Proxy / Default  Enables : Yes  Display Name : 1000  Username : 1000  Authorization User : 1000  Password : 1000  Register : Nerver  Direct Dial IP : Yes 15

16 System Settings / Network  Auto Detect IP : No  Listen on IP :  Listen SIP Port : 50600 16

17 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

18 Phenomenon and Questions  Listen some quarrel voice  Ethereal cannot catch packet  Some action cannot run (previous slides that mark “*”) 18

19 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

20 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

21 PROXY CALL 21

22 Enviroment 22 SIP Server X-LiteSJPhone VMware PC Number  1000Number  2000 SIP signal Listen on :5060Listen on :50600 Ethereal

23 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/INSTALL 23

24 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

25 Setup X-Lite  System Settings / SIP Proxy / Default Domain/Realm : SIP Proxy : Register : Always Direct Dial IP : No  Reboot X-Lite 25

26 Setup SJPhone 26

27 27

28 28

29 29

30 30

31 31

32  Check Softphones really register on SER #serctl ul show  “serctl –h” to see more 32

33 Setup Ethereal 33

34 34

35 35

36 Ethereal filter command  Only see someone ip.addr eq  Protocol type arp 、 icmp 、 udp 、 tcp 、 rtp 、 sip  Logic eq 、 and 、 or == 、 && 、 || 36

37 Stop or Restart Ethereal 37

38 Save file 38

39 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

40 Call flow of actions  REGISTER  Call SJPhone(2000) calls to X-Lite(1000) X-Lite(1000) calls to SJPhone(2000) 40

41 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

42 Call 42 INVITE 100 Trying UASUACSIP Server INVITE 100 Trying 180 Ringing 200 OK 180 Ringing RTP BYE Dialog transaction 200 OK


Download ppt "1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date: 2007.10.03."

Similar presentations


Ads by Google