Rings once, then, hangs up

Discussion in 'General' started by Renich, Sep 23, 2010.

  1. Renich

    Joined:
    Sep 23, 2010
    Messages:
    2
    Likes Received:
    0
    I'll explain better.

    When somebody calls, it rings once, for them, and then it hangs up.

    -- Starting simple switch on 'DAHDI/2-1'
    == Manager 'admin' logged off from 127.0.0.1
    == Manager 'admin' logged on from 127.0.0.1
    -- Executing [s@from-pstn:1] Set("DAHDI/2-1", "__FROM_DID=s") in new stack
    -- Executing [s@from-pstn:2] Gosub("DAHDI/2-1", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/2-1", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("DAHDI/2-1", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("DAHDI/2-1", "") in new stack
    -- Executing [s@from-pstn:3] Set("DAHDI/2-1", "CHANNEL(language)=es") in new stack
    -- Executing [s@from-pstn:4] ExecIf("DAHDI/2-1", "1 ?Set(CALLERID(name)=)") in new stack
    -- Executing [s@from-pstn:5] Set("DAHDI/2-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:6] Set("DAHDI/2-1", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:7] Goto("DAHDI/2-1", "ext-group,600,1") in new stack
    -- Goto (ext-group,600,1)
    -- Executing [600@ext-group:1] Macro("DAHDI/2-1", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("DAHDI/2-1", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/2-1", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/2-1", "1?Set(REALCALLERIDNUM=)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("DAHDI/2-1", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("DAHDI/2-1", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/2-1", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/2-1", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("DAHDI/2-1", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/2-1", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/2-1", "Using CallerID "" <>") in new stack
    -- Executing [600@ext-group:2] GotoIf("DAHDI/2-1", "1?skipdb") in new stack
    -- Goto (ext-group,600,4)
    -- Executing [600@ext-group:4] Set("DAHDI/2-1", "__NODEST=") in new stack
    -- Executing [600@ext-group:5] Set("DAHDI/2-1", "__BLKVM_OVERRIDE=BLKVM/600/DAHDI/2-1") in new stack
    -- Executing [600@ext-group:6] Set("DAHDI/2-1", "__BLKVM_BASE=600") in new stack
    -- Executing [600@ext-group:7] Set("DAHDI/2-1", "DB(BLKVM/600/DAHDI/2-1)=TRUE") in new stack
    -- Executing [600@ext-group:8] Set("DAHDI/2-1", "RRNODEST=") in new stack
    -- Executing [600@ext-group:9] Set("DAHDI/2-1", "__NODEST=600") in new stack
    -- Executing [600@ext-group:10] GosubIf("DAHDI/2-1", "0?sub-rgsetcid,s,1") in new stack
    -- Executing [600@ext-group:11] Set("DAHDI/2-1", "RecordMethod=Group") in new stack
    -- Executing [600@ext-group:12] Macro("DAHDI/2-1", "record-enable,110-120-130,Group") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/2-1", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("DAHDI/2-1", "1?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,6)
    -- Executing [s@macro-record-enable:6] Set("DAHDI/2-1", "LOOPCNT=3") in new stack
    -- Executing [s@macro-record-enable:7] Set("DAHDI/2-1", "ITER=1") in new stack
    -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
    -- Goto (macro-record-enable,s,13)
    -- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=2") in new stack
    -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "1?begin") in new stack
    -- Goto (macro-record-enable,s,8)
    -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
    -- Goto (macro-record-enable,s,13)
    -- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=3") in new stack
    -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "1?begin") in new stack
    -- Goto (macro-record-enable,s,8)
    -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
    -- Goto (macro-record-enable,s,13)
    -- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=4") in new stack
    -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "0?begin") in new stack
    -- Executing [s@macro-record-enable:15] GotoIf("DAHDI/2-1", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("DAHDI/2-1", "1?MacroExit()") in new stack
    -- Executing [600@ext-group:13] Set("DAHDI/2-1", "RingGroupMethod=ringall") in new stack
    -- Executing [600@ext-group:14] Macro("DAHDI/2-1", "dial,60,tr,110-120-130") in new stack
    -- Executing [s@macro-dial:1] GotoIf("DAHDI/2-1", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("DAHDI/2-1", "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 'unknown' number is 'unknown'
    == Manager 'admin' logged off from 127.0.0.1
    dialparties.agi: Methodology of ring is 'ringall'
    -- dialparties.agi: Added extension 110 to extension map
    -- dialparties.agi: Added extension 120 to extension map
    -- dialparties.agi: Added extension 130 to extension map
    -- dialparties.agi: Extension 110 cf is disabled
    -- dialparties.agi: Extension 120 cf is disabled
    -- dialparties.agi: Extension 130 cf is disabled
    -- dialparties.agi: Extension 110 do not disturb is disabled
    -- dialparties.agi: Extension 120 do not disturb is disabled
    -- dialparties.agi: Extension 130 do not disturb is disabled
    -- dialparties.agi: DbDel CALLTRACE/110 - Caller ID is not defined
    -- dialparties.agi: DbDel CALLTRACE/120 - Caller ID is not defined
    -- dialparties.agi: DbDel CALLTRACE/130 - Caller ID is not defined
    -- dialparties.agi: Filtered ARG3: 110-120-130
    -- <DAHDI/2-1>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("DAHDI/2-1", "SIP/110&SIP/120&SIP/130,60,trM(auto-blkvm)") in new stack
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Called 110
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Called 120
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Called 130
    -- SIP/110-00000028 is ringing
    -- SIP/120-00000029 is ringing
    -- SIP/130-0000002a is ringing
     
  2. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    From what I can see, the calls goes inot a ringgroup, there it rings extensions 110, 120, and 130 for 60 seconds in total.
    If a call is not answered on a ringgroup, and it doesnt have a failover destination, the call will be hangup.
     
  3. Renich

    Joined:
    Sep 23, 2010
    Messages:
    2
    Likes Received:
    0
    Well, for the caller, it hangs up immediately. What am I missing?
     
  4. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
    Is your RTP routed properly?

    Your sip extensions need to receive the SIP traffic and the RTP voice packet.

    Also do a SIP set debug on your extension to see if that's not your extension hanging up (like an automatic forward to a wrongly set up voicemail in your endpoint).
     

Share This Page