snom technology AG - Training - Technology leadership Usability Interoperability www.snom.com snom Training 2 Basic Training (1) • Introduction – snom 4S suite of software – snom 4S ITSP – snom 4S IP PBX – snom 4S SBC/NATfilter – snom 4S proxy/registrar – snom 4S mediaserver choose the choice… 3 snom Company Presentation Products: The snom 4S is a complete, SIP-based system for IP PBX and IP Centrex applications snom 4S Complete VoIP Telephony Solutions • 4S Registrar/Proxy • 4S Media Server • 4S Calling Card • 4S NAT-Filter/SBC choose the choice… 4 snom Company Presentation “internal IP PBX” scenario snom 4S Registrar/Proxy 192.168.10.104:5060 192.168.10.104:80 Register 192.168.10.104:5060 snom 4S Media Server 192.168.10.104:5061 192.168.10.104:8080 Applications Snom 190 192.168.10.101 Snom 190 192.168.10.105 Music on hold moh Conference 590 Automatic mailbox 192.168.10.104:5060 choose the choice… 5 snom Company Presentation “PSTN break-out IP PBX” scenario snom 4S Registrar/Proxy 192.168.10.104:5060 192.168.10.104:80 PSTN Gateway (intern.gateway.com) Register 192.168.10.104:5060 snom 4S Media Server 192.168.10.104:5061 192.168.10.104:8080 Applications Snom 190 192.168.10.101 Snom 190 192.168.10.105 Music on hold moh Conference 590 Automatic mailbox 192.168.10.104:5060 choose the choice… 6 snom Company Presentation Applications: PBX replacement – IP PBX or Soft Switch snom 4S Registrar/Proxy 4S Media Server PSTN Gateway (e.g. Vegastream) SIP-aware Firewall (e.g. Ingate) DSL Applications 401@snomag.de cs@snomag.de choose the choice… 7 snom Company Presentation Applications: IP PBX ITSP Bundle ITSP snom 4S Registrar/Proxy 4S Media Server Applications PSTN Gateway (e.g. Sonus) SIP-aware Firewall (e.g. Ingate) DSL 401@snomag.de cs@snomag.de choose the choice… 8 snom Training Basic Training (2) • Lesson 1: Installation snom 4S PR – Windows: Install Wizard – Linux: TAR archive – License / Port Binding / System Settings / Security Settings estimated time up to 2 hours! • Lesson 2: setup snom 4S PR / first call – Domains – creating / DNS - IP – account creation – phone config and registration CALL estimated time up to 1 hour! choose the choice… 9 snom Company Presentation “Hello snom 4S PR” scenario snom 4S Registrar/Proxy 192.168.10.104:5060 192.168.10.104:80 Applications Snom 190 192.168.10.101 Snom 190 192.168.10.105 choose the choice… 10 snom Training Installation snom 4S PR (Windows 1a) – Start setup – Input your preferred ports choose the choice… 11 snom Training Installation snom 4S PR (Windows 1b) – Launch 4S PR / login in: admin / NO PASSWD choose the choice… 12 snom Training Installation snom 4S PR (Windows 2) – Make sure service is running choose the choice… 13 snom Training Installation snom 4S PR (Windows 3) – Quick phone configuration choose the choice… 14 snom Training Installation snom 4S PR (Windows 3) – Quick phone configuration choose the choice… snom Training 15 Installation snom 4S PR (Linux) – un-tar the tarball with the following command ‘tar xvzf snom_sip_proxy-xxx.tgz’ – change into the directory of the un-packed archive – execute the install.sh script choose the choice… snom Training 16 Start/Stop snom 4S MS / PR (Linux) – Start: ‘/etc/init.d/mediaserver start’ – Stop: ‘/etc/init.d/mediaserver stop’ – Verify: ‘/etc/init.d/mediaserver status’ choose the choice… 17 snom Training Installation snom 4S PR (Windows 4) – CALL succesful! choose the choice… 18 snom Training Installation snom 4S PR (Windows 4) – Add User manually – Domains / click / Add Normal User / Add / Show List choose the choice… snom Training 19 Basic Training (3) • Lesson 3: Installation snom 4S MS – Windows: Install Wizard – Linux: RPM archive – License / System / Webserver / SIP / codecs estimated time up to 1 hour! • Lesson 4: setup snom 4S MS – MOH – Mailbox – Conference – phone config CALL (Mailbox) and Call-Conference estimated time up to 1 hour! choose the choice… 20 snom Company Presentation “Hello snom 4S MS” scenario snom 4S Media Server 192.168.10.104:5060 192.168.10.104:8080 Applications Snom 190 192.168.10.101 Snom 190 192.168.10.105 Music on hold moh Conference 590 Automatic mailbox choose the choice… 21 snom Training Installation snom 4S MS (Windows 1) – Start setup – Input your registration information, choose ports – Do not use the proxy SIP port – Launch 4S MS / login in: / NO PASSWD choose the choice… 22 snom Training Installation snom 4S MS (Windows error 1) – Wizard Hangs after installation – Port input window is hidden somewhere on desktop! choose the choice… snom Training 23 Configuration snom 4S MS (Linux) – After installation of the RPM load your favorite editor to adjust the default values in /etc/sysconfig/mediaserver to your needs choose the choice… 24 snom Training Installation snom 4S MS (Linux) – Use the built-in RPM installer of your distribution – Or do it yourself on the command line – start a command line as ‘root’ user – type ‘rpm -ihv snommedia-2.24.xxx.rpm’ when you never installed a snom product before – or type ‘rpm -Uhv snommedia-2.24-xxx.rpm’ when an older version was allready installed before choose the choice… snom Training 25 Start/Stop snom 4S MS (Linux) – Start: ‘/etc/init.d/mediaserver start’ – Stop: ‘/etc/init.d/mediaserver stop’ – Verify: ‘/etc/init.d/mediaserver status’ choose the choice… 26 snom Training Installation snom 4S MS (Settings) • License / System / Webserver / SIP /codecs choose the choice… 27 snom Training Installation snom 4S MS (Conference) • Create Conference account • Accounts / Add (conference) #590 / edit choose the choice… 28 snom Training Installation snom 4S MS (Conference) • Dial 590 and enjoy the conference voice! choose the choice… 29 snom Training Installation snom 4S MS (MOH) • Create MOH account • Accounts / Add (music on hold) #moh / edit choose the choice… 30 snom Training Installation snom 4S MS (MOH) • Configure your phone • Put call on hold and “listen to the music”! choose the choice… 31 snom Training Installation snom 4S MS • Try to call one phone directly! • Media-Server acts as UA • Proxy doesn’t receive SIP 5060 anymore • Media eats all SIP signals • How to combine snom 4S PR with snom 4S MS • Snom 4S MS acts as another UA • Snom 4S MS needs to run on another SIP port (eg. 5061) choose the choice… 32 snom Company Presentation “internal IP PBX” scenario snom 4S Registrar/Proxy 192.168.10.104:5060 192.168.10.104:80 Register 192.168.10.104:5060 snom 4S Media Server 192.168.10.104:5061 192.168.10.104:8080 Applications Snom 190 192.168.10.101 Snom 190 192.168.10.105 Music on hold moh Conference 590 Automatic mailbox 192.168.10.104:5060 choose the choice… snom Training 33 Installation snom 4S MS (Linking) • Linking Media-Server to snom 4S proxy • Domain / Settings choose the choice… 34 snom Training Installation snom 4S MS (Linking) • Register Conference account with proxy in MH • Accounts / 590 edit choose the choice… 35 snom Training Installation snom 4S MS (linking) • Register MOH acccount with proxy in MS • Accounts / moh edit choose the choice… 36 snom Training Installation snom 4S MS (Mailbox MWI) • Media Server DNS Identity • For MWI destination choose the choice… snom Training 37 Installation snom 4S MS (Mailbox) • Create a Mailbox Template on the MS choose the choice… snom Training 38 Installation snom 4S MS (Mailbox) • Create several mailbox accounts choose the choice… snom Training 39 Installation snom 4S MS (Mailbox) • Account / Edit • Set MWI destination = account number choose the choice… snom Training 40 Installation snom 4S MS (Mailbox) • Account / Edit • Set MWI destination = account number choose the choice… snom Training 41 Installation snom 4S MS (Mailbox) • Edit mailbox account • Register: 100 • What happens? choose the choice… snom Training 42 Advanced Training (1) • Advanced Lesson: snom 4S proxy – Gateway (InAlp) – PSTN breakin – Dial Plan – internal numbers – 911 – PSTN breakout – hunt group – stage1 stage2 – pickup (optional) – phone function keys estimated time up to 3 hours! choose the choice… 43 snom Company Presentation “PSTN break-out IP PBX” scenario snom 4S Registrar/Proxy 192.168.10.104:5060 192.168.10.104:80 PSTN Gateway (intern.gateway.com) Register 192.168.10.104:5060 snom 4S Media Server 192.168.10.104:5061 192.168.10.104:8080 Applications Snom 190 192.168.10.101 Snom 190 192.168.10.105 Music on hold moh Conference 590 Automatic mailbox 192.168.10.104:5060 choose the choice… snom Training 44 IP-PBX • How to setup an IP-PBX – Components: – Proxy/Registrar – Mediaserver for advanced PBX functionality – Hardware / Network needs – Mid-Size-Server for Proxy/Registrar – Performance Media-Server for X parallel lines – Skills – Networking and OS knowledge – RTP basic knowledge – SIP / Pcap trace knowledge for trouble shooting choose the choice… snom Training 45 Advanced snom 4S PR (Gateway) • Dial Plan example in Vega 100 • Register proxy with gateway • Incoming numbers to 39833 – xxx are forwarded to xxx choose the choice… 46 snom Training Advanced snom 4S PR (Gateway) • Dial Plan • Forward all UAs (From: *) • If they dialed 911 (To:911@~*) • And call 911 via PSTN (Argument: sip:911@intern.gateway.com) choose the choice… 47 snom Training Advanced snom 4S PR (Gateway) • Dial Plan PSTN break-out • Forward all UAs • (From: *) • If they dialed numbers with more than 4 digits • (To: sip:$$$$%@~*) • To the PSTN gateway • (Argument: sip:{user}@intern.gateway.com) choose the choice… snom Training 48 Advanced snom 4S PR (hunt) • Add Hunt group: “hunt” • Show list / click hunt group account • Preferences: call 100 (10 s) / 101 (10s)/ again 100 CALL hunt@192.168.10.104 choose the choice… snom Training 49 Advanced Training snom 4S MS • Advanced Lesson: snom 4S MS – auto attendant – ACD estimated time up to 1 hour! choose the choice… 50 snom Training Advanced snom 4S MS (Auto Attendant) • Create Account / Add Auto Attendant / edit choose the choice… 51 snom Training Advanced snom 4S MS (Auto Attendant) • Edit auto • 1: call 100 • 2: call 101 • 3: call 102 choose the choice… 52 snom Company Presentation Applications: IP PBX ITSP Bundle ITSP snom 4S Registrar/Proxy 4S Media Server Applications PSTN Gateway (e.g. Sonus) SIP-aware Firewall (e.g. Ingate) DSL 401@snomag.de cs@snomag.de choose the choice… snom Training 53 ITSP • How to setup an ITSPs solution – Components: – NAT-Filter / Session Border Controller – Proxy/Registrar – Mediaserver for advanced PBX functionality – Hardware / Network needs – Dedicated Network controller in/out-bound – Broad Network connection for rtp lines – High performance Server for parallel lines – Skills – – – – Networking and OS knowledge RTP basic knowledge NAT-Filter training SIP / Pcap trace knowledge for troubel shooting choose the choice… 54 snom Training Advanced snom 4S MS (ACD) • Automatic call distribution / IP-Gateway PSTN Gateway (e.g. Sonus) ITSP Snom3 Account x (blueSIP) snom 4S Media Server 4S Proxy Server choose the choice… snom Training 55 Advanced snom 4S MS (ACD) • inbound calls ITSP #+49 89 721010 52612 snom 4S NAT Filter / SBC snom 4S Media Server 4S Proxy Server ACD 700 Connects inbound call to 100 101 choose the choice… 56 snom Training Advanced snom 4S MS (ACD) • Add Account / ACD / edit • Use ITSP account as IP-Gateway • Incoming calls are redirected to 100 and 102 • Both phones ring! choose the choice… 57 snom Training Advanced snom 4S MS (ACD) • outbound calls / special prefix for outbound call ITSP xxxx Number snom 4S NAT Filter / SBC snom 4S Media Server 4S Proxy Server MS ACD 700 connects to ITSP via SBC MS Dial Plan redirects all calls to 700 Proxy Dial Plan redirects 01011xxxx calls to Snom 4 MS choose the choice… 58 snom Training Advanced snom 4S MS (ACD) • Use Prefix 01011 to make call via ITSP • Forward all UAs • (From: *) • If they dialed numbers beginning with 01011 • (To: sip:01011*@~*) • To 4S MS to forward it further • (Argument: sip:{user:5}@192.168.10.104:5061) choose the choice… 59 snom Training Advanced snom 4S MS (ACD) • Take forwarded calls from snom 4 PR • all outgoing calls use the 700 (ACD) – IP Gateway • NOT existing UA 100, 101, 102 choose the choice… 60 snom Training Advanced snom 4S MS (Trouble Shooting 1) • Auto attendant doesn’t speak? • Media server might have dead open audio streams • Check Open Calls • Kill unconnected long duration calls choose the choice… 61 snom Company Presentation Products: 4S Registrar/Proxy and 4S Media Server • 4S Registrar/Proxy snom 4S Complete VoIP Telephony Solutions – – – – – – – – Sequential and parallel forking Registrar/location server Web interface Integrated STUN server (NAT) User management Multiple domains Calling card service Remote configuration and update management – Call logs, access rules, … – P III can handle 10,000 BHCA • 4S Media server – – – – – – – Mailbox Sends messages per e-mail Message-waiting indication Music on hold Multi conferencing B2BUA Media Bridge Error explanation choose the choice… snom Company Presentation 62 Products: 4S NAT-Filter/SBC Why 4S NATFilter/SBC •No updates necessary for new applications •No updates for new user agents •No vendor dependency •Inherent scalability •Stateful inspection •Outbound4S proxy path snom optimization Complete •ICE support VoIP Telephony Solutions •NAT support • 4S NAT-Filter/SBC – Public Internet SIP NAT Solution – Comatible with all RFC3261compliant SIP Proxies – Scalable & Redundant – STUN Server Included – ICE Support – Recording of Signaling and Audio – Built on Proven snom SIP Stack – Available for Microsoft™ Windows™ and Linux choose the choice… snom Training 63 Debugging phone problems (1) – First check the SIP Trace for problems: choose the choice… 64 snom Training Debugging phone problems (2) – If the SIP Trace is empty check the DNS cache: choose the choice… 65 snom Training Debugging phone problems (3) – In case of audio problems make a PCAP Trace: – Click start to record – Click stop to stop recording – Click “here” to save pcap file to local PC – Only record a few seconds as the buffer is small choose the choice… snom Training 66 Making Pcap traces with a PC • How to record a call via Pcap from a PC – Components: – Snom Phone – Ethereal + Hub in between phones and ethereal – Hardware / Network needs – Phones – Hub – Monitoring PC – Skills – Snom Phone Basics – Ethereal advanced knowledge – Basic Networking choose the choice… 67 snom Training PCAP analysis via Ethereal • Start Ethereal – In case: open downloaded pcap file from snom phone – Filter for SIP / RTP – Analyse SIP messages – Analyse RTP messages • Typical Problems – Phone doesn’t register – No Audio – One way audio – Phone doesn’t stop ringing choose the choice… 68 snom Training Debugging phone problems (4) – Before reporting a problem, please verify that this problem still exists also with latest firmware (available from http://www.snom.com/download/share) – First of all check the Frequently Asked Questions (FAQ) section of our homepage, as it might already contain the answer – Include into your report as many information’s as possible – What might be obvious for you might not be obvious for the receiver, but missing information’s will delay the solution of the problem as you will have to answer counter-questions – Bug report should include: Problem description, firmware version (System Information page), SIP Trace, Log, PCAP Trace (in case) and Settings choose the choice… 69 snom Training SIP Introduction: Registration (1) Proxy (Registrar) Phone REGISTER 200 OK choose the choice… 70 snom Training SIP Introduction: Registration (2) Proxy (Registrar) Phone REGISTER 401 Unauthorized REGISTER 200 OK choose the choice… 71 snom Training SIP Introduction: Start basic call Proxy (Registrar) 1. Phone INVITE 2. Phone INVITE 180 Ringing 180 Ringing 180 Ringing 180 Ringing 200 OK 200 OK ACK ACK Media (RTP) choose the choice… 72 snom Training SIP Introduction: Cancel a call attempt Proxy (Registrar) 1. Phone INVITE 180 Ringing CANCEL 200 OK 487 Terminated ACK 2. Phone INVITE 180 Ringing CANCEL 200 OK 487 Terminated ACK choose the choice… 73 snom Training SIP Introduction: Terminate a call 1. Phone 2. Phone Media (RTP) Proxy (Registrar) BYE BYE 200 OK 200 OK choose the choice… snom Training 74 Basic Training (3) • Lesson 5: phones – Preferences und Advanced Settings – TFTP / Firmware Updates (Release Notes) – settings log estimated time up to 1 hour! choose the choice… 75 snom Company Presentation Applications: IP Centrex model (ISPs) snom 4S Registrar/Proxy 4S Media Server PSTN Gateway (e.g. Sonus) DSL Applications DSL Power Cable cs@aol.msn.yahoo.de cs@snom.de Christian.Stredicke@isp.com choose the choice… 76 snom Company Presentation Snom provisioning (snom.com) • Snom.com as central provisioning server (hardcoded in FW) • Domain / customer ssh accounts for registration • Phone MAC address registration • Redirect of incoming phones to snom.com • MAC address based redirect to – Customer configuration and FW for local LAN choose the choice… 77 snom Company Presentation Snom provisioning Customer ssh account Welcome, arcor190! Type help for help. ==> help Welcome to the snom configuration tool. You may use the following commands: Snom.Com ProvDB Domain1 Domain2 Domain3 LAN Firewall NAT solved Domain1 MACxx1 MACxx2 MACxx3 LAN snom Box Snom PR Snom Media SHOW <mac> : Show the status of a phone. REGISTER <mac> : Register a phone. REG <mac> : Same as REGISTER. DEREGISTER <mac>: Deregister a phone. LIST : List all phones assigned. BYE : Leave this tool. A MAC address may be entered as 3 to 6 digit hexadecimal number, case does not matter (e.g. 2e4 --> 0004132202E4) ==> list 000413101214 00041310123C LAN Phone Registered Phone MACxx1 Domain1 config Domain 1 FW Phone Phone FAX ATA choose the choice… Cordless snom Training 78 Snom Box • How to setup the snom Box – Components: – Snom Box – Snom deployment config – Hardware / Network needs – snom BOX – Hard-Gateway – Skills – – – – Minimal Networking and OS knowledge Hard-Gateway or Voice-provider knowledge RTP basic knowledge SIP / Pcap trace knowledge for troubel shooting choose the choice… snom Company Presentation 79 Contact snom technology AG (HQ) Pascalstr. 10B 10587 Berlin Germany Tel.: +49-30-39833-0 Fax: +49-30-39833-111 Mail: support@snom.com Internet: www.snom.com choose the choice… © 2004 snom technology Aktiengesellschaft The author has made his best effort to prepare this document. The content is based upon latest information, whenever possible. The author makes no representation or warranties of any kind with regard to the completeness or accuracy of the contents herein and accepts no liability of any kind, including, but not limited to, performance, merchantability, fitness for any particular purpose, or any losses or damages of any kind caused or alleged to be caused directly or indirectly by this document. For more information, mail info@snom.com Pascalstr. 10B, 10587 Berlin, Germany.