[asterisk-users] CallerID masking

Alex Balashov abalashov at evaristesys.com
Thu Apr 19 14:38:59 MST 2007


On Thu, 19 Apr 2007, Rob Schall said something to this effect:

> Hello all,
>
> I currently have all outgoing calls set to mask the caller id so it will
> always appear to be coming from our main number. The problem I'm having
> though, is with both the call detail in mysql and with the automon
> (recording) feature. It shows the originating number as the number I
> masked it to, rather than the actual person calling. How can I go about
> having both the destination see our main number, but our internally
> logging see the correct #?

   I haven't tried this one, but you could try assign the source caller ID 
number to a temporary variable, mask the caller ID, then Set() one of
the CDR variables (${CDR(src)} I presume) to the value of the temporary
variable... in the dialplan.

-- Alex

--
Alex Balashov <sasha at presidium.org>


More information about the asterisk-users mailing list