Page 2 sur 2 PremièrePremière 12
Affichage des résultats 11 à 20 sur 20

Discussion: pas d'appel entrant Freephonie et OVH

  1. #11
    Membre Junior
    Date d'inscription
    novembre 2014
    Messages
    14
    Downloads
    0
    Uploads
    0
    C est bon j'ai trouver une autre methode.

    SIP Debugging enabled

    im004.jpg

    Apres je fait quoi?

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

    Quand le sip debug est activé, des messages doivent défiler lors des appels entrants/sortants, mais le message

    netsock2.c: getaddrinfo("trunk_1", "(null)", ...): Name or service not known est quand même assez étrange. Tu as montré l'intégralité de la conf ? Il n'y a pas un host=trunk_1 qui traîne ?

  3. #13
    Membre Junior
    Date d'inscription
    novembre 2014
    Messages
    14
    Downloads
    0
    Uploads
    0
    Bonjour,

    Il y a beaucoup de d'info dans beaucoup de fichier. C 'est mal rangé.

    Dans EXTENTIONS.CONF il y a:
    [globals]
    CONSOLE=Console/dsp
    IAXINFO=guest
    TRUNK=DAHDI/G2
    TRUNKMSD=1
    FEATURES=
    DIALOPTIONS=
    RINGTIME=20
    FOLLOWMEOPTIONS=
    PAGING_HEADER=Intercom
    CID_6007=6007
    CID_6000=6000
    trunk_1=SIP/trunk_1
    timeinterval_AllTime=*,mon-sun,*,*
    trunk_2=SIP/trunk_2
    CID_6008=6008

    [DID_trunk_1]
    include=DID_trunk_1_timeinterval_AllTime,${timeint erval_AllTime}
    include=DID_trunk_1_default

    [CallingRule_CallMaison]
    exten=_X.,1,Goto(ringroups-custom-1,s,1)

    [DLPN_DialPlan1]
    include=CallingRule_CallFree

    [ringroups-custom-1]
    exten=s,1,NoOp(RingAll)
    exten=s,n,Dial(SIP/6000&IAX2/6000&SIP/6007&IAX2/6007&SIP/6008&IAX2/6008,20,${DIALOPTIONS}i)
    exten=s,n,Hangup

    et encore ....



    Dans SIP.CONF
    [general]
    context=default
    allowoverlap=no
    udpbindaddr=0.0.0.0
    tcpenable=no
    tcpbindaddr=0.0.0.0
    transport=udp
    srvlookup=yes
    subscribecontext=default



    Les deux seule host sont dans users.conf
    [trunk_1]
    host=freephonie.net

    et OVH dans trunk_2

    Merci pour ton aide dans mes recherches.

  4. #14
    Membre Junior
    Date d'inscription
    novembre 2014
    Messages
    14
    Downloads
    0
    Uploads
    0
    Pour le SIP debug j'ai pas encore trouvé ou il y avait des messages qui défilaient. Je cherche...

  5. #15
    Membre Senior
    Date d'inscription
    novembre 2013
    Localisation
    Bordeaux
    Messages
    427
    Downloads
    0
    Uploads
    0
    Normalement les messages du debug s'affichent dans le CLI, le même ou tu tapes les commandes. Mais là visiblement non, le plus simple serait sans doute d'activer ssh http://blog.e-nnov.fr/synology-dsm/service-ssh/ et d'y aller avec le "vrai" CLI de asterisk ( asterisk -r )

    Par rapport a ton problème, la je ne suis pas inspiré, Je ne saurait pas trop conseiller a part essayer de repartir sur une conf ultra basique ( comme l'exemple http://www.agix.com.au/blog/?p=2656 ) et d'ajouter les paramètres au fur et a mesure.

  6. #16
    Membre Junior
    Date d'inscription
    novembre 2014
    Messages
    14
    Downloads
    0
    Uploads
    0
    Merci pour ton aide et tes orientations.

    Je vais poursuivre mes investigations.

    je reviendrais vers toi quand j'aurai avancé.
    Dernière modification par lours ; 03/12/2014 à 12h09.

  7. #17
    Membre Senior
    Date d'inscription
    janvier 2011
    Localisation
    Villejuif 94
    Messages
    337
    Downloads
    0
    Uploads
    0
    Bonjour,

    s'agissant des appels entrant, je pencherai plus pour un problème réseau, nat + keepalive. Regarde la configuration du Snom à ce niveau.

    cordialement.

  8. #18
    Membre Junior
    Date d'inscription
    novembre 2014
    Messages
    14
    Downloads
    0
    Uploads
    0
    J' ai progresse.

    Pour le log:

    Il me manquait ca:
    -----------------
    bonjour,

    Difficile de savoir d'où ça vient. Merci à Jean du forum asterisk-france.org pour m'avoir donné l'astuce suivante et savoir ce qui se passe.

    connecte toi à ton interface asterisk GUI

    active l'option avancée depuis le gui option/advanced
    ensuite, file editor, choisis logger.conf, puis clique sur logfile et ajoute ,verbose à la fin des deux lignes
    console=notice,warning,error,verbose
    messages=notice,warning,error,verbose

    => apply et reload

    ensuite, direction le menu asterisk cli, et envoie un core set verbose 9

    Passe ton appel...puis via le menu asterisk log, choisir la date du jour et go
    -----------------------------------

    Merci a http://www.nas-forum.com/forum/topic...veur-synology/

  9. #19
    Membre Junior
    Date d'inscription
    novembre 2014
    Messages
    14
    Downloads
    0
    Uploads
    0
    Et dans le log il apparait:

    Dec 13 20:04:47] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:06:25] VERBOSE[9192] netsock2.c: == Using SIP RTP CoS mark 5
    [Dec 13 20:06:32] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:06:35] VERBOSE[31372] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-0000006f;2", "/bin/grep /var/log/asterisk/messages -e 'Dec 13 ' > /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output2201.html") in new stack
    [Dec 13 20:06:43] VERBOSE[31372] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-0000006f;2", "") in new stack
    [Dec 13 20:06:43] VERBOSE[31372] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-0000006f;2'
    [Dec 13 20:06:43] VERBOSE[31419] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000070;2", "rm /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output2201.html") in new stack
    [Dec 13 20:06:43] VERBOSE[31419] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000070;2", "") in new stack
    [Dec 13 20:06:43] VERBOSE[31419] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000070;2'
    [Dec 13 20:06:59] VERBOSE[31491] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000071;2", "/bin/grep /var/log/asterisk/messages -e 'Dec 13 ' > /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output4113.html") in new stack
    [Dec 13 20:07:07] VERBOSE[31491] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000071;2", "") in new stack
    [Dec 13 20:07:07] VERBOSE[31491] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000071;2'
    [Dec 13 20:07:07] VERBOSE[31543] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000072;2", "rm /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output4113.html") in new stack
    [Dec 13 20:07:07] VERBOSE[31543] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000072;2", "") in new stack
    [Dec 13 20:07:07] VERBOSE[31543] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000072;2'
    [Dec 13 20:08:02] VERBOSE[31831] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000073;2", "/bin/grep /var/log/asterisk/messages -e 'Dec 13 ' > /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output6812.html") in new stack
    [Dec 13 20:08:09] VERBOSE[31831] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000073;2", "") in new stack
    [Dec 13 20:08:09] VERBOSE[31831] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000073;2'
    [Dec 13 20:08:09] VERBOSE[31862] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000074;2", "rm /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output6812.html") in new stack
    [Dec 13 20:08:09] VERBOSE[31862] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000074;2", "") in new stack
    [Dec 13 20:08:09] VERBOSE[31862] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000074;2'
    [Dec 13 20:08:18] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:08:18] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:08:22] VERBOSE[31966] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000075;2", "/bin/grep /var/log/asterisk/messages -e 'Dec 13 ' > /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output7467.html") in new stack
    [Dec 13 20:08:29] VERBOSE[31966] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000075;2", "") in new stack
    [Dec 13 20:08:29] VERBOSE[31966] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000075;2'
    [Dec 13 20:08:29] VERBOSE[31996] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000076;2", "rm /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output7467.html") in new stack
    [Dec 13 20:08:29] VERBOSE[31996] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000076;2", "") in new stack
    [Dec 13 20:08:29] VERBOSE[31996] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000076;2'
    [Dec 13 20:10:03] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:11:48] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:13:33] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:15:18] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:17:03] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:18:48] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:20:32] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'freephonie.net'
    [Dec 13 20:20:32] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'freephonie.net'
    [Dec 13 20:20:32] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'freephonie.net'
    [Dec 13 20:20:33] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:22:18] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:23:07] VERBOSE[4064] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000077;2", "/bin/grep /var/log/asterisk/messages -e 'Dec 13 ' > /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output6943.html") in new stack
    [Dec 13 20:23:14] VERBOSE[4064] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000077;2", "") in new stack
    [Dec 13 20:23:14] VERBOSE[4064] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000077;2'
    [Dec 13 20:23:15] VERBOSE[4106] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000078;2", "rm /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output6943.html") in new stack
    [Dec 13 20:23:15] VERBOSE[4106] pbx.c: -- Executing [executecommand@asterisk_guitools:2] Hangup("Local/executecommand@asterisk_guitools-00000078;2", "") in new stack
    [Dec 13 20:23:15] VERBOSE[4106] pbx.c: == Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-00000078;2'
    [Dec 13 20:24:03] VERBOSE[9192] dnsmgr.c: > doing dnsmgr_lookup for 'sip.ovh.fr'
    [Dec 13 20:24:08] VERBOSE[4399] pbx.c: -- Executing [executecommand@asterisk_guitools:1] System("Local/executecommand@asterisk_guitools-00000079;2", "/bin/grep /var/log/asterisk/messages -e 'Dec 13 ' > /var/packages/Asterisk/target/var/lib/asterisk/static-http/config/sysinfo_output7103.html") in new stack

    Super mais ca veux dire quoi?

  10. #20
    Membre Junior
    Date d'inscription
    novembre 2014
    Messages
    14
    Downloads
    0
    Uploads
    0
    Bonjour,

    J'ai avancé (la ténacite paye).

    J'ai tout repris au debut et reconfiguré mon synology en acces avec internet et réinstallé Asterisk.

    toujours pareil pour les appels internes ca marche et appels extenes ca marche. Pas de Reception d'appel externe mais mon log détecte quelque chose.

    chan_sip.c: Sending to 91.xxx.xxx.20:5060 (NAT)
    chan_sip.c: Using INVITE request as basis request - 08527-IB-07907ef1-10038d7e6@sip.ovh.fr
    chan_sip.c: Found peer 'trunk_1' for '09xxxxxxxx' from 91.xxx.xxx.20:5060
    chan_sip.c: username mismatch, have <trunk_1>, digest has <anonymous>
    chan_sip.c: Failed to authenticate device "09xxxxxxxx" <sip:09xxxxxxxx@sip.ovh.fr;user=phone>;tag=08527-BK-07907ef2-5049ec292

    Ou pourrait etre mon erreur dans l'orientation de cette appel?

    Merci

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
  •