[Asterisk-Users] Setting variable for a context for all extensions?
    Mark Wormgoor 
    mark at wormgoor.com
       
    Sat May  7 23:48:03 MST 2005
    
    
  
Hi,
Is it possible to set a variable for a context for all extensions?  I 
haven't been able to find it.  I want something like this in 
extensions.conf:
[from-iaxfwd]
exten => .,1,RING=r3
exten => 123456,1,Goto(from-pstn,s,1)
[from-internal]
exten => .,1,RING=r2
include => ext-local
[ext-local]
exten => 1,1,Dial(Zap/1,${LONGTIMEOUT})
exten => 2,1,Dial(SIP/2,${LONGTIMEOUT})
But how do I do this?  I want to change the ring depending on the 
starting context.  The above doesn't work.
Kind regards,
Mark
    
    
More information about the asterisk-users
mailing list