Cisco 7940/60 an der Starface

  • Ich habe bei uns solche Telefone laufen, wollte die nicht wegwerfen. Also SIP Firmware besorgt und dann die Telefone patchen... dachte ich :)


    Cisco mag es gerne etwas anders. Die erste Hürde ist: Never try a Windows TFTP.
    TFTP Server unter Windows liefern die falschen Error Codes, wenn ein File nicht da ist, somit versucht die Hunting-Methode des Application Loaders ständig Files zu laden, die es garnicht gibt.


    Im TFTP Root eines Linux (bei mir war es MAC OS X) TFTP müssen folgende Files vorhanden sein (nicht mehr, nicht weniger wie es dutzend andere Quellen im Netz glauben machen...):


    -rwxr--r--@ 1 root wheel 130548 7 Jan 11:21 P003-08-9-00.bin
    -rwxr--r--@ 1 root wheel 130952 7 Jan 11:21 P003-08-9-00.sbn
    -rwxr--r--@ 1 root wheel 459 7 Jan 11:21 P0S3-08-9-00.loads
    -rwxr--r--@ 1 root wheel 756320 7 Jan 11:21 P0S3-08-9-00.sb2
    -rwxr--r--@ 1 root wheel 713 7 Jan 19:19 SIP0006D7090970.cnf
    -rwxr--r--@ 1 root wheel 728 7 Jan 19:19 SIP000C85BE6405.cnf
    -rwxr--r--@ 1 root wheel 724 7 Jan 18:38 SIP00141CA548CF.cnf
    -rwxr--r--@ 1 root wheel 726 7 Jan 12:55 SIP00141CAA5C7E.cnf
    -rwxr--r--@ 1 root wheel 736 7 Jan 18:52 SIP003094C453D9.cnf
    -rwxr--r--@ 1 root wheel 4003 7 Jan 19:09 SIPDefault.cnf


    Wobei die SIP<MAC>.cnf die jeweilige Line Config eines Phones enthält.



    Beispiel Config für ein Phone:
    ***************************************************************************
    ; sip default configuration file
    #Image Version
    image_version:P0S3-08-9-00;


    # Line Config 1
    line1_name: Cisco9740Uli;
    line1_shortname: 11;
    line1_displayname: "Uli (11)"
    line1_authname: Cisco9740Uli;
    line1_password: xxxxxxxxxxxx;


    # Phone Label (Text desired to be displayed in upper right corner)
    # Has no effect on SIP messaging
    phone_label: "Uli (11)"


    # Remote Access Parameters for console or telnet login
    phone_prompt: "SIP Phone Uli"
    phone_password: "1234"
    user_info: none


    # Config
    auto_answer: "0";
    speed_line1: "";
    speed_label1: "";
    speed_line2: "";
    speed_label2: "";
    speed_line3: "";
    speed_label3: "";
    speed_line4: "";
    speed_label4: "";
    speed_line5: "";
    speed_label5: "";
    ***************************************************************************




    Beispiel SIPDefault.cnf:
    ***************************************************************************
    # Image Version
    image_version: "P0S3-08-9-00"


    # Proxy Server
    proxy1_address: "83.220.151.17"
    #proxy2_address: ""
    #proxy3_address: ""
    #proxy4_address: ""
    #proxy5_address: ""
    #proxy6_address: ""


    # Proxy Server Port (default - 5060)
    proxy1_port:"5060"
    #proxy2_port:""
    #proxy3_port:""
    #proxy4_port:""
    #proxy5_port:""
    #proxy6_port:""


    # Emergency Proxy info
    proxy_emergency: ""
    proxy_emergency_port: "5060"


    # Backup Proxy info
    proxy_backup: ""
    proxy_backup_port: "5060"


    # Outbound Proxy info
    outbound_proxy: ""
    outbound_proxy_port: "5060"


    # NAT/Firewall Traversal
    nat_enable: "1"
    nat_address: "83.153.34.130"
    voip_control_port: "5060"
    start_media_port: "16384"
    end_media_port: "32766"
    nat_received_processing: "1"


    # Proxy Registration (0-disable (default), 1-enable)
    proxy_register: "1"


    # Phone Registration Expiration [1-3932100 sec] (Default - 3600)
    timer_register_expires: "3600"


    # Codec for media stream (g711ulaw (default), g711alaw, g729)
    preferred_codec: "none"


    # TOS bits in media stream [0-5] (Default - 5)
    tos_media: "5"


    # Enable VAD (0-disable (default), 1-enable)
    enable_vad: "1"


    # Allow for the bridge on a 3way call to join remaining parties upon hangup
    cnf_join_enable: "1" ; 0-Disabled, 1-Enabled (default)


    # Allow Transfer to be completed while target phone is still ringing
    semi_attended_transfer: "1" ; 0-Disabled, 1-Enabled (default)


    # Telnet Level (enable or disable the ability to telnet into this phone
    telnet_level: "2" ; 0-Disabled (default), 1-Enabled, 2-Privileged


    # Inband DTMF Settings (0-disable, 1-enable (default))
    dtmf_inband: "1"


    # Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )
    dtmf_outofband: "1"


    # DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)
    dtmf_db_level: "3"


    # SIP Timers
    timer_t1: "500" ; Default 500 msec
    timer_t2: "4000" ; Default 4 sec
    sip_retx: "10" ; Default 11
    sip_invite_retx: "6" ; Default 7
    timer_invite_expires: "180" ; Default 180 sec


    # Setting for Message speeddial to UOne box
    #messages_uri: "*97"


    #********* Release 2 new config parameters **********


    # TFTP Phone Specific Configuration File Directory
    #tftp_cfg_dir: "./"


    # Time Server
    sntp_mode: "unicast"
    sntp_server: "time-g.netgear.com"
    time_zone: "CET"
    dst_offset: "1"
    dst_start_month: "April"
    dst_start_day: ""
    dst_start_day_of_week: "Sun"
    dst_start_week_of_month: "1"
    dst_start_time: "02"
    dst_stop_month: "Oct"
    dst_stop_day: ""
    dst_stop_day_of_week: "Sunday"
    dst_stop_week_of_month: "8"
    dst_stop_time: "2"
    dst_auto_adjust: "1"


    # Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)
    dnd_control: "0" ; Default 0 (Do Not Disturb feature is off)


    # Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
    callerid_blocking: "0" ; Default 0 (Disable sending all calls as anonymous)


    # Anonymous Call Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
    anonymous_call_block: "0" ; Default 0 (Disable blocking of anonymous calls)


    # Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabled with no user control)
    call_waiting: "1" ; Default 1 (Call Waiting enabled)


    # DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
    dtmf_avt_payload: "101" ; Default 100


    # XML file that specifies the dialplan desired
    #dial_template: "dialplan"


    # Network Media Type (auto, full100, full10, half100, half10)
    network_media_type: "auto"


    #Autocompletion During Dial (0-off, 1-on [default])
    autocomplete: "1"


    #Time Format (0-12hr, 1-24hr [default])
    time_format_24hr: "1"


    # URL for external Phone Services
    #services_url: "http://cisco/services/index_cisco.php"


    # URL for external Directory location
    #directory_url: "http://cisco/services/PhoneDirectory.php"


    # URL for branding logo
    #logo_url: "http://logo.bmp"

  • Hallo Starface Freunde,


    Die Cisco 7940 / 7960 Telefone in meiner Teilnehmerumgebung funktionieren problemlos mit dem Zugriff auf das interne Telefonbuch als HTML-Datei.


    Hierzu ist nachfolgender Eintrag in der SIPdefault.cnf zu realisieren und auf dem Starface Webserver in folgenden Dateipfad /var/lib/tomcat5/webapps/localhost/starface/ciscophone/directory.html das Telefonbuch als HTLM-Datei zu hinterlen.


    # URL for external Directory location
    directory_url: "http://starface.firma.com/ciscophone/directory.html"


    @ Problem
    Die Strukturierte HTML-Datei ist komplex in die Pflege


    @ Frage
    Besteht die möglichkeit das Cisco-Telefon gegen das interne Starface Telefonbuch laufen zu lassen. Dieses erleichtert die Eintragspflege und bietet ein Einheitliches Telefonbuch zur Webgui?


    Im vorfeld vielen dank für Anregungen und Lösungen.


    LG Ralf

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!