have you tried setting the variable at the begining of the context? [contextname] varname=value
On Sun, 2005-05-08 at 08:48 +0200, Mark Wormgoor wrote: > 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 > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- Trixter http://www.0xdecafbad.com UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users