Author Topic: Hardware VOIP phones  (Read 5043 times)

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Hardware VOIP phones
« on: February 19, 2011, 06:44:32 am »
Folks, I have searched the archives and can't find anything that comes close to answering this so here I go.   I have about 20 Cisco VOIP phones that I will be setting up in Asterisk in the next few weeks.  IN plain vanilla Asterisk this is a breeze.  Now enter the twist that has me scratching my head.  Each SIP client should be authenticated via password.  Zentyal has chosen to use end-user passwords.  Phones like Cisco 79XX use XML configuration files to set themselves up.  The password for authentication therefore gets put in an XML file for the phone as a standard practice.  When the user changes their domain password,  how do I get that info back around to the phone?

I am the IT manager for my company and have chosen Zentyal as my server/gateway of choice because I need a straight forward setup if I ever happen to have an accident.  It would be nice to keep everything together under one GUI if I can.  Can anyone give me a hint?

Thanks

Update: Feb20 18:42 EST

On further digging around it is looking like the solution is to modify the res_ldap.conf
line
   md5secret = eboxRealmPassword
to
  md5secret = SomeOtherPassword

and append SomeOtherPassword =  SomeFixedPassword to each users LDAP record.

More on this as I experiment with it.  Anyone with thoughts on the matter feel free to jump in.


Denny
« Last Edit: February 21, 2011, 12:48:25 am by half_life »

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Hardware VOIP phones
« Reply #1 on: February 21, 2011, 12:58:40 am »
Some changes like adding phones support will be shortly released on the 2.1 branch.

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Hardware VOIP phones
« Reply #2 on: February 21, 2011, 01:08:09 am »
Can you see any problem with my solution in the mean time? Might it break an upgrade for instance?  I have toyed around with the idea of adding my phone xml/flat config files back into the ebox .mas file paradigm.

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Hardware VOIP phones
« Reply #3 on: February 21, 2011, 02:43:28 am »
I have tested the ldap changes with a soft-phone.  I changed:
res_ldap.conf:

md5secret = eboxRealmPassword

to

#md5secret = eboxRealmPassword
secret = AstAccountSecret

note that I changed from md5 hash to plain text (not reccomended on public networks)

I used Luma (ldap browser/editor ) to add AstAccountSecret to an account with a plaintext password.

To finish the job with a hardware phone I would add my user account name and plaintext password to the phone (in my case via a few config files served up by an tftp server since they are Cisco).  I leave it as an exercise to the reader how to use md5 passwords and configure other phones.  I will re-post a complete explanation with Cisco config file examples after I have done more testing.

Since my needs involve more than basic asterisk functions (as provided in Zentyal), I will be overriding parts of the default config (multiple DID's and several queues plus an operator panel) I can post a more detailed explanation of how I did it if anyone is interested.   Because I am mindful of the fact that others in my company aren't linux savvy, I am using GUI's wherever possible such as a visual dialplan tool etc. 

mmullenders

  • Zen Apprentice
  • *
  • Posts: 34
  • Karma: +3/-0
    • View Profile
Re: Hardware VOIP phones
« Reply #4 on: September 09, 2011, 11:29:37 pm »
Hi Half_life,

are there any updates? Please let me know if you succeeded in implementing hardware voip-phones.

Kind regards,


Maurice
 

robb

  • Guest
Re: Hardware VOIP phones
« Reply #5 on: September 10, 2011, 09:58:14 am »
Softphones are no problem at all. I can even use a softphone from home while connected through VPN.

I ordered a Linksys PAP2T-NA ATA. I hope I can use it with Zentyal and an ordinary DECT phone. I will keep you posted on this.

However, ideally in a business situation I guess an IP phone would be preferred but since I don't have (and can't buy) such a phone I can't test that.

ichat

  • Zen Hero
  • *****
  • Posts: 795
  • Karma: +28/-16
  • RTFM!
    • View Profile
Re: Hardware VOIP phones
« Reply #6 on: September 10, 2011, 01:30:18 pm »
but i agree if sutch things are stored in plain text...   an alternate password woudl be desired...

maybe eventually we  could ad an interface to zentyal that managers passwords. 

and you could (for example)    set an altenate paswoord for  jabber or pbx   or other  (less secure) services.
All tips hints and advices are based on my personal experience.
As I try my best to be as accurate as possible, following my advice is always at your own risk,
I claim absolutely NO responsibility in any way!

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Hardware VOIP phones
« Reply #7 on: September 11, 2011, 01:16:38 am »
Softphones are no problem at all. I can even use a softphone from home while connected through VPN.

I ordered a Linksys PAP2T-NA ATA. I hope I can use it with Zentyal and an ordinary DECT phone. I will keep you posted on this.

However, ideally in a business situation I guess an IP phone would be preferred but since I don't have (and can't buy) such a phone I can't test that.

I have a total of four linksys PAP2T in my network, but was unable to use them with the present Zentyal-Asterisk system.
I can get them to authorize against Zentyal but no calls can be made. The issue seems to be the leading "0" that has to be dialed to get an outside line.
That kind of screws up the PAP2T internal dial plan and gives me the busy tone no matter what number I dial.
The numbers specified as "test" don't work either.
I haven't tried with softphones.
Asterisk in Zentyal seems very basic, can't adjust anything. Let's hope 2.2 has made some progress with the Asterisk implementation.

Cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Hardware VOIP phones
« Reply #9 on: September 11, 2011, 06:49:38 pm »
I am sorry that I abandoned this thread.  While I was able to get a phone to register and function using the methods I have already shared,  the task kept getting bigger with more customisations required.  This violated my requirement of being able to get outside asistance due to the highly customised setup.  I decided to go with an Elastix install on a separate virtual machine.  I assume that you are struggling right now with hardware phones?  Maybe I can help you with your issues.  Have you had a chance to play with the new release candidate yet?  I have it installed on a testbed at work but haven't had a chance to really dig in yet.


Hi Half_life,

are there any updates? Please let me know if you succeeded in implementing hardware voip-phones.

Kind regards,


Maurice

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Hardware VOIP phones
« Reply #10 on: September 11, 2011, 11:22:05 pm »
Zentyal Asterisk on 2.1-2.2 has been successfully deployed on multiple customers. Our aim with this module is not to have everything on the GUI for give the admin a basic configuration LDAP integration, etc, to customize for each scenario.

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Hardware VOIP phones
« Reply #11 on: September 12, 2011, 06:25:52 am »
Sorry,  I wasn't throwing stones.  I was merely stating that for my use case, the amount of customization required would make it difficult for an outside vendor to follow up behind me and make sense of it all.  I am the lone IT person in my company and if I were to suddenly be taken out of the picture, it would be up to my superiors to find outside support.  How I wish I could have integrated the ldap functionality from zentyal into my current setup in the timeframe I had.  This evening I have had a chance to look around the new release candidate and it has me thinking about ways of incorporating zentyal back into my setup for voip.  Something like Elastix(DID handling/time conditions/ Outgoing Trunks) ------ IAX trunk---->Zentyal (extension control and voicemail).  Thanks for a fine product.

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Hardware VOIP phones
« Reply #12 on: September 12, 2011, 06:45:19 am »
Thanks for the link half_life, after the release of Zentyal 2.2 I will try to make use of the voip part.

Cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Hardware VOIP phones
« Reply #13 on: September 12, 2011, 06:56:35 am »
No problem sir.  Back in the early days of VOIP I purchased a Sipura 3000 and had fun getting its FXO port working under asterisk.  The PAP2 is a descendant of the SPA3000 and shares quite a bit of its configuration. The default dial plan is probably not setup to allow a zero+digits except for international calling.

robb

  • Guest
Re: Hardware VOIP phones
« Reply #14 on: October 13, 2011, 02:04:25 pm »
Any updates on getting the papt2 ATA working on Zentyal?