Problema con llamadas entrantes y mensajes

Discussion in 'Elastix 2.x' started by bubbleman, Jul 9, 2010.

  1. bubbleman

    Joined:
    Jul 2, 2010
    Messages:
    12
    Likes Received:
    0
    Buenas tardes, tengo un problema con las llamdas entrantes, las tengo redirigidas a grupos, y recibo las llamdas correctamente, pero si le activo algun tipo de mensaje o announcement, me da error y la llamda no cursa.

    Os adjunto la configuracion del trunk:

    Peer:
    type=peer
    secret=xxxxxxxxx
    qualify=yes
    nat=yes
    insecure=invite
    host=voip2.telsome.com
    user=933906196
    context=from-trunk
    canreinvite=no
    disallow=all
    allow=ulaw&alaw

    User:

    type=friend
    secret=xxxxxxxxx
    qualify=yes
    insecure=very
    host=voip2.telsome.com
    dtmfmode=RFC2833
    context=from-trunk
    canreinvite=no

    Debug de la llamada:


    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [933906196@from-trunk:1] Set("SIP/MAIN_ES_IN-00000088", "__FROM_DID=933906196") in new stack
    -- Executing [933906196@from-trunk:2] Gosub("SIP/MAIN_ES_IN-00000088", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/MAIN_ES_IN-00000088", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/MAIN_ES_IN-00000088", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/MAIN_ES_IN-00000088", "") in new stack
    -- Executing [933906196@from-trunk:3] ExecIf("SIP/MAIN_ES_IN-00000088", "0 ?Set(CALLERID(name)=670817354)") in new stack
    -- Executing [933906196@from-trunk:4] Ringing("SIP/MAIN_ES_IN-00000088", "") in new stack
    -- Executing [933906196@from-trunk:5] Set("SIP/MAIN_ES_IN-00000088", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [933906196@from-trunk:6] Set("SIP/MAIN_ES_IN-00000088", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [933906196@from-trunk:7] Set("SIP/MAIN_ES_IN-00000088", "_RGPREFIX=VIP ES:") in new stack
    -- Executing [933906196@from-trunk:8] Set("SIP/MAIN_ES_IN-00000088", "CALLERID(name)=VIP ES:670817354") in new stack
    -- Executing [933906196@from-trunk:9] Goto("SIP/MAIN_ES_IN-00000088", "ext-group,602,1") in new stack
    -- Goto (ext-group,602,1)
    -- Executing [602@ext-group:1] Macro("SIP/MAIN_ES_IN-00000088", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/MAIN_ES_IN-00000088", "AMPUSER=670817354") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/MAIN_ES_IN-00000088", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/MAIN_ES_IN-00000088", "1?Set(REALCALLERIDNUM=670817354)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/MAIN_ES_IN-00000088", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/MAIN_ES_IN-00000088", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/MAIN_ES_IN-00000088", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/MAIN_ES_IN-00000088", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/MAIN_ES_IN-00000088", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/MAIN_ES_IN-00000088", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/MAIN_ES_IN-00000088", "Using CallerID "VIP ES:670817354" <670817354>") in new stack
    -- Executing [602@ext-group:2] GotoIf("SIP/MAIN_ES_IN-00000088", "1?skipdb") in new stack
    -- Goto (ext-group,602,4)
    -- Executing [602@ext-group:4] Set("SIP/MAIN_ES_IN-00000088", "__NODEST=") in new stack
    -- Executing [602@ext-group:5] Set("SIP/MAIN_ES_IN-00000088", "__BLKVM_OVERRIDE=BLKVM/602/SIP/MAIN_ES_IN-00000088") in new stack
    -- Executing [602@ext-group:6] Set("SIP/MAIN_ES_IN-00000088", "__BLKVM_BASE=602") in new stack
    -- Executing [602@ext-group:7] Set("SIP/MAIN_ES_IN-00000088", "DB(BLKVM/602/SIP/MAIN_ES_IN-00000088)=TRUE") in new stack
    -- Executing [602@ext-group:8] Set("SIP/MAIN_ES_IN-00000088", "RRNODEST=") in new stack
    -- Executing [602@ext-group:9] Set("SIP/MAIN_ES_IN-00000088", "__NODEST=602") in new stack
    -- Executing [602@ext-group:10] GosubIf("SIP/MAIN_ES_IN-00000088", "0?sub-rgsetcid,s,1") in new stack
    -- Executing [602@ext-group:11] Set("SIP/MAIN_ES_IN-00000088", "RecordMethod=Group") in new stack
    -- Executing [602@ext-group:12] Macro("SIP/MAIN_ES_IN-00000088", "record-enable,230,Group") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/MAIN_ES_IN-00000088", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/MAIN_ES_IN-00000088", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/MAIN_ES_IN-00000088", "1?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,6)
    -- Executing [s@macro-record-enable:6] Set("SIP/MAIN_ES_IN-00000088", "LOOPCNT=1") in new stack
    -- Executing [s@macro-record-enable:7] Set("SIP/MAIN_ES_IN-00000088", "ITER=1") in new stack
    -- Executing [s@macro-record-enable:8] GotoIf("SIP/MAIN_ES_IN-00000088", "1?continue") in new stack
    -- Goto (macro-record-enable,s,13)
    -- Executing [s@macro-record-enable:13] Set("SIP/MAIN_ES_IN-00000088", "ITER=2") in new stack
    -- Executing [s@macro-record-enable:14] GotoIf("SIP/MAIN_ES_IN-00000088", "0?begin") in new stack
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/MAIN_ES_IN-00000088", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/MAIN_ES_IN-00000088", "1?MacroExit()") in new stack
    -- Executing [602@ext-group:13] Set("SIP/MAIN_ES_IN-00000088", "RingGroupMethod=ringall") in new stack
    -- Executing [602@ext-group:14] GotoIf("SIP/MAIN_ES_IN-00000088", "0?DIALGRP") in new stack
    -- Executing [602@ext-group:15] Answer("SIP/MAIN_ES_IN-00000088", "") in new stack
    -- Executing [602@ext-group:16] Wait("SIP/MAIN_ES_IN-00000088", "1") in new stack
    -- Executing [602@ext-group:17] Playback("SIP/MAIN_ES_IN-00000088", "custom/Welcome_FR.wma") in new stack
    -- Executing [602@ext-group:18] Macro("SIP/MAIN_ES_IN-00000088", "dial,20,tr,230") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/MAIN_ES_IN-00000088", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/MAIN_ES_IN-00000088", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    dialparties.agi: Caller ID name is 'VIP ES:670817354' number is '670817354'
    > dialparties.agi: USE_CONFIRMATION: 'FALSE'
    > dialparties.agi: RINGGROUP_INDEX: ''
    dialparties.agi: Methodology of ring is 'ringall'
    -- dialparties.agi: Added extension 230 to extension map
    -- dialparties.agi: Extension 230 cf is disabled
    -- dialparties.agi: Extension 230 do not disturb is disabled
    > dialparties.agi: extnum 230 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/230 to 670817354
    -- dialparties.agi: Filtered ARG3: 230
    > dialparties.agi: NODEST: 602 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
    > dialparties.agi: NODEST: 602 blkvm enabled macro already in dialopts: trM(auto-blkvm)
    -- <SIP/MAIN_ES_IN-00000088>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/MAIN_ES_IN-00000088", "SIP/230,20,trM(auto-blkvm)") in new stack
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Couldn't call 230
    == Everyone is busy/congested at this time (0:0/0/0)
    -- Executing [s@macro-dial:8] Set("SIP/MAIN_ES_IN-00000088", "DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-dial:9] GosubIf("SIP/MAIN_ES_IN-00000088", "0?CHANUNAVAIL,1") in new stack
    -- Executing [602@ext-group:19] Set("SIP/MAIN_ES_IN-00000088", "RingGroupMethod=") in new stack
    -- Executing [602@ext-group:20] GotoIf("SIP/MAIN_ES_IN-00000088", "0?nodest") in new stack
    -- Executing [602@ext-group:21] Set("SIP/MAIN_ES_IN-00000088", "__NODEST=") in new stack
    -- Executing [602@ext-group:22] NoOp("SIP/MAIN_ES_IN-00000088", "Deleting: BLKVM/602/SIP/MAIN_ES_IN-00000088 TRUE") in new stack
    -- Executing [602@ext-group:23] Goto("SIP/MAIN_ES_IN-00000088", "app-blackhole,hangup,1") in new stack
    -- Goto (app-blackhole,hangup,1)
    -- Executing [hangup@app-blackhole:1] NoOp("SIP/MAIN_ES_IN-00000088", "Blackhole Dest: Hangup") in new stack
    -- Executing [hangup@app-blackhole:2] Hangup("SIP/MAIN_ES_IN-00000088", "") in new stack
    == Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/MAIN_ES_IN-00000088'


    Gracias por la ayuda.
     
  2. asepulveda

    Joined:
    Jun 23, 2008
    Messages:
    400
    Likes Received:
    0
    A que te refieres con mensaje o anuncio?

    yo veo que tu extensión 230 no está disponible

    -- Couldn't call 230
    == Everyone is busy/congested at this time (0:0/0/0)
     
  3. bubbleman

    Joined:
    Jul 2, 2010
    Messages:
    12
    Likes Received:
    0
    Me refiero, que cuando activo un mensaje "announcement" me ocurre lo que dices que parece como que la extensión no esta disponible, pero si le quito el mensaje si me responde. Por si te sirve de oorientacion si paso la llamada por una cola, me ocurre lo mismo. ¿No se si sera problema de los context?

    Ahora mismo las extensiones tienen: fromm-internal-additional
    y los troncales todos con: from-trunk

    Gracias...
     

Share This Page