IP Forum
IPForumip-forum.net
Willkommen, Gast!
Bitte einloggen oder registrieren / reaktivieren
  > IP Forum > Sicherheit im Internet > VoIP, PBX Manager > phonebook: name is not displayed on phone
« vorheriges nächstes »
Seiten: 1 Drucken
pbrille
Newbie
*

Karma: 0
Beiträge: 5
Offline



 
phonebook: name is not displayed on phone
« am: Dienstag, 03.03.2009 10:42 »

Hi,

I installed the geotek phonebook as given in the installation.pdf and it works very well so far. The one thing which doesn't work is that incoming calls are not shown with name but only with number.

To see what's wrong I enabled debug output in asterisk and that's what's shown when an incoming call arrives:

Code:
[Mar  3 10:33:15] WARNING[30010]: func_db.c:65 function_db_read: DB requires an argument, DB(<family>/<key>)
    -- Executing [123456789@isdn:2] Set("Zap/1-1", "CALLERID(name)=") in new stack

That's what my line in the extensions.conf looks like:
Code:
exten => 123456789,n,Set(CALLERID(name)=${DB(cidname/${CALLERIDNUM})})

uname -a output: Linux 2.6.24-19-server #1 SMP  x86_64 GNU/Linux

Thanks in Advance.
Gespeichert
pbrille
Newbie
*

Karma: 0
Beiträge: 5
Offline



 
Re: phonebook: name is not displayed on phone
« Antwort #1 am: Dienstag, 03.03.2009 12:15 »

I find it out by myself. Maybe someone else has the same problem, so here the conclusion:

Replace:
exten => 123456789,n,Set(CALLERID(name)=${DB(cidname/${CALLERIDNUM})})
with:
exten => 123456789,n,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})

Asterisk version is 1.4.21.2-BRIstuffed-0.4.0-RC3c
Gespeichert
admin
Administrator
Hero Member
*****

Karma: 0
Beiträge: 243
Offline


WWW
 
Re: phonebook: name is not displayed on phone
« Antwort #2 am: Mittwoch, 04.03.2009 07:54 »

Hi pbrille,

thank you for posting the solution. Since Asterisk 1.4 the variable CALLERIDNUM is indeed depreciated and must indeed be replaced by CALLERID(num). I have updated the GEOTEK Phonebook documentation accordingly.

Greetings from Berlin!

Admin
Gespeichert
Seiten: 1 Drucken 
« vorheriges nächstes »

UserTools

Login
Registrieren
Hilfe
Suche
(Farbschema w$auml;hlen)

ForumStats

2937 Beiträge
677 Themen
1322 Mitglieder
Neuestes Mitglied: bobby1896

UsersOnline

10 Gäste, 0 Mitglieder


Most users online today: 13
Most users online ever: 265
(Mittwoch, 11.04.2007 09:14)


SMF 1.1.11 © Simple Machines LLC - SMF Forum Info - Alle Inhalte © GEOTEK Netzwerkservice / IT-Outsourcing Berlin - Kontakt / Impressum