Affichage des résultats 1 à 10 sur 11

Discussion: Probleme de raccroché au bout de 10s

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre Junior
    Date d'inscription
    juin 2012
    Messages
    6
    Downloads
    1
    Uploads
    0

    Unhappy Probleme de raccroché au bout de 10s

    bonjour à tous,

    je suis nouveau sur asterisk. j'ai suivi plusieurs tuto sur le net.

    j'arrive a connecté 2 clients X-lite 5 sur mon serveur.
    mais lorsque j'effectue un appel entre les 2 clients (dans un sens ou dans l'autre), le temps de communication total entre les 2 clients est de 10s maxi .

    le comportement est le suivant :
    - appel du client 2 depuis le client 1
    - un delai de 2-3s avant le ring.
    a/ si je laisse sonnée, au bout de 5s environ, ca raccroche automatiquement
    b/ si je deccroche, la comme est etablie l'audio fonctionne, mais au bout de 5s, ca raccroche.

    je ne vois pas du tout d'ou cela peut venir.

    ma config :
    Ubuntu desktop 12.04 i386 + asterisk en VM sous virtualbox, reseau en pont.
    aucun firewall activé sur les postes clients et la VM (pour les tests)
    usage interne uniquement, pas de prestataire externe ou de communication externe, uniquement en LAN

    fichier sip.conf
    Code:
    [general]
    
    t38pt_udptl = yes
    language=fr
    call-limit=50
    srvlookup=yes
    disallow=all
    allow=ulaw
    allow=alaw
    allow=gsm
    context=interne
    dtmfmode=rfc2833
    qualify=yes
    canreinvite=no
    notifyringing=yes
    notifyhold=yes
    subscribecontext=BLF
    domain=myasterisk.dom
    
    
    
    [1001]
    secret=azerty
    type=friend
    host=dynamic
    callerid="Test" <1001>
    context=interne
    dtmfmode=rfc2833
    qualify=yes
    disallow=all
    allow=gsm
    allow=ulaw
    allow=alaw
    canreinvite=no
    nat=yes
    subscribecontext=BLF
    
    
    [1002]
    secret=azerty
    type=friend
    host=dynamic
    callerid="Centrale" <1002>
    context=interne
    dtmfmode=rfc2833
    qualify=yes
    disallow=all
    allow=gsm
    allow=ulaw
    allow=alaw
    canreinvite=no
    nat=yes
    subscribecontext=BLF

    fichier extensions.conf
    Code:
    [general]
    autofallthrough=yes
    
    
    [globals]
    
    [BLF]
    ;exten => 1001,hint,SIP/1001
    ;exten => 1002,hint,SIP/1002
    exten => 1001,1,Dial(SIP/1001,30,g)
    exten => 1002,1,Dial(SIP/1002,30,g)
    
    
    [interne]
    include => AppelSortant
    include => BLF
    include => test
    
    ;exten = _XXXX,1,Dial(SIP/${EXTEN},50)
    ;exten = _XXXX,n,Hangup()
    
    [AppelEntrant]
    
    [AppelSortant]
    
    [test]
    
    exten => **33,1,Answer()
    exten => **33,n,Wait(1)
    exten => **33,n,Echo()
    exten => **33,n,Hangup()
    
    
    exten => **34,1,Answer()
    exten => **34,n,Wait(1)
    exten => **34,n,Playback(hello-world)
    exten => **34,n,Hangup()
    c'est surement trés bete, mais je vois pas du tout

    d'avance merci pour votre aide.

  2. #2
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    il faut faire un core set verbose 3 et voir les messges sur la console.... je sens bien le "no response to our critical packet"...
    J.

  3. #3
    Membre Junior
    Date d'inscription
    juin 2012
    Messages
    6
    Downloads
    1
    Uploads
    0
    donc suite a ta commande, voici ce que m'indique la console lors d'un appel :
    Code:
      == Using SIP RTP CoS mark 5
        -- Executing [1001@interne:1] Dial("SIP/1002-00000002", "SIP/1001,30,g") in new stack
      == Using SIP RTP CoS mark 5
        -- Called SIP/1001
        -- SIP/1001-00000003 is ringing
    [Jun 27 07:57:12] NOTICE[26554]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 07:57:12] NOTICE[26554]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 07:57:12] NOTICE[26554]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
      == Using UDPTL CoS mark 5
        -- SIP/1001-00000003 answered SIP/1002-00000002
        -- Locally bridging SIP/1002-00000002 and SIP/1001-00000003
        -- Auto fallthrough, channel 'SIP/1002-00000002' status is 'ANSWER'

  4. #4
    Membre Junior
    Date d'inscription
    juin 2012
    Messages
    6
    Downloads
    1
    Uploads
    0
    bizarre, je viens de faire un test avec Twinkel sous ubuntu en com avec Xlite sous windows

    j'ai appelé depuis le 1001 (xlite) vers le 1002 (twinkle) et la la comm a tenu !!!!!!

    Code:
      == Using SIP RTP CoS mark 5
      == Using UDPTL CoS mark 5
        -- Executing [1002@interne:1] Dial("SIP/1001-00000004", "SIP/1002,30,g") in new stack
      == Using SIP RTP CoS mark 5
        -- Called SIP/1002
        -- SIP/1002-00000005 is ringing
        -- SIP/1002-00000005 answered SIP/1001-00000004
        -- Locally bridging SIP/1001-00000004 and SIP/1002-00000005
    [Jun 27 08:01:51] NOTICE[26604]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 08:01:51] NOTICE[26604]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 08:01:51] NOTICE[26604]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 08:02:01] NOTICE[26604]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 08:02:11] NOTICE[26604]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 08:02:21] NOTICE[26604]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
    [Jun 27 08:02:31] NOTICE[26604]: res_rtp_asterisk.c:2334 ast_rtp_read: Unknown RTP codec 126 received from '10.3.5.20:5062'
      == Spawn extension (interne, 1002, 1) exited non-zero on 'SIP/1001-00000004'
    par contre dans l'autre sens, du 1002 (twinkle) au 1001 (xlite) ca coupe, exactement comme hier entre les deux clients Xlite sous windows .... (cf log message precedent)

    comprends plus ....

  5. #5
    Membre Junior
    Date d'inscription
    juin 2012
    Messages
    6
    Downloads
    1
    Uploads
    0
    je me pose une autre question :

    serait-ce un PB avec xlite ?

    je viens de refaire une comm entre 2 xlite et ca marche dans aucun des 2 sens

    je vais voir pour faire un test avec un autre client windows pour voir ...

  6. #6
    Membre Junior
    Date d'inscription
    juin 2012
    Messages
    6
    Downloads
    1
    Uploads
    0
    bon je confirme, c'est Xlite qui fout le bazar
    j'ai fait un test avec Twinkle sous ubuntu et QuteCom sous windows et ca fonctionne la com tiens dans le temps.

    bon ben j'ai plus qu'a tester avec le reste du matos, mais j'aimerai avoir une explication du probleme, si ca recommence plus tard avec un autre client ...

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
  •