[Gelöst] Kontakte werden nicht angezeigt

LarsK1

Neuer User
Mitglied seit
25 Mai 2021
Beiträge
31
Punkte für Reaktionen
4
Punkte
8
Hallo Ihr,
ich habe ein Problem, seit kurzem bin ich auf eine neue Telefonanlage umgestiegen (Reventix), um die Fritzbox loszuwerden. Leider habe ich das Problem, dass mein Snom (D785) meine Kontakte aus dem LDAP-Server nicht anzeigt, obwohl sie laut Log korrekt aufgelöst werden.

Anbei mal die Telefoneinstellungen (Rest wie Standart, Passwörter und persönliche Daten aus Sichterheitsgründen entfernt):

Code:
  <phone_name perm="">SnomD735-Mitarbeiter1</phone_name>
  <web_language perm="">Deutsch</web_language>
  <language perm="">Deutsch</language>
  <timezone perm="">GER+1</timezone>
  <time_24_format perm="">on</time_24_format>
  <ntp_server perm="R">de.pool.ntp.org</ntp_server>
  <tone_scheme perm="">GER</tone_scheme>
  <date_us_format perm="">off</date_us_format>
 
  <!--# Grundeinstellungen SIP-->
  <user_phone perm="">off</user_phone>
  <redirect_ringing perm="">off</redirect_ringing>
  <signaling_tos perm="">104</signaling_tos>
  <sip_retry_t1 perm="">4000</sip_retry_t1>
  <filter_registrar perm="">off</filter_registrar>
  <codec_tos perm="">184</codec_tos>
  <!-- <challenge_response perm="">off</challenge_response> -->
  <block_url_dialing perm="">on</block_url_dialing>
  <allow_rtp_on_mute perm="">on</allow_rtp_on_mute>
 
  <!--# Identität 1 -->
  <call_waiting idx="1" perm="R">on</call_waiting>
  <user_active idx="1" perm="">on</user_active>
  <user_auth_tag idx="1" perm="">on</user_auth_tag>
  <user_expiry idx="1" perm="">600</user_expiry>
  <user_host idx="1" perm="">pbx.sipbase.de</user_host>
  <user_idle_text idx="1" perm="">1020</user_idle_text>
  <user_name idx="1" perm="">1020-94968112</user_name>
  <user_realname idx="1" perm="">B&#252;ro 1</user_realname>
  <user_remove_all_bindings idx="1" perm="">on</user_remove_all_bindings>
  <user_srtp idx="1" perm="">off</user_srtp>
  <user_subscription_expiry idx="1" perm="">600</user_subscription_expiry>
  <user_symmetrical_rtp idx="1" perm="">on</user_symmetrical_rtp>
  <keepalive_interval idx="1" perm="R">30</keepalive_interval>
  <user_idle_number idx="1" perm="">1020</user_idle_number>
  <user_idle_text idx="1" perm="">Mitarbeiter 1</user_idle_text>
  <record_missed_calls idx="1" perm="">off</record_missed_calls>
 
 
  <!--# Updateeinstellungen -->
 
  <settings_refresh_timer perm="">3600</settings_refresh_timer>
  <update_policy perm="R">auto_update</update_policy>
  <pnp_config perm="R">off</pnp_config>
 
  <!--# Netzwerk-Einstellungen -->
 
  <ipv6_over_ipv4 perm="R">on</ipv6_over_ipv4>
  <dhcp_v6 perm="R">on</dhcp_v6>
  <vlan_id perm="R">4</vlan_id>
  <vlan_port_tagging perm="R">on</vlan_port_tagging>
  <vlan_pc_id perm="R">1</vlan_pc_id>
 
  <!--# Klingelton-Einstellungen -->
 
  <custom_melody_url perm="">https://telefon.steuerberater-bayreuth.com/ringtone.wav</custom_melody_url>
  <user_ringer idx="1" perm="">Custom</user_ringer>
  <user_custom idx="1" perm="">https://telefon.steuerberater-bayreuth.com/ringtone.wav</user_custom>
  <alert_internal_ring_sound perm="">Custom</alert_internal_ring_sound>
  <alert_external_ring_sound perm="">Custom</alert_external_ring_sound>
 
  <!--# LDAP -->
 
  <ldap_server perm=""></ldap_server>
  <ldap_base perm=""></ldap_base>
  <ldap_username perm="">cn=Snom,ou=People,dc=steuerberater-bayreuth,dc=com</ldap_username>
  <ldap_over_tls perm="">on</ldap_over_tls>
  <ldap_port perm="">636</ldap_port>
  <ldap_name_attributes perm="">cn sn</ldap_name_attributes>
  <ldap_number_attributes perm="">telephoneNumber homePhone mobile</ldap_number_attributes>
  <ldap_display_name perm="">cn</ldap_display_name>
  <country_code perm="">+49</country_code>
  <area_code perm="">0921</area_code>
  <ldap_sort_mode perm="">client</ldap_sort_mode>
  <ldap_sort_parameters perm="">cn</ldap_sort_parameters>
  <contact_source_priority perm="">Ldap Sip</contact_source_priority>
  <ldap_lookup_ringing perm="">on</ldap_lookup_ringing>
  <ldap_search_filter perm="">(cn=*%*)</ldap_search_filter>
  <ldap_search_filter_during_call perm="">(cn=*%*)</ldap_search_filter_during_call>
  <ldap_number_filter perm="">(|(telephoneNumber=%)(Mobile=%)(ipPhone=%))</ldap_number_filter>
  <ldap_number_filter_during_call perm="">(|(telephoneNumber=%)(Mobile=%)(ipPhone=%))</ldap_number_filter_during_call>
  <dkey_directory perm="">keyevent F_DIRECTORY_SEARCH</dkey_directory>
  <context_key idx="0" perm="">keyevent F_DIRECTORY_SEARCH</context_key>
  <display_method perm="">display_name_number</display_method>
  <directory_display_order perm="">last_name_first_name</directory_display_order>
 
  <!--# Display Einstellungen -->
 
  <backlight_idle perm="">1</backlight_idle>
  <label_scroll_timeout perm="R">10</label_scroll_timeout>
  <dim_timer perm="">10</dim_timer>
  <show_ivr_digits perm="">on</show_ivr_digits>
  <led_on perm="">CONNECTED IDLE ON BUSY IN_A_CALL CALLING IN_A_MEETING URGENT_INTERRUPTIONS_ONLY DND UNAVAILABLE ACTIVE INACTIVE BE_RIGHT_BACK AWAY SEIZED CONNECTED ON_HOLD OFFHOOK RINGBACK I-Am-Ready AVAILABLE I-Am-Busy PhoneHasCall PhoneHasMissedCalls</led_on>
  <led_blink_slow perm="">PARKED HOLDING I-Am-Almost-Ready call_center_status_normal PhoneHasCallInStateHolding held_local held_remote KeyConfigActive call_parked</led_blink_slow>
  <led_blink_medium perm="">RECORDING MESSAGE DateOngoing DateReminding</led_blink_medium>
  <led_blink_fast perm="">RINGING PICKUP call_center_status_exceed PhoneHasCallInStateRinging alerting_local alerting_remote</led_blink_fast>
  <led_red perm="">CONNECTED AWAY INACTIVE BE_RIGHT_BACK KeyConfigActiveBUSY DND_ALL DND_SELF I-Am-Busy IN_A_CALL IN_A_MEETING URGENT_INTERRUPTIONS_ONLY UNAVAILABLE seized_remote alerting_remote active_remote held_remote</led_red>
  <led_green perm="">IDLE AVAILABLE AVAILABLE_ON_MOBILE AVAILABLE_AT_DESK I-Am-Ready I-Am-Almost-Ready call_center_status_empty call_center_status_normal call_center_status_exceed seized_local alerting_local active_local held_local call_parked</led_green>
  <led_orange perm="">RINGING</led_orange>
  <led_blue perm=""></led_blue>
 
  <!--# Aussehen Einstellungen -->
 
  <ui_theme perm="">Colorful</ui_theme>
 
  <!--# Weitere Einstellungen -->
 
  <transfer_on_hangup perm="">on</transfer_on_hangup>
  <transfer_on_hangup_non_pots perm="">on</transfer_on_hangup_non_pots>
  <answer_after_policy perm="">not_busy</answer_after_policy>
  <enable_keyboard_lock perm="">off</enable_keyboard_lock>

Hier noch der SIP-Log von einem Anruf:
Code:
Received from Udp:212.87.45.206:5060 on Udp:192.168.2.41:41040 at Mar 21 17:40:48.640 (1199 bytes):

INVITE sip:[email protected]:41040;line=ivp9l8j0 SIP/2.0
Record-Route: <sip:212.87.45.206;lr;nat=yes;did=374.4f601d76>
Via: SIP/2.0/UDP 212.87.45.206:5060;branch=z9hG4bK4436.06db5953.0
Via: SIP/2.0/UDP 212.86.39.34:5060;received=212.86.39.34;branch=z9hG4bK0d76c2b0;rport=5060
Max-Forwards: 69
From: "004915128034205" <sip:[email protected]>;tag=as7cb7787b
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]:5060>;nat=yes
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: PBX
Date: Mon, 21 Mar 2022 16:40:49 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces
P-Asserted-Identity: "004915128034205" <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 338

v=0
o=root 1959143979 1959143979 IN IP4 212.86.39.34
s=reventix SIP Gateway
c=IN IP4 212.86.39.34
t=0 0
m=audio 22898 RTP/AVP 8 0 9 111 3 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

Sent to Udp:212.87.45.206:5060 from Udp:192.168.2.41:41040 at Mar 21 17:40:48.653 (598 bytes):

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 212.87.45.206:5060;branch=z9hG4bK4436.06db5953.0
Via: SIP/2.0/UDP 212.86.39.34:5060;received=212.86.39.34;branch=z9hG4bK0d76c2b0;rport=5060
Record-Route: <sip:212.87.45.206;lr;nat=yes;did=374.4f601d76>
From: "004915128034205" <sip:[email protected]>;tag=as7cb7787b
To: "Kersten Kusch" <sip:[email protected]:5060>;tag=ztz5v6b02h
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: snomD785/10.1.101.11
Contact: <sip:[email protected]:41040;line=ivp9l8j0>;reg-id=1
Content-Length: 0

und der Syslog:

Code:
Mar 21 17:40:48.660 [INFO  ] GUI: find_function_key_for_uri: Looking to match <sip:[email protected]:41040;line=ivp9l8j0>
Mar 21 17:40:48.660 [INFO  ] GUI: GUI: Allocating channel -1, line 1
Mar 21 17:40:48.672 [NOTICE] CSTA: csta_cid = -1
phone_cid-1

Mar 21 17:40:48.672 [INFO  ] GUI: GUI: Line-Seize subscription was not sent
Mar 21 17:40:48.676 [INFO  ] SIP: Dialog -1/1/1 going to early
Mar 21 17:40:48.758 [INFO  ] GUI: SetAudioPlaystate: 2
Mar 21 17:40:48.766 [NOTICE] PHN: Sending post request http://10.137.12.149:5000/api/Snom/EingehenderAnruf?mac=00041396D3F6&[email protected]&[email protected]&[email protected]
Mar 21 17:40:48.767 [NOTICE] PHN: Fetching URL: http://10.137.12.149:5000/api/Snom/EingehenderAnruf?...
Mar 21 17:40:48.780 [NOTICE] LDAP: GetContacts search: str=004915128034205, type_=Match, groups=[], fields=[], result_type=mixed, tbook_download=false, clear_cache=false, start_idx=, number_of_records=, custom_command=
Mar 21 17:40:48.780 [NOTICE] LDAP: Call back request id 11
Mar 21 17:40:48.781 [NOTICE] LDAP: Add exact match for telephoneNumber +4915128034205
Mar 21 17:40:48.781 [NOTICE] LDAP: Add exact match for Mobile +4915128034205
Mar 21 17:40:48.781 [NOTICE] LDAP: Add exact match for ipPhone +4915128034205
Mar 21 17:40:48.782 [NOTICE] LDAP: Add exact match for telephoneNumber 004915128034205
Mar 21 17:40:48.782 [NOTICE] LDAP: Add exact match for Mobile 004915128034205
Mar 21 17:40:48.782 [NOTICE] LDAP: Add exact match for ipPhone 004915128034205
Mar 21 17:40:48.782 [NOTICE] LDAP: Send search request
Mar 21 17:40:48.783 [NOTICE] LDAP: Query has the request id 12
Mar 21 17:40:48.864 [INFO  ] MEDIA: 2133991 onSetupAudioDevice: 8 3 - 5 0 - 2
Mar 21 17:40:48.864 [INFO  ] MEDIA: CAudioSubsystem::setAudioMode 0->8
Mar 21 17:40:48.871 [NOTICE] LDAP: Exact matches size 6
Mar 21 17:40:48.871 [NOTICE] LDAP: Entry element cn=Kusch, Lars
Mar 21 17:40:48.871 [NOTICE] LDAP: Entry element sn=Kusch
Mar 21 17:40:48.872 [NOTICE] LDAP: Entry element mobile=+4915128034205
Mar 21 17:40:48.872 [NOTICE] LDAP: Exact match found
Mar 21 17:40:48.882 [INFO  ] MEDIA: playstate 0->2
Mar 21 17:40:48.885 [INFO  ] TLS: TlsSessionOssl::SetRemoteDnsName: hostname=telefon.steuerberater-bayreuth.com, hostip=83.171.236.91, flags=0
Mar 21 17:40:48.890 [NOTICE] TLS: new session
Mar 21 17:40:48.892 [NOTICE] LDAP: LDAP_SearchResultDone
Mar 21 17:40:48.892 [NOTICE] LDAP: Erase send queue
Mar 21 17:40:48.892 [NOTICE] LDAP: ContactManagerLdap final answer request id 12
Mar 21 17:40:48.892 [NOTICE] LDAP: Inform cb with request id 11
Mar 21 17:40:48.909 [NOTICE] PHN: TPL: Socket 88 idle/connect timeout
Mar 21 17:40:48.928 [INFO  ] TLS: Result 0 at depth 2: ok
Mar 21 17:40:48.928 [INFO  ] TLS: Cert s: /C=US/O=Internet Security Research Group/CN=ISRG Root X1
Mar 21 17:40:48.928 [INFO  ] TLS: Cert i: /C=US/O=Internet Security Research Group/CN=ISRG Root X1
Mar 21 17:40:48.942 [INFO  ] TLS: Result 0 at depth 1: ok
Mar 21 17:40:48.943 [INFO  ] TLS: Cert s: /C=US/O=Let's Encrypt/CN=R3
Mar 21 17:40:48.943 [INFO  ] TLS: Cert i: /C=US/O=Internet Security Research Group/CN=ISRG Root X1
Mar 21 17:40:48.947 [INFO  ] TLS: Result 0 at depth 0: ok
Mar 21 17:40:48.947 [INFO  ] TLS: Cert s: /CN=steuerberater-bayreuth.com
Mar 21 17:40:48.948 [INFO  ] TLS: Cert i: /C=US/O=Let's Encrypt/CN=R3
Mar 21 17:40:49.014 [INFO  ] PHN: Action URL returned non-minibrowser data.
Mar 21 17:40:49.116 [INFO  ] GUI: Loaded wav file: format 1 channels 1 chunk size 250362 wav file size 250406
Mar 21 17:40:49.400 [INFO  ] PHN: WebImage::SetLocation ldap://localhost/1/cn.jpg
Mar 21 17:40:49.715 [INFO  ] PHN: sending 'DTGRING' to wireless headset
Mar 21 17:40:49.729 [INFO  ] MEDIA: setSynthProgram
Mar 21 17:40:52.389 [INFO  ] PHN: sending 'DTGRING' to wireless headset
Mar 21 17:40:52.470 [INFO  ] PHN: HandleWatchdog: status: 1 -> 1, timeout: 60, dog_fd: 5, setting value:
Mar 21 17:40:53.590 [INFO  ] PHN: Hook switch released in state Ringing (8)
Mar 21 17:40:53.603 [INFO  ] SIP: RTP: set_audible(0/0 -> 1/1): RP1 changed=1, update_req=1, adr=212.86.39.34:22898
Mar 21 17:40:53.610 [INFO  ] SIP: Dialog -1/1/3 going to confirmed
Mar 21 17:40:53.610 [INFO  ] SIP: GuiConnected(id -1, 0, 1)
Mar 21 17:40:53.615 [NOTICE] PHN: Sending post request http://10.137.12.149:5000/api/Snom/AngenommenerAnruf?mac=00041396D3F6&[email protected]&[email protected]&[email protected]
Mar 21 17:40:53.615 [NOTICE] PHN: Fetching URL: http://10.137.12.149:5000/api/Snom/AngenommenerAnruf?...
Mar 21 17:40:53.645 [INFO  ] GUI: SetAudioPlaystate: 1
Mar 21 17:40:53.790 [INFO  ] MEDIA: CAudioSubsystem::StopCall: 654321
Mar 21 17:40:53.790 [INFO  ] MEDIA: StopCall: active channels: 0
Mar 21 17:40:53.790 [INFO  ] MEDIA: StopCall: channel 0 active: 0 ssrc: 0
Mar 21 17:40:53.790 [INFO  ] MEDIA: StopCall: channel 1 active: 0 ssrc: 0
Mar 21 17:40:53.790 [NOTICE] MEDIA: PlayCall ssrc:2330611073 active: 0 use new channel
Mar 21 17:40:53.790 [INFO  ] MEDIA: PlayCall: active channels: 1
Mar 21 17:40:53.791 [INFO  ] MEDIA: PlayCall: channel 0 active: 1 ssrc: 2330611073
Mar 21 17:40:53.791 [INFO  ] MEDIA: PlayCall: channel 1 active: 0 ssrc: 0
Mar 21 17:40:53.792 [INFO  ] MEDIA: setSynthProgram
Mar 21 17:40:53.792 [INFO  ] MEDIA: 2138954 onSetupAudioDevice: 3 13 - 5 0 - 1
Mar 21 17:40:53.792 [INFO  ] MEDIA: playstate 2->1
Mar 21 17:40:53.792 [INFO  ] MEDIA: CAudioSubsystem::setAudioMode 6->3
Mar 21 17:40:53.907 [INFO  ] PHN: Action URL returned non-minibrowser data.
Mar 21 17:40:53.924 [INFO  ] MEDIA: HandleChangedPacketSsrc: set first ssrc 1781114046
Mar 21 17:40:59.590 [INFO  ] PHN: Hook switch pressed in state Connected (9)
Mar 21 17:40:59.595 [NOTICE] PHN: Sending post request http://10.137.12.149:5000/api/Snom/BeendeterAnruf?mac=00041396D3F6&[email protected]&[email protected]&[email protected]
Mar 21 17:40:59.595 [NOTICE] PHN: Fetching URL: http://10.137.12.149:5000/api/Snom/BeendeterAnruf?...
Mar 21 17:40:59.597 [INFO  ] SIP: RTP: set_audible(1/1 -> 0/0): RP1 changed=1, update_req=0, adr=212.86.39.34:22898
Mar 21 17:40:59.601 [INFO  ] SIP: RTP: close stream 1, stats 1
Mar 21 17:40:59.607 [INFO  ] SIP: onhook(-1)
Mar 21 17:40:59.607 [INFO  ] SIP: Dialog -1/1/4 going to terminated

Hat irgendjemand von euch eine Idee, warum das Snom nur die Rufnummer anzeigt?
 
Hm,
ich füge mal unsere Einstellungen an, die hier problemlos an allen Geräten funktionieren.
Bei Dir vermisse ich Angaben zum LDAP-Server...

snom_LDAP.jpg

Peter
 
Hi,
@.psoido danke für deine Hilfe!
Habe in der Zwischenzeit mein Problem bereits gefunden gehabt. Der Fehler liegt in dieser Zeile:
Code:
<ldap_display_name perm="">cn</ldap_display_name>
, die eigentlich richtig heißen müsste:
Code:
<ldap_display_name perm="">%cn</ldap_display_name>

Jetzt stellt sich mir nur die Frage, was macht das Prozentzeichen?
 
Das freut mich.
So weit ich weiß, ist das "%" die Kennzeichnung einer Variablen (in dem Fall einer fixen, vordefinierten Variablen).
:)

Peter
 
  • Like
Reaktionen: LarsK1

Zurzeit aktive Besucher

Statistik des Forums

Themen
246,172
Beiträge
2,247,422
Mitglieder
373,715
Neuestes Mitglied
wesleymoons87
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.