what are the requirements to connect to third party sip from azure communication services

Deepak Sood 0 Reputation points
2023-05-25T13:00:54.1833333+00:00

use case for us is that we will initiate the call from app via the azure communication sdk implemented in the app and we need to connect to 3rd party sip .I am not sure how to achieve this .what all settings i need to configure in azure communication services . and what details i need to request from 3rd party service provider.

any assistance will be greatly appreciated

Thanks in advance

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
687 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Sedat SALMAN 13,165 Reputation points
    2023-05-25T14:48:06.8933333+00:00

    There are two ways to connect Azure Communication Services to a third-party SIP:

    • Voice Calling (PSTN)
    • Azure direct routing

    Voice Calling (PSTN)

    This is a simple way to add PSTN connectivity to your app or service, with Microsoft serving as your telco provider. You can call phones all over the world by purchasing numbers directly from Microsoft. Because Voice Calling (PSTN) operates through Azure Communication Services, no on-premises deployment is required. If necessary, you can connect a supported Session Border Controller (SBC) via Azure direct routing to achieve interoperability with third-party PBXs, analog devices, and other telephony equipment supported by the SBC. Outbound calls with this option are charged at per-minute rates based on the destination country.

    Azure direct routing

    You can use this option to connect your own supported SBC to Azure Communication Services without the need for additional on-premises software. With Communication Services, you can use virtually any telephony carrier. You, your carrier, or your partner can configure and manage this option. It also allows you to configure interoperability between your telephony equipment and Communication Services, such as a third-party PBX and analog devices. This option necessitates an uninterrupted connection to Azure, the deployment and maintenance of a supported SBC, and a contract with a third-party carrier unless it is used to connect to third-party PBX, analog devices, or other telephony equipment for Communication Services users. ​

    0 comments No comments

  2. Sedat SALMAN 13,165 Reputation points
    2023-05-27T11:38:30.22+00:00

    Follow-up Response

    When connecting Azure Communication Services to a third-party SIP, you must typically obtain the following information from the third-party service provider:

    SIP server address

    SIP server port

    SIP username and password

    The transport protocol (UDP, TCP, and TLS are all options.)

    Without going through PSTN or Direct Routing, Azure Communication Services did not directly support third-party SIP connections. This may have changed, so check the official Azure Communication Services documentation or contact Azure support for the most up-to-date information.


  3. brtrach-MSFT 15,256 Reputation points Microsoft Employee
    2023-05-31T20:05:01.36+00:00

    To connect to a third-party SIP service from Azure Communication Services, you will need to obtain the following details from the third-party SIP service provider:

    • SIP URI: This is the unique identifier for the SIP service. It typically takes the form of sip:username@domain.com.
    • IP address: This is the IP address of the SIP service.
    • Port number: This is the port number used by the SIP service.
    • Authentication details: Depending on the requirements of the third-party SIP service, you may need to provide authentication details such as a username and password.

    Once you have obtained these details, you can configure a custom SIP trunk in Azure Communication Services to connect to the third-party SIP service. Here are the steps to configure a custom SIP trunk in Azure Communication Services:

    1. In the Azure portal, navigate to your Communication Services resource.
    2. Click on "SIP Trunk Configuration" in the left-hand menu.
    3. Click on "Add" to create a new SIP trunk configuration.
    4. Enter a name for the SIP trunk configuration.
    5. Enter the SIP URI, IP address, and port number for the third-party SIP service.
    6. If authentication is required, enter the authentication details.
    7. Click "Save" to create the SIP trunk configuration.

    Once you have created the SIP trunk configuration, you can use the Azure Communication Services SDK to initiate calls from your app and connect to the third-party SIP service using the custom SIP trunk you configured in Azure Communication Services.

    Sources that I used to piece together the above answer and can provide you further reading on ACS and SIPs:

    Let me know if this helps to answer your questions. We tried providing detailed steps on how to answer your question. If you found this helpful, we would greatly appreciate it if you could provide a positive rating. A positive rating will help to undo the previous rating and would help our team. Thank you for your consideration.

    0 comments No comments