DISA setup on asterisk

Hi.
I am running asterisk 1.6 and through a spa 3000 i do have a gsm gateway (number 123456789).
the gsm gateway comes into the asterisk and rings directly to an extension.
i would like to be able to use DISA to my system, so when calling 123456789 to be able to get prompted for a passwd eg 7890 and then get a dial tone from the asterisk to call anywhere i like.
i do have a template for DISA, but it does not seem to work in my system:
[from_spa]
exten => 123456789,1,Answer()
exten => 123456789,n,Authenticate(7890)
exten => 123456789,n,DISA(no-password,from-internal)
exten => 123456789,n,Busy(3)

any ideas on what is wrong, that could help me?

what do you mean it doesn’t work? posting the console log would help us to see what it is that you are getting.

what do you get when you do a
core show application disa

perhaps disa wasn’t enabled in the build of your asterisk?
make menuselect
from your asterisk source directory. See if disa is enabled in the applications area.

Is the above setup correct?

I saw nothing obviously wrong. Of course, how could anyone say with provided scope of info.

Hi. i will post the whole setup for DISA, since i am facing some issues:
sip.conf

[fxogw]
type=peer
fromuser=fxogw
fromdomain=192.168.178.90
auth=md5
secret=XXXPASSXXX
host=192.168.178.102
port=5061
qualify=yes
nat=no
canreinvite=no
disallow=all
allow=ulaw
dtmfmode=info
context=POTS-incoming
insecure=very
callerid=

extensions.conf

[POTS-incoming]
exten => s,1,Answer()
exten => s,n,Authenticate(123)
exten => s,n,DISA(no-password,from-internal)
exten => s,n,Busy(3)

When the call arrives into the asterisk, i get authenticated, it says thank you and the line hangs.
Any ideas please?

– Executing [s@POTS-incoming:1] Answer(“SIP/192.168.178.102-005c4cc0”, “”) in new stack

– Executing [s@POTS-incoming:2] Authenticate(“SIP/192.168.178.102-005c4cc0”, “123”) in new stack

– <SIP/192.168.178.102-005c4cc0> Playing ‘agent-pass’ (language ‘en’)

– <SIP/192.168.178.102-005c4cc0> Playing ‘auth-thankyou’ (language ‘en’)

– Executing [s@POTS-incoming:3] DISA(“SIP/192.168.178.102-005c4cc0”, “no-password|from-internal”) in new stack
– Message check requested for mailbox /folder INBOX but voicemail not loaded.
== Spawn extension (POTS-incoming, s, 3) exited non-zero on ‘SIP/192.168.178.102-005c4cc0’