> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.marketcall.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Integration with Ringba for payouts

Marketcall now supports a simple integration with call tracking platform Ringba to pass payouts of calls in Marketcall.

First step is to change routing to Marketcall from DID (regular phone number) to SIP (calls over internet).
For that just go to the Target page in Ringba and change it's routing type from DID to SIP and insert following setting:

18331234567@sip.marketcall.com

instead of _18331234567 _put your Marketcall rented phone number for the campaign


![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_1426osh.png)

Now Ringba will pass to Marketcall it's internal call id via SIP

When adding target to your campaing in Ringba make sure you set up revenue based on webhook/postback

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_ecov60.png)

Next step is to set up a postback from Marketcall to Ringba

Go to Ringba webhooks page [https://app.ringba.com/#/dashboard/webhooks](https://app.ringba.com/#/dashboard/webhooks)
Create new Webhook

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_lvzzkb.png)

copy your Ringba link

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_1yyqjzl.png)

Then create a new postback in Marketcall [https://www.marketcall.com/affiliate/postbacks/create](https://www.marketcall.com/affiliate/postbacks/create)
**If you want to get postbacks only on payable calls, please choose call status "Hold" in postback settings in Marketcall**
Insert your Ringba webhook link
Change **callid=[callUUID]&revenue=[conversionAmount]** to **callid={ringba_uuid}&revenue={earn}**

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/postbacksetting_o73j9a.jpg)

Save postback. 

Now Ringba will receive postbacks from Marketcall on your call payouts and both platforms will be synchronized!

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_1op6obn.png)

In case something does not work, it's recommended to ask Ringba support to enable function of passing call id through SIP to the buyer

NB: It's recommended that you set up postbacks for both hold and refused calls.

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/postback-list_yyhcbb.jpg)

### Additional Tips
**If the previous setup is not working, you need to implement this instead 👇**

In response to Ringba, you can obtain the Inbound Call ID from Marketcall by utilizing the updated SIP Endpoint as demonstrated below:
**xxxxxxxxxxx@sip.marketcall.com?inbound=[Call:InboundCallId]** (Please replace xxxxxxxxxxx by using your SIP number rented from Marketcall)

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_1g9dytk.png)

Now, Please ensure to update the postback value in Marketcall by adding the tag **callid={inbound}** as shown in the screenshot provided below:

![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/postbackvalue_1r2rcr5.jpg)