FreePBX no cuelga las llamadas

Discussion in 'General' started by jmvelazquezmx, Mar 12, 2011.

  1. jmvelazquezmx

    Joined:
    Sep 25, 2010
    Messages:
    7
    Likes Received:
    0
    Hola, soy nuevo en freepbx y me encuentro con que después de que entra una llamada, al terminar, no cuelga el canal y tengo que ejecutar el comando soft hangup Zap/2-1 para poder cerrar el canal,todas mis extensiones son sip y cuento con un enalce dedicado r2 modificado de 128kbs.



    -- Starting simple switch on 'Zap/2-1'
    -- Executing [s@from-zaptel:1] NoOp("Zap/2-1", "Entering from-zaptel with DI D == ") in new stack
    -- Executing [s@from-zaptel:2] Ringing("Zap/2-1", "") in new stack
    -- Executing [s@from-zaptel:3] Set("Zap/2-1", "DID=s") in new stack
    -- Executing [s@from-zaptel:4] NoOp("Zap/2-1", "DID is now s") in new stack
    -- Executing [s@from-zaptel:5] GotoIf("Zap/2-1", "1?zapok:notzap") in new st ack
    -- Goto (from-zaptel,s,8)
    -- Executing [s@from-zaptel:8] NoOp("Zap/2-1", "Is a Zaptel Channel") in new stack
    -- Executing [s@from-zaptel:9] Set("Zap/2-1", "CHAN=2-1") in new stack
    -- Executing [s@from-zaptel:10] Set("Zap/2-1", "CHAN=2") in new stack
    -- Executing [s@from-zaptel:11] Macro("Zap/2-1", "from-zaptel-2|s|1") in new stack
    -- Executing [s@from-zaptel:12] NoOp("Zap/2-1", "Returned from Macro from-za ptel-2") in new stack
    -- Executing [s@from-zaptel:13] Goto("Zap/2-1", "from-pstn|s|1") in new stac k
    -- Goto (from-pstn,s,1)
    -- Executing [s@from-pstn:1] Set("Zap/2-1", "__FROM_DID=s") in new stack
    -- Executing [s@from-pstn:2] Gosub("Zap/2-1", "app-blacklist-check|s|1") in new stack
    -- Executing [s@app-blacklist-check:1] LookupBlacklist("Zap/2-1", "") in new stack
    -- Executing [s@app-blacklist-check:2] GotoIf("Zap/2-1", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:3] Return("Zap/2-1", "") in new stack
    -- Executing [s@from-pstn:3] ExecIf("Zap/2-1", "1 |Set|CALLERID(name)=") in new stack
    -- Executing [s@from-pstn:4] Set("Zap/2-1", "__CALLINGPRES_SV=allowed_not_sc reened") in new stack
    -- Executing [s@from-pstn:5] SetCallerPres("Zap/2-1", "allowed_not_screened" ) in new stack
    -- Executing [s@from-pstn:6] Goto("Zap/2-1", "ivr-2|s|1") in new stack
    -- Goto (ivr-2,s,1)
    -- Executing [s@ivr-2:1] Set("Zap/2-1", "MSG=custom/mrk2010") in new stack
    -- Executing [s@ivr-2:2] Set("Zap/2-1", "LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-2:3] Set("Zap/2-1", "__DIR-CONTEXT=") in new stack
    -- Executing [s@ivr-2:4] Set("Zap/2-1", "_IVR_CONTEXT_ivr-2=") in new stack
    -- Executing [s@ivr-2:5] Set("Zap/2-1", "_IVR_CONTEXT=ivr-2") in new stack
    -- Executing [s@ivr-2:6] GotoIf("Zap/2-1", "0?begin") in new stack
    -- Executing [s@ivr-2:7] Answer("Zap/2-1", "") in new stack
    -- Executing [s@ivr-2:8] Wait("Zap/2-1", "1") in new stack
    -- Executing [s@ivr-2:9] Set("Zap/2-1", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3
    -- Executing [s@ivr-2:10] Set("Zap/2-1", "TIMEOUT(response)=10") in new stac k
    -- Response timeout set to 10
    -- Executing [s@ivr-2:11] Set("Zap/2-1", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-2:12] ExecIf("Zap/2-1", "1|Background|custom/mrk2010") i n new stack
    -- <Zap/2-1> Playing 'custom/mrk2010' (language 'es')
    -- Executing [s@ivr-2:13] WaitExten("Zap/2-1", "|") in new stack
    trixbox1*CLI>


    Connected to Asterisk 1.4.22-4 RPM by vc-rpms@voipconsulting.nl currently running on trixbox1 (pid = 2637)
    Verbosity is at least 3
    -- Executing [s@ivr-2:13] WaitExten("Zap/2-1", "|") in new stack
    trixbox1*CLI> soft hangup Zap/2-1
    Requested Hangup on channel 'Zap/2-1'
    == Spawn extension (ivr-2, s, 13) exited non-zero on 'Zap/2-1'
    -- Executing [h@ivr-2:1] Hangup("Zap/2-1", "") in new stack
    == Spawn extension (ivr-2, h, 1) exited non-zero on 'Zap/2-1'
    -- Hungup 'Zap/2-1'


    Les anexo la configuracion del archivo zapata.conf:

    ; Zapata telephony interface
    ;
    ; Configuration file

    [trunkgroups]

    [channels]

    language=es
    context=from-zaptel
    signalling=fxs_ks
    rxwink=300 ; Atlas seems to use long (250ms) winks
    ;
    ; Whether or not to do distinctive ring detection on FXO lines
    ;
    ;usedistinctiveringdetection=yes

    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=no
    ;echotraining=800
    rxgain=0.0
    txgain=0.0
    group=0
    callgroup=1
    pickupgroup=1
    immediate=no

    ;faxdetect=both
    faxdetect=incoming
    ;faxdetect=outgoing
    ;faxdetect=no

    ;Include genzaptelconf configs
    #include zapata-auto.conf

    group=1

    ;Include AMP configs
    #include zapata_additional.conf
     
  2. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    sorry but this is an elsatix forum your sysetm is not an elastix system as we dont use zapata drivers since 2009 and r2 moises silva drivers dont work on analog lines as you post in this item
     

Share This Page