Skip to main content

Variables unset?

Posted by MartinJ on Wed, 03/31/2010

Hi

I am trying to use the ${BUTTON_ZERO_BASED} in a line template, but it seems to be unset? How come?
I also tried the ${BUTTON} variable, but it doesn't work either. Only ${LINE} works.
I'm using PBX Manager 6.0.1.79.


Submitted by thirdlane on Wed, 03/31/2010 Permalink

BUTTON_ZERO_BASED and BUTTON don't work in a line template - these are for blfs and speeddials - and I frankly have to look at the code to remember how exactly they work. One day we will get all this documented better - sorry :).

We just added LINE_ZERO_BASED which could be used in a line template - will be available in the next release.

Are you configuring Yealink phones?

Submitted by MartinJ on Thu, 04/01/2010 Permalink

Hey Alex

Thanks for your reply.

Yes, that is exactly what I am trying to do :) We've just gotten some Yealink phones, which I am trying to configure.
I'll try to make a shell script which decreses the line-number by one somehow, but the other variable would be really nice :)

Submitted by mattdarnell on Fri, 04/09/2010 Permalink

MJ,

How are you finding the Yealink phones? We have three of them to test and they seem solid. People think they look a lot like the Cisco phones. The phone menu is a lot like the Polycoms. The bootup times are 10x faster than the Polycoms.

The sound quality is good. One thing that I like is that when a phone is ringing the DSS is blinks on all the phones that are monitoring it.

-Matt

Submitted by eeman on Fri, 04/09/2010 Permalink

yuck, don't like the expansion module... paper? seriously? not e-ink or lcd but paper? thats my complaint about the linksys one too. Cisco, Polycom, and AAstra use lcd for their expansion modules. Erasing and writing with pensil on those little white spaces has a very 'yesterday's technology' feel about it :-). If they're a flegling company you should share that with them, maybe they'll consider something a bit more updated.

You'll never get more than 24 BLF's into the TL phone provisioning tool due to limitations of the UI, so having the support for 256 BLF keys would mean having to configure them manually in order to support it.

Submitted by mattdarnell on Fri, 04/09/2010 Permalink

Erik,

Yes, the DSS/BLF blinks when a phone is ringing and is solid when a phone is in use. I am looking to see if Polycom can do the same thing.

I have a call into Yealink to see if we could use the button as a directed pickup button. Would be nice, even if the phone simply went off hook and dialed a code.

-Matt

Submitted by MartinJ on Mon, 04/12/2010 Permalink

Hi mattdarnell.
I think they're pretty solid phones. I've had a few where the speaker suddenly stopped working and some where the "OK" button didn't respond very well. But all that aside, the Yealink T28 is a really nice phone. We've already translated it into Danish and are planning to use it as a value phone for our customers. And yea, the paper strip is a bummer, but what can you expect from such a cheap phone :)
If you ever need support, contact Steve from yealink.co.uk, he's the guy to ask.

Submitted by mattdarnell on Mon, 04/12/2010 Permalink

This is where we got our Yealink phones:

Brenda Keener
US Business Manager
AlloyCP
1226 Alderwood Ave
Sunnyvale, CA 94089
408 679 5525 cell
888 895 8256 office

Submitted by eeman on Fri, 06/11/2010 Permalink

I see nothing in these templates that explains why you had to make new variables called Line_zero_based and button_zero_based instead of some other altered variable. whats the justification for a new variable instead of the existing variables like $LINE and $BUTTON

Submitted by MartinJ on Fri, 06/11/2010 Permalink

Hi eeman

Yealink uses zero-based accounts which means account 1 is actually called 0 in the configuration.

sipAccount0 = Account 1.

In Thirdlane you are not able to select Line 0, only Line 1, which meant that the phone would start from Account 2 instead of Account 1.

Submitted by eeman on Fri, 06/11/2010 Permalink

so by zero based your saying that they took the true programming approach that zero is the first whole number.

So I am guessing that the variable is simply a math function of $LINE - 1 ?

so why did you chose 7+ext for call pickup instead of *8+exten ?

typically 7+exten is direct to vm and 4+exten is speaker intercom

will the phone accept *8 for PickupValue ?

Submitted by MartinJ on Fri, 06/11/2010 Permalink

We have simply used the follow feature code for directed call pickup: _7X.

I'm sure the phone accepts which ever feature code you wish to use :)

Submitted by eeman on Fri, 06/11/2010 Permalink

wow, I'd be careful with that one.. theres area codes that start with 7. If your account is based on 4 digit extensions id make the pattern _7XXX and avoid using the '.' so that numbers with longer lengths can still be reached if they start with 7. of course thats only if you live somwhere where numbers can begin with 7. Here in the US it would be a problem.

Submitted by moshe on Sun, 07/18/2010 Permalink

I'm looking into yealink phones it seems really cool, BLF with directed pickup is working like a charm with the ability to modify it online, thanks MJ-iPinion for the provisioning files,

just trying to figure out a few issues, any help would be greatly appreciated

  1. the voice mail reminder seems that there is no way to stop it which is really annoying
  2. VM dial tone stutter
  3. I have tried all the config options i could think of with no luck #1 is a deal breaker

  4. Is there a way to lock the phone that it shouldn't be modifiable on the phone itself and/or the web gui, we are planning to use it as a promotion and we don't want customers to be able to just use it
  5. what would be the easiest way to setup http phone provisioning (login into web gui for every phone is quite nerve wracking) what would be the best alternative
  6. is there a way to force a phone restart if the auto provision file is modified/changed
  7. some other miner tweeks like

  8. call waiting should ring insted of a beep (good for loud enviroment {call.callWaiting.ring="ring" in polycom})
  9. call conference singal key press {call.singleKeyPressConference="1" in polycom}
  10. on hold reminder {call.hold.localReminder.enabled and .period in polycom}

thanks in advance