# Integrate Asterisk with CRM

**URL:** <https://community.asterisk.org/t/integrate-asterisk-with-crm/71687>\
**Category:** Asterisk Integration\
**Created:** [August 16, 2017, 3:02pm UTC](https://community.asterisk.org/t/integrate-asterisk-with-crm/71687 "2017-08-16T15:02:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahan77](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@mahan77](https://community.asterisk.org/u/mahan77)\
**Post date:** [August 16, 2017, 3:02pm UTC](https://community.asterisk.org/t/integrate-asterisk-with-crm/71687/1 "2017-08-16T15:02:40Z")

</div>

Hi,

I’m looking to integrate Asterisk with our own CRM software. I need to send caller ID and calls status include answered channel to CRM.  
Any advice please

Regards  
Sathees

---

<div class="post-metadata">

**Author:** ![ycaner](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ycaner/32/125_2.png) [@ycaner](https://community.asterisk.org/u/ycaner)\
**Post date:** [August 16, 2017, 3:20pm UTC](https://community.asterisk.org/t/integrate-asterisk-with-crm/71687/2 "2017-08-16T15:20:11Z")

</div>

Hello,  
you can use AMI or ARI to get any state.  
for AMI, there is a java library to use it.

---

<div class="post-metadata">

**Author:** ![ambiorixg12](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ambiorixg12/32/1887_2.png) [@ambiorixg12](https://community.asterisk.org/u/ambiorixg12)\
**Post date:** [August 16, 2017, 3:45pm UTC](https://community.asterisk.org/t/integrate-asterisk-with-crm/71687/3 "2017-08-16T15:45:18Z")

</div>

The information you need it is avaible on the variables ${CALLERID(num)} and ${DIALSTATUS} , ${CHANNEL} , once you have suh information you can send that information in a postback using curl to your CRM

---

<div class="post-metadata">

**Author:** ![kingasterisk](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kingasterisk](https://community.asterisk.org/u/kingasterisk)\
**Post date:** [July 11, 2026, 7:57am UTC](https://community.asterisk.org/t/integrate-asterisk-with-crm/71687/4 "2026-07-11T07:57:54Z")

</div>

Asterisk provides several ways to integrate with your CRM depending on your requirements.

We typically use:

- **AMI (Asterisk Manager Interface)** for real-time events (ringing, answered, hangup, bridge, queue events, etc.)

- **ARI (Asterisk REST Interface)** for advanced call control and custom applications.

- **Dialplan AGI** if you need to send caller information to your CRM before or during the call.

- **CDR** for storing detailed call records after the call ends.

- Caller ID (CLI)

- Called number

- Call direction (Inbound/Outbound)

- Call status (Ringing, Answered, Busy, No Answer, Failed)

- Answered channel/agent extension

- Queue name

- Call duration and billable time

- Recording URL (if enabled)

- Unique Call ID

- Hangup cause

We have experience building custom Asterisk/VICIdial integrations with CRMs using REST APIs

If you can share:

1. Which version of Asterisk you’re using,
2. Whether your CRM exposes REST APIs,
3. Whether this is inbound, outbound, or both,

I’d be happy to suggest the best integration approach.
