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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
-- 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

Reply via email to