This article explains the steps to configure an interconnection between a SIP end-point and the TelecomsXChange (TCXC) VoIP Exchange server using SIP protocol.


To establish a connection, you will need the following parameters:


  • voip_login Unique username provided in TCXC portal for each client automatically.
  • voip_password: Unique password provided in TCXC portal for each client automatically.
  • IP/Host address: You can use either of the following primary and secondary connection points:
    • sip01.telecomsxchange.com
    • sip02..telecomsxchange.com
  • Port: 5060 
  • Tech Prefix (unique to each SIP trunk / carrier on the exchange)


You can register as peer. To make or receive phone calls, you must authorize your IP-address and have enough prepaid balance. Additionally you need to have at least 1 purchased route (subscribed to a Seller/carrier route) on the platform.


Example of SIP message exchanged with TelecomsXChange Voice SIP exchange:


INVITE

  1. Endpoint 1 sends an INVITE message to Endpoint 2, requesting a new communication session. The message contains information about the communication session, such as the IP address and port number of the endpoint, the type of communication (voice, video, or text), and the media format to be used.

100 Trying

  1. Endpoint 2 sends a 100 Trying response to Endpoint 1, indicating that the request has been received and is being processed.

180 Ringing

  1. Endpoint 2 sends a 180 Ringing response to Endpoint 1, indicating that the remote party is being alerted and the call is being forwarded to the appropriate endpoint.

200 OK

  1. Endpoint 2 sends a 200 OK response to Endpoint 1, indicating that the communication session has been established and the call can proceed.

ACK

  1. Endpoint 1 sends an ACK message to Endpoint 2, acknowledging receipt of the 200 OK response and confirming that the communication session has been established.

BYE

  1. When the communication session is complete, either endpoint can send a BYE message to terminate the call. The BYE message contains information about the session, such as the duration of the call and any other relevant details.

200 OK

  1. Endpoint 2 sends a 200 OK response to Endpoint 1, confirming that the communication session has been terminated.

This is a basic example of a SIP message exchange, and in practice, there may be many more messages exchanged between endpoints depending on the complexity of the communication session.



Check out Understanding SMPP Protocol to learn more.