Affichage des résultats 1 à 6 sur 6

Discussion: Temps d'attente dans les appels internes

  1. #1
    Membre Junior
    Date d'inscription
    juillet 2014
    Messages
    3
    Downloads
    0
    Uploads
    0

    Temps d'attente dans les appels internes

    Bonjour,
    Je viens tout juste d'installer un réseau téléphonique pour notre association avec un raspberry PI, des téléphones Cisco spa50x, un compte Sip free, une freebox et deux boitiers SPA3120 pour faire l'interface avec l'extérieur. Je précise qu'il y a deux semaine, ma seule expérience avec des lignes de commandes remontait à Color=22 sur mon Amstrad CPC 464.

    Tout fonctionne à peu près, malgré quelques bugs. Ma question porte sur le temps d'attente lors d'un appel entre deux extensions. Que ce soit avec Csipsimple entre deux smartphones ou avec des téléphones Cisco, j'ai parfois des temps d'attente qui peuvent aller jusqu'à 20 sec, alors que la ligne de mon voisin de bureau est libre.

    Si quelqu'un à une idée ...

    D'avance merci !

    Sam
    Association le Kalif

  2. #2
    Membre Senior
    Date d'inscription
    novembre 2013
    Localisation
    Bordeaux
    Messages
    427
    Downloads
    0
    Uploads
    0
    Bonjour

    Il faudrait visualiser les logs dans le cli asterisk ( éventuellement activer le debug sip ) pour voir si il se passe des choses pendant cette attente.

  3. #3
    Membre Junior
    Date d'inscription
    juillet 2014
    Messages
    3
    Downloads
    0
    Uploads
    0
    Merci,

    Je vais commencer par faire ça. Je vous tiens au courant.

  4. #4
    Membre Junior
    Date d'inscription
    juillet 2014
    Messages
    3
    Downloads
    0
    Uploads
    0

    exemple d'appel interne de la ligne 30 à la ligne 90

    Voilà ce que j'obtiens.
    Toutes les lignes "executing" arrivent instantanément, la suite des lignes n'arrive que plus tard (10 - 20 sec parfois).
    Est-ce que la ligne " == Using SIP RTP TOS bits 184" est normal alors que de ce que j'ai pu voir tout est configuré en UDP ?
    Par ailleurs, j'ai l'impression que le temps d'attente est moins important sur les postes que j’appelle plus souvent ? C'est dans ma tête ?

    D'avance merci pour vos conseils.

    Connected to Asterisk 11.6.0 currently running on raspbx (pid = 2791)
    Verbosity is 5 for 'silent'
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [90@from-internal:1] Set("SIP/30-00000201", "__RINGTIMER=15") in new stack
    -- Executing [90@from-internal:2] Macro("SIP/30-00000201", "exten-vm,novm,90,0,0,0") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/30-00000201", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/30-00000201", "TOUCH_MONITOR=1406816842.751") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/30-00000201", "AMPUSER=30") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/30-00000201", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/30-00000201", "1?Set(REALCALLERIDNUM=30)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/30-00000201", "AMPUSER=30") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/30-00000201", "AMPUSERCIDNAME=sam") in new stack
    -- Executing [s@macro-user-callerid:7] GotoIf("SIP/30-00000201", "0?report") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/30-00000201", "AMPUSERCID=30") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/30-00000201", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/30-00000201", "CALLERID(all)="sam" <30>") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("SIP/30-00000201", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/30-00000201", "0?Set(GROUP(concurrency_limit)=30)") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/30-00000201", "1?Set(CHANNEL(language)=fr)") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/30-00000201", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("SIP/30-00000201", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/30-00000201", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,27)
    ////////////////////////////////////////// TROP DE CARACTERES
    -- Executing [s@macro-dial-one:31] ExecIf("SIP/30-00000201", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("SIP/30-00000201", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("SIP/30-00000201", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("SIP/30-00000201", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:35] Set("SIP/30-00000201", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("SIP/30-00000201", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] GotoIf("SIP/30-00000201", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:38] GotoIf("SIP/30-00000201", "0?godial") in new stack
    -- Executing [s@macro-dial-one:39] Set("SIP/30-00000201", "CONNECTEDLINE(name,i)=steph") in new stack
    -- Executing [s@macro-dial-one:40] Set("SIP/30-00000201", "CONNECTEDLINE(num)=90") in new stack
    -- Executing [s@macro-dial-one:41] Set("SIP/30-00000201", "D_OPTIONS=trI") in new stack
    -- Executing [s@macro-dial-one:42] Dial("SIP/30-00000201", "SIP/90,,trI") in new stack
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Called SIP/90
    -- Connected line update to SIP/30-00000201 prevented.
    -- SIP/90-00000202 is ringing
    == Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/30-00000201' in macro 'dial-one'
    == Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/30-00000201' in macro 'exten-vm'
    == Spawn extension (from-internal, 90, 2) exited non-zero on 'SIP/30-00000201'
    -- Executing [h@from-internal:1] Hangup("SIP/30-00000201", "") in new stack
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/30-00000201'

  5. #5
    Membre Senior
    Date d'inscription
    novembre 2013
    Localisation
    Bordeaux
    Messages
    427
    Downloads
    0
    Uploads
    0
    Je ne vois rien de suspect dans ses lignes.

    Je pense qu'il faudrait activer le debug SIP ( sip set debug on ) dans le cli asterisk.

    Les postes sont tous dans le même réseau local, sans aucun NAT traversé ? J'imagine bien un truc en rapport avec ça. Tu a bien NAT=no dans la déclaration des postes ?

  6. #6
    Membre Junior
    Date d'inscription
    mars 2015
    Messages
    6
    Downloads
    0
    Uploads
    0
    peut être un :

    Code:
    srvlookup=no
    dans sip.conf

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
  •