[asterisk-bugs] [LibPRI 0013760]: [patch] Block Reverse Calls

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 24 15:07:49 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13760 
====================================================================== 
Reported By:                mrgabu
Assigned To:                seanbright
====================================================================== 
Project:                    LibPRI
Issue ID:                   13760
Category:                   New/Feature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-22 05:13 CDT
Last Modified:              2009-06-24 15:07 CDT
====================================================================== 
Summary:                    [patch] Block Reverse Calls
Description: 
This patch block every reverse/collect calls on a ISDN trunk.
So, once patched, asterisk will never receive these calls.
====================================================================== 

---------------------------------------------------------------------- 
 (0106935) pruonckk (reporter) - 2009-06-24 15:07
 https://issues.asterisk.org/view.php?id=13760#c106935 
---------------------------------------------------------------------- 
Ok, im testing this patch yet.

At now, i do 27 call from an E1 to this ISDN all ok.

until this 27 call are on answer state i do collect calls from cellphone
and from pstn to this isdn, all showed on my dialplan

below have my cli log from a collect call 

    -- Executing [9700 at embratel:4] NoOp("Zap/69-1", "CALLERID => MYPHONE")
in new stack
    -- Executing [9700 at embratel:5] NoOp("Zap/69-1", "PRIREVERSECHARGE =>
1") in new stack
    -- Executing [9700 at embratel:6] GotoIf("Zap/69-1", "1?hangup2:answer")
in new stack
    -- Goto (embratel,9700,10)
    -- Executing [9700 at embratel:10] Hangup("Zap/69-1", "") in new stack
  == Spawn extension (embratel, 9700, 10) exited non-zero on 'Zap/69-1'
    -- Hungup 'Zap/69-1'


and below the same call (not collect call )

 -- Executing [9700 at embratel:4] NoOp("Zap/77-1", "CALLERID => MYPHONE") in
new stack
    -- Executing [9700 at embratel:5] NoOp("Zap/77-1", "PRIREVERSECHARGE =>
0") in new stack
    -- Executing [9700 at embratel:6] GotoIf("Zap/77-1", "0?hangup2:answer")
in new stack
    -- Goto (embratel,9700,7)
    -- Executing [9700 at embratel:7] Answer("Zap/77-1", "") in new stack
    -- Executing [9700 at embratel:8] GotoIf("Zap/77-1",
"0?fomento|9750|1:hangup") in new stack
    -- Goto (embratel,9700,9)
    -- Executing [9700 at embratel:9] Playback("Zap/77-1", "tt-monkeys") in
new stack
    -- <Zap/77-1> Playing 'tt-monkeys' (language 'br')



i will try to test on the newest version of asterisk 1.4 and 1.6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-24 15:07 pruonckk       Note Added: 0106935                          
======================================================================




More information about the asterisk-bugs mailing list