[Asterisk-Users] SetVar ALERT_INFO

Trevor Peirce tpeirce at digitalcon.ca
Sun Nov 28 11:16:02 MST 2004


Brian West wrote:

>; make sure ring is set to default
>exten => s,n,NoOp(${ALERT_INFO})
>exten => s,n,NoOp(${_ALERT_INFO})
>exten => s,n,SetVar(ALERT_INFO=Bellcore-r3)
>exten => s,n,SetVar(_ALERT_INFO=Bellcore-r3)
>exten => s,n,NoOp(${ALERT_INFO})
>exten => s,n,NoOp(${_ALERT_INFO})
>
>Its very helpful if you actually set them to something.  The existence of
>the variable isn't enough.
>  
>
That's the problem - I only want it to be set for the FIRST call.  The 
SECOND call should forget about ALERT_INFO altogether and be processed 
as though it was never set in the first place.

Is this not possible?



More information about the asterisk-users mailing list