How to Route Calls to a SIP Address

Follow

Retreaver offers the option of routing calls to a Session Initiation Protocol (SIP) address instead of a phone number. Instructions below will guide you on using SIP for inbound and outbound call routing.


Outbound

Outbound SIP is configured by editing the Call Endpoint (Buyer) and changing the Number field. Once you begin typing sip: the screen will change to allow entry for the username and password fields required.

2e5o3.png

There are no changes needed to the Retreaver system to do outbound SIP, but it is important to know how the Call Endpoint (Buyer) will authenticate the calls via SIP to their system.

You may authenticate using one of the following three methods:

  • No authentication - just leave Username and Password blank.

  • With a Username and password.

  • By Whitelisting Twilio IP addresses. Leave the Username and Password blank for this option. If using this method, below is what you will need to provide your Call Endpoint (Buyer).

Signaling IPs to whitelist

Port 5060 (UDP/TCP), 5061 (TLS)
54.172.60.0
54.172.60.1
54.172.60.2
54.172.60.3
54.171.127.192
54.171.127.193
54.171.127.194
54.65.63.192
54.65.63.193
54.65.63.194
54.169.127.128
54.169.127.129
54.169.127.130
54.252.254.64
54.252.254.65
54.252.254.66
177.71.206.192
177.71.206.193
177.71.206.194


Inbound

Inbound SIP will need to be set up manually with the help of a member if the Retreaver team so contact us to get started. Once an admin has enabled this for your account, you can begin setting up the inbound SIP.

Inbound SIP is authenticated in one of two ways:

  • With a Username and Password. A Retreaver admin will provide this for you during setup. Example: sip:+18882223333@retreaver.sip.twilio.com
  • By Whitelisting IP addresses where traffic will come from. Send a list of any source you need whitelisted to support@retreaver.com.
    Example: sip:+18882223333@retreaver-ip.sip.twilio.com

Any number you pull from the system can receive calls via SIP from any country. Just replace the example above with the phone number you want SIP calls to come in on - and don’t forget the plus and the country code!


Using SIP headers

Calls to Call Endpoints (Buyers) using SIP will automatically include several SIP headers in the INVITE request. These headers include X-PH-RetreaverUUID, the UUID for the call; X-PH-RetreaverKey, the postback key for the call; X-PH-RetreaverAFID, the publisher ID of the responsible Publisher; and X-PH-RetreaverSID, the sub_id of the responsible sub-affiliate/sub-publisher if one is set.

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.