Affichage des résultats 1 à 10 sur 17

Discussion: Asterisk Configuration et matériel - conseils

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre
    Date d'inscription
    avril 2012
    Localisation
    83170 Tourves (Var)
    Messages
    46
    Downloads
    0
    Uploads
    0
    Bonjour,

    Je n'utiliserai pas dans ce cas FreePBX, voila le resultat de :
    asterisk -rvvvvv
    Code HTML:
    root@debian:~# asterisk -rvvvvv
    Asterisk 1.8.11.0, 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.11.0 currently running on debian (pid = 1455)
    Verbosity was 0 and is now 5
    debian*CLI>
    Comment fait on pour sortir de cli>

    Je ne trouve pas le manuel de cli dans la rubriques "Tutoriels" ?

    Merci.

  2. #2
    Membre Association
    Date d'inscription
    septembre 2010
    Localisation
    Isle sur la Sorgue 84800
    Messages
    369
    Downloads
    0
    Uploads
    0
    manuel du CLI tappez : help dans la CLI
    et pour sortir comme 99% des applis lancées en shell avec ctrl+ C

  3. #3
    Membre
    Date d'inscription
    avril 2012
    Localisation
    83170 Tourves (Var)
    Messages
    46
    Downloads
    0
    Uploads
    0
    Bonsoir,

    Code HTML:
    root@debian:~# asterisk -rvvvvv
    Asterisk 1.8.11.0, 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.11.0 currently running on debian (pid = 2080)
    Verbosity is at least 5
    debian*CLI>
    Code HTML:
    debian*CLI>sip show registry
    Host                                    dnsmgr Username       Refresh State                Reg.Time
    freephonie.net:5060                     N      0950xxxxxx        1785 Registered           Tue, 1 SIP registrations.
    [Apr 10 15:25:53] NOTICE[2101]: chan_sip.c:26166 sip_poke_noanswer: Peer 'trunk-free' is now UNREACHABLE!  Last qualify: 37
    [Apr 10 15:26:03] NOTICE[2101]: chan_sip.c:20788 handle_response_peerpoke: Peer 'trunk-free' is now Reachable. (38ms / 2000ms)
           > doing dnsmgr_lookup for 'freephonie.net'
    [Apr 10 15:41:34] WARNING[2101]: chan_sip.c:20651 handle_response_register: Got 423 Interval too brief for service 0950xxxxxx@freephonie.net, minimum is 1800 seconds
           > doing dnsmgr_lookup for 'freephonie.net'
           > doing dnsmgr_lookup for 'freephonie.net'
    [Apr 10 15:44:06] NOTICE[2101]: chan_sip.c:20788 handle_response_peerpoke: Peer 'trunk-free' is now Lagged. (3045ms / 2000ms)
    [Apr 10 15:44:17] NOTICE[2101]: chan_sip.c:20788 handle_response_peerpoke: Peer 'trunk-free' is now Reachable. (38ms / 2000ms)
    debian*CLI>
    C'est ok la, si je veut faire des tests avec x-lite, quel sont les paramètres de Asterisk a indiquer à x-lite pour l'utiliser ?

    Dans "sip.conf" il ne faut pas indiquer le DNS de la freebox (192.168.0.254) quelque part ?

    Merci.
    Dernière modification par xunil2003 ; 10/04/2012 à 17h36.

  4. #4
    Membre Association
    Date d'inscription
    septembre 2010
    Messages
    1 236
    Downloads
    0
    Uploads
    0
    [Apr 10 15:41:34] WARNING[2101]: chan_sip.c:20651 handle_response_register: Got 423 Interval too brief for service 0950xxxxxx@freephonie.net, minimum is 1800 seconds
    Pour le compte free il faut mettre defaultexpiry=1800

  5. #5
    Membre
    Date d'inscription
    avril 2012
    Localisation
    83170 Tourves (Var)
    Messages
    46
    Downloads
    0
    Uploads
    0
    bonjour,

    Merci c'est modifier
    Code HTML:
    root@debian:~# asterisk -rvvvvv
    Asterisk 1.8.11.0, 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.11.0 currently running on debian (pid = 2327)
    Verbosity was 0 and is now 5
    [Apr 10 17:43:43] NOTICE[2348]: chan_sip.c:26166 sip_poke_noanswer: Peer 'trunk-free' is now UNREACHABLE!  Last qualify: 38
    [Apr 10 17:43:53] NOTICE[2348]: chan_sip.c:20788 handle_response_peerpoke: Peer 'trunk-free' is now Reachable. (38ms / 2000ms)
           > doing dnsmgr_lookup for 'freephonie.net'
           > doing dnsmgr_lookup for 'freephonie.net'
    [Apr 10 18:17:59] NOTICE[2348]: chan_sip.c:26166 sip_poke_noanswer: Peer 'trunk-free' is now UNREACHABLE!  Last qualify: 76
    [Apr 10 18:18:09] NOTICE[2348]: chan_sip.c:20788 handle_response_peerpoke: Peer 'trunk-free' is now Reachable. (39ms / 2000ms)
    [Apr 10 18:20:13] NOTICE[2348]: chan_sip.c:26166 sip_poke_noanswer: Peer 'trunk-free' is now UNREACHABLE!  Last qualify: 38
    [Apr 10 18:20:23] NOTICE[2348]: chan_sip.c:20788 handle_response_peerpoke: Peer 'trunk-free' is now Reachable. (38ms / 2000ms)
    [Apr 10 18:23:27] NOTICE[2348]: chan_sip.c:26166 sip_poke_noanswer: Peer 'trunk-free' is now UNREACHABLE!  Last qualify: 39
    [Apr 10 18:23:37] NOTICE[2348]: chan_sip.c:20788 handle_response_peerpoke: Peer 'trunk-free' is now Reachable. (45ms / 2000ms)
           > doing dnsmgr_lookup for 'freephonie.net'
           > doing dnsmgr_lookup for 'freephonie.net'
    debian*CLI>
    Mais je ne comprend pas ce que je doit indiquer a X-lite pour communiquer avec asterisk ?

    Merci.
    Dernière modification par xunil2003 ; 10/04/2012 à 21h01.

  6. #6
    Membre
    Date d'inscription
    avril 2012
    Localisation
    83170 Tourves (Var)
    Messages
    46
    Downloads
    0
    Uploads
    0
    Bonjour,

    Je n'arrive pas a me faire identifier par Ekiga.

    Dans sip.conf j'ai mis ceci
    Code HTML:
    [11];salle informatique
    type=friend
    username=poste11
    secret=11
    context=rdc
    quality=yes
    nat=yes
    canreinvite=no
    ;auth=md5
    host=dynamic
    dtfmode=auto
    allow=ulaw
    mailbox=11
    pickupgroup=1
    Avec Ekiga (ajouter un compte)
    Code HTML:
    Nom : Salle informatique
    Registrar : 192.168.0.1
    Utilisateur : poste11
    Identifiant d'authentification : poste11
    Mot de passe : 11
    Delai : 360
    Ekiga me répond " Impossible de s'inscrire"

    Code HTML:
    root@debian:~# asterisk -rvvvvv
    Asterisk 1.8.11.0, 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.11.0 currently running on debian (pid = 2657)
    Verbosity was 0 and is now 5
    debian*CLI> sip show peers
    Name/username              Host                                    Dyn Forcerport ACL Port     Status     
    11/poste11                 192.168.0.2                              D   N             5060     OK (31 ms) 
    12/poste12                 (Unspecified)                            D   N             0        UNKNOWN    
    13/chambre invité         (Unspecified)                            D   N             0        UNKNOWN    
    14/cuisine d'été         (Unspecified)                            D   N             0        UNKNOWN    
    freephonie_in              212.27.52.5                                  N             5060     OK (37 ms) 
    freephonie_out/0950140909  212.27.52.5                                  N             5060     OK (37 ms) 
    6 sip peers [Monitored: 3 online, 3 offline Unmonitored: 0 online, 0 offline]
    [Apr 11 11:28:28] WARNING[2678]: chan_sip.c:14399 check_auth: username mismatch, have <11>, digest has <poste11>
    [Apr 11 11:28:28] NOTICE[2678]: chan_sip.c:24929 handle_request_register: Registration from '<sip:11@192.168.0.1>' failed for '192.168.0.2:5060' - Username/auth name mismatch
    [Apr 11 11:28:44] NOTICE[2678]: chan_sip.c:24929 handle_request_register: Registration from '<sip:poste11@192.168.0.1>' failed for '192.168.0.2:5060' - No matching peer found
    [Apr 11 11:28:44] NOTICE[2678]: chan_sip.c:24929 handle_request_register: Registration from '<sip:poste11@192.168.0.1>' failed for '192.168.0.2:5060' - No matching peer found
    debian*CLI>

    Ou est mon erreur , je rempli mal les champs d'Ekiga ?


    Merci
    Dernière modification par xunil2003 ; 11/04/2012 à 15h49.

  7. #7
    Membre
    Date d'inscription
    avril 2012
    Localisation
    83170 Tourves (Var)
    Messages
    46
    Downloads
    0
    Uploads
    0
    Bonjour,

    C'est bon ,'j'ai trouvé, j'ai réussi a ajouter mon compte dans Ekiga, mais j'ai un problème avec la messagerie d'asterisk.

    Code HTML:
    Nom : poste11
    Registrar : 192.168.0.1
    Utilisateur : 11
    Identifiant d'authentification : 11
    Mot de passe : 11
    Delai : 360
    Il me répond "Inscrit" .

    Messagerie
    Cependant pour la messagerie quand je compose le 700 j'ai ma messagerie.
    (asterisk) Messagerie asterisk, veuillez composer votre numéro de boite vocale
    (moi) Je tape : 11
    (asterisk) Mot de passe
    (moi) Je tape 11
    (asterisk)Access refusé, veuillez recomposer votre numéro de boite vocale

    Code HTML:
    root@debian:~# asterisk -rvvvvv                                                                                                 
    Asterisk 1.8.11.0, 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.11.0 currently running on debian (pid = 2889)
    Verbosity was 0 and is now 5
    debian*CLI> sip show peers
    Name/username              Host                                    Dyn Forcerport ACL Port     Status     
    11/poste11                 192.168.0.2                              D   N             5060     OK (31 ms) 
    12/poste12                 (Unspecified)                            D   N             0        UNKNOWN    
    13/chambre invité         (Unspecified)                            D   N             0        UNKNOWN    
    14/cuisine d'été         (Unspecified)                            D   N             0        UNKNOWN    
    freephonie_in              212.27.52.5                                  N             5060     OK (37 ms) 
    freephonie_out/0950140909  212.27.52.5                                  N             5060     OK (37 ms) 
    6 sip peers [Monitored: 3 online, 3 offline Unmonitored: 0 online, 0 offline]
      == Using SIP RTP CoS mark 5
        -- Executing [12@rdc:1] Dial("SIP/11-00000000", ", 30, wW") in new stack
    [Apr 11 12:31:40] WARNING[2937]: app_dial.c:1949 dial_exec_full: Dial requires an argument (technology/number)
      == Spawn extension (rdc, 12, 1) exited non-zero on 'SIP/11-00000000'
      == Using SIP RTP CoS mark 5
        -- Executing [700@rdc:1] VoiceMailMain("SIP/11-00000001", "") in new stack
        -- <SIP/11-00000001> Playing 'vm-login.slin' (language 'fr')
        -- <SIP/11-00000001> Playing 'vm-password.slin' (language 'fr')
        -- Incorrect password '' for user '11' (context = default)
        -- <SIP/11-00000001> Playing 'vm-incorrect-mailbox.slin' (language 'fr')
        -- <SIP/11-00000001> Playing 'vm-password.slin' (language 'fr')
        -- Incorrect password '' for user '11' (context = default)
        -- <SIP/11-00000001> Playing 'vm-incorrect-mailbox.slin' (language 'fr')
        -- <SIP/11-00000001> Playing 'vm-password.slin' (language 'fr')
        -- Incorrect password '' for user '11' (context = default)
        -- <SIP/11-00000001> Playing 'vm-incorrect.slin' (language 'fr')
        -- <SIP/11-00000001> Playing 'vm-goodbye.slin' (language 'fr')
        -- Auto fallthrough, channel 'SIP/11-00000001' status is 'UNKNOWN'
      == Using SIP RTP CoS mark 5
        -- Executing [700@rdc:1] VoiceMailMain("SIP/11-00000002", "") in new stack
        -- <SIP/11-00000002> Playing 'vm-login.slin' (language 'fr')
        -- <SIP/11-00000002> Playing 'vm-password.slin' (language 'fr')
        -- Incorrect password '70' for user '11' (context = default)
        -- <SIP/11-00000002> Playing 'vm-incorrect-mailbox.slin' (language 'fr')
    [Apr 11 12:45:10] WARNING[2950]: app_voicemail.c:9759 vm_authenticate: Couldn't read username
      == Using SIP RTP CoS mark 5
        -- Executing [700@rdc:1] VoiceMailMain("SIP/11-00000003", "") in new stack
        -- <SIP/11-00000003> Playing 'vm-login.slin' (language 'fr')
        -- <SIP/11-00000003> Playing 'vm-password.slin' (language 'fr')
        -- Incorrect password '11' for user '11' (context = default)
        -- <SIP/11-00000003> Playing 'vm-incorrect-mailbox.slin' (language 'fr')
    [Apr 11 12:45:35] WARNING[2951]: app_voicemail.c:9759 vm_authenticate: Couldn't read username
           > doing dnsmgr_lookup for 'freephonie.net'
           > doing dnsmgr_lookup for 'freephonie.net'
    debian*CLI>


    Je met le fichier sip.conf et extentions.conf dans la 2em partie.

    Ou est l'erreur , que ce passe t'il ?

    Merci.
    Dernière modification par xunil2003 ; 11/04/2012 à 15h56.

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
  •