#asterisk - Fri 2 Mar 2007 between 00:04 and 00:16

NY Lost Funds



JacksLivrhello all, i have a question. in the following line, what does the :0:3 mean?
exten => s,4,GotoIf($["${CALLERIDNUM:0:3}" = "877"]?s|20)
thanks
Strom_Mhmmm
I wonder if there's some trick to getting the tc400b working under 1.2
JacksLivrim guessing the 3 means to grap 3 digits, but i cant find docs on nit anywhere
since its matching 877
Strom_MJacksLivr: it means "start at position 0 and read out the next three digits"
JacksLivrAHHHHHHHHHHH
Strom_M: thanks man
[TK]D-FenderJacksLivr: lookup "asterisk variables" on the WIKI
~wikis
jbotwell, wikis is http://www.voip-info.org
JacksLivryeah, i looked this up on voip-info
[TK]D-FenderJacksLivr: then it should be no mystery to you.
dual-manJT: problem solved
JacksLivri may be stupid, but i tried to find it
i waited about 30 minutes before i asked it
sorry
Strom_M[TK]D-Fender: go easy on him man; sometimes the wiki isn't helpful
[TK]D-FenderJacksLivr: Should have LOOKED for 30 mins on that page.... far more productive than just sitting around waiting :)
JTdual-man: yeah?
[TK]D-FenderStrom_M: THAT page is, and he says he's been there :)
Strom_M: GUILTY!!!
action[TK]D-Fender gavels
[TK]D-Fendergavels
Strom_M*shrug* took me all of ten seconds to answer his question instead of admonishing him
JacksLivr[TK]D-Fender: please link to the page.
fwiw, i did not sit on my hands for 30 minutes
i was googling and what not
[TK]D-FenderJacksLivr: Of course not.... that might force amputation of the now choked off limb!
JacksLivri try not to ask the n00b questions, I'm not asking you to describe SIP
[TK]D-Fenderhttp://www.voip-info.org/wiki-Asterisk+variables
Strom_MJacksLivr: try googling "asterisk variables site:voip-info.org"
[TK]D-FenderStrom_M: there is a search link right on the WIKI, no need to look further
Strom_M*shrug* just trying to help him construct better google queries
i figure it's better to teach rather than admonish, but hey, if you think he's going to learn more from you screaming at him, then who am I to say otherwise?
JacksLivrsearch the logs. I have the system completely set up with very very very few quesitons to the channel
[TK]D-FenderStrom_M: Np, and I wasn't screaming, you should have gotten the "jest" value from my smilies....
JacksLivri have the dial plans forking based on callerid and VM conf bridges and everything.
[TK]D-FenderStrom_M: And you know I only really stomp on the trolls who inevitably get kicked out anyways....

Page: 2 9 16 23 30 37 44 51 58 65 72 

IrcArchive

NY Lost Funds