> ## Documentation Index
> Fetch the complete documentation index at: https://docs.awazindia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Telnyx

> A step by step guide to connect to your Telnyx account via SIP trunking

## Steps

<Steps>
  <Step title="Create Elastic SIP Trunking">
    1. Create the trunk, select FQDN as the type, and give it a name.

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/create.jpeg?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=b09578356c16d665aff8134a32e161f5" style={{ borderRadius: '0.5rem' }} width="2253" height="565" data-path="images/sip/create.jpeg" />
    </Frame>

    2. Add FQDN Add the FQDN of AwazIndia’s SIP server:
       <code>5t4n6j0wnrl.sip.livekit.cloud</code>. Select <code>SRC</code> as the DNS record type.

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/setting.jpeg?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=6d2d56fbf9a68ef03ff2d336e7ef61d5" style={{ borderRadius: '0.5rem' }} width="1437" height="732" data-path="images/sip/setting.jpeg" />
    </Frame>

    3. Setup Outbound Calls Authentication

    Select credentials as the authentication method, and add the username and password. You will need to use this username and password when importing the number to AwazIndia.

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/outbound-auth.jpeg?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=6919056c5de196a5230c285f77fe8d6b" style={{ borderRadius: '0.5rem' }} width="583" height="376" data-path="images/sip/outbound-auth.jpeg" />
    </Frame>

    4. Setup Inbound Setting

    <ul>
      <li>Select <code>+E.164</code> as the number format.</li>
      <li>Select <code>G722</code>, <code>G729</code>, <code>OPUS</code> as the codec.</li>
      <li>Select <code>TCP</code> as the transport method. (UDP temporarily not supported due to a connectivity issue)</li>
      <li>Select your SIP region.</li>
    </ul>

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/inbound-setting.jpeg?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=7b6252d61b818539185f43dec7988cfa" style={{ borderRadius: '0.5rem' }} width="2253" height="1095" data-path="images/sip/inbound-setting.jpeg" />
    </Frame>

    5. Setup Outbound Setting

    Create a new outbound voice profile

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/voice-profile.jpeg?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=85402d3b3c78ba09eeda0bbf1d42c3f3" style={{ borderRadius: '0.5rem' }} width="2232" height="1072" data-path="images/sip/voice-profile.jpeg" />
    </Frame>

    And select that in the outbound setting

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/outbound-setting.jpeg?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=9689f175ac296f124894872e2bef50b7" style={{ borderRadius: '0.5rem' }} width="2246" height="900" data-path="images/sip/outbound-setting.jpeg" />
    </Frame>
  </Step>

  <Step title="Move numbers to Elastic SIP Trunking">
    You’ve created the elastic SIP trunk, now you would need to purchase numbers / move existing numbers to this trunk.

    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/awazindia/images/sip/assign-number.jpeg" style={{ borderRadius: '0.5rem' }} />
    </Frame>
  </Step>

  <Step title="Import numbers to AwazIndia">
    Now the number is set up with your elastic SIP trunking, you need to import the number to AwazIndia so that we will know how to route the call.

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/selectsip.png?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=340c2ab7ae9504e61f83ea56fffb587e" style={{ borderRadius: '0.5rem' }} width="445" height="286" data-path="images/sip/selectsip.png" />
    </Frame>

    Here you will supply the termination SIP URI you set up in Step 1. If you have set up auth via credentials, you will need to supply the username and password as well.

    <Frame>
      <img src="https://mintcdn.com/awazindia/efZAbhtTbmiYsm8o/images/sip/fillall.png?fit=max&auto=format&n=efZAbhtTbmiYsm8o&q=85&s=893d954488287adfb6d6b263c7ebd9a7" style={{ borderRadius: '0.5rem' }} width="449" height="916" data-path="images/sip/fillall.png" />
    </Frame>
  </Step>
</Steps>
