Hi List;
I have this example for Macro and I am not able to
understand some line, if any one can help me plz :)-
[macro-voicemail]
exten => s,1,Dial(${ARG1},20)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
exten => s-NOANSWER,2,Goto(incoming,s,1)
exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN})
exten => s-BUSY,2,Goto(incoming,s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)
When it will go for the line: 
exten => s-NOANSWER,2,Goto(incoming,s,1)
And when it will go for the line:
exten => s-BUSY,2,Goto(incoming,s,1)
And when it will go for the line:
exten => _s-.,1,Goto(s-NOANSWER,1)
Also, what does it mean _s-. ? It indicated for which
dialing number?
Any help?
Regards
----------
IP Telephony and Contact Center Engineer
Eng. Bilal Ghayad
Mobile: 00965 9849460
     
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/
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
Dear Jared; Thanks for your kindly help. But what do u mean by more characters? What that pattern that will contain a character? Also, what that pattern that will contain a dash (-)? Regarding to the s-CONGESTION then what it means by "CONGESTION" word? Why u used here "CONGESTION"? Regards, ------------------------- IP Telephony and Contact Center Engineer Eng. Bilal Ghayad Mobile: 00965 9849460> 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 forwhich> 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. Regards Bilal Ghayad ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC
Dear Mojo;
Looking to the below example again, there are two
lines for s-NOANSWER and s-BUSY, one line with priorty
1 and other with priority 2, and both lines are
calling the Voicemail application, so the question is:
when it will jump to priority 2 for s-NOASNWER and
s-NOBUSY?
Last thing, like what example we will use the line:
exten => _s-.,1,Goto(s-NOANSWER,1)? I mean: what the
dialed number that will suite this line (_s-.)?
[macro-voicemail]
exten => s,1,Dial(${ARG1},20)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
exten => s-NOANSWER,2,Goto(incoming,s,1)
exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN})
exten => s-BUSY,2,Goto(incoming,s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)
Regards,
-----------
IP Telephony and Contact Center Engineer
Eng. Bilal Ghayad
Mobile: 009659849460
 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html