Hi, i have un-install the DISA and re-install the module again and configure without any passord there. It happens once i could call through DISA then dial local number :
Cell phone => PSTN line ==> IVR => DISA => Dial tone => local number through another PSTN line. But once i tried again it will fail no matter what number i dial.
However if i choose to dial international number it will just hang up without any notice.
And! if i use internal IP phone to dial 7777 to simulate an incoming call, then i can make any call i want through DISA ;
IP phone ==> simulation call ==> IVR ==> DISA==> any number i want!!
any one knows the possible reason?
what i have modified is just context from-sip-external and from-internal:
in extensions.conf
(1) commnet out all and add two more lines.
[from-sip-external]
include =>ext-did
;give external sip users congestion and hangup
; Yes. This is really meant to be _. - I know asterisk whinges about it, but
; I do know what I’m doing. This is correct.
;exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to ${EXTEN})
;exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})
;exten => _.,n,Goto(s,1)
;exten => s,1,Ringing
;exten => s,n,GotoIf($["${ALLOW_SIP_ANON}"=“yes”]?from-trunk,${DID},1)
;exten => s,n,Set(TIMEOUT(absolute)=15)
;exten => s,n,Answer
;exten => s,n,Wait(2)
;exten => s,n,Playback(ss-noservice)
;exten => s,n,Playtones(congestion)
;exten => s,n,Congestion(5)
;exten => h,1,NoOp(Hangup)
;exten => i,1,NoOp(Invalid)
;exten => t,1,NoOp(Timeout)
include => ext-local
include =>from-pstn
(2) comment out the last two lines.
[from-internal]
; applications are now mostly all found in from-internal-additional in _custom.conf
include => parkedcalls
include => from-internal-custom
;allow phones to dial other extensions
include => ext-fax
;allow phones to access generated contexts
;
; MODIFIED (PL)
;
; Currently the include for findmefollow is being auto-generated before ext-local which is the desired behavior.
; However, I haven’t been able to do anything that I know of to force this. We need to determine if it should
; be hardcoded into here to make sure it doesn’t change with some configuration. For now I will leave it out
; until we can discuss this.
;
include => from-internal-additional
include => ext-local-confirm
; This causes grief with ‘#’ transfers, commenting out for the moment.
; include => bad-number
;exten => s,1,Macro(hangupcall)
;exten => h,1,Macro(hangupcall)