Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17504

Use user extension as part of CID

$
0
0

@wooshell wrote:

I’ve searched for this everywhere, but all I get is either bare Asterisk solutions that won’t work with FreePBX (2.11), or solutions that only work for tiny installations due to the overhead involved…

Basically, this: I’ve got a call center working for several companies, and outbound routes which set the CID for the appropriate company hotline number according to a prefix dialled before the customer’s number. So far, so usual.
I now want to give our call center staff an opportunity to choose “let me dial out with who I really am”, e.g. for personal calls etc, where they appear to the called party with their real call-back-able number. I failed to achieve that so far. Theoretically, this would just require a Set(CALLERID(number)=004912345678${AMPUSER}); in the appropriate place in the dialplan.
I tried putting this into the Override CID field in FreePBX, but I get “Invalid outbound CID”, because the ${AMPUSER} part is non-numeric. I can’t put it into extensions_additional.conf where the outbound routes are defined, because this file gets rewritten after each configuration change. I don’t want to modify the FreePBX web configurator code to create this line, because that approach is plain ugly and gets destroyed with module updates.
Is there any non-ugly way to configure that?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>