Hallo,
ich brauch dazu Hilfe und verstehe offenbar irgendwas nicht richtig bzw. hab etwas vergessen.
Was ich will: Anruf kommt rein > Nummer nicht bekannt > Abfrage externe DB > Name im Display des angerufenen Kollegen.
Anleitung genutzt: https://www.3cx.com/docs/sql-database-pbx-integration/
"Contact Synchronization – Inbound calls from external numbers trigger a contact lookup in your database, and contact details are added to 3CX Contacts. This way, the caller name is automatically shown in your phone display when you receive the call." <-- Der letzte Satz sagt genau das was ich will. Speichern will ich die Nummer eigentlich nicht.
Ergebnis nach dem TEST Button:
"CRM-integration ist korrekt, jedoch konnte die Rufnummer keinem Kontakt zugeordnet werden bitte überprüfen sie das Fehlerprotokoll auf bisher unerkannte Probleme und Warnungen und verwenden sie einen andere Rufnummer."
"3cx crm integration is working ok but contact number does not exist. Check log for more info or try different number."
Darunter stehen genau die Werte aus der Datenbank die ich haben will, eine ID, Vorname und Nachname, auch entsprechend zugeordnet.
Also war der Vorgang eigentlich Erfolgreich.
Diesen Vorgang kann ich auch im Log sehen.
Warum diese Fehlermeldung? Es ist klar, dass die Nummer nicht zugeordnet werden kann, deswegen suche ich sie ja.
Warum erfolgt diese Abfrage nicht, wenn jemand anruft? Denn der Name wird nicht im Display angezeigt. und es ist auch keine Abfrage im Log zu sehen.
Contact URL prefix and suffix. Sind frei, da ich nicht verstehe was ich da eintragen soll.
Aus dem 3cxManagementConsole.log
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: companyname. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: email. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonemobile. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonemobile2. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonehome. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonehome2. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonebusiness. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonebusiness2. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phoneother. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: faxbusiness. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: faxhome. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: pager. Null value is returned.
2020/08/21 15:19:47.835|726|0023|Dbg|Unknown path element: photourl. Null value is returned.
2020/08/21 15:19:47.835|726|0023|Dbg|Filtered variables for matching:
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneBusiness' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneHome' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneMobile2' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'FirstName' = 'gefundener Name'
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneOther' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'CompanyName' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneHome2' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'LastName' = 'gefundener Name'
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneBusiness2' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhotoUrl' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'FaxHome' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'Email' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'ContactID' = '34489'
2020/08/21 15:19:47.835|726|0023|Dbg| 'Pager' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneMobile' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'FaxBusiness' = ''
2020/08/21 15:19:47.844|726|0023|Dbg|Processing scenario 'CreateContactRecord'.
2020/08/21 15:19:47.852|726|0023|Dbg|Skipping SQL database query...
2020/08/21 15:19:47.852|726|0023|Dbg|No matchings found.
Danke Ralf
ich brauch dazu Hilfe und verstehe offenbar irgendwas nicht richtig bzw. hab etwas vergessen.
Was ich will: Anruf kommt rein > Nummer nicht bekannt > Abfrage externe DB > Name im Display des angerufenen Kollegen.
Anleitung genutzt: https://www.3cx.com/docs/sql-database-pbx-integration/
"Contact Synchronization – Inbound calls from external numbers trigger a contact lookup in your database, and contact details are added to 3CX Contacts. This way, the caller name is automatically shown in your phone display when you receive the call." <-- Der letzte Satz sagt genau das was ich will. Speichern will ich die Nummer eigentlich nicht.
Ergebnis nach dem TEST Button:
"CRM-integration ist korrekt, jedoch konnte die Rufnummer keinem Kontakt zugeordnet werden bitte überprüfen sie das Fehlerprotokoll auf bisher unerkannte Probleme und Warnungen und verwenden sie einen andere Rufnummer."
"3cx crm integration is working ok but contact number does not exist. Check log for more info or try different number."
Darunter stehen genau die Werte aus der Datenbank die ich haben will, eine ID, Vorname und Nachname, auch entsprechend zugeordnet.
Also war der Vorgang eigentlich Erfolgreich.
Diesen Vorgang kann ich auch im Log sehen.
Warum diese Fehlermeldung? Es ist klar, dass die Nummer nicht zugeordnet werden kann, deswegen suche ich sie ja.
Warum erfolgt diese Abfrage nicht, wenn jemand anruft? Denn der Name wird nicht im Display angezeigt. und es ist auch keine Abfrage im Log zu sehen.
Contact URL prefix and suffix. Sind frei, da ich nicht verstehe was ich da eintragen soll.
Aus dem 3cxManagementConsole.log
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: companyname. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: email. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonemobile. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonemobile2. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonehome. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonehome2. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonebusiness. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phonebusiness2. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: phoneother. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: faxbusiness. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: faxhome. Null value is returned.
2020/08/21 15:19:47.834|726|0023|Dbg|Unknown path element: pager. Null value is returned.
2020/08/21 15:19:47.835|726|0023|Dbg|Unknown path element: photourl. Null value is returned.
2020/08/21 15:19:47.835|726|0023|Dbg|Filtered variables for matching:
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneBusiness' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneHome' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneMobile2' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'FirstName' = 'gefundener Name'
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneOther' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'CompanyName' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneHome2' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'LastName' = 'gefundener Name'
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneBusiness2' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhotoUrl' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'FaxHome' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'Email' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'ContactID' = '34489'
2020/08/21 15:19:47.835|726|0023|Dbg| 'Pager' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'PhoneMobile' = ''
2020/08/21 15:19:47.835|726|0023|Dbg| 'FaxBusiness' = ''
2020/08/21 15:19:47.844|726|0023|Dbg|Processing scenario 'CreateContactRecord'.
2020/08/21 15:19:47.852|726|0023|Dbg|Skipping SQL database query...
2020/08/21 15:19:47.852|726|0023|Dbg|No matchings found.
Danke Ralf