[asterisk-users] system cmd + fax line
Dovid Bender
asteriskusers at dovid.net
Wed Oct 7 12:43:03 CDT 2009
Use a GoToIf based on the callerid number.
----- Original Message -----
From: "Alex Samad" <alex at samad.com.au>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, October 07, 2009 12:21
Subject: [asterisk-users] system cmd + fax line
Hi
I have a site that has asterisk install with a tdm410 one port is
connected to a pstn that is used as a backup outbound line when/if the
internet/voip is unavailable.
Currently my dial plan for this line is to ignore it, I just basically
do a
s,1,noop
s,n,wait (60)
s,n,hangup
what I would like to do is if I call from a certain number be given an
option to run some commands or for the beginning just run a simple
command via system
something like
s/0411000000,1,goto(specialcontext,s,1)
s,1,noop
s,n,wait(60)
s,n,hangup
[specialcontext]
s,1,system(do a linux command)
is that about right.
Alex
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list