LogoLogo
  • 👋START HERE
    • Welcome!
  • ℹ️General
    • Release Notes
      • Full Feature Base Template
      • Services
      • Rule-based Automation
        • May 2025
        • February 2025
        • January 2025
        • December 2024
        • November 2024
        • October 2024
        • September 2024
        • August 2024
        • July 2024
        • June 2024
        • May 2024
        • April 2024
        • March 2024
        • February 2024
        • January 2024
        • 2023
        • 2022
        • 2021
        • Dialog Design Update
    • Glossary of Terms
    • Authentication Methods
      • SSO (Single Sign-On)
      • Built-In User Management
    • Acceptable Use Policy
  • ⚙️Rule-based Automation
    • Overview
      • Account Settings
        • Profile
        • Team
        • Roles and Permissions
          • User Management
          • Project Permissions
      • Basic Concepts
        • Project Management
        • Version Management
        • Multi-Lingual Bots
          • Supported Languages
        • Managing User Interactions
          • Unexpected User Input
          • No User Input
    • Dialog Interface
      • Blocks
        • Conversation Logic
          • Start Conversation
          • Global
          • State
          • Intermediate Response
          • To Previous State
          • End Conversation
        • Subdialog
          • Reusable Subdialogs
        • Phone
          • Continue Listening
          • Call Control
        • Technical Logic
          • Service
          • Condition
          • Storage
        • Other
          • Note
      • Speech Assets
        • Intents
          • Utterances
          • Descriptions
        • Slots
          • Custom Slots
            • List Slots
            • Machine Learning Slots
            • Regex Slots
            • LLM Slots
          • Prebuilt Slots
            • DTMF Slot
        • Text Snippets
        • Dictionary
      • Variables
        • Intents
        • Slots
        • Storage
        • Text Snippets
        • Environments
        • Platform
        • Context
      • Services
        • Service Integration Guide
        • Service Development
        • Service Branches and Error Handling
        • Public Services
          • Date and Birthdate Recognition
          • Spelling Post-Processing for Phone
          • IBAN Validation
          • License Plate Validation
          • Address Search
          • Street Names per Postal Code
          • Email Service
          • SMS Service
          • API Adapter
          • Salesforce-Flow Connector
          • Opening Hours
          • Speech-to-Text Hints
          • Fuzzy Match Names
          • Delay Service
      • Debugger
        • Phone 2
        • WhatsApp
        • Textchat 2
    • Environments Interface
      • Service Keys
    • Deployments Interface
      • Creating a Release
      • Editing a Release
    • Text-to-Speech
      • Azure
      • ElevenLabs
      • OpenAI via Azure (Preview)
      • SSML
        • Audio
        • Break
        • Emphasis
        • Prosody
        • Say-as
        • Substitute
        • Paragraph and Sentence
        • Voice
    • Autocomplete
    • Parloa APIs
      • CallData Service and API
      • Conversation History API
      • Textchat V2 API
    • Phone Integrations
      • Genesys Cloud
        • Setting up the SIP Trunk
        • Sending/Receiving UUI Data
        • Creating a Script to Display UUI
      • SIP
      • Tenios
        • Setting Up an Inbound Connection
        • Setting Up an Outbound Connection
        • Transferring a Call
      • Twilio
      • Public IPs and Port Information
    • AI Integration Overview
      • Dual Intent Recognizer (DIR)
      • Dual Tone Multifrequency (DTMF) Intent
    • Analytics and Debugging
      • Understanding Conversations and Transactions
      • Managing Caller ID Data
      • Hangup Events and Triggered Analytics
      • Analytics Transactions: Data Structure and Insights
      • Dialog Analytics
      • Audit Logs
      • Parloa-hosted Analytics
    • Data Privacy
      • Anonymizing Personally Identifiable Information
    • NLU Training
      • NLU Training Best Practices
    • How To
      • Create a Scalable and Maintainable Bot Architecture
      • Implement OnError Loop Handling
      • Resolve the 'Service Unavailable' Error
    • Reference
      • Parloa Keyboard Shortcuts
      • Frequently Asked Questions (FAQ)
      • JavaScript Cheat Sheet
        • Using Regular Expressions (Regex)
  • 🧠Knowledge Skill
    • Introduction
    • Knowledge Collections
    • Knowledge Sources
    • Knowledge Skill Setup
      • Step 1 – Create a Knowledge Skill Agent
      • Step 2 – Configure a Knowledge Skill Agent
      • Step 3 – Configure a Knowledge Skill Agent
Powered by GitBook
On this page
  • What is SIP?
  • What is PSTN?
  • SIP vs. PSTN: The Key Differences
  • SIP Integration Methods
  • Integrating with Your Phone System
  • SIP Methods in Use
  • SIP Integration Requirements
  • SIP Integration Steps
  • Step 1 – Establish SIP Trunk
  • Step 2 – Forward Calls to Parloa
  • Step 3 – Retrieve Calls from Parloa
  • Additional Considerations
  • PSTN Integration
  • Encryption and Security
  • Security and Privacy Standards
  • Backend Integration
  • Regional Access and Compliance

Was this helpful?

Export as PDF
  1. Rule-based Automation
  2. Phone Integrations

SIP

SIP Integration Guide

What is SIP?

SIP, or Session Initiation Protocol, is a modern protocol for initiating, managing, and terminating voice and video sessions over the Internet. It offers flexibility, scalability, and the capability to transmit multimedia content. Parloa uses SIP to efficiently connect with customer telephony infrastructures, providing enhanced communication capabilities.

What is PSTN?

The Public Switched Telephone Network (PSTN) is the traditional network for voice communication, consisting of telephone lines, cellular networks, and international cables. Although reliable, PSTN lacks the flexibility and multimedia support that SIP technology provides.

SIP vs. PSTN: The Key Differences

  • SIP is preferred for its flexibility, multimedia support, and integration capabilities, making it ideal for modern businesses.

  • PSTN is reliable for voice communications but is less scalable and lacks the multimedia capabilities of SIP.

Parloa favors SIP for its efficiency, cost-effectiveness, and advanced features like direct call routing and data linkage capabilities.

SIP Integration Methods

Integrating with Your Phone System

  • Internet using SIP Connection – This is the preferred method for its direct, encrypted communication, reducing both costs and complexity.

  • Public Switched Telephony Network (PSTN) – Used when SIP is not feasible, involving third-party services for call routing.

SIP Methods in Use

The following describes the SIP methods commonly used with Parloa: SIP INVITE and SIP REFER.

  • Purpose – To initiate or modify SIP sessions.

  • Functionality – Starts a voice interaction or adds participants to a call.

  • Call Flow –

    1. Your PBX initiates the process by sending an INVITE to Parloa.

    2. Parloa responds with provisional responses, leading to a final response (such as 200 OK) to accept the call.

  • Purpose – Used for transferring an ongoing call to another endpoint.

  • Functionality – Instructs the recipient to establish a call with a third-party endpoint.

  • Call Flow –

    1. Parloa sends a REFER request to the current call party.

    2. The party acknowledges and initiates an INVITE to the new target.

    3. If accepted, the call is successfully redirected.

SIP Integration Requirements

Before initiating SIP integration, ensure your system:

SIP Integration Steps

Step 1 – Establish SIP Trunk

1 – Register Your Telephony System with Parloa

Parloa will provide you with a specific URI (Uniform Resource Identifier), such as customer.voip.parloa.com, to connect your system with Parloa's SIP server.

2 – Configure DNS for FQDN Resolution

Set up your telephony system to resolve the FQDN (Fully Qualified Domain Name) provided by Parloa. This step is essential for your system to locate Parloa's SIP server over the Internet. In this case, customer.voip.parloa.com is the FQDN.

3 – Configure Port Numbers

For unencrypted communication, use UDP port 5060.

4 – Whitelist Parloa's IPs

To whitelist IPs –

  1. In the Parloa app, click Deployments -> Releases -> Release Settings:

5 – Optional – Configure Authentication

Step 2 – Forward Calls to Parloa

1 – Identify the Call Forwarding Feature

Locate the call forwarding settings in your telephony system or PBX (Private Branch Exchange).

2 – Set Up Forwarding Rules

Specify conditions under which calls should be forwarded to Parloa, such as all incoming calls or calls during non-business hours.

3 – Test Call Forwarding

Perform a test call to verify that calls are being correctly routed to Parloa.

Step 3 – Retrieve Calls from Parloa

1 – Configure Your System for REFER Requests

Enable it to accept and process SIP REFER requests. This allows for effective call redirection as per the REFER method's workflow.

2 – Prepare for SIP REFER Method

Configure your system to receive and recognize SIP URIs from Parloa. This step is essential for call redirection and sets the foundation for handling REFER requests.

3 – Test Call Reception and Routing
  1. Work with Parloa to perform test calls that include transferring calls back to your system using the REFER method.

  2. During testing, ensure that calls are being correctly routed to the intended destination within your system.

4 – Optional – Integrate Custom SIP Headers

If needed, configure your system to recognize and use custom SIP headers, which Parloa can add for advanced routing decisions and data exchange.

Additional Considerations

PSTN Integration

Parloa offers PSTN integration by providing a dedicated phone number for call forwarding. Configure your PBX (Private Branch Exchange) or telephony system to forward and receive calls. Ensure to provide a return number for callbacks.

For further information or assistance, please contact your Parloa representative.

Encryption and Security

Parloa offers the option to uphold the highest security standards by enabling encryption of all SIP data using TLS (Transport Layer Security) and securing voice streams with sRTP (Secure Real-Time Transport Protocol) upon request. To utilize these security features and ensure compliance with European data protection laws, please consult with your Parloa representative or reach out to our support team for the necessary certificates.

Security and Privacy Standards

Parloa adheres to internationally recognized security and privacy standards, ensuring that our SIP solutions meet the stringent requirements of various regulatory bodies.

Backend Integration

Regional Access and Compliance

Parloa's services are currently available in Germany and Austria, with ongoing plans for further expansion. Understanding local telecommunications regulations is essential for compliance.

PreviousCreating a Script to Display UUINextTenios

Last updated 1 year ago

Was this helpful?

The PBX sends an request to Parloa, acknowledging the final response, at which point the bot begins speaking.

For secure, encrypted communication, it's recommended to use TLS port 5061 to ensure the security of your SIP communications, especially when transmitting data over the public internet. For example:

Additionally, it's essential to ensure that you have whitelisted our IPs on your network and opened the necessary ports. For more details on our public IPs, please refer to our page.

You must whitelist on your network and open the necessary ports.

In the pop-up window, click the Platform Settings tab to manage your deployment settings, including IP whitelisting:

Add the external IP addresses of your telephony system or network in the Platform Settings tab to ensure Parloa’s system accepts incoming communications from these addresses by clicking the button:

For added security, you can choose to implement authentication with a username and password. Select the Whitelisted IPs + Authentication option and enter the required credentials:

Parloa offers a generic HTTPS web service interface for seamless integration with external data sources and APIs. This integration is facilitated using the block.

⚙️
ACK
Public IPs
Parloa's IPs
Service