[asterisk-users] system cmd + fax line

Alex Samad alex at samad.com.au
Wed Oct 7 05:21:49 CDT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091007/80d4c074/attachment.pgp 


More information about the asterisk-users mailing list