[Asterisk-Users] Setting variable for a context for all
extensions?
trixter http://www.0xdecafbad.com
trixter at 0xdecafbad.com
Sun May 8 00:04:16 MST 2005
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050508/dceebc38/attachment.pgp
More information about the asterisk-users
mailing list