How do I receive calls on an SIP Endpoint?

You can either directly receive calls on a softphone, hard phone, web app, Android app, or iOS app in which the Plivo Endpoint has been configured, or receive an inbound call to a Plivo DID that can be redirected to an Endpoint.

Inbound calls directly to endpoints:

You can make calls from a SIP Endpoint to another SIP Endpoint by dialing out to the SIP URI of the endpoint. Find the SIP URI for an endpoint here: https://console.plivo.com/voice/endpoints/ and click on the + sign for the Endpoint for which you need the SIP URI.

Note: You can make calls to an Endpoint from a Plivo Endpoint or an external SIP endpoint as well (if the external VOIP provider supports that). Alternately, you can also make calls to an endpoint using our outbound call API (https://www.plivo.com/docs/api/call/#make-an-outbound-call): 

Inbound call to DIDs redirected to endpoints:

You can use the demo call forwarding application to redirect the inbound calls to a DID and then to an endpoint.

Demo call forward:

http://callforward.herokuapp.com/forward/?Users=sip:exampleendpoint12345@phone.plivo.com

sip:exampleendpoint12345@phone.plivo.com → SIP URI of the endpoint to which you want calls to be redirected. Or, you can set up call forwarding with the help of a Dial XML, similar to the example laid out below, which can redirect calls to the endpoint.

<Response>

    <Dial>

        <User sendDigits="wwww2410">sip:john1234@phone.plivo.com</User>

    </Dial>

</Response>

Answer_url attached to the Plivo DID should return an XML document like the example above.

Note: The endpoint should be assigned with direct-dial application. 

http://plivodirectdial.herokuapp.com/response/sip/route/?DialMusic=real&CLID= PUT YOUR CALLER ID HERE

You can use your desired phone number as caller ID.

Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket