- Joined
- Jul 9, 2024
- Messages
- 14
- Reaction score
- 10
Hi, not necessarily a technical question but more checking if this is fundamentally possible to start with.
Imagine a customer with a 3CX server. They have multiple CRMs for different sites, and want to integrate with all of them.
I am wondering if it would be possible to write a script which will check the number being called, and run a certain part of the script relevant for that site based on the number (each site will have a unique number).
For example, here's some pseudocode:
if inboundNumber == 123 {
run API for CRM 1
}
else if inboundNumber == 456{
run API for CRM 2
}
else if inboundNumber == 789{
run API for CRM 3
}
Is this possible?
Imagine a customer with a 3CX server. They have multiple CRMs for different sites, and want to integrate with all of them.
I am wondering if it would be possible to write a script which will check the number being called, and run a certain part of the script relevant for that site based on the number (each site will have a unique number).
For example, here's some pseudocode:
if inboundNumber == 123 {
run API for CRM 1
}
else if inboundNumber == 456{
run API for CRM 2
}
else if inboundNumber == 789{
run API for CRM 3
}
Is this possible?