[Asterisk-Users] s and i in context not invoked
Michael Løjtnant
ml at zyxel.dk
Fri Dec 17 03:47:07 MST 2004
Hi,
Just made a simple test to see how the two extensions (s and i) worked
but for some reason I can't seem to make then act as I would like them to.
I pick up the phone and dials 100 or 200 - and in the CLI it prints out
what ever I have put in the Noop()
If i dial any other number, nothing happens - no indication in the CLI.
Souldn't the s or i context be activated when I dial a non-existent number?
I'm running Asterisk 1.0.2
Sip.conf:
[741]
type=friend
context=test
username=<xxxx>
secret=<xxxx>
canreinvite=no
host=dynamic
dtmfmode=rfc2833
Extension.conf:
[test]
exten => s,1,noop(s context)
exten => s,2,hangup
exten => i,1,noop(i context)
exten => i,2,hangup
exten => 100,1,noop(+++++++++++)
exten => 100,2,hangup
exten => 200,1,noop(-----------)
exten => 200,2,hangup
--
Med venlig hilsen / Best regards
Michael Løjtnant - Systems Engineer
ZyXEL Communications A/S
Columbusvej 5 - 2860 Søborg
Tel (+45) 3955 0700 - Fax (+45) 3955 0707
More information about the asterisk-users
mailing list