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 #?
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@presidium.org>
Hello Rob, try to set che MONITOR_FILENAME as something containing the internal extension befor emasking the CID hope it helps Edoardo Rob Schall ha scritto:> 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 #? > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- Ing. Edoardo Serra WeBRainstorm S.r.l. Via Pio Fo? 83/C 10126 - Torino Tel: +39 011 678 100 Fax: +39 011 678 275