Affichage des résultats 1 à 10 sur 11

Discussion: Dial() - Question

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre Association Avatar de cedricscha
    Date d'inscription
    août 2010
    Localisation
    Geneve/Suisse
    Messages
    578
    Downloads
    1
    Uploads
    0
    Redemarrer le serveur, non, mais un reload du dialplan oui.....

    peut tu faire un extrait de la CLI pendant l'appel, en verbose maximum, afin que l'on voie ce qu'il se passe ?
    Cédric
    ---------------------------------------------------------------
    Rejoignez l'Association Asterisk France : http://www.asterisk-france.org

    Envie de mettre des étoiles dans les yeux de vos clients : EasyPyro.ch

    On a pas inventé l'électricité en cherchant à améliorer la bougie...
    ---------------------------------------------------------------

  2. #2
    Membre Senior
    Date d'inscription
    septembre 2010
    Messages
    196
    Downloads
    1
    Uploads
    0
    Pour information, la version avec DIALSTATUS fonctionne très bien.

    Pour notre sujet, j'ai ça dans la CLI (après reload évidemment, j'ai parlé de redémarrage machine à cause du fait que le reload ne faisait rien justement):


    Code:
    -- Executing [123@interne:1] Dial("SIP/111-00000000", "SIP/xlite,4,r") in new stack
      == Using SIP RTP CoS mark 5
        -- Called xlite
        -- SIP/xlite-00000001 is ringing
        -- SIP/xlite-00000001 answered SIP/111-00000000
        -- Native bridging SIP/111-00000000 and SIP/xlite-00000001
      == Using SIP RTP CoS mark 5
        -- Executing [111@interne:1] Dial("SIP/114-00000002", "SIP/111,4,j") in new stack
      == Using SIP RTP CoS mark 5
        -- Called 111
        -- Got SIP response 486 "Busy" back from 192.168.10.161
        -- SIP/111-00000003 is busy
      == Everyone is busy/congested at this time (1:1/0/0)
        -- Executing [111@interne:2] Playback("SIP/114-00000002", "hello-world") in new stack
        -- <SIP/114-00000002> Playing 'hello-world.alaw' (language 'fr')
        -- Auto fallthrough, channel 'SIP/114-00000002' status is 'BUSY'
      == Spawn extension (interne, 123, 1) exited non-zero on 'SIP/111-00000000'
    Voici le dialplan avec lequel j'ai testé:
    Code:
    [general]
    static=yes
    writeprotect=no
    priorityjumping=yes
    
    [interne]
    exten => 123,1,Dial(SIP/xlite,4,r)
    exten => 116,1,Dial(SIP/114&SIP/111,4,r)
    exten => 111,1,Dial(SIP/111,4,j)
    exten => 111,2,Playback(hello-world)
    exten => 111,102,Playback(tt-allbusy)
    exten => 111,202,Playback(tt-allbusy)
    et pour le sip (en résumer):

    Code:
    [general]
    context=default 
    language=fr
    
    [basic-options](!)                ; a template
            dtmfmode=rfc2833
            context=from-office
            type=friend
    
    [public-phone](!,basic-options)   ; another template inheriting basic-options
            nat=no
            directmedia=yes
    	host=dynamic
    	context=interne
    
    [alaw-phone](!)                   ; and another one for alaw-only
            disallow=all
            allow=alaw
    	allow=gsm
    
    [xlite](public-phone,alaw-phone)
    		secret = 1234
    		callerid= "XXXX" <123>
    		
    [100](public-phone,alaw-phone)
             secret = 1234
    		 callerid= "XXXX" <100>		
    		 
    [101](public-phone,alaw-phone)
             secret = 1234
    		 callerid= "XXXX" <101>
    Dernière modification par sunny ; 23/09/2010 à 19h08. Motif: petit oubli

  3. #3
    Membre Association Avatar de cedricscha
    Date d'inscription
    août 2010
    Localisation
    Geneve/Suisse
    Messages
    578
    Downloads
    1
    Uploads
    0
    Citation Envoyé par sunny Voir le message
    Voici le dialplan avec lequel j'ai testé:
    Code:
    [general]
    static=yes
    writeprotect=no
    
    [interne]
    exten => 123,1,Dial(SIP/xlite,4,r)
    exten => 116,1,Dial(SIP/114&SIP/111,4,r)
    exten => 111,1,Dial(SIP/111,4,j)
    exten => 111,2,Playback(hello-world)
    exten => 111,102,Playback(tt-allbusy)
    exten => 111,202,Playback(tt-allbusy)
    Euh..... je vois pas le :
    Code:
    priorityjumping=yes
    Cédric
    ---------------------------------------------------------------
    Rejoignez l'Association Asterisk France : http://www.asterisk-france.org

    Envie de mettre des étoiles dans les yeux de vos clients : EasyPyro.ch

    On a pas inventé l'électricité en cherchant à améliorer la bougie...
    ---------------------------------------------------------------

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
  •