Page 1 sur 2 12 DernièreDernière
Affichage des résultats 1 à 10 sur 12

Discussion: PErdu !

  1. #1
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    7
    Downloads
    0
    Uploads
    0

    PErdu !

    Bonjour,

    Je suis sous Asterisk 1,4 :
    J'ai un script qui lance un appel via asterisk et j'ai un message d'erreur sous asterisk


    [Nov 7 13:10:14] ERROR[28638]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    [Nov 7 13:10:14] NOTICE[28638]: chan_local.c:523 local_call: No such extension/context 4383808487@vbuzzer_out while calling Local channel
    [Nov 7 13:10:14] NOTICE[28638]: channel.c:3510 __ast_request_and_dial: Unable to call channel Local/4383808487@vbuzzer_out
    [Nov 7 13:10:14] ERROR[28638]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    [Nov 7 13:10:14] ERROR[28638]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    [Nov 7 13:10:14] ERROR[28638]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    == Manager 'huberte' logged off from 127.0.0.1




    voici mon sip :

    [general]
    register => XXXX:XXXX@vbuzzer_damoul
    allow=all

    [vbuzzer_damoul]
    ; Vbuzzer configuration
    type=friend
    context=vbuzzer_incoming
    host=vbuzzer.com
    username= XXXXX
    canreinvite=no
    dtmf=rfc2833
    dtmfmode=auto
    fromdomain=vbuzzer.com
    fromuser= XXXXX
    hidecallerid=yes
    insecure=very
    nat=route
    port=80
    qualify=2000
    secret= XXXXX
    username= XXXXX
    allow=all

    [asteriskuser1]
    type=friend
    host=dynamic
    context=666
    secret= toto
    nat=route
    allow=all


    extensions.conf

    [globals]

    [general]
    autofallthrough=yes

    [default]

    [incoming_calls]

    [internal]
    exten => vbuzzeruser1,1,NoOp()
    exten => vbuzzeruser1,n,Dial(SIP/asteriskuser1, 30)
    exten => vbuzzeruser1,n,Playback(the-party-you-are-calling&is-curntly-unavail)
    exten => vbuzzeruser1,n,Hangup()

    exten => asteriskuser1,1,NoOp()
    exten => asteriskuser1,n,Dial(SIP/${EXTEN}, 30)
    exten => asteriskuser1,n,Playback(the-party-you-are-calling&is-curntly-unavail)
    exten => asteriskuser1,n,Hangup()


    [remote_ damoul]
    exten => _X.,1,NoOp()
    exten => _X.,n,Dial(SIP/vbuzzer_damoul/${EXTEN})
    exten => _X.,n,Hangup()

    [vbuzzer_out]
    exten => _0[1-9].,1,Dial(SIP/${EXTEN}@vbuzzer_damoul)

    [vbuzzer_incoming]
    include => internal

    [phones_ asteriskuser1]
    include => internal
    include => remote_ damoul

    include /usr/local/huberte/asterisk/extensions_huberte.conf



    Mon Proviers VoIP est Vbuzzer.com ...
    Je ne sais pas si c'est eux qui bloquent ou moi qui s'est pas !
    si quelqu'un a une piste ?

    Merci

  2. #2
    Membre Association Avatar de quintana
    Date d'inscription
    août 2010
    Localisation
    Québec
    Messages
    1 084
    Downloads
    0
    Uploads
    0
    Salut,

    Ton erreur est là :

    [Nov 7 13:10:14] NOTICE[28638]: chan_local.c:523 local_call: No such extension/context 4383808487@vbuzzer_out while calling Local channel

    car dand vbuzzer_out tu as :

    exten => _0[1-9].,1,Dial(SIP/${EXTEN}@vbuzzer_damoul)

    Tu appelles 4383808487 et ta seule exten demande de commencer par un 0.

    Sylvain
    Découvrez Wazo sous licence GPLv3 et accessible pour tous : http://www.wazo.community
    Blog Wazo : http://blog.wazo.community
    Wazo est un fork de XiVO.
    Suivez moi sur Twitter !

  3. #3
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    7
    Downloads
    0
    Uploads
    0

    oops

    Merci j'avais pas vu , erreur de débutant ...

    maintenant j'ai probleme plus ardu ...

    mon appel est déclaré comme passé mais le téléphone ne passe pas !

    exemple :



    WikiNeova*CLI> sip set debug off
    SIP Debugging Disabled
    == Parsing '/etc/asterisk/manager.conf': Found
    == Manager 'huberte' logged on from 127.0.0.1
    [Nov 9 10:40:29] ERROR[21635]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    -- Executing [015146607688@vbuzzer_out:1] Dial("Local/015146607688@vbuzzer_out-6683,2", "SIP/015146607688@vbuzzer_damoul") in new stack
    -- Called 015146607688@vbuzzer_damoul
    -- SIP/vbuzzer_damoul-00000006 is ringing
    -- SIP/vbuzzer_damoul-00000006 answered Local/015146607688@vbuzzer_out-6683,2
    > Channel Local/015146607688@vbuzzer_out-6683,1 was answered.
    [Nov 9 10:40:33] ERROR[21635]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    [Nov 9 10:40:33] ERROR[21635]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    [Nov 9 10:40:33] ERROR[21635]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    == Manager 'huberte' logged off from 127.0.0.1
    -- Executing [s@huberte-home:1] Answer("Local/015146607688@vbuzzer_out-6683,1", "") in new stack
    -- Executing [s@huberte-home:2] Set("Local/015146607688@vbuzzer_out-6683,1", "TIMEOUT(digit)=60") in new stack
    -- Digit timeout set to 60
    -- Executing [s@huberte-home:3] Set("Local/015146607688@vbuzzer_out-6683,1", "TIMEOUT(response)=60") in new stack
    -- Response timeout set to 60
    -- Executing [s@huberte-home:4] Set("Local/015146607688@vbuzzer_out-6683,1", "LOOP=0") in new stack
    -- Executing [s@huberte-home:5] Wait("Local/015146607688@vbuzzer_out-6683,1", "1") in new stack
    -- Executing [s@huberte-home:6] System("Local/015146607688@vbuzzer_out-6683,1", "cd /usr/local/huberte/ext/ && ./CallUpdateStatus.php -i 3035 -s ANSWERED") in new stack
    -- Executing [s@huberte-home:7] ExecIf("Local/015146607688@vbuzzer_out-6683,1", "1|Background|/usr/local/huberte/sounds//fr/menu/home") in new stack
    -- <Local/015146607688@vbuzzer_out-6683,1> Playing '/usr/local/huberte/sounds//fr/menu/home' (language 'en')
    [Nov 9 10:40:34] WARNING[21637]: file.c:1294 waitstream_core: Unexpected control subclass '-1'
    == Spawn extension (vbuzzer_out, 015146607688, 1) exited non-zero on 'Local/015146607688@vbuzzer_out-6683,2'
    -- Executing [s@huberte-home:8] ExecIf("SIP/vbuzzer_damoul-00000006", "0|Background|/usr/local/huberte/sounds//fr/menu/home_escalade") in new stack
    -- Executing [s@huberte-home:9] NoOp("SIP/vbuzzer_damoul-00000006", "Begin IVR") in new stack
    -- Executing [s@huberte-home:10] BackGround("SIP/vbuzzer_damoul-00000006", "/usr/local/huberte/sounds//fr/menu/the_service") in new stack
    -- <SIP/vbuzzer_damoul-00000006> Playing '/usr/local/huberte/sounds//fr/menu/the_service' (language 'en')
    -- Executing [s@huberte-home:11] BackGround("SIP/vbuzzer_damoul-00000006", "/usr/local/huberte/sounds//fr/hobbit/alerts/http") in new stack
    -- <SIP/vbuzzer_damoul-00000006> Playing '/usr/local/huberte/sounds//fr/hobbit/alerts/http' (language 'en')
    == Spawn extension (huberte-home, s, 11) exited non-zero on 'SIP/vbuzzer_damoul-00000006'


    est ce que l'erreur : ERROR[21635]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe peut être a l'origine du probleme ?

    car d'aprés le débug l'appel est passé et que ça répond ... mais mon téléphone ne sonne pas ....

    L'idée c'est que j'ai monté un systéme de monitoring qui appel quand il y un probleme sur un serveur ....

  4. #4
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    7
    Downloads
    0
    Uploads
    0

    info

    pour info le numero est un numero Canadien :
    015146607688@... 0 pour sortir le 1 pour FAI VoIp

  5. #5
    Membre Association Avatar de quintana
    Date d'inscription
    août 2010
    Localisation
    Québec
    Messages
    1 084
    Downloads
    0
    Uploads
    0
    Ton broken pipe est que tu ou un autre logiciel que tu utilise ferme mal sa connection sur le manager d'asterisk. C'est pas lui qui empêche ton appel.
    Découvrez Wazo sous licence GPLv3 et accessible pour tous : http://www.wazo.community
    Blog Wazo : http://blog.wazo.community
    Wazo est un fork de XiVO.
    Suivez moi sur Twitter !

  6. #6
    Membre Association Avatar de quintana
    Date d'inscription
    août 2010
    Localisation
    Québec
    Messages
    1 084
    Downloads
    0
    Uploads
    0
    C'est ton tel SIP qui ne sonne pas ? C'est quoi le truc que tu veut faire car ce que je vois ne me semble pas très logique comme ça.
    Explique un peu mieux avec un schéma même. Si c'est le sip qui ne fonctionne pas, fait voir les logs SIP.
    Découvrez Wazo sous licence GPLv3 et accessible pour tous : http://www.wazo.community
    Blog Wazo : http://blog.wazo.community
    Wazo est un fork de XiVO.
    Suivez moi sur Twitter !

  7. #7
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    7
    Downloads
    0
    Uploads
    0
    J'ai un systeme de monitoring ( Xymon ) qui me genere des alertes via cela je veux déclancher un appel via mon asterisk sur tel portable (pour m'avertir qu'il y a un probleme sur le monitoring ) pour résumer le principe


    Alerte ( xymon ) -->asterisk --> appel sur mon cellulaire.


    log de mon asterisk :



    root@WikiNeova:/var/log/asterisk# tail -n 50 messages
    [Nov 9 16:58:26] ERROR[31106] utils.c: write() returned error: Broken pipe
    [Nov 9 16:58:30] ERROR[31106] utils.c: write() returned error: Broken pipe
    [Nov 9 16:58:30] ERROR[31106] utils.c: write() returned error: Broken pipe
    [Nov 9 16:58:30] ERROR[31106] utils.c: write() returned error: Broken pipe
    [Nov 9 16:58:31] WARNING[31108] file.c: Unexpected control subclass '-1'
    [Nov 9 16:59:22] ERROR[31163] utils.c: write() returned error: Broken pipe
    [Nov 9 16:59:26] ERROR[31163] utils.c: write() returned error: Broken pipe
    [Nov 9 16:59:26] ERROR[31163] utils.c: write() returned error: Broken pipe
    [Nov 9 16:59:26] ERROR[31163] utils.c: write() returned error: Broken pipe
    [Nov 9 16:59:27] WARNING[31165] file.c: Unexpected control subclass '-1'
    [Nov 9 17:00:18] ERROR[31176] utils.c: write() returned error: Broken pipe
    [Nov 9 17:00:22] ERROR[31176] utils.c: write() returned error: Broken pipe
    [Nov 9 17:00:22] ERROR[31176] utils.c: write() returned error: Broken pipe
    [Nov 9 17:00:22] ERROR[31176] utils.c: write() returned error: Broken pipe
    [Nov 9 17:00:23] WARNING[31180] file.c: Unexpected control subclass '-1'
    [Nov 9 17:01:14] ERROR[31191] utils.c: write() returned error: Broken pipe
    [Nov 9 17:01:18] ERROR[31191] utils.c: write() returned error: Broken pipe
    [Nov 9 17:01:18] ERROR[31191] utils.c: write() returned error: Broken pipe
    [Nov 9 17:01:18] ERROR[31191] utils.c: write() returned error: Broken pipe
    [Nov 9 17:01:19] WARNING[31193] file.c: Unexpected control subclass '-1'
    [Nov 9 17:02:10] ERROR[31205] utils.c: write() returned error: Broken pipe
    [Nov 9 17:02:14] ERROR[31205] utils.c: write() returned error: Broken pipe
    [Nov 9 17:02:14] ERROR[31205] utils.c: write() returned error: Broken pipe
    [Nov 9 17:02:14] ERROR[31205] utils.c: write() returned error: Broken pipe
    [Nov 9 17:02:15] WARNING[31207] file.c: Unexpected control subclass '-1'
    [Nov 9 17:03:06] ERROR[31255] utils.c: write() returned error: Broken pipe
    [Nov 9 17:03:10] ERROR[31255] utils.c: write() returned error: Broken pipe
    [Nov 9 17:03:10] ERROR[31255] utils.c: write() returned error: Broken pipe
    [Nov 9 17:03:10] ERROR[31255] utils.c: write() returned error: Broken pipe
    [Nov 9 17:03:11] WARNING[31257] file.c: Unexpected control subclass '-1'
    [Nov 9 17:04:02] ERROR[31271] utils.c: write() returned error: Broken pipe
    [Nov 9 17:04:06] ERROR[31271] utils.c: write() returned error: Broken pipe
    [Nov 9 17:04:06] ERROR[31271] utils.c: write() returned error: Broken pipe
    [Nov 9 17:04:06] ERROR[31271] utils.c: write() returned error: Broken pipe
    [Nov 9 17:04:07] WARNING[31303] file.c: Unexpected control subclass '-1'
    [Nov 9 17:04:58] ERROR[31320] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:02] ERROR[31320] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:02] ERROR[31320] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:02] ERROR[31320] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:03] WARNING[31329] file.c: Unexpected control subclass '-1'
    [Nov 9 17:05:54] ERROR[31335] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:58] ERROR[31335] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:58] ERROR[31335] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:58] ERROR[31335] utils.c: write() returned error: Broken pipe
    [Nov 9 17:05:59] WARNING[31337] file.c: Unexpected control subclass '-1'
    [Nov 9 17:06:50] ERROR[31351] utils.c: write() returned error: Broken pipe
    [Nov 9 17:06:54] ERROR[31351] utils.c: write() returned error: Broken pipe
    [Nov 9 17:06:54] ERROR[31351] utils.c: write() returned error: Broken pipe
    [Nov 9 17:06:54] ERROR[31351] utils.c: write() returned error: Broken pipe
    [Nov 9 17:06:55] WARNING[31354] file.c: Unexpected control subclass '-1'
    root@WikiNeova:/var/log/asterisk#

  8. #8
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    7
    Downloads
    0
    Uploads
    0
    C'est le serveur asterisk qui appel l'exterieur.

    pour autre info je suis chez vbuzzer comme VoIP provider

  9. #9
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    7
    Downloads
    0
    Uploads
    0
    Log fraichement pondu :D


    == Parsing '/etc/asterisk/asterisk.conf': Found
    == Parsing '/etc/asterisk/extconfig.conf': Found
    Connected to Asterisk 1.4.36 currently running on WikiNeova (pid = 27036)
    Verbosity is at least 4
    == Parsing '/etc/asterisk/manager.conf': Found
    == Manager 'huberte' logged on from 127.0.0.1
    [Nov 9 17:10:34] ERROR[31513]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    -- Executing [015146607688@vbuzzer_out:1] Dial("Local/015146607688@vbuzzer_out-1d70,2", "SIP/015146607688@vbuzzer_damoul") in new stack
    -- Called 015146607688@vbuzzer_damoul
    -- SIP/vbuzzer_damoul-00000025 is ringing
    -- SIP/vbuzzer_damoul-00000025 answered Local/015146607688@vbuzzer_out-1d70,2
    > Channel Local/015146607688@vbuzzer_out-1d70,1 was answered.
    -- Executing [s@huberte-home:1] Answer("Local/015146607688@vbuzzer_out-1d70,1", "") in new stack
    [Nov 9 17:10:38] ERROR[31513]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    [Nov 9 17:10:38] ERROR[31513]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    [Nov 9 17:10:38] ERROR[31513]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
    == Manager 'huberte' logged off from 127.0.0.1
    -- Executing [s@huberte-home:2] Set("Local/015146607688@vbuzzer_out-1d70,1", "TIMEOUT(digit)=60") in new stack
    -- Digit timeout set to 60
    -- Executing [s@huberte-home:3] Set("Local/015146607688@vbuzzer_out-1d70,1", "TIMEOUT(response)=60") in new stack
    -- Response timeout set to 60
    -- Executing [s@huberte-home:4] Set("Local/015146607688@vbuzzer_out-1d70,1", "LOOP=0") in new stack
    -- Executing [s@huberte-home:5] Wait("Local/015146607688@vbuzzer_out-1d70,1", "1") in new stack
    -- Executing [s@huberte-home:6] System("Local/015146607688@vbuzzer_out-1d70,1", "cd /usr/local/huberte/ext/ && ./CallUpdateStatus.php -i 3073 -s ANSWERED") in new stack
    -- Executing [s@huberte-home:7] ExecIf("Local/015146607688@vbuzzer_out-1d70,1", "1|Background|/usr/local/huberte/sounds//fr/menu/home") in new stack
    -- <Local/015146607688@vbuzzer_out-1d70,1> Playing '/usr/local/huberte/sounds//fr/menu/home' (language 'en')
    [Nov 9 17:10:39] WARNING[31515]: file.c:1294 waitstream_core: Unexpected control subclass '-1'
    == Spawn extension (vbuzzer_out, 015146607688, 1) exited non-zero on 'Local/015146607688@vbuzzer_out-1d70,2'
    -- Executing [s@huberte-home:8] ExecIf("SIP/vbuzzer_damoul-00000025", "0|Background|/usr/local/huberte/sounds//fr/menu/home_escalade") in new stack
    -- Executing [s@huberte-home:9] NoOp("SIP/vbuzzer_damoul-00000025", "Begin IVR") in new stack
    -- Executing [s@huberte-home:10] BackGround("SIP/vbuzzer_damoul-00000025", "/usr/local/huberte/sounds//fr/menu/the_service") in new stack
    -- <SIP/vbuzzer_damoul-00000025> Playing '/usr/local/huberte/sounds//fr/menu/the_service' (language 'en')
    -- Executing [s@huberte-home:11] BackGround("SIP/vbuzzer_damoul-00000025", "/usr/local/huberte/sounds//fr/hobbit/alerts/http") in new stack
    -- <SIP/vbuzzer_damoul-00000025> Playing '/usr/local/huberte/sounds//fr/hobbit/alerts/http' (language 'en')
    == Spawn extension (huberte-home, s, 11) exited non-zero on 'SIP/vbuzzer_damoul-00000025'
    WikiNeova*CLI>

  10. #10
    Membre Association Avatar de quintana
    Date d'inscription
    août 2010
    Localisation
    Québec
    Messages
    1 084
    Downloads
    0
    Uploads
    0
    Mais c'est le 514 qui ne sonne pas derrière ?
    C'est quoi qui ne fonctionne pas ?
    Au fait tu es sur Montréal ?
    Découvrez Wazo sous licence GPLv3 et accessible pour tous : http://www.wazo.community
    Blog Wazo : http://blog.wazo.community
    Wazo est un fork de XiVO.
    Suivez moi sur Twitter !

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
  •