[asterisk-users] Macro: s-NOANSWER, _s-.

Jared Smith jsmith at digium.com
Fri Jul 13 11:26:20 CDT 2007


On Fri, 2007-07-13 at 09:16 -0700, bilal ghayyad wrote:
> I have this example for Macro and I am not able to
> understand some line, if any one can help me plz :)-

[snip]

> exten => _s-.,1,Goto(s-NOANSWER,1)
> 
> Also, what does it mean _s-. ? It indicated for which
> dialing number?

The underscore signifies that it's a pattern match, and the period means
one more more characters after the s and the dash.  In other words, it's
a patter that would match s-CONGESTION or anything else that started
with an s and a dash.

-Jared




More information about the asterisk-users mailing list