Carlos Chavez
2018-Feb-22 20:41 UTC
[asterisk-users] Set external CID but retain internal extension in CDR...
On 2/22/18 1:07 PM, Antony Stone wrote:> On Thursday 22 February 2018 at 19:10:51, Carlos Chavez wrote: > >> Usually phone companies set the outgoing CallerID for you but >> recently we got control over that and are now setting the outgoing >> Calleir ID ourselves. My problem now is that the CDR will put the >> outgoing CID in the CDR instead of the extension that dialed and that >> causes problems for reports. What is the proper way to set outgoing CID >> and keeping the original extension number in the CDR? > Surely the CDR field "clid" is your Caller ID, whereas the CDR field "src" is > the originating extension? > > > Antony. >No, the src field contains the external number and the clid field has the extension name but also the external number. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)8116-9161
Antony Stone
2018-Feb-22 21:46 UTC
[asterisk-users] Set external CID but retain internal extension in CDR...
On Thursday 22 February 2018 at 21:41:41, Carlos Chavez wrote:> On 2/22/18 1:07 PM, Antony Stone wrote: > > On Thursday 22 February 2018 at 19:10:51, Carlos Chavez wrote: > >> Usually phone companies set the outgoing CallerID for you but > >> > >> recently we got control over that and are now setting the outgoing > >> Calleir ID ourselves. My problem now is that the CDR will put the > >> outgoing CID in the CDR instead of the extension that dialed and that > >> causes problems for reports. What is the proper way to set outgoing CID > >> and keeping the original extension number in the CDR? > > > > Surely the CDR field "clid" is your Caller ID, whereas the CDR field > > "src" is the originating extension? > > > > > > Antony. > > No, the src field contains the external number and the clid field has > the extension name but also the external number.Okay, then; what do you get in the "channel" field? Antony. -- A user interface is like a joke. If you have to explain it, it means it doesn't work. Please reply to the list; please *don't* CC me.
Carlos Chavez
2018-Feb-22 21:54 UTC
[asterisk-users] Set external CID but retain internal extension in CDR...
On 2/22/18 3:46 PM, Antony Stone wrote:> On Thursday 22 February 2018 at 21:41:41, Carlos Chavez wrote: > >> On 2/22/18 1:07 PM, Antony Stone wrote: >>> On Thursday 22 February 2018 at 19:10:51, Carlos Chavez wrote: >>>> Usually phone companies set the outgoing CallerID for you but >>>> >>>> recently we got control over that and are now setting the outgoing >>>> Calleir ID ourselves. My problem now is that the CDR will put the >>>> outgoing CID in the CDR instead of the extension that dialed and that >>>> causes problems for reports. What is the proper way to set outgoing CID >>>> and keeping the original extension number in the CDR? >>> Surely the CDR field "clid" is your Caller ID, whereas the CDR field >>> "src" is the originating extension? >>> >>> >>> Antony. >> No, the src field contains the external number and the clid field has >> the extension name but also the external number. > Okay, then; what do you get in the "channel" field? > > >??? Channels contains PJSIP/XXXX-(id) ??? Like I mentioned, the problem really lies in that the software used for call reports is coded to the "src" field.? Than is why I need src to hace the extension number. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)8116-9161