communigate pro real-time features...communigate pro real-time features communigate pro internet...
TRANSCRIPT
![Page 1: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/1.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
CommuniGate Pro
Real-Time Features
![Page 2: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/2.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
CommuniGate Pro for VoIP Administrators
• Audience: Server Administrators and Developers
• Focus: CommuniGate Pro as the Signaling platform
• Method: Understanding CommuniGate Pro operation for Real-Time Signaling services. “How it works”
• Goal: Learn what CommuniGate Pro can do for you.
![Page 3: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/3.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Who is CommuniGate Systems
• Founded
• Communications Software
• Focus on electronic mail and collaboration
• Standards
• Carrier Grade
• Real-Time Communications
• CommuniGate Pro
![Page 4: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/4.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
What is CommuniGate Pro
• Self-contained single package
• Multithreaded
• Multiplatform
• Flexible
• Extensible
• Not just a product – it’s a platform
![Page 5: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/5.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Data Storage
• Hierarchical– Logically
– Physically
• Efficient
• Settings, Mail, Metadata, Templates, Middleware,
Software
![Page 6: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/6.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
System Kernel
• Multithreading
• Disk I/O
• Network I/O
• OS interfaces
• Everything Else
![Page 7: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/7.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Standard Protocols
• SMTP
• POP3
• IMAP
• ACAP
• LDAP
• HTTP
• FTP
• POPPWD
• RADIUS
• TFTP
• SNMP
• SYSLOG
![Page 8: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/8.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Real-Time Protocols
• SIP
• XMPP
• XIMSS
• RTP
![Page 9: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/9.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Additional protocols
• CLI
• Helper protocols
• Extended IMAP
• XIMSS
![Page 10: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/10.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Real-Time Messaging
• Synchronous
• Messages– Requests
– Responses
• Addresses
• Payloads– Short messages
– Set up direct data
stream
– Signaling separated
from media
![Page 11: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/11.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Address
• Local Part– Account Name
– Program Name
– Special Addresses
• Domain Part– A/CNAME-records
– SRV-records
– Suffixes
program#[email protected]
jsmith%[email protected]
![Page 12: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/12.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Address
• Ubiquitous computing with real time messaging requires
address type separation:– AOR
– End-Point (User Agent)
![Page 13: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/13.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Registration
• Necessary only for mapping “Address of Record” to the
physical address of available end-points (user agents)
• To receive signals on an EP that should be registered to
some AOR.
• Some user agents require registration for making calls.
![Page 14: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/14.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Main Data Objects
• Domains and Aliases
• Accounts and Aliases
• Forwarders
• Groups
• Telephone Numbers
• DNS ENUM
![Page 15: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/15.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Telnum: System-wide Namespace
• 201– [email protected]
• +15553837461
• 3837461– +15553837461
• 03637111298– +13637111298
![Page 16: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/16.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Address Routing
• Destination – as “Signal”
• Originating – as “Access”
• Authentication – as “Access”
• Globally Unique – through “telnum”
![Page 17: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/17.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SIP Server Objects (SIPS)
• Parses incoming requests
• Generates intermediate responses
• Creates SIGNAL object
• Sends Provisional responses
• Sends Final responses
![Page 18: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/18.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Signal Object
• Real-Time Message– Destination Address(es)
– Attributes (From address, Expiration)
– Payload
• Has a finite lifetime
• Processed as FSM
![Page 19: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/19.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SIP Nodes
• UAC– Sends requests
– Reads responses
• UAS– Reads requests
– Sends responses
• Media– Two-way
• Interface
Control
UAS
Media
UAC
![Page 20: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/20.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SIP Client Objects (SIPC)
• Receives SIGNAL objects
• Generates SIP requests
• Processes SIP Transactions
• Processes SIP Responses
• Updates SIGNAL objects
![Page 21: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/21.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Common for all Real-Time Objects
• Finite State Machines
• FSM Processors
• FSM Queue
• Events Queue
![Page 22: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/22.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SIP Request structure
• Request
• URI
• Headers– From/To
– Call-ID
– CSeq
– Contact
– Authorization
• Payload
• REGISTER
• OPTIONS
• INVITE
• ACK
• CANCEL
• PRACK
• REFER
• UPDATE
• SUBSCRIBE
• NOTIFY
• PUBLISH
![Page 23: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/23.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Body/Payload
• SDP– Audio
– Video
– Image
• Presence
• MWI
• Dialog Info
• Anything– DTMF
– ISUP
• Media description
• State aggregation
• Account status
• Dialogs
• Any custom data
![Page 24: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/24.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SDP: problems with NAT firewalls
• NAT detection– “Via” address mismatch
– “Gray” IPs in SDP
• Media Proxy
• NAT “Pingers”
![Page 25: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/25.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
NAT Traversal
![Page 26: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/26.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Submitters
• SIP
• XMPP
• XIMSS
• CG/PL
• Core
![Page 27: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/27.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SIP implementation
• Stateful SIP Proxy
• SIP Registrar
• SIP Presence server with Presence Aggregation
• Roster management
• B2B User Agents
• SIP is used as internal signaling model
![Page 28: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/28.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
XMPP Implementation
• Basic XMPP with few Jabber extensions– More to come
• Presence
• Roster
• Instant Messages
• Client-Server
• Server-Server
![Page 29: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/29.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
XIMSS
• Client-Server
• Instant messaging
• Roster
• Presence
• VoIP
• Direct communications with NODEs
![Page 30: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/30.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
CG/PL
• Signal processing NODEs
• VoIP
• Instant Messaging
• B2BUA
• Mixer - Conferences
![Page 31: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/31.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Signal Rules
• Act on out-of-dialog requests only
• Conditions– Request Type
– Submitter Address
• Payload
• Actions– Fork
– Redirect
![Page 32: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/32.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Signal Flow
• SIP Server components receives requests and creates Signal object
• Signal object is processed by the core
• Signal results in either response sent back or request relayed
![Page 33: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/33.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Signal Flow
• Submitted
• Routed
• Modified
• Processed
• Responded
![Page 34: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/34.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Signal Transformations
• Registration Forking– (AOR -> EPs)
• Rule Forking– Add more URIs
• EP Redirection– Replace one with
another
• Rule Redirection– Replace all with
other(s)
![Page 35: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/35.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Available Hooks
![Page 36: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/36.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Signal Flow in a Cluster
• Calculate hashes for transactions
• Maintain dialogs to running Nodes
• Account for NAT traversal
![Page 37: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/37.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Summary on Signal Flow
• Body can be changed for NAT traversal
• Envelope addresses are changed, added or
removed
• Headers are not changed, new are added
• To external clients a cluster behaves as a single
image
![Page 38: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/38.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Application (PBX Task)
• Node– Can accept signals
– Can generate signals
• Media– Can send media
– Can receive media
• Interfaces– Account
![Page 39: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/39.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
States
• Disconnected (Incoming)
• Half-Connected (Provisioned)
• Connecting
• Connected
• Bridged
![Page 40: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/40.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Receiving a Call
• Can do– AcceptCall
– ProvisionCall
– RejectCall
– RedirectCall
– ForkCall
– StartBridgedCall
• Should Expect– isCallCompletedEvent
• A task in the Disconnected state
• Always a new Task
![Page 41: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/41.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Placing a Call
• Can do– StartCall
• Should Expect– isCallProvisionEvent, multiple
– isCallCompletedEvent, one
• A task in the Disconnected state
• Same task can be reused for multiple calls
![Page 42: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/42.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Bridging Two Calls
• Active– StartBridge (blocks)
– Wait for the result
– Reality: other events
• Passive– IsStartBridgeEvent
– AcceptBridge
– Reality: other events
• Two tasks in the Connected state
• One of the tasks starts the bridge
![Page 43: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/43.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA
• Two tasks, communicating to each other through
internal interfaces
• Used to isolate signaling paths between ingress
and egress call legs
![Page 44: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/44.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Simple Bridging
![Page 45: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/45.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Simple Bridging
![Page 46: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/46.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Simple Bridging
![Page 47: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/47.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Simple Bridging
![Page 48: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/48.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Simple Bridging
![Page 49: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/49.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Media issues
• Media format negotiated by Applications and
their peers.
• All participants have to support common codecs.
• Application media is initialized, though may be
left unused
• Transparent Bridging
![Page 50: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/50.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Transparent Bridging
![Page 51: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/51.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Transparent Bridging
![Page 52: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/52.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Transparent Bridging
![Page 53: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/53.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Transparent Bridging
![Page 54: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/54.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA & Mixer
• Used for even more isolation
• Used to set up calls with multiple parties
(conferences)
![Page 55: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/55.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Mixer
![Page 56: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/56.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
B2BUA Mixer
![Page 57: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/57.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Conferencing through a Mixer
![Page 58: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/58.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Call Transfers
• Blind Transfer– Very basic, may be unreliable
– From a Task to another Peer
• Attended Transfer– More complex, control while transferring
– From a Task to another Task
– The second Task may bridge to another Peer
![Page 59: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/59.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Blind Transfer – TransferCall()
![Page 60: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/60.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Attended Transfer – StartTransfer()
![Page 61: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/61.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
XIMSS Media
![Page 62: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/62.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
XIMSS Media
![Page 63: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/63.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Registering to external PSTN Gateways
• Settings -> Real-Time -> SIP -> Gateways
• Only for Registration
• Routing out through .sipgw is deprecated
• Contact: the URI to receive incoming calls
• Best practices– sip:[email protected]:port
– S:<incoming*@wan.ip> =
gatewayincoming{*,bridge}#postmaster@localhost
![Page 64: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/64.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Processing calls coming in from PSTN
• B2BUA – gatewayincoming– bridge
– media
– mixer
• incoming.hostname– S:<*@incoming.hostname> =
gatewayincoming{+*,bridge,media}#pbx@localhost
![Page 65: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/65.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Processing calls going out to PSTN
• B2BUA – gatewaycaller
• Multiple gateways
• Bridge, mixer, forced media relaying
• Best Practices– S:<+*@pstn> = gatewaycaller{00*}#postmaster@localhost
![Page 66: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/66.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
VoIP routing: best practices
• Convert numbers to E.164– <+(6-15d)@*> = +*@telnum
– S:<(7d)@*> = localAreaCall{*}#pbx
– <00(6-15d)@*>=+*@telnum
• Search through locally assigned E.164
• Optionally try ENUM routing
• Route everything not found locally to some fake domain– S:<+36*@telnum> = 0*@pstn
– S:<+*@telnum> = 00*@pstn
• Send to gatewaycaller– S:<*@pstn> = gatewaycaller{*}#postmaster
![Page 67: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/67.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Data Hierarchy
• Server-wide/Cluster-wide Account Defaults
• Domain-wide Account Defaults
• Account-specific Settings
![Page 68: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/68.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
PSTN settings
• “Custom” account settings – can be extended for
custom versions of gatewaycaller
• Can be set as server-wide, domain-wide or
account-specific
• “Bad” settings disable PSTN dial-out
• “Dictionary” format supported:– {gw1=“11.22.33.44:5061”;gw2=pstn.org;}
![Page 69: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/69.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
Helpers
• Ever running programs
• Synchronous and
asynchronous model
• Main thread
• Workers
Process
Response
Request
Worker
Response
Request Process
Response
Request
![Page 70: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/70.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SASL Auth
![Page 71: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/71.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SASL External Auth
![Page 72: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/72.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
SASL External Auth 2
![Page 73: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/73.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
WebAdmin: Real-Time Settings
• SIGNAL
• SIP– Sending
• Size limits
– Receiving
• Sockets
• Nodes
• Media
![Page 74: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/74.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
WebAdmin: Router Settings
• Numbers matching
• E.164 conversion
• Telnum routing
• Extensions routing
• ENUM routing
• Routing to applications
![Page 75: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/75.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
WebAdmin: Network settings
• WAN IP
• LAN IP
• Client IPs
• NATed IPs
• Debug IPs
![Page 76: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/76.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
WebAdmin: Account Settings
• Rules
• Advanced Real-Time for auto-attendant
accounts
• PSTN settings
• Preferences
![Page 77: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/77.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
WebAdmin: Monitoring Real-Time
• Statistics
• Monitors
![Page 78: CommuniGate Pro Real-Time Features...CommuniGate Pro Real-Time Features CommuniGate Pro Internet Communications VoIP, Email, Collaboration, IM CommuniGate Pro for VoIP Administrators](https://reader034.vdocuments.net/reader034/viewer/2022042023/5e7bc4b9142228718b5a0674/html5/thumbnails/78.jpg)
CommuniGate Pro ● Internet Communications ● VoIP, Email, Collaboration, IM ● www.communigate.com
WebAdmin: Working with SIP logs
• INVITE sip:number
• SIPDATA
• Call-ID
• Keyed filtering