snom technology AG - Training - Technology leadership Interoperability www.snom.com Usability
Dec 23, 2015
snom technology AG- Training -
Technology leadership
Interoperability
www.snom.com
Usability
snom Training 2
choose the choice…
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
snom Company Presentation 3
choose the choice…
Products: The snom 4S is a complete, SIP-based system for IP PBX and IP Centrex applications
• 4S Registrar/Proxy
• 4S Media Server
• 4S Calling Card
• 4S NAT-Filter/SBC
snom 4SCompleteVoIP Telephony Solutions
snom 4SCompleteVoIP Telephony Solutions
snom Company Presentation 4
choose the choice…
“internal IP PBX” scenario
ApplicationsApplications
Snom 190192.168.10.105
Snom 190192.168.10.101
snom4S Media Server
192.168.10.104:5061192.168.10.104:8080
Music on hold moh Conference 590
Automatic mailbox192.168.10.104:5060
snom4S Registrar/Proxy
192.168.10.104:5060192.168.10.104:80
Register 192.168.10.104:5060
snom Company Presentation 5
choose the choice…
“PSTN break-out IP PBX” scenario
ApplicationsApplications
Snom 190192.168.10.105
Snom 190192.168.10.101
snom4S Media Server
192.168.10.104:5061192.168.10.104:8080
Music on hold moh Conference 590
Automatic mailbox192.168.10.104:5060
snom4S Registrar/Proxy
192.168.10.104:5060192.168.10.104:80
Register 192.168.10.104:5060
PSTN Gateway(intern.gateway.com)
snom Company Presentation 6
choose the choice…
Applications: PBX replacement – IP PBX or Soft Switch
snom4S Registrar/Proxy4S Media Server
PSTN Gateway(e.g. Vegastream)
DSL
[email protected]@snomag.de
SIP-aware Firewall(e.g. Ingate)
ApplicationsApplications
snom Company Presentation 7
choose the choice…
ITSP
Applications: IP PBX ITSP Bundle
snom4S Registrar/Proxy4S Media Server
DSL
[email protected]@snomag.de
SIP-aware Firewall(e.g. Ingate)
ApplicationsApplicationsPSTN Gateway(e.g. Sonus)
snom Training 8
choose the choice…
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!
snom Company Presentation 9
choose the choice…
“Hello snom 4S PR” scenario
snom4S Registrar/Proxy
192.168.10.104:5060192.168.10.104:80
ApplicationsApplications
Snom 190192.168.10.105
Snom 190192.168.10.101
snom Training 10
choose the choice…
Installation snom 4S PR (Windows 1a)
– Start setup– Input your preferred ports
snom Training 11
choose the choice…
Installation snom 4S PR (Windows 1b)
– Launch 4S PR / login in: admin / NO PASSWD
snom Training 12
choose the choice…
Installation snom 4S PR (Windows 2)
– Make sure service is running
snom Training 13
choose the choice…
Installation snom 4S PR (Windows 3)
– Quick phone configuration
snom Training 14
choose the choice…
Installation snom 4S PR (Windows 3)
– Quick phone configuration
snom Training 15
choose the choice…
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
snom Training 16
choose the choice…
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’
snom Training 17
choose the choice…
Installation snom 4S PR (Windows 4)
– CALL succesful!
snom Training 18
choose the choice…
Installation snom 4S PR (Windows 4)
– Add User manually– Domains / click / Add Normal User / Add / Show List
snom Training 19
choose the choice…
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!
snom Company Presentation 20
choose the choice…
“Hello snom 4S MS” scenario
ApplicationsApplications
Snom 190192.168.10.105
Snom 190192.168.10.101
snom4S Media Server
192.168.10.104:5060192.168.10.104:8080
Music on hold moh Conference 590
Automatic mailbox
snom Training 21
choose the choice…
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
snom Training 22
choose the choice…
Installation snom 4S MS (Windows error 1)
– Wizard Hangs after installation– Port input window is hidden somewhere on desktop!
snom Training 23
choose the choice…
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
snom Training 24
choose the choice…
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
snom Training 25
choose the choice…
Start/Stop snom 4S MS (Linux)
– Start: ‘/etc/init.d/mediaserver start’– Stop: ‘/etc/init.d/mediaserver stop’– Verify: ‘/etc/init.d/mediaserver status’
snom Training 26
choose the choice…
Installation snom 4S MS (Settings)
• License / System / Webserver / SIP /codecs
snom Training 27
choose the choice…
Installation snom 4S MS (Conference)
• Create Conference account• Accounts / Add (conference) #590 / edit
snom Training 28
choose the choice…
Installation snom 4S MS (Conference)
• Dial 590 and enjoy the conference voice!
snom Training 29
choose the choice…
Installation snom 4S MS (MOH)
• Create MOH account• Accounts / Add (music on hold) #moh / edit
snom Training 30
choose the choice…
Installation snom 4S MS (MOH)
• Configure your phone • Put call on hold and “listen to the music”!
snom Training 31
choose the choice…
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)
snom Company Presentation 32
choose the choice…
“internal IP PBX” scenario
ApplicationsApplications
Snom 190192.168.10.105
Snom 190192.168.10.101
snom4S Media Server
192.168.10.104:5061192.168.10.104:8080
Music on hold moh Conference 590
Automatic mailbox192.168.10.104:5060
snom4S Registrar/Proxy
192.168.10.104:5060192.168.10.104:80
Register 192.168.10.104:5060
snom Training 33
choose the choice…
Installation snom 4S MS (Linking)
• Linking Media-Server to snom 4S proxy• Domain / Settings
snom Training 34
choose the choice…
Installation snom 4S MS (Linking)
• Register Conference account with proxy in MH• Accounts / 590 edit
snom Training 35
choose the choice…
Installation snom 4S MS (linking)
• Register MOH acccount with proxy in MS• Accounts / moh edit
snom Training 36
choose the choice…
Installation snom 4S MS (Mailbox MWI)
• Media Server DNS Identity • For MWI destination
snom Training 37
choose the choice…
Installation snom 4S MS (Mailbox)
• Create a Mailbox Template on the MS
snom Training 38
choose the choice…
Installation snom 4S MS (Mailbox)
• Create several mailbox accounts
snom Training 39
choose the choice…
Installation snom 4S MS (Mailbox)
• Account / Edit • Set MWI destination = account number
snom Training 40
choose the choice…
Installation snom 4S MS (Mailbox)
• Account / Edit • Set MWI destination = account number
snom Training 41
choose the choice…
Installation snom 4S MS (Mailbox)
• Edit mailbox account • Register: 100
• What happens?
snom Training 42
choose the choice…
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!
snom Company Presentation 43
choose the choice…
“PSTN break-out IP PBX” scenario
ApplicationsApplications
Snom 190192.168.10.105
Snom 190192.168.10.101
snom4S Media Server
192.168.10.104:5061192.168.10.104:8080
Music on hold moh Conference 590
Automatic mailbox192.168.10.104:5060
snom4S Registrar/Proxy
192.168.10.104:5060192.168.10.104:80
Register 192.168.10.104:5060
PSTN Gateway(intern.gateway.com)
snom Training 44
choose the choice…
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
snom Training 45
choose the choice…
Advanced snom 4S PR (Gateway)
• Dial Plan example in Vega 100• Register proxy with gateway• Incoming numbers to 39833 – xxx are forwarded to xxx
snom Training 46
choose the choice…
Advanced snom 4S PR (Gateway)
• Dial Plan• Forward all UAs (From: *)• If they dialed 911 (To:911@~*) • And call 911 via PSTN
(Argument: sip:[email protected])
snom Training 47
choose the choice…
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)
snom Training 48
choose the choice…
Advanced snom 4S PR (hunt)
• Add Hunt group: “hunt”• Show list / click hunt group account• Preferences: call 100 (10 s) / 101 (10s)/ again 100CALL [email protected]
snom Training 49
choose the choice…
Advanced Training snom 4S MS
• Advanced Lesson: snom 4S MS – auto attendant– ACD
estimated time up to 1 hour!
snom Training 50
choose the choice…
Advanced snom 4S MS (Auto Attendant)
• Create Account / Add Auto Attendant / edit
snom Training 51
choose the choice…
Advanced snom 4S MS (Auto Attendant)
• Edit auto • 1: call 100• 2: call 101• 3: call 102
snom Company Presentation 52
choose the choice…
ITSP
Applications: IP PBX ITSP Bundle
snom4S Registrar/Proxy4S Media Server
DSL
[email protected]@snomag.de
SIP-aware Firewall(e.g. Ingate)
ApplicationsApplicationsPSTN Gateway(e.g. Sonus)
snom Training 53
choose the choice…
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
snom Training 54
choose the choice…
Advanced snom 4S MS (ACD)
• Automatic call distribution / IP-Gateway
ITSP(blueSIP)
PSTN Gateway(e.g. Sonus)
snom4S Media Server4S Proxy Server
Snom3Account x
snom Training 55
choose the choice…
Advanced snom 4S MS (ACD)
• inbound calls
ITSP #+49 89 721010 52612
snom4S NAT Filter /
SBC
ACD 700Connects inbound call to
100 101
snom4S Media Server4S Proxy Server
snom Training 56
choose the choice…
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!
snom Training 57
choose the choice…
Advanced snom 4S MS (ACD)
• outbound calls / special prefix for outbound call
ITSP xxxx Number
snom4S NAT Filter /
SBC
MS ACD 700 connects to ITSP via SBC
Proxy Dial Plan redirects 01011xxxx calls toSnom 4 MS
snom4S Media Server4S Proxy Server
MS Dial Plan redirects all calls to700
snom Training 58
choose the choice…
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)
snom Training 59
choose the choice…
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
snom Training 60
choose the choice…
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
snom Company Presentation 61
choose the choice…
Products: 4S Registrar/Proxy and 4S Media Server
• 4S Registrar/Proxy– 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
snom 4SCompleteVoIP Telephony Solutions
snom 4SCompleteVoIP Telephony Solutions
snom Company Presentation 62
choose the choice…
Products: 4S NAT-Filter/SBC
• 4S NAT-Filter/SBC– Public Internet SIP NAT
Solution– Comatible with all RFC3261-
compliant 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
snom 4SCompleteVoIP Telephony Solutions
snom 4SCompleteVoIP Telephony Solutions
Why 4S NAT-Filter/SBC
•No updates necessary for new applications
•No updates for new user agents
•No vendor dependency
•Inherent scalability
•Stateful inspection
•Outbound proxy path optimization
•ICE support
•NAT support
snom Training 63
choose the choice…
Debugging phone problems (1)
– First check the SIP Trace for problems:
snom Training 64
choose the choice…
Debugging phone problems (2)
– If the SIP Trace is empty check the DNS cache:
snom Training 65
choose the choice…
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
snom Training 66
choose the choice…
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
snom Training 67
choose the choice…
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
snom Training 68
choose the choice…
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
snom Training 69
choose the choice…
SIP Introduction: Registration (1)
REGISTER
200 OK
PhoneProxy
(Registrar)
snom Training 70
choose the choice…
SIP Introduction: Registration (2)
REGISTER
200 OK
PhoneProxy
(Registrar)
REGISTER
401 Unauthorized
snom Training 71
choose the choice…
SIP Introduction: Start basic call
INVITE
200 OK
1. PhoneProxy
(Registrar)
ACK
180 Ringing
2. Phone
INVITE
180 Ringing
180 Ringing180 Ringing
200 OK
ACK
Media (RTP)
snom Training 72
choose the choice…
SIP Introduction: Cancel a call attempt
INVITE
200 OK
1. PhoneProxy
(Registrar)
ACK
180 Ringing
2. Phone
INVITE
180 Ringing
200 OK
ACK
CANCELCANCEL
487 Terminated487 Terminated
snom Training 73
choose the choice…
SIP Introduction: Terminate a call
BYE
200 OK
1. Phone
Proxy(Registrar)
2. Phone
BYE
200 OK
Media (RTP)
snom Training 74
choose the choice…
Basic Training (3)
• Lesson 5: phones– Preferences und Advanced Settings– TFTP / Firmware Updates (Release Notes)– settings log
estimated time up to 1 hour!
snom Company Presentation 75
choose the choice…
Applications: IP Centrex model (ISPs)
snom4S Registrar/Proxy4S Media Server
DSL
DSL
CablePower
PSTN Gateway(e.g. Sonus)
ApplicationsApplications
snom Company Presentation 76
choose the choice…
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
snom Company Presentation 77
choose the choice…
Snom provisioning
Snom.Com
FirewallNAT solved
snom BoxSnom PR
Snom Media
PhonePhonePhoneRegisteredPhoneMACxx1Domain1 configDomain 1 FW
ATA
FAX Cordless
LAN
ProvDBDomain1Domain2Domain3
Domain1MACxx1MACxx2MACxx3
Welcome, arcor190! Type help for help.==> helpWelcome to the snom configuration tool.You may use the following commands:
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)
==> list000413101214 00041310123C
LAN
LAN
Customer ssh account
snom Training 78
choose the choice…
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
snom Company Presentation 79
choose the choice…
Contact
snom technology AG (HQ)Pascalstr. 10B10587 BerlinGermanyTel.: +49-30-39833-0Fax: +49-30-39833-111Mail: [email protected]: www.snom.com
© 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 [email protected]. 10B, 10587 Berlin, Germany.