Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NethCTI 3: last call box: number of outgoing call is not associated to phonebook name #5538

Closed
alepolidori opened this issue Dec 19, 2018 · 13 comments
Labels
bug A defect of the software nethcti Relative to NethCTI client or server verified All test cases were verified successfully
Milestone

Comments

@alepolidori
Copy link

alepolidori commented Dec 19, 2018

Description

Into the last call box:
number of outgoing call is not associated to phonebook name.

Expected behavior

Show the name and the number as happen for incoming calls

Actual behavior

Cti shows only the number and the name in the tooltip.

Components

cti client

@alepolidori alepolidori self-assigned this Dec 19, 2018
@alepolidori alepolidori added bug A defect of the software nethcti Relative to NethCTI client or server labels Dec 19, 2018
@alepolidori alepolidori added this to the NethVoice 14 milestone Dec 19, 2018
@alepolidori
Copy link
Author

alepolidori commented Dec 19, 2018

In case of outgoing call (from Alessandro Polidori) the data is:

{
  "time": 1545233813,
  "channel": "PJSIP/200-00000007",
  "dstchannel": "PJSIP/204-00000008",
  "uniqueid": "1545230213.7",
  "linkedid": "1545230213.7",
  "userfield": "",
  "duration": 5,
  "billsec": 1,
  "disposition": "ANSWERED",
  "dcontext": "ext-local",
  "recordingfile": "",
  "cnum": "200",
  "cnam": "Alessandro Polidori",
  "ccompany": "",
  "src": "200",
  "dst": "204",
  "dst_cnam": "",
  "dst_ccompany": "",
  "clid": "\"Alessandro Polidori\" <200>",
  "direction": "out"
}

so, only dst_cnam is good for the fix.

For incoming from Stefano

{
  "time": 1545233510,
  "channel": "PJSIP/204-00000004",
  "dstchannel": "PJSIP/200-00000006",
  "uniqueid": "1545229910.4",
  "linkedid": "1545229910.4",
  "userfield": "",
  "duration": 6,
  "billsec": 2,
  "disposition": "ANSWERED",
  "dcontext": "ext-local",
  "recordingfile": "",
  "cnum": "204",
  "cnam": "Stefano Fancello",
  "ccompany": "",
  "src": "204",
  "dst": "200",
  "dst_cnam": "",
  "dst_ccompany": "",
  "clid": "\"Stefano Fancello\" <204>",
  "direction": "in"
}

in this case "clid" has been used from previous commit.

@alepolidori alepolidori removed their assignment Dec 19, 2018
@alepolidori
Copy link
Author

How to test

  • make a call to a destination
  • verify that name appears in the last call box verifying with developer tools that the field dst_cnam from the rest api response is not empty

@nethbot
Copy link
Member

nethbot commented Dec 19, 2018

in 7.6.1810/nethesis-testing:

@alepolidori alepolidori added the testing Packages are available from testing repositories label Dec 19, 2018
@nethbot
Copy link
Member

nethbot commented Dec 19, 2018

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Dec 20, 2018

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Dec 20, 2018

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Dec 20, 2018

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Dec 20, 2018

in 7.6.1810/nethesis-testing:

@andrea-marchionni andrea-marchionni added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Jan 3, 2019
@andrea-marchionni andrea-marchionni removed their assignment Jan 3, 2019
@nethbot
Copy link
Member

nethbot commented Jan 3, 2019

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Jan 3, 2019

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Jan 7, 2019

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Jan 7, 2019

in 7.6.1810/nethesis-testing:

@nethbot
Copy link
Member

nethbot commented Jan 11, 2019

in 7.6.1810/nethesis-updates:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect of the software nethcti Relative to NethCTI client or server verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

3 participants