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)
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.
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’