Not entirely sure, but, I wonder what would happen if you define RING
in the [globals] section first, and the use SetVar or SetGlobalVar in
the other contexts to override its value.
- Daniel
On May 8, 2005, at 2:48 AM, 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
_______________________________________________
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