how to use phoneebook fop2 with my telephones ?

  1. 12 years ago

    hi ,
    i have two types of telephones
    Yeahlink & Grandstream .

    now from fop2 phonebook , i created users and phones .
    but my request is how to connect these data with my phones ??

    regards

  2. admin

    4 Sep 2012 Administrator

    The fop2 phonebook is a standalone application. It does not "connect" to phones, or other softwares.

  3. hi admin ,
    did you mean i cant get benifet of this phonebook ??? and map it to my telephones ????

    regards

  4. admin

    5 Sep 2012 Administrator

    FOP2 is a web based application, the phonebook is also a web based application. If you have a phone with phonebook features, you have to look at your phone, not fop2. You can surely benefit for FOP2 phonebook by *using* it. If you want, you can export data and import to your phones, but it is up to your phone to import that data somehow.

    Best regards,

  5. 9 years ago

    I'm found solution for Cisco and Yealink phones.
    Anybody, who can modify this solution for Grandstream (and other) phones?

    To wish list.
    Many IP-phones can download phonebook from server.
    Pls add to FOP2 distributive additional script for generate phonebook in format.
    phonebook-cisco.php
    phonebook-yealink.php
    pronebook-grandstream.php
    etc

  6. Additional info:

    XML Based Downloadable Phone Book Guide Grandstream GXP21xx/GXP14xx/GXP116x IP Phone

    Script for generate Grandstream phonebook.xml from /etc/asterisk/sip*.conf files

    #!/bin/bash
    a=0
    b=1
    c=2
    book=phonebook.xml
    echo | sed -n '/callerid\=/p' /etc/asterisk/sip*.conf| sed s'/callerid\=//'g | sed s'/</ /'g | sed s'/>//'g | sed s'/;//'g >> tmp.file
    spisok=(`cat tmp.file`)
    echo '<?xml version="1.0" encoding="UTF-8"?>' >> $book
    echo "<AddressBook>" >> $book
    while [ ${spisok[a]} ];do
    cat <<EOF >>$book
        <Contact>
            <LastName>${spisok[a]}</LastName>
            <FirstName>${spisok[b]}</FirstName>
            <Phone>
                <phonenumber>${spisok[c]}</phonenumber>
                <accountindex>1</accountindex>
                <downloaded>0</downloaded>
            </Phone>
            <Groups>
                <groupid>2</groupid>
            </Groups>
        </Contact>
    EOF
    a=`expr $a + 3`
    b=`expr $b + 3`
    c=`expr $c + 3`
    done
    echo "</AddressBook>" >>$book
    cp phonebook.xml /var/www/
    rm tmp.file
  7. Edited 9 years ago by SolarW

    It's me again :-)

    One more solution for centralized phonebook managament for Yealink and Grandstream phones
    http://forums.grandstream.com/forums/index.php?topic=18008.msg54790#msg54790
    http://forum.yealink.com/forum/showthread.php?tid=962

    You can get code from this project for generate Grandstream and Yealink phonebook format.
    Source data - FOP2 phonebook.

or Sign Up to reply!