Affichage des résultats 1 à 10 sur 45

Discussion: impossible de faire fonctionner lgne ovh[résolu]

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre
    Date d'inscription
    novembre 2010
    Messages
    30
    Downloads
    0
    Uploads
    0
    Voici mon fichier sip.conf.
    Code:
    [general]
    language=fr
    bindport=5060
    bindaddr=0.0.0.0
    srvlookup=yes
    canreinvite=no
    defaultexpiry=3600
    registertimeout=30
    registerattempts=0
    disallow=all
    allow=alaw
    allowguest=yes
    nat=yes
    externip=89.XX.XX.95
    localnet=192.168.1.0/255.255.255.0
    session-timers=refuse 
    
    register => 00331xxxxx:xxxxxx@sip.ovh.fr:5962/00331xxxxx
    register => 00331xxxxx:xxxxxx@sip.ovh.fr:5962/00331xxxxx
    
    [400]
    type = friend
    username=400
    callerid="400" <00331xxxxx> 
    secret = xxxxxx
    port=5060
    host = dynamic
    hassip = yes
    hasiax = no
    hash323 = no
    context =local
    language = fr
    insecure = port
    nat = yes
    canreinvite = no
    promiscredir=no
    dtmfmode = info
    video = no
    restrictcid = no
    amaflags = default
    ;mailbox=150@default
    
    [200]
    type = friend
    username=200
    callerid="400" <00331xxxxx> 
    secret = xxxxxx
    port=5060
    host = dynamic
    hassip = yes
    hasiax = no
    hash323 = no
    context =local
    language = fr
    insecure = port
    nat = yes
    canreinvite = no
    promiscredir=no
    dtmfmode = info
    video = no
    restrictcid = no
    amaflags = default
    ;mailbox=150@default
    
    [forfait-ovh]
    disallow=all
    username=00331xxxxx
    type=friend
    secret=xxxxxx
    qualify=yes
    insecure=port,invite
    host=sip.ovh.fr
    fromuser=00331xxxxx
    fromdomain=sip.ovh.fr
    dtmfmode=inband
    outboundproxyport=5962
    context=local
    allow=ulaw
    allow=alaw
    
    [forfait1-ovh]
    disallow=all
    username=00331xxxxx
    type=friend
    secret=xxxxxx
    qualify=yes
    insecure=port,invite
    host=sip.ovh.fr
    fromuser=00331xxxxx
    fromdomain=sip.ovh.fr
    dtmfmode=inband
    outboundproxyport=5962
    context=local
    allow=ulaw
    allow=alaw

  2. #2
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    outboundproxyport=5962

    quesako ???


    mon code:
    Code:
    register => 0033999999999:pass@ovhfr
    
    [ovhfr]
    type=peer
    host=sip.ovh.fr
    context=ADEFINIR
    language=fr
    insecure=invite
    defaultuser=0033999999999
    ; doit etre commentee pour que le dialplan choisisse avec set callerid(num)
    fromuser=0033999999999
    secret=pass
    fromdomain=sip.ovh.fr
    nat=yes
    canreinvite=no
    dtmfmode=rfc2833
    video=no
    restrictcid=no
    amaflags=default
    disallow=all
    allow=alaw
    allow=g729
    si ca marche pas, c'est un pbm réseau: perte de paquet, firewall qui ferme

  3. #3
    Membre
    Date d'inscription
    novembre 2010
    Messages
    30
    Downloads
    0
    Uploads
    0
    Bonsoir Jean,
    J'ai mis ta configuration, toujours mêmes problèmes.
    Ce n'est pas la faute du firewall car il est désactivé et de plus si j'enregistre mon téléphone directement chez ovh tout se passe bien.
    De plus les appels entrants ne sont pas limités dans le temps.
    Si j'étudie les trames avec wireshark le BYE vient d'ovh et bien sûr ensuite asterisk coupe.
    Comment puis-je te transmettre une analyse de trame car j'aimerais ton avis.
    Mon interprétation est qu'il existe un mauvais paramétrage chez ovh sur leur nouveau serveur où j'ai fait l'erreur d'accepter de migrer.
    Sur le forum d'ovh nous sommes légions à avoir ces problèmes et l'explication d'ovh est "sip.ovh.fr est moins permissif sip.ovh.net, vérifiez vos codes"
    Auprès de qui as tu souscrit ton abonnement téléphonique car je crois que je vais changer de crèmerie.

  4. #4
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    essaie d'installer et de faire un ngrep - la sortie est en texte et assez lisible

    les 30 secondes viennent - probablement - du non acquittement par ton coté du décroché (le 200 OK) - ovh ne le reçoit pas et décide de couper

    pour info, sip.ovh.fr se résoud en 91.121.129.20 sur différents serveurs

  5. #5
    Membre
    Date d'inscription
    novembre 2010
    Messages
    30
    Downloads
    0
    Uploads
    0
    Voici une capture qui montre bien que ovh coupe et voici ce qu'ils prétendent on croit rèver.
    "je comprend vos remarques cependant les exemples d'appel
    fournis ont été coupé par vos équipement.
    A chaque appel un BYE a été reçu de votre part.
    Pouvez-vous m'indiquer quel problématique a été"

    rencontré pour que vos équipements raccrochent ?"
    Code:
    U 91.121.129.20:5962 -> 192.168.1.17:5060
      BYE sip:0033183626986@89.83.76.95:5060 SIP/2.0..Call-ID: 5b09f43c40a89a3c3
      5abcef71fd7fea4@sip.ovh.fr..CSeq: 17325469 BYE..From: <sip:0148734812@sip.
      ovh.fr>;tag=00-07906-01292f20-47f4a2072..Max-Forwards: 30..Record-Route: <
      sip:91.121.129.20:5962;lr>..To: "400" <sip:0033183626986@sip.ovh.fr>;tag=a
      s25f8dece..Via: SIP/2.0/UDP 91.121.129.20:5962;branch=z9hG4bK-DHGU-05893bd
      8-0ce9ac0e..User-Agent: Cirpack/v4.56 (gw_sip)..Content-Length: 0....     
    #
    U 192.168.1.17:5060 -> 91.121.129.20:5962
      SIP/2.0 200 OK..Via: SIP/2.0/UDP 91.121.129.20:5962;branch=z9hG4bK-DHGU-05
      893bd8-0ce9ac0e;received=91.121.129.20;rport=5962..Record-Route: <sip:91.1
      21.129.20:5962;lr>..From: <sip:0148734812@sip.ovh.fr>;tag=00-07906-01292f2
      0-47f4a2072..To: "400" <sip:0033183626986@sip.ovh.fr>;tag=as25f8dece..Call
      -ID: 5b09f43c40a89a3c35abcef71fd7fea4@sip.ovh.fr..CSeq: 17325469 BYE..Serv
      er: Asterisk PBX 10.7.0..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, 
      SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Leng
      th: 0....                                                                 
    #
    U 192.168.1.17:5060 -> 192.168.1.6:31884
      BYE sip:400@192.168.1.6:31884 SIP/2.0..Via: SIP/2.0/UDP 192.168.1.17:5060;
      branch=z9hG4bK4e622258;rport..Max-Forwards: 70..From: <sip:0148734812@192.
      168.1.17>;tag=as5e293d32..To: "400" <sip:400@192.168.1.17>;tag=1668140945.
      .Call-ID: 668235232-31884-6@BJC.BGI.B.G..CSeq: 102 BYE..User-Agent: Asteri
      sk PBX 10.7.0..X-Asterisk-HangupCause: Normal Clearing..X-Asterisk-HangupC
      auseCode: 16..Content-Length: 0....                                       
    #
    U 192.168.1.6:31884 -> 192.168.1.17:5060
      SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.1.17:5060;branch=z9hG4bK4e622258;
      rport=5060..From: <sip:0148734812@192.168.1.17>;tag=as5e293d32..To: "400" 
      <sip:400@192.168.1.17>;tag=1668140945..Call-ID: 668235232-31884-6@BJC.BGI.
      B.G..CSeq: 102 BYE..Contact: <sip:400@192.168.1.6:31884>..Supported: repla
      ces, path, timer..User-Agent: Grandstream GXP2140 1.0.0.17..Allow: INVITE,
       ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAG
      E..Content-Length: 0....                                                  
    #
    #
    U 91.121.129.20:5962 -> 192.168.1.17:5060
      OPTIONS sip:0033184230751@89.83.76.95:5060 SIP/2.0..Call-ID: 02-07869-0a88
      204d-18da30f80@91.121.129.20..Contact: <sip:91.121.129.20:5962>..CSeq: 1 O
      PTIONS..From: <sip:keepalive@91.121.129.20:5962>;tag=02-07869-0a88204c-435
      17ea81..Max-Forwards: 70..To: <sip:0033184230751@sip.ovh.fr>..Via: SIP/2.0
      /UDP 91.121.129.20:5962;rport;branch=z9hG4bK-WYKY-05896076-0ca692e0..Conte
      nt-Length: 0....                                                          
    #
    U 192.168.1.17:5060 -> 91.121.129.20:5962
      SIP/2.0 200 OK..Via: SIP/2.0/UDP 91.121.129.20:5962;branch=z9hG4bK-WYKY-05
      896076-0ca692e0;received=91.121.129.20;rport=5962..From: <sip:keepalive@91
      .121.129.20:5962>;tag=02-07869-0a88204c-43517ea81..To: <sip:0033184230751@
      sip.ovh.fr>;tag=as643d17ed..Call-ID: 02-07869-0a88204d-18da30f80@91.121.12
      9.20..CSeq: 1 OPTIONS..Server: Asterisk PBX 10.7.0..Allow: INVITE, ACK, CA
      NCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: re
      places, timer..Contact: <sip:89.83.76.95:5060>..Accept: application/sdp..C
      ontent-Length: 0....                                                      
    #
    U 91.121.129.20:5962 -> 192.168.1.17:5060
      OPTIONS sip:0033183626986@89.83.76.95:5060 SIP/2.0..Call-ID: 02-07418-0a88
      211f-6d584fd33@91.121.129.20..Contact: <sip:91.121.129.20:5962>..CSeq: 1 O
      PTIONS..From: <sip:keepalive@91.121.129.20:5962>;tag=02-07418-0a88211e-1b0
      487990..Max-Forwards: 70..To: <sip:0033183626986@sip.ovh.fr>..Via: SIP/2.0
      /UDP 91.121.129.20:5962;rport;branch=z9hG4bK-FICW-058960df-4dd4265b..Conte
      nt-Length: 0....                                                          
    #
    U 192.168.1.17:5060 -> 91.121.129.20:5962
      SIP/2.0 200 OK..Via: SIP/2.0/UDP 91.121.129.20:5962;branch=z9hG4bK-FICW-05
      8960df-4dd4265b;received=91.121.129.20;rport=5962..From: <sip:keepalive@91
      .121.129.20:5962>;tag=02-07418-0a88211e-1b0487990..To: <sip:0033183626986@
      sip.ovh.fr>;tag=as7d037d80..Call-ID: 02-07418-0a88211f-6d584fd33@91.121.12
      9.20..CSeq: 1 OPTIONS..Server: Asterisk PBX 10.7.0..Allow: INVITE, ACK, CA
      NCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: re
      places, timer..Contact: <sip:89.83.76.95:5060>..Accept: application/sdp..C
      ontent-Length: 0....                                                      
    ^Cexit

  6. #6
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    Le bye vient de chez eux, mais peux tu poster l'ensemble du dialogue, depuis le premier INVITE

    Si un paquet n'est pas reçu, ca peut déclencher le BYE à juste titre chez ovh

  7. #7
    Membre
    Date d'inscription
    novembre 2010
    Messages
    30
    Downloads
    0
    Uploads
    0
    Bon je ne connais pas ngrep, j'espère que cela te sera utile
    Code:
    U 192.168.1.6:5012 -> 192.168.1.17:15426
    #
    U 91.121.129.20:5060 -> 192.168.1.17:5060
      SIP/2.0 200 OK..Call-ID: 038eb32514b21ec727eef1b95c039152@sip.ovh.fr..Contact: <sip:10.7.1.65:5060>..Content-Type: application/sdp..CSeq: 
      103 INVITE..From: "400" <sip:0033183626986@sip.ovh.fr>;tag=as3a707396..Record-Route: <sip:91.121.129.20:5060;transport=udp;lr>..To: <sip:0
      148734812@sip.ovh.fr>;tag=00-08131-013bd79d-2efba9650..Via: SIP/2.0/UDP 192.168.1.17:5060;received=89.83.76.95;rport=5060;branch=z9hG4bK57
      de0768..Allow: UPDATE,REFER,INFO..Server: Cirpack/v4.56 (gw_sip)..Content-Length: 265....v=0..o=cp10 139170892574 139170892575 IN IP4 10.7
      .1.133..s=SIP Call..c=IN IP4 91.121.129.139..t=0 0..m=audio 34508 RTP/AVP 0 8 101..b=AS:77..a=rtpmap:0 PCMU/8000/1..a=rtpmap:8 PCMA/8000/1
      ..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv..                                                            
    #
    U 192.168.1.6:5012 -> 192.168.1.17:15426
      ..4..1/.a.'UU......U.UUUU.U.UU..UU...UU.UU...UUUUU.UUUU.UU....U..U..U.U...U........UU..UU..UUU.UUU...UUUUUU.UU...U.......UU..U.....UU.U...
      .U.U.UUUUUU.UU..UU.......UU..UUUUU                                                                                                        
    #
    U 192.168.1.17:5060 -> 91.121.129.20:5060
      ACK sip:10.7.1.65:5060 SIP/2.0..Via: SIP/2.0/UDP 89.83.76.95:5060;branch=z9hG4bK6fdec53a;rport..Route: <sip:91.121.129.20:5060;transport=u
      dp;lr>..Max-Forwards: 70..From: "400" <sip:0033183626986@sip.ovh.fr>;tag=as3a707396..To: <sip:0148734812@sip.ovh.fr>;tag=00-08131-013bd79d
      -2efba9650..Contact: <sip:0033183626986@89.83.76.95:5060>..Call-ID: 038eb32514b21ec727eef1b95c039152@sip.ovh.fr..CSeq: 103 ACK..User-Agent
      : Asterisk PBX 10.7.0..Content-Length: 0....                                                                                              
    #
    U 192.168.1.6:5012 -> 192.168.1.17:15426
      ..4..1?.a.'U..U.U.UU.........U.U.U.U..UU.U.U.UUU...U...U.U..U..U......U.UUUUU.....U..U.UU..U....UU.UU.....UU....U.U............U..U..UU..U
      UUUUUUUUUUUUUUUUU.UUU.....U.......                                                                                                        
    #
    U 192.168.1.17:10328 -> 91.121.129.139:34508
      .....1?.......~.~.~~.........~.~.~.~..~~.~.~.~~~...~...~.~..~..~......~.~~~~~.....~..~.~~..~....~~.~~.....~~....~.~............~..~..~~..~
      ~~~~~~~~~~~~~~~~~.~~~.....~.......                                                                                                        
    #
    U 91.121.129.20:5962 -> 192.168.1.17:5060
      BYE sip:0033183626986@89.83.76.95:5060 SIP/2.0..Call-ID: 038eb32514b21ec727eef1b95c039152@sip.ovh.fr..CSeq: 18289435 BYE..From: <sip:01487
      34812@sip.ovh.fr>;tag=00-08131-013bd79d-2efba9650..Max-Forwards: 30..Record-Route: <sip:91.121.129.20:5962;lr>..To: "400" <sip:00331836269
      86@sip.ovh.fr>;tag=as3a707396..Via: SIP/2.0/UDP 91.121.129.20:5962;branch=z9hG4bK-ESIS-0855cdd0-3bd0ec53..User-Agent: Cirpack/v4.56 (gw_si
      p)..Content-Length: 0....                                                                                                                 
    #
    U 192.168.1.17:5060 -> 91.121.129.20:5962
      SIP/2.0 200 OK..Via: SIP/2.0/UDP 91.121.129.20:5962;branch=z9hG4bK-ESIS-0855cdd0-3bd0ec53;received=91.121.129.20;rport=5962..Record-Route:
       <sip:91.121.129.20:5962;lr>..From: <sip:0148734812@sip.ovh.fr>;tag=00-08131-013bd79d-2efba9650..To: "400" <sip:0033183626986@sip.ovh.fr>;
      tag=as3a707396..Call-ID: 038eb32514b21ec727eef1b95c039152@sip.ovh.fr..CSeq: 18289435 BYE..Server: Asterisk PBX 10.7.0..Allow: INVITE, ACK,
       CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Length: 0....                         
    #
    U 192.168.1.17:5060 -> 192.168.1.6:11340
      BYE sip:400@192.168.1.6:11340 SIP/2.0..Via: SIP/2.0/UDP 192.168.1.17:5060;branch=z9hG4bK51c44e18;rport..Max-Forwards: 70..From: <sip:01487
      34812@192.168.1.17>;tag=as5697ea83..To: "400" <sip:400@192.168.1.17>;tag=511943350..Call-ID: 604316341-11340-4@BJC.BGI.B.G..CSeq: 102 BYE.
      .User-Agent: Asterisk PBX 10.7.0..X-Asterisk-HangupCause: Normal Clearing..X-Asterisk-HangupCauseCode: 16..Content-Length: 0....          
    #
    U 192.168.1.6:11340 -> 192.168.1.17:5060
      SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.1.17:5060;branch=z9hG4bK51c44e18;rport=5060..From: <sip:0148734812@192.168.1.17>;tag=as5697ea83..
      To: "400" <sip:400@192.168.1.17>;tag=511943350..Call-ID: 604316341-11340-4@BJC.BGI.B.G..CSeq: 102 BYE..Contact: <sip:400@192.168.1.6:11340
      >..Supported: replaces, path, timer..User-Agent: Grandstream GXP2140 1.0.0.17..Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY
      , INFO, REFER, UPDATE, MESSAGE..Content-Length: 0....                                                                                     
    #
    U 192.168.1.6:5012 -> 192.168.1.17:15426
      ..4..1@ a.'U....U..U.....U.UU.UUU.UU...UU..UU...UU.UU..UUUU..U..UUUUUUU.U..U....U.U......U..U.UUU..U.UUU.........UU..U......U...U...U..UUU
      UUUUUUUU.U.UU.U.U..U....UU..UU....                                                                                                        
    #
    I 192.168.1.17 -> 192.168.1.6 3:3
      ....E0....@.@.............<B......4..1@ a.'U....U..U.....U.UU.UUU.UU...UU..UU...UU.UU..UUUU..U..UUUUUUU.U..U....U.U......U..U.UUU..U.UUU..
      .......UU..U......U...U...U..UUUUUUUUUUU.U.UU.U.U..U....UU..UU....                                                                        
    #
    U 192.168.1.6:5012 -> 192.168.1.17:15426
      ..4..1@.a.'U.UU...UUUUUUU..U..U..UUU...............U.......UU..UUUUUU.U.UUUUUUU..U.U...UUUU...................UU..UU...........UUUU..UU.U.
      UUUU....UU..UUU...................                                                                                                        
    #
    I 192.168.1.17 -> 192.168.1.6 3:3
      ....E0....@.@.............<B..cL..4..1@.a.'U.UU...UUUUUUU..U..U..UUU...............U.......UU..UUUUUU.U.UUUUUUU..U.U...UUUU...............
      ....UU..UU...........UUUU..UU.U.UUUU....UU..UUU...................                                                                        
    #
    T 192.168.1.17:47725 -> 173.194.34.29:443 [AP]
      .... .W0AE.....o....&Y.....\.\..]....                                                                                                     
    #
    T 173.194.34.29:443 -> 192.168.1.17:47725 [AP]
      .... ..W..2....[.l.....HT..........p.                                                                                                     
    ##
    T 173.194.45.54:443 -> 192.168.1.17:34380 [AP]
      ....1=.Y$.......!..2.....mqNm.4e..(>}.......F..`...8g.                                                                                    
    #^Cexit
    8185 received, 0 dropped
    pascal@pascal-SATELLITE-T130:/$ sudo /etc/init.d/asterisk stop

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
  •