Affichage des résultats 1 à 4 sur 4

Discussion: Configurer Cisco IP Communicator 8.6.3 avec Asterisk

  1. #1
    Membre Junior
    Date d'inscription
    mai 2013
    Messages
    11
    Downloads
    0
    Uploads
    0

    Configurer Cisco IP Communicator 8.6.3 avec Asterisk

    Bonjour à tous !

    Je suis actuellement en train de configurer 2 client virtuels (Cisco IP Communicator) avec Asterisk (installé sur Ubuntu). Seulement voila je me heurte à un problème que je n'arrive pas à résoudre qui est le suivant: Les clients s'enregistrent correctement mais lorsque que j'effectue dans asterisk en ligne de commande:
    *CLI> sip show peers
    J'obtiens dans Host (unspecified)
    J'obtiens 2 sip peers [2 offline Unmonitored]
    Je pense qu'il me manque des éléments dans ma configuration mes lesquels ?

    Je peux fournir les fichiers .conf si vous souhaitez (sip.conf, sccp.conf, etc.)

    Merci d'avance !

  2. #2
    Membre Senior
    Date d'inscription
    septembre 2010
    Messages
    410
    Downloads
    1
    Uploads
    0
    Tu peux essayer la commande :

    sip set debug ip <IP_CLIENT>

    Pour voir ce qui se passe au niveau SIP

  3. #3
    Membre Junior
    Date d'inscription
    mai 2013
    Messages
    11
    Downloads
    0
    Uploads
    0

    retour

    j'ai activé le mode debug pour sip et skinny, et voici les logs que j'obtiens ...
    Pour y voir plus clair, je tourne avec 2 clients CIPC (1 pc pour chaque client) et 1 pc avec un serveur dhcp, un serveur tftp et le serveur astersik.


    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.8.13.1~dfsg-1ubuntu2 currently running on lol (pid = 17404)
    Verbosity was 0 and is now 5
    -- Starting Skinny session from 192.168.1.150
    -- Device 'SEP001A4B5C3CF6' successfully registered
    Device capability set to '0xc (ulaw|alaw)'
    lol*CLI> sip set debug o
    on off
    lol*CLI> sip set debug on
    SIP Debugging enabled
    lol*CLI> skinny set debug on
    Skinny Debugging Enabled
    Skinny Client was lost, unregistering
    -- Starting Skinny session from 192.168.1.150
    Device SEP001A4B5C3CF6 is attempting to register
    -- Device 'SEP001A4B5C3CF6' successfully registered
    Requesting capabilities
    Buttontemplate requested
    Sending 30016 template to PHONE_NAME
    Received SoftKey Template Request
    Received SoftKeySetReq

    lol*CLI> sip set
    debug history
    lol*CLI> sip set debug ip 192.168.1.150
    SIP Debugging Enabled for IP: 192.168.1.150
    lol*CLI> exit
    Executing last minute cleanups
    root@lol:/etc/asterisk# /etc/init.d/asterisk restart
    Stopping Asterisk PBX: asterisk.
    Starting Asterisk PBX: asterisk.
    root@lol:/etc/asterisk# asterisk -rvvvvv
    Asterisk 1.8.13.1~dfsg-1ubuntu2, Copyright (C) 1999 - 2012 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    ================================================== =======================
    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.8.13.1~dfsg-1ubuntu2 currently running on lol (pid = 18385)
    Verbosity was 0 and is now 5
    lol*CLI> exi
    No such command 'exi' (type 'core show help exi' for other possible commands)
    lol*CLI> exit
    Executing last minute cleanups
    root@lol:/etc/asterisk# /etc/init.d/asterisk stop
    Stopping Asterisk PBX: asterisk.
    root@lol:/etc/asterisk# /etc/init.d/asterisk start
    Starting Asterisk PBX: asterisk.
    root@lol:/etc/asterisk# asterisk -rvvvvv
    Asterisk 1.8.13.1~dfsg-1ubuntu2, Copyright (C) 1999 - 2012 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    ================================================== =======================
    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.8.13.1~dfsg-1ubuntu2 currently running on lol (pid = 18450)
    Verbosity was 0 and is now 5
    lol*CLI> sip set debug ip 192.168.1.150
    SIP Debugging Enabled for IP: 192.168.1.150
    lol*CLI> sip set debug on
    SIP Debugging re-enabled
    -- Starting Skinny session from 192.168.1.150
    -- Device 'SEP001A4B5C3CF6' successfully registered
    Device capability set to '0xc (ulaw|alaw)'
    lol*CLI> skinny set debug on
    Skinny Debugging Enabled
    lol*CLI> skinny reload
    [May 23 15:33:05] NOTICE[18494]: chan_skinny.c:7260 config_load: Configuring skinny from skinny.conf
    == Parsing '/etc/asterisk/skinny.conf': == Found
    [May 23 15:33:05] WARNING[18494]: config.c:1354 process_text_line: No '=' (equal sign) in line 107 of /etc/asterisk/skinny.conf
    [May 23 15:33:05] NOTICE[18494]: chan_skinny.c:7170 config_device: Configuring skinny device PHONE_NAME.
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7098 config_parse_variables: Don't know keyword 'model' at line 201
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: nat at line 203
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: callerid at line 204
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: mailbox at line 205
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: threewaycalling at line 208
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: context at line 209
    [May 23 15:33:05] ERROR[18494]: chan_skinny.c:7196 config_device: A Skinny device must have at least one line!
    [May 23 15:33:05] NOTICE[18494]: chan_skinny.c:7170 config_device: Configuring skinny device PHONE_NAME.
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7098 config_parse_variables: Don't know keyword 'model' at line 214
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: nat at line 216
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: callerid at line 217
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: mailbox at line 218
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: threewaycalling at line 221
    [May 23 15:33:05] WARNING[18494]: chan_skinny.c:7101 config_parse_variables: Invalid category used: context at line 222
    [May 23 15:33:05] ERROR[18494]: chan_skinny.c:7196 config_device: A Skinny device must have at least one line!
    -- Removing device 'PHONE_NAME'
    -- Removing device 'PHONE_NAME'

  4. #4
    Membre Junior
    Date d'inscription
    mai 2013
    Messages
    11
    Downloads
    0
    Uploads
    0

    fichier.sip

    fichier sip.conf

    j'ai ajouté l'adresse du serveur tftp (en rouge) et à la fin déclaré mes clients. Faut-il ajouter ou modifier quelque chose ?

    (...)

    ; The address family of the bound UDP address is used to determine how Asterisk performs
    ; DNS lookups. In cases a) and c) above, only A records are considered. In case b), only
    ; AAAA records are considered. In case d), both A and AAAA records are considered. Note,
    ; however, that Asterisk ignores all records except the first one. In case d), when both A
    ; and AAAA records are available, either an A or AAAA record will be first, and which one
    ; depends on the operating system. On systems using glibc, AAAA records are given
    ; priority.

    udpbindaddr=192.168.1.254:5060 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
    ; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)

    (...)


    [201]
    username=201
    type=friend
    secret=password
    qualify=yes
    port=5060
    pickgroup=
    nat=no
    mailbox=201@device
    host=dynamic
    dtmfmode=rfc2833
    dial=SIP/201
    context=from-internal
    canreinvite=no
    callgroup=
    callerid=device <201>
    accountcode=
    call-limit=50
    insecure=invite,port

    [202]
    username=202
    type=friend
    secret=password
    qualify=yes
    port=5060
    pickgroup=
    nat=no
    mailbox=202@device
    host=dynamic
    dtmfmode=rfc2833
    dial=SIP/202
    context=from-internal
    canreinvite=no
    callgroup=
    callerid=device <202>
    accountcode=
    call-limit=50
    insecure=invite,port

Les tags pour cette discussion

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •