.titleBar { margin-bottom: 5px!important; }

Cisco 7940 & Asterisk

Dieses Thema im Forum "Asterisk Allgemein" wurde erstellt von alex.a, 12 März 2005.

  1. alex.a

    alex.a Neuer User

    Registriert seit:
    12 März 2005
    Beiträge:
    47
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo Leute !

    Ich beschäftige mich nuns chon nen ganzen Tag dass ich das 7940er auf Asterisk per Skinny bzw. chap sccp zum laufen bringe, habe dazu eine Anleitung gefunden die sich aufs 7920er bezieht, habe aber keine Ahnung wie ich das modifzieren muss damit es mit dem 7940er geht, da steht was von wireless, das is doch gar kein wireless,....

    Hab schon alle möglichen inet sites durchgeforstet keinen plan leider

    Kann mir es wer schritt für schritt erklären was ich da zu tun habe ?


    greets, alex
     
  2. tom-tom

    tom-tom Neuer User

    Registriert seit:
    18 Okt. 2004
    Beiträge:
    163
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    ICh nehme an du nusst SCCP wegen der fehlenden SIP lizenz?
    Einfach Chan_SCCP installieren und dann in die modules.conf
    load => chan_sccp in der glabals section eintragen.
    Dann eine Datei sccp.conf im asterisk configuration Verzeichniss Anlegen default /etc/asterisk.
    Und schreibst dort folgendes rein:

    Code:
    ; Cisco's SCCP (Skinny Client Control Protocol).
    ;
    ;   -- By Zozo
    ;
    ; Changelog: 
    ; 
    ; 5/17/2004	: (janczmok) Added bindaddr & port handling. Allows 
    ;                 bind to specific address instead of 0.0.0.0
    ;		  in the old handler
    
    [general]
    
    ; How often the SCCP device does a keepalive ping
    ;  Default: 5 seconds
    
    keepalive = 60
    
    
    ; default context that will be used if nothing else is specified for
    ; a particular device/line
    
    context = default
    
    
    dateFormat = D-M-Y      ; M-D-Y in any order (5 chars max)
    
    bindaddr = 192.168.1.104 ;replace 1.2.3.4 with the ip address of the asterisk box.
    port = 2000		; listen on port 2000 (Skinny, default)
    
    ;
    ; chan_sccp uses the idea that a device and a line are seperate.
    ; This allows for 'roaming', and logging into lines from more than one
    ; device, dynamically.
    ;
    ; A device needs to be defined here in order to be able to register by 
    ; defining a section as SEP<macAddress>.
    ;
    ; you then need one or more lines by defining [linename] sections.
    ;
    ; You can then either set a device to automatically log into a line 
    ; by using autologin in the devices config section, or by selecting
    ; 'AddLine' from a 7960, or dialing '##<linenum>#<pin>#' from a 7910 (or 7960).
    ;
    ; Phone types:
    ;
    ;  7902 -- Cisco IP Phone 7902G
    ;  7905 -- Cisco IP Phone 7905G
    ;  7910 -- Cisco IP Phone 7910              - Tested with Asterisk
    ;  7912 -- Cisco IP Phone 7912G
    ;  7935 -- Cisco IP Conference Station 7935
    ;  7920 -- Cisco IP Wireless Phone 7920     - Tested with Asterisk (5/17/04)
    ;  7940 -- Cisco IP Phone 7940
    ;  7960 -- Cisco IP Phone 7960              - Tested with Asterisk
    ;   ata -- Cisco ATA-186 or Cisco ATA-188
    ;
    ; Please let me know (zozo@zozo.org.uk) if you have chan_sccp working
    ;  with any other models.
    ;
    
    ; Addon (7214 module):
    ; XXX:T: Not implemented yet.
    ;  addon=<numAddons> 
    ;
    
    ; A device is defined by using it's MAC address prefixed with 'SEP'.
    [SEP0006538F0B2F]
    ;
    ; A description, may be up to 16 charecters long, is used for absolutly nothing
    ; except the output in 'sccp show'. If not used, the SEP<mac> will be used.
    ;
    description = Theo's 7960
    
    ; The model type needs to be defined so we know how to set it up.  
    ; Type can currently be one of: 7960, 7910.
    ; If you have anyother model, drop me an email, and i'll add support.
    type      = 7960
    
    ; default context for outgoing calls.
    context   = default
    
    ; if your devices are in a different timezone than
    ; your asterisk server, you may want them to be displayed
    ; in a different time.  this is a crude hack, my system
    ; uses gmt, but i'm located in eastern time.  when
    ; october rolls around, i will need to change this
    ; to -5.  but if you keep your clock in localtime, and
    ; your user is in a neighboring timezone that stays
    ; constant, this will work for you.
    tzoffset  = -4
    
    
    ; A device can log in to a line (as defined later) as soon as it boots up.  
    ; To log into multiple lines, seperated them by commas.  Note that single line
    ; devices can't (currently) have more than one login.
    autologin = richard,neill,theo
    
    ; 7960's can use the buttons on the left as speed dials.  Format is <extention>,<Name>.
    ;  Note that if you have more speed dials than unused buttons (because of multiple lines
    ;  for example), then they'll hyst be ignored.
    speeddial = 1006,Gordon
    
    
    ;[SEP000AB7567E18]
    ; This device is a 7910, a single line model
    ; from cisco.
    ;type        = 7910
    ;autologin   = ian
    ;description = Theo's 7910
    
    ; lines are the actual incoming and outgoign channels.
    ;  This example would be called by sending a channel to SCCP/theo.
    ;[theo]
    ; Id is a number that is dialed to login to the line with.
    ;id          = 1001
    ; The pin number needed to log into the device.  If pin is missing, 
    ; anyone can log into it.
    ;pin         = 1234
    ; The text to display on the display (on 7960)
    ;label       = Theo
    ; The text to display on the screen (on the 7910)
    ;description = Theo
    ; Context outgoign calls are in.
    ;context     = sccp
    ; If set to 1, call waiting will work.
    ;callwaiting = 1
    ; Check if this mailbox has any mail, and if so,
    ; show the MWI.
    ;mailbox     = 1001
    ; CallerId to use on outgoing calls from this line.
    ;callerid    = "Zourzouvillys, T", <1001>
    
    [richard]
    id          = 1002
    pin         = 1234
    
    [neill]
    id          = 1003
    pin         = 1234
    
    [paul]
    id          = 1004
    pin         = 1234
    
    [gordon]
    id          = 1005
    pin         = 1234
    
    ; Another line.
    [ian]
    id          = 1006
    pin         = 1234
    label       = Ian
    description = Ian
    context     = sccp
    callwaiting = 1
    mailbox     = 1006
    callerid    = "Christian, I", <1002>
    
    ; An intercom will abroadcast anyhting sent down a channel
    ; to all <device> that are registered at the time.
    ; then just direct call to SCCP/intercom.
    [intercom]
    description = Reception Intercom
    device = SEP0006D7E5B9E4
    device = SEP000AB7567E18
    
    MAC Adresse editiren!

    Damit läuft es bei mir
     
  3. alex.a

    alex.a Neuer User

    Registriert seit:
    12 März 2005
    Beiträge:
    47
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    asoo,... könnte man sich so eine lizenz eigenltlich nur REIN THEORETISCH illegal besorgen, oder ist das bei CISCO nicht möglich ?! :)
     
  4. alex.a

    alex.a Neuer User

    Registriert seit:
    12 März 2005
    Beiträge:
    47
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Aja noch Fragen *g*

    Wie installiere ich die chan_sccp, ich hab das tgz file.... habs irgedwie entpackt dann weiß ich nimmer weiter !

    Aja und brauch ich den TFTP Server mit irgendwelchen files ?

    greets
     
  5. tom-tom

    tom-tom Neuer User

    Registriert seit:
    18 Okt. 2004
    Beiträge:
    163
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Jo das Cisco saugt sich seine config und seine Firmware files von einem TFTP Server. Chan_sccp installierst du glaube ich mit make und make install. Lies einfach die INSTALL datei im entpackten verzeichnis. Die Lizenz kannst du dir natürlich nicht illegal besorgen ausser du kennst welche bei der Mafia. Die Firmware kannst du dir aber besorgen, ich weise dich aber daruf hin das das ABOLUT ILLEGAL ist.

    Have Fun!
     
  6. alex.a

    alex.a Neuer User

    Registriert seit:
    12 März 2005
    Beiträge:
    47
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Danke für die info, make bzw. make install hab ich gmacht aber da wirft er mir 400 fehlermeldungen raus, dann wollte ich das makefile anpassen, hat aber nichts genutzt, ... hmmm

    nein alle meine freunde bei der mafia sind bereits tot *lol*
    danke für den hinweis das dies ABSOLUT ILLEGAL ist, es hat natürlich auch NIEMAND irgendwelche ILLEGAL LIZENZIERTE Software auf seinem Rechner :)
     
  7. alex.a

    alex.a Neuer User

    Registriert seit:
    12 März 2005
    Beiträge:
    47
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    ich poste hier noch meine fehler


    Code:
    root@Asterisk:/usr/local/src/chan_sccp# make
    Now compiling .... chan_sccp.c          709 lines
    In Datei, eingefügt von chan_sccp.c:2:
    chan_sccp.h:15:28: asterisk/frame.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:16:29: asterisk/module.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:17:30: asterisk/channel.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:18:27: asterisk/lock.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:19:29: asterisk/logger.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:20:28: asterisk/sched.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:21:25: asterisk/io.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:22:26: asterisk/rtp.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:23:29: asterisk/config.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:24:30: asterisk/options.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.h:25:34: asterisk/channel_pvt.h: Datei oder Verzeichnis nicht gefunden
    In file included from chan_sccp.c:2:
    chan_sccp.h:735: error: Fehler beim Parsen before "ast_mutex_t"
    chan_sccp.h:735: Warnung: kein Semikolon am Ende von »struct« oder »union«
    chan_sccp.h:757: error: `AST_MAX_EXTENSION' undeclared here (not in a function)
    chan_sccp.h:760: error: `AST_MAX_EXTENSION' undeclared here (not in a function)
    chan_sccp.h:763: error: `AST_MAX_EXTENSION' undeclared here (not in a function)
    chan_sccp.h:790: error: Fehler beim Parsen before ':' token
    chan_sccp.h:792: error: Fehler beim Parsen before ':' token
    chan_sccp.h:793: error: Fehler beim Parsen before ':' token
    chan_sccp.h:794: error: Fehler beim Parsen before ':' token
    chan_sccp.h:795: error: Fehler beim Parsen before ':' token
    chan_sccp.h:796: error: Fehler beim Parsen before ':' token
    chan_sccp.h:797: error: Fehler beim Parsen before ':' token
    chan_sccp.h:798: error: Fehler beim Parsen before ':' token
    chan_sccp.h:802: error: Fehler beim Parsen before '}' token
    chan_sccp.h:881: error: `AST_MAX_EXTENSION' undeclared here (not in a function)
    chan_sccp.h:884: error: Fehler beim Parsen before "ast_mutex_t"
    chan_sccp.h:884: Warnung: kein Semikolon am Ende von »struct« oder »union«
    chan_sccp.h:889: error: Fehler beim Parsen before '}' token
    chan_sccp.h:892: error: Fehler beim Parsen before "ast_mutex_t"
    chan_sccp.h:892: Warnung: kein Semikolon am Ende von »struct« oder »union«
    chan_sccp.h:893: error: conflicting types for `id'
    chan_sccp.h:738: error: previous declaration of `id'
    chan_sccp.h:894: error: conflicting types for `description'
    chan_sccp.h:751: error: previous declaration of `description'
    chan_sccp.h:896: error: conflicting types for `next'
    chan_sccp.h:775: error: previous declaration of `next'
    chan_sccp.h:897: error: Fehler beim Parsen before '}' token
    chan_sccp.h:900: error: Fehler beim Parsen before "ast_mutex_t"
    chan_sccp.h:900: Warnung: kein Semikolon am Ende von »struct« oder »union«
    chan_sccp.h:908: Warnung: built-in function `sin' declared as non-function
    chan_sccp.h:914: error: conflicting types for `next'
    chan_sccp.h:896: error: previous declaration of `next'
    chan_sccp.h:915: error: Fehler beim Parsen before '}' token
    chan_sccp.h:918: error: Fehler beim Parsen before "ast_mutex_t"
    chan_sccp.h:918: Warnung: kein Semikolon am Ende von »struct« oder »union«
    chan_sccp.h:925: error: conflicting types for `next'
    chan_sccp.h:914: error: previous declaration of `next'
    chan_sccp.h:926: error: conflicting types for `lnext'
    chan_sccp.h:778: error: previous declaration of `lnext'
    chan_sccp.h:927: error: Fehler beim Parsen before ':' token
    chan_sccp.h:928: error: Fehler beim Parsen before ':' token
    chan_sccp.h:929: error: Fehler beim Parsen before ':' token
    chan_sccp.h:930: error: Fehler beim Parsen before ':' token
    chan_sccp.h:931: error: Fehler beim Parsen before ':' token
    chan_sccp.h:932: error: Fehler beim Parsen before ':' token
    chan_sccp.h:933: error: Fehler beim Parsen before ':' token
    chan_sccp.h:934: error: Fehler beim Parsen before ':' token
    In file included from chan_sccp.c:2:
    chan_sccp.h:1690: error: conflicting types for `devices'
    chan_sccp.h:895: error: previous declaration of `devices'
    chan_sccp.c:13:26: asterisk/pbx.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.c:14:31: asterisk/callerid.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.c:15:28: asterisk/utils.h: Datei oder Verzeichnis nicht gefunden
    chan_sccp.c:25: error: `AST_MAX_EXTENSION' undeclared here (not in a function)
    chan_sccp.c:32: error: `AST_FORMAT_ALAW' undeclared here (not in a function)
    chan_sccp.c:32: error: `AST_FORMAT_ULAW' undeclared here (not in a function)
    chan_sccp.c:50: Warnung: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'
    chan_sccp.c:50: Warnung: Parameternamen (ohne Typen) in Funktionsdeklaration
    chan_sccp.c:50: Warnung: data definition has no type or storage class
    chan_sccp.c:51: Warnung: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'
    chan_sccp.c:51: Warnung: Parameternamen (ohne Typen) in Funktionsdeklaration
    chan_sccp.c:51: Warnung: data definition has no type or storage class
    chan_sccp.c:52: Warnung: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'
    chan_sccp.c:52: Warnung: Parameternamen (ohne Typen) in Funktionsdeklaration
    chan_sccp.c:52: Warnung: data definition has no type or storage class
    chan_sccp.c:53: Warnung: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'
    chan_sccp.c:53: Warnung: Parameternamen (ohne Typen) in Funktionsdeklaration
    chan_sccp.c:53: Warnung: data definition has no type or storage class
    chan_sccp.c:58: Warnung: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'
    chan_sccp.c:58: Warnung: Parameternamen (ohne Typen) in Funktionsdeklaration
    chan_sccp.c:58: Warnung: data definition has no type or storage class
    chan_sccp.c: In Funktion »sccp_request«:
    chan_sccp.c:75: Warnung: implicit declaration of function `ast_log'
    chan_sccp.c:75: error: `LOG_NOTICE' undeclared (first use in this function)
    chan_sccp.c:75: error: (Each undeclared identifier is reported only once
    chan_sccp.c:75: error: for each function it appears in.)
    chan_sccp.c:80: Warnung: implicit declaration of function `ast_verbose'
    chan_sccp.c:80: error: `VERBOSE_PREFIX_1' undeclared (first use in this function)
    chan_sccp.c:80: error: Fehler beim Parsen before string constant
    chan_sccp.c:80: Warnung: left-hand operand of comma expression has no effect
    chan_sccp.c:80: Warnung: left-hand operand of comma expression has no effect
    chan_sccp.c:80: Warnung: left-hand operand of comma expression has no effect
    chan_sccp.c:80: error: Fehler beim Parsen before ')' token
    chan_sccp.c:85: error: dereferencing pointer to incomplete type
    chan_sccp.c:87: error: Fehler beim Parsen before string constant
    chan_sccp.c:87: error: dereferencing pointer to incomplete type
    chan_sccp.c:87: Warnung: left-hand operand of comma expression has no effect
    chan_sccp.c:87: error: Fehler beim Parsen before ')' token
    chan_sccp.c:93: error: dereferencing pointer to incomplete type
    chan_sccp.c:107: error: `LOG_WARNING' undeclared (first use in this function)
    chan_sccp.c:119: error: dereferencing pointer to incomplete type
    chan_sccp.c: In Funktion »sccp_devicestate«:
    chan_sccp.c:125: error: `LOG_NOTICE' undeclared (first use in this function)
    chan_sccp.c:126: error: `AST_DEVICE_UNKNOWN' undeclared (first use in this function)
    chan_sccp.c: In Funktion »handle_message«:
    chan_sccp.c:133: error: dereferencing pointer to incomplete type
    chan_sccp.c:134: error: `LOG_WARNING' undeclared (first use in this function)
    chan_sccp.c:141: error: `VERBOSE_PREFIX_2' undeclared (first use in this function)
    chan_sccp.c:141: error: Fehler beim Parsen before string constant
    chan_sccp.c:141: Warnung: left-hand operand of comma expression has no effect
    chan_sccp.c:141: error: Fehler beim Parsen before ')' token
    chan_sccp.c:144: error: dereferencing pointer to incomplete type
    chan_sccp.c:144: Warnung: implicit declaration of function `time'
    chan_sccp.c:198: error: dereferencing pointer to incomplete type
    chan_sccp.c:201: error: dereferencing pointer to incomplete type
    chan_sccp.c:212: error: `LOG_NOTICE' undeclared (first use in this function)
    chan_sccp.c:212: error: dereferencing pointer to incomplete type
    chan_sccp.c:221: error: dereferencing pointer to incomplete type
    chan_sccp.c:222: error: dereferencing pointer to incomplete type
    chan_sccp.c: Auf höchster Ebene:
    chan_sccp.c:238: Warnung: `struct ast_config' declared inside parameter list
    chan_sccp.c:238: Warnung: its scope is only this definition or declaration, which is probably not what you want
    chan_sccp.c: In Funktion »build_line«:
    chan_sccp.c:240: Warnung: implicit declaration of function `ast_variable_browse'
    chan_sccp.c:240: Warnung: Initialisierung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:243: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:244: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:244: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:244: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:244: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:244: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:244: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:245: error: `LOG_DEBUG' undeclared (first use in this function)
    chan_sccp.c:246: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:248: error: dereferencing pointer to incomplete type
    chan_sccp.c:249: error: `AST_MAX_EXTENSION' undeclared (first use in this function)
    chan_sccp.c:249: error: dereferencing pointer to incomplete type
    chan_sccp.c:249: error: dereferencing pointer to incomplete type
    chan_sccp.c:249: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:250: error: dereferencing pointer to incomplete type
    chan_sccp.c:253: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:254: error: dereferencing pointer to incomplete type
    chan_sccp.c:255: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:256: error: dereferencing pointer to incomplete type
    chan_sccp.c:257: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:258: error: dereferencing pointer to incomplete type
    chan_sccp.c:259: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:260: error: dereferencing pointer to incomplete type
    chan_sccp.c:261: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:262: error: dereferencing pointer to incomplete type
    chan_sccp.c:263: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:264: error: dereferencing pointer to incomplete type
    chan_sccp.c:265: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:266: error: dereferencing pointer to incomplete type
    chan_sccp.c:268: error: dereferencing pointer to incomplete type
    chan_sccp.c: Auf höchster Ebene:
    chan_sccp.c:274: Warnung: `struct ast_config' declared inside parameter list
    chan_sccp.c: In Funktion »build_device«:
    chan_sccp.c:276: Warnung: Initialisierung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:280: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:281: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:281: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:281: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:281: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:281: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:281: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:282: error: `LOG_DEBUG' undeclared (first use in this function)
    chan_sccp.c:284: error: dereferencing pointer to incomplete type
    chan_sccp.c:284: error: dereferencing pointer to incomplete type
    chan_sccp.c:284: error: dereferencing pointer to incomplete type
    chan_sccp.c:285: error: dereferencing pointer to incomplete type
    chan_sccp.c:285: error: dereferencing pointer to incomplete type
    chan_sccp.c:285: error: dereferencing pointer to incomplete type
    chan_sccp.c:286: error: dereferencing pointer to incomplete type
    chan_sccp.c:287: error: dereferencing pointer to incomplete type
    chan_sccp.c:291: error: dereferencing pointer to incomplete type
    chan_sccp.c:293: error: dereferencing pointer to incomplete type
    chan_sccp.c:293: error: dereferencing pointer to incomplete type
    chan_sccp.c:295: error: dereferencing pointer to incomplete type
    chan_sccp.c:300: error: dereferencing pointer to incomplete type
    chan_sccp.c:302: error: `LOG_ERROR' undeclared (first use in this function)
    chan_sccp.c:302: error: dereferencing pointer to incomplete type
    chan_sccp.c:304: error: dereferencing pointer to incomplete type
    chan_sccp.c:306: error: dereferencing pointer to incomplete type
    chan_sccp.c:306: error: dereferencing pointer to incomplete type
    chan_sccp.c:307: error: dereferencing pointer to incomplete type
    chan_sccp.c:309: Warnung: implicit declaration of function `ast_variable_retrieve'
    chan_sccp.c:309: Warnung: Verarbeiten des Argumentes 1 von »strlen« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:309: error: dereferencing pointer to incomplete type
    chan_sccp.c:309: Warnung: Verarbeiten des Argumentes 2 von »memcpy« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:309: error: dereferencing pointer to incomplete type
    chan_sccp.c:309: Warnung: Verarbeiten des Argumentes 2 von »strncpy« erzeugt Zeiger von Ganzzahl ohneTypkonvertierung
    chan_sccp.c:309: error: dereferencing pointer to incomplete type
    chan_sccp.c:309: Warnung: Verarbeiten des Argumentes 2 von »strncpy« erzeugt Zeiger von Ganzzahl ohneTypkonvertierung
    chan_sccp.c:311: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:313: error: dereferencing pointer to incomplete type
    chan_sccp.c:315: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:317: error: dereferencing pointer to incomplete type
    chan_sccp.c:319: error: dereferencing pointer to incomplete type
    chan_sccp.c:321: error: dereferencing pointer to incomplete type
    chan_sccp.c:335: error: dereferencing pointer to incomplete type
    chan_sccp.c:336: error: dereferencing pointer to incomplete type
    chan_sccp.c:339: error: dereferencing pointer to incomplete type
    chan_sccp.c: In Funktion »reload_config«:
    chan_sccp.c:361: Warnung: implicit declaration of function `ast_gethostbyname'
    chan_sccp.c:361: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:363: error: `LOG_WARNING' undeclared (first use in this function)
    chan_sccp.c:376: Warnung: implicit declaration of function `ast_load'
    chan_sccp.c:376: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:378: error: `LOG_NOTICE' undeclared (first use in this function)
    chan_sccp.c:382: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:384: error: dereferencing pointer to incomplete type
    chan_sccp.c:385: error: dereferencing pointer to incomplete type
    chan_sccp.c:385: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:386: error: dereferencing pointer to incomplete type
    chan_sccp.c:390: error: dereferencing pointer to incomplete type
    chan_sccp.c:391: error: dereferencing pointer to incomplete type
    chan_sccp.c:392: error: dereferencing pointer to incomplete type
    chan_sccp.c:393: error: dereferencing pointer to incomplete type
    chan_sccp.c:393: error: `AST_MAX_EXTENSION' undeclared (first use in this function)
    chan_sccp.c:393: error: dereferencing pointer to incomplete type
    chan_sccp.c:393: error: dereferencing pointer to incomplete type
    chan_sccp.c:393: error: dereferencing pointer to incomplete type
    chan_sccp.c:393: error: dereferencing pointer to incomplete type
    chan_sccp.c:394: error: dereferencing pointer to incomplete type
    chan_sccp.c:395: error: dereferencing pointer to incomplete type
    chan_sccp.c:395: error: dereferencing pointer to incomplete type
    chan_sccp.c:395: error: dereferencing pointer to incomplete type
    chan_sccp.c:395: error: dereferencing pointer to incomplete type
    chan_sccp.c:395: error: dereferencing pointer to incomplete type
    chan_sccp.c:396: error: dereferencing pointer to incomplete type
    chan_sccp.c:397: Warnung: implicit declaration of function `sscanf'
    chan_sccp.c:397: error: dereferencing pointer to incomplete type
    chan_sccp.c:400: error: dereferencing pointer to incomplete type
    chan_sccp.c:400: error: dereferencing pointer to incomplete type
    chan_sccp.c:403: error: dereferencing pointer to incomplete type
    chan_sccp.c:405: error: dereferencing pointer to incomplete type
    chan_sccp.c:411: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:424: Warnung: implicit declaration of function `ast_category_browse'
    chan_sccp.c:424: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:430: Warnung: Vergleich zwischen Zeiger und Ganzzahl
    chan_sccp.c:431: Warnung: Verarbeiten des Argumentes 1 von »build_device« von inkompatiblem Zeigertyp
    chan_sccp.c:434: error: `option_verbose' undeclared (first use in this function)
    chan_sccp.c:435: error: `VERBOSE_PREFIX_3' undeclared (first use in this function)
    chan_sccp.c:435: error: Fehler beim Parsen before string constant
    chan_sccp.c:435: error: dereferencing pointer to incomplete type
    chan_sccp.c:435: Warnung: left-hand operand of comma expression has no effect
    chan_sccp.c:435: error: Fehler beim Parsen before ')' token
    chan_sccp.c:436: Warnung: implicit declaration of function `ast_mutex_lock'
    chan_sccp.c:436: error: `devicelock' undeclared (first use in this function)
    chan_sccp.c:437: error: dereferencing pointer to incomplete type
    chan_sccp.c:439: Warnung: implicit declaration of function `ast_mutex_unlock'
    chan_sccp.c:442: Warnung: Vergleich zwischen Zeiger und Ganzzahl
    chan_sccp.c:443: Warnung: Verarbeiten des Argumentes 1 von »build_line« von inkompatiblem Zeigertyp
    chan_sccp.c:446: error: Fehler beim Parsen before string constant
    chan_sccp.c:446: error: dereferencing pointer to incomplete type
    chan_sccp.c:446: Warnung: left-hand operand of comma expression has no effect
    chan_sccp.c:446: error: Fehler beim Parsen before ')' token
    chan_sccp.c:447: error: `linelock' undeclared (first use in this function)
    chan_sccp.c:448: error: dereferencing pointer to incomplete type
    chan_sccp.c:453: Warnung: Vergleich zwischen Zeiger und Ganzzahl
    chan_sccp.c:455: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:458: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:458: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:458: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:458: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:458: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:458: error: invalid application of `sizeof' to an incomplete type
    chan_sccp.c:461: Warnung: Verarbeiten des Argumentes 1 von »strlen« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:461: error: dereferencing pointer to incomplete type
    chan_sccp.c:461: Warnung: Verarbeiten des Argumentes 2 von »memcpy« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:461: error: dereferencing pointer to incomplete type
    chan_sccp.c:461: Warnung: Verarbeiten des Argumentes 2 von »strncpy« erzeugt Zeiger von Ganzzahl ohneTypkonvertierung
    chan_sccp.c:461: error: dereferencing pointer to incomplete type
    chan_sccp.c:461: Warnung: Verarbeiten des Argumentes 2 von »strncpy« erzeugt Zeiger von Ganzzahl ohneTypkonvertierung
    chan_sccp.c:463: error: dereferencing pointer to incomplete type
    chan_sccp.c:463: error: dereferencing pointer to incomplete type
    chan_sccp.c:463: error: dereferencing pointer to incomplete type
    chan_sccp.c:468: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:470: error: dereferencing pointer to incomplete type
    chan_sccp.c:471: error: dereferencing pointer to incomplete type
    chan_sccp.c:474: error: dereferencing pointer to incomplete type
    chan_sccp.c:482: error: dereferencing pointer to incomplete type
    chan_sccp.c:483: error: dereferencing pointer to incomplete type
    chan_sccp.c:483: error: dereferencing pointer to incomplete type
    chan_sccp.c:483: error: dereferencing pointer to incomplete type
    chan_sccp.c:483: error: dereferencing pointer to incomplete type
    chan_sccp.c:486: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:488: error: dereferencing pointer to incomplete type
    chan_sccp.c:489: error: dereferencing pointer to incomplete type
    chan_sccp.c:491: error: `LOG_DEBUG' undeclared (first use in this function)
    chan_sccp.c:491: error: dereferencing pointer to incomplete type
    chan_sccp.c:495: error: `LOG_ERROR' undeclared (first use in this function)
    chan_sccp.c:495: error: dereferencing pointer to incomplete type
    chan_sccp.c:498: error: dereferencing pointer to incomplete type
    chan_sccp.c:501: error: `intercomlock' undeclared (first use in this function)
    chan_sccp.c:502: error: dereferencing pointer to incomplete type
    chan_sccp.c:511: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:534: Warnung: implicit declaration of function `ast_inet_ntoa'
    chan_sccp.c:555: Warnung: implicit declaration of function `ast_pthread_create'
    chan_sccp.c:559: Warnung: implicit declaration of function `ast_destroy'
    chan_sccp.c: In Funktion »setcalledparty_exec«:
    chan_sccp.c:571: error: dereferencing pointer to incomplete type
    chan_sccp.c:573: error: dereferencing pointer to incomplete type
    chan_sccp.c:580: Warnung: implicit declaration of function `ast_callerid_parse'
    chan_sccp.c:583: error: dereferencing pointer to incomplete type
    chan_sccp.c:583: error: dereferencing pointer to incomplete type
    chan_sccp.c:583: error: dereferencing pointer to incomplete type
    chan_sccp.c:585: error: dereferencing pointer to incomplete type
    chan_sccp.c:585: error: dereferencing pointer to incomplete type
    chan_sccp.c:585: error: dereferencing pointer to incomplete type
    chan_sccp.c: In Funktion »do_monitor«:
    chan_sccp.c:594: Warnung: implicit declaration of function `pthread_testcancel'
    chan_sccp.c:595: Warnung: implicit declaration of function `ast_sched_wait'
    chan_sccp.c:598: Warnung: implicit declaration of function `ast_io_wait'
    chan_sccp.c:599: error: `monlock' undeclared (first use in this function)
    chan_sccp.c:601: Warnung: implicit declaration of function `ast_sched_runq'
    chan_sccp.c: In Funktion »restart_monitor«:
    chan_sccp.c:615: error: `monlock' undeclared (first use in this function)
    chan_sccp.c:616: error: `LOG_WARNING' undeclared (first use in this function)
    chan_sccp.c:620: Warnung: implicit declaration of function `pthread_self'
    chan_sccp.c:632: error: `LOG_ERROR' undeclared (first use in this function)
    chan_sccp.c: Auf höchster Ebene:
    chan_sccp.c:641: Warnung: function declaration isn't a prototype
    chan_sccp.c: In Funktion »load_module«:
    chan_sccp.c:643: Warnung: implicit declaration of function `sched_context_create'
    chan_sccp.c:643: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:645: error: `LOG_WARNING' undeclared (first use in this function)
    chan_sccp.c:647: Warnung: implicit declaration of function `io_context_create'
    chan_sccp.c:647: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
    chan_sccp.c:653: Warnung: implicit declaration of function `ast_channel_register_ex'
    chan_sccp.c:654: error: `LOG_ERROR' undeclared (first use in this function)
    chan_sccp.c:660: Warnung: implicit declaration of function `ast_register_application'
    chan_sccp.c:663: Warnung: implicit declaration of function `ast_sched_add'
    chan_sccp.c: Auf höchster Ebene:
    chan_sccp.c:669: Warnung: no previous prototype for `reload'
    chan_sccp.c:676: Warnung: function declaration isn't a prototype
    chan_sccp.c: In Funktion »unload_module«:
    chan_sccp.c:677: Warnung: implicit declaration of function `ast_channel_unregister'
    chan_sccp.c:679: error: `monlock' undeclared (first use in this function)
    chan_sccp.c:681: Warnung: implicit declaration of function `pthread_cancel'
    chan_sccp.c:683: Warnung: implicit declaration of function `pthread_join'
    chan_sccp.c:688: error: `LOG_WARNING' undeclared (first use in this function)
    chan_sccp.c: Auf höchster Ebene:
    chan_sccp.c:696: Warnung: function declaration isn't a prototype
    chan_sccp.c: In Funktion »usecount«:
    chan_sccp.c:698: error: `usecnt_lock' undeclared (first use in this function)
    chan_sccp.c: Auf höchster Ebene:
    chan_sccp.c:704: Warnung: function declaration isn't a prototype
    chan_sccp.c: In Funktion »key«:
    chan_sccp.c:704: error: `ASTERISK_GPL_KEY' undeclared (first use in this function)
    chan_sccp.c: Auf höchster Ebene:
    chan_sccp.c:707: error: `description' redeclared as different kind of symbol
    chan_sccp.h:894: error: previous declaration of `description'
    chan_sccp.h:757: error: storage size of `mailbox' isn't known
    chan_sccp.h:760: error: storage size of `context' isn't known
    chan_sccp.h:763: error: storage size of `callerid' isn't known
    chan_sccp.c:19: error: storage size of `ahp' isn't known
    chan_sccp.c:25: error: storage size of `default_context' isn't known
    make: *** [.tmp/chan_sccp.o] Fehler 1
    
     
  8. RB

    RB Aktives Mitglied

    Registriert seit:
    22 Juni 2004
    Beiträge:
    1,311
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Beruf:
    Selbständiger Bitbeißer
    Ort:
    40883 Ratingen
    Hallo, Alex!

    Kann Dir bei Deinem Problem zwar nicht weiterhelfen, aber ich hätte eine kleine Bitte: Mach aus Deinem Zitat doch bitte einen "Code"-Block (mittels 'Edit'-Button, statt 'quote' dann 'code' verwenden). Das gibt dann nicht so ewig lange Seiten...