Set outboundcallerID using transfer in CFD

RCCradio

Customer
Joined
Dec 11, 2020
Messages
65
Reaction score
37
Due to the Maximum "User" limit change that is going to happen, I need to create a CFD that will transfer an incoming call on a DID to an external number and change the outbound callerID to the DID number that was called. I've tried using C# scripts, but I haven't figured out what parameter needs to be changed in order for this to happen.

I just need to the external number to see this call as coming from the DID. The External number answers the phone with a greeting based on the callerID they see.
 
You can't change the caller ID from the CFD app. But something you can do is using a prefix to select a different outbound rule, and then set the caller ID in that rule. That's something you can manage if you just have a few caller ids, not sure what's your scenario.
 
I spent some time thinking through the logic of managing the outbound caller ID for each inbound call redirected to a external number (thus requiring a manipulated Caller ID). In the end I realized, while possible, the cost of developing a complicated solution would be more than the cost of upgrading your 3CX license to a higher extension count.

But you could do something like:
  1. Applicable inbound calls are routed to a CFD
  2. CFD holds on to the call (loop)
  3. CFD adds call to a list of waiting calls (Call History ID, Desired outbound caller ID)
  4. CFD checks if current call is at the top of the list
  5. CFD sets the outbound caller ID for dummy extension
  6. CFD transfers call to dummy extension
  7. CFD removes call from list
  8. Dummy extension forwards call with the temporary caller ID
CFDs are multi-threaded so you could have multiple calls come into 3CX and processed simultaneously. As a result, you have to feed (FIFO queue) one call at a time to the dummy extension so you can change the Caller ID, transfer the call, change the caller ID again, an send the next call...
 
You and your call scripts again. :)
You can do it but you don’t have to. Way too complicated. You don’t even need them.

@RCCradio
For each desired DID and forwarding to a selected external number with a desired custom outbound CallerID do:
  1. set up the desired DID in your SIP trunk
  2. set up a call group:
    name it 001
    assign the DID from point 1 to it
    set call forwarding on no answer to the number **001<desiredTarget>
  3. set up an outbound rule:
    rule name it 001
    calls to numbers starting with prefix = **001
    select the preferred SIP trunk Provider in Route 1
    remove 5 digits
    set the outbound caller ID to the desired outgoing number
In this way, you can forward a larger number of incoming calls to specific destinations with a modified outbound caller ID without having to set up a single extension for it.
 
That @txbastier, is a better idea.
 
  • Like
Reactions: fxbastler

Latest Posts

Forum statistics

Threads
111,991
Messages
590,167
Members
164,929
Latest member
Cloudstar