Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Polycom XML Files / asterisk

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
asteriskator at gmail.com
Guest





PostPosted: Wed May 14, 2008 6:45 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

Hi,

Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Thanks

Robert
Back to top
mgraves at mstvp.com
Guest





PostPosted: Wed May 14, 2008 6:49 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

On Wed, 14 May 2008 16:45:51 -0700, Robert McNaught wrote:

Quote:
Hi,

Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

M$ gives away XML Notepad 2007 which has proven handy for this sort of
thing.

Michael
--
Michael Graves
mgraves<at>mstvp.com
http://blog.mgraves.org
o713-861-4005
c713-201-1262
sip:mjgraves at pixelpower.onsip.com
skype mjgraves
54245 at fwd.pulver.com
Back to top
joakimsen at gmail.com
Guest





PostPosted: Wed May 14, 2008 7:30 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

There's also mcedit. It has a pretty clickable interface.

Or you can just install TrixBox.

On Wed, May 14, 2008 at 7:45 PM, Robert McNaught <asteriskator at gmail.com> wrote:
Quote:
Hi,

Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Thanks

Robert

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asteriskator at gmail.com
Guest





PostPosted: Wed May 14, 2008 8:11 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

Thanks Jose, that is a clever little script. However, I am trying to
deploy in a hosted environment, so the provisioning server is not on
the same LAN as the phones. It would be useful in a premise
deployment for sure. Thank you.

Just can't believe isn't a web-based XML editor so you can edit files
directly from a browser.
Smile
R

On Wed, May 14, 2008 at 5:30 PM, Andreas van dem Helge
<joakimsen at gmail.com> wrote:
Quote:
There's also mcedit. It has a pretty clickable interface.

Or you can just install TrixBox.

On Wed, May 14, 2008 at 7:45 PM, Robert McNaught <asteriskator at gmail.com> wrote:
Quote:
Hi,

Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Thanks

Robert

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mgraves at mstvp.com
Guest





PostPosted: Wed May 14, 2008 8:18 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

On Wed, 14 May 2008 18:11:14 -0700, Robert McNaught wrote:

Quote:
Thanks Jose, that is a clever little script. However, I am trying to
deploy in a hosted environment, so the provisioning server is not on
the same LAN as the phones. It would be useful in a premise
deployment for sure. Thank you.

Just can't believe isn't a web-based XML editor so you can edit files
directly from a browser.

That about describes my situation. I edit the files in XML Notepad,
then push them to an FTP server. The phones all look to the FTP server
for provisioning. I have phones in small offices & home offices around
the USA all provisioned from an FTP server in the UK. No issues at all.

Michael
--
Michael Graves
mgraves<at>mstvp.com
http://blog.mgraves.org
o713-861-4005
c713-201-1262
sip:mjgraves at pixelpower.onsip.com
skype mjgraves
54245 at fwd.pulver.com
Back to top
norman at myasd.com
Guest





PostPosted: Wed May 14, 2008 9:07 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

On May 14, 2008, at 8:06 PM, asterisk-users-request at lists.digium.com
wrote:

Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

If you are just making simple edits, like phone number, name, etc.,
then why not script it? Create a base XML file (or several if you
have several classes of users.) Then using perl/sed/whatever replace
things like __PHONENUMBER__ with the actual phone number. It's even
easier with perl, the templates can be in the perl script and you can
use variable substitution and even connect to a master database with
the records, e.g. "make_polycom.pl 1234" could look up the info for
1234 and make the file, upload it to your FTP server, etc.

This is on my wish list of things to do, but I can't see me needing
more than like 20 phones, so "vi" and regex substitution works rather
well.

Norman Franke
ASD, Inc.
www.myasd.com
Back to top
philipp.kempgen at amo...
Guest





PostPosted: Thu May 15, 2008 3:35 am    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

Robert McNaught schrieb:

Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Why should applying a stylesheet be different than for any other
XML files?

Quote:

Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Just use your preferred editor. Nobody forces Notepad or vi upon you.

Even better: Generate the config files with Perl/PHP/<insert favorite
language>.
Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Back to top
asteriskator at gmail.com
Guest





PostPosted: Thu May 15, 2008 12:23 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

Yes, perhaps a script would always be better than hand-touching these
files, and getting an XML editor only really makes it easier on the
eyes.

On the same subject, I have noticed that Snom and Linksys phones do
not support FTP provisioning - only TFTP and HTTP. With TFTP being an
insecure option for a hosted architecture, is everyone moving to
provision Polycoms with HTTP, so that both can be auto-provisioned via
Option 66.

One thing I found is that, with option 66 in a LAN router, you cannot
specify more than one protocol.

Has anyone had any problems provisioning Polycoms with HTTP?
On Thu, May 15, 2008 at 1:35 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:
Quote:
Robert McNaught schrieb:

Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Why should applying a stylesheet be different than for any other
XML files?

Quote:

Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Just use your preferred editor. Nobody forces Notepad or vi upon you.

Even better: Generate the config files with Perl/PHP/<insert favorite
language>.


Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
anthonyf at rockynet.com
Guest





PostPosted: Thu May 15, 2008 12:43 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

I am confused how TFTP is less secure than HTTP. TFTP does not allow any
browsing, ever. Neither technologies will allow the device to
authenticate before downloading a configuration file, and both are
easily secured by only permitting connections from specific hosts.

Robert McNaught wrote:
Quote:
Yes, perhaps a script would always be better than hand-touching these
files, and getting an XML editor only really makes it easier on the
eyes.

On the same subject, I have noticed that Snom and Linksys phones do
not support FTP provisioning - only TFTP and HTTP. With TFTP being an
insecure option for a hosted architecture, is everyone moving to
provision Polycoms with HTTP, so that both can be auto-provisioned via
Option 66.

One thing I found is that, with option 66 in a LAN router, you cannot
specify more than one protocol.

Has anyone had any problems provisioning Polycoms with HTTP?


On Thu, May 15, 2008 at 1:35 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:

Quote:
Robert McNaught schrieb:


Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Why should applying a stylesheet be different than for any other
XML files?


Quote:
Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Just use your preferred editor. Nobody forces Notepad or vi upon you.

Even better: Generate the config files with Perl/PHP/<insert favorite
language>.


Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Thank you and have any kind of day you want,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com
Back to top
asteriskator at gmail.com
Guest





PostPosted: Thu May 15, 2008 2:08 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

The way I understood it is that TFTP does not allow you to set a
username and password in a URL
like tftp://username:password at tftp.phonecompany.com is not possible
when setting option 66

Is it not possible to require a username and password with HTTP? I
assumed that you could just like if you were protecting the web root
directory on a webserver to require authentication credentials,
although have never tried this.

Robert

On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <anthonyf at rockynet.com> wrote:
Quote:
I am confused how TFTP is less secure than HTTP. TFTP does not allow any
browsing, ever. Neither technologies will allow the device to
authenticate before downloading a configuration file, and both are
easily secured by only permitting connections from specific hosts.

Robert McNaught wrote:
Quote:
Yes, perhaps a script would always be better than hand-touching these
files, and getting an XML editor only really makes it easier on the
eyes.

On the same subject, I have noticed that Snom and Linksys phones do
not support FTP provisioning - only TFTP and HTTP. With TFTP being an
insecure option for a hosted architecture, is everyone moving to
provision Polycoms with HTTP, so that both can be auto-provisioned via
Option 66.

One thing I found is that, with option 66 in a LAN router, you cannot
specify more than one protocol.

Has anyone had any problems provisioning Polycoms with HTTP?


On Thu, May 15, 2008 at 1:35 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:

Quote:
Robert McNaught schrieb:


Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Why should applying a stylesheet be different than for any other
XML files?


Quote:
Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Just use your preferred editor. Nobody forces Notepad or vi upon you.

Even better: Generate the config files with Perl/PHP/<insert favorite
language>.


Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Thank you and have any kind of day you want,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
atis at iq-labs.net
Guest





PostPosted: Thu May 15, 2008 3:45 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

On Thu, May 15, 2008 at 10:08 PM, Robert McNaught
<asteriskator at gmail.com> wrote:
Quote:
The way I understood it is that TFTP does not allow you to set a
username and password in a URL
like tftp://username:password at tftp.phonecompany.com is not possible
when setting option 66

Is it not possible to require a username and password with HTTP? I
assumed that you could just like if you were protecting the web root
directory on a webserver to require authentication credentials,
although have never tried this.

You can always limit access to HTTP for certain IP range. Isn't that
enough? Then add auth in your request string - for example:
http://provisioning.mysite.com/secure/234sdfsdf3247sd/- unless you
enable directory listing, it should be at same security level as http
with authentication or ftp (any of those can be sniffed)

Another thing I like in HTTP - you can redirect config read to execute
any script, write simple PHP that will generate resulting config, with
lookup of correct extension by MAC. Much like DHCP.

Regards,
Atis

Quote:

Robert



On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <anthonyf at rockynet.com> wrote:
Quote:
I am confused how TFTP is less secure than HTTP. TFTP does not allow any
browsing, ever. Neither technologies will allow the device to
authenticate before downloading a configuration file, and both are
easily secured by only permitting connections from specific hosts.

Robert McNaught wrote:
Quote:
Yes, perhaps a script would always be better than hand-touching these
files, and getting an XML editor only really makes it easier on the
eyes.

On the same subject, I have noticed that Snom and Linksys phones do
not support FTP provisioning - only TFTP and HTTP. With TFTP being an
insecure option for a hosted architecture, is everyone moving to
provision Polycoms with HTTP, so that both can be auto-provisioned via
Option 66.

One thing I found is that, with option 66 in a LAN router, you cannot
specify more than one protocol.

Has anyone had any problems provisioning Polycoms with HTTP?


On Thu, May 15, 2008 at 1:35 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:

Quote:
Robert McNaught schrieb:


Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Why should applying a stylesheet be different than for any other
XML files?


Quote:
Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Just use your preferred editor. Nobody forces Notepad or vi upon you.

Even better: Generate the config files with Perl/PHP/<insert favorite
language>.


Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Thank you and have any kind of day you want,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
Back to top
mgraves at mstvp.com
Guest





PostPosted: Thu May 15, 2008 3:52 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

On Thu, 15 May 2008 10:23:14 -0700, Robert McNaught wrote:

Quote:
Yes, perhaps a script would always be better than hand-touching these
files, and getting an XML editor only really makes it easier on the
eyes.

On the same subject, I have noticed that Snom and Linksys phones do
not support FTP provisioning - only TFTP and HTTP. With TFTP being an
insecure option for a hosted architecture, is everyone moving to
provision Polycoms with HTTP, so that both can be auto-provisioned via
Option 66.

One thing I found is that, with option 66 in a LAN router, you cannot
specify more than one protocol.

Has anyone had any problems provisioning Polycoms with HTTP?

Not sure about HTTP as I've not used it. FTP works great.

TFTP is another matter. As I recall it's not routable so you won't be
using TFTP except to access a local server.

Michael
--
Michael Graves
mgraves<at>mstvp.com
http://blog.mgraves.org
o713-861-4005
c713-201-1262
sip:mjgraves at pixelpower.onsip.com
skype mjgraves
54245 at fwd.pulver.com
Back to top
jsneerin at gmail.com
Guest





PostPosted: Thu May 15, 2008 4:18 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

On Thu, May 15, 2008 at 3:52 PM, Michael Graves <mgraves at mstvp.com> wrote:
Quote:
TFTP is another matter. As I recall it's not routable so you won't be
using TFTP except to access a local server.

TFTP is UDP-based and is therefore routable. You can TFTP across the
Internet if you want to. The issues with TFTP have always been:

1. It's UDP-based, so lossy networks can corrupt your file transfer.
2. Inability to transfer files larger than 32 MB.
3. Fixed block size of 512 bytes means sloooow transfers.
4. No authentication at all (though admittedly that's by design).

Items 2 and 3 are not quite true anymore, as many TFTP clients and
servers now support "extended" modes with varying block sizes,
allowing for larger and faster transfers. They are not universally
supported, though.

-James
Back to top
asteriskator at gmail.com
Guest





PostPosted: Thu May 15, 2008 5:41 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

Limiting to HTTP would be OK if every customer had a static IP - if
you have small offices, then they maybe on DSL without static IP,
which makes that difficult - you could of course force your users to
have static IPs.

Robert

On Thu, May 15, 2008 at 1:45 PM, Atis Lezdins <atis at iq-labs.net> wrote:
Quote:
On Thu, May 15, 2008 at 10:08 PM, Robert McNaught
<asteriskator at gmail.com> wrote:
Quote:
The way I understood it is that TFTP does not allow you to set a
username and password in a URL
like tftp://username:password at tftp.phonecompany.com is not possible
when setting option 66

Is it not possible to require a username and password with HTTP? I
assumed that you could just like if you were protecting the web root
directory on a webserver to require authentication credentials,
although have never tried this.

You can always limit access to HTTP for certain IP range. Isn't that
enough? Then add auth in your request string - for example:
http://provisioning.mysite.com/secure/234sdfsdf3247sd/- unless you
enable directory listing, it should be at same security level as http
with authentication or ftp (any of those can be sniffed)

Another thing I like in HTTP - you can redirect config read to execute
any script, write simple PHP that will generate resulting config, with
lookup of correct extension by MAC. Much like DHCP.

Regards,
Atis

Quote:

Robert



On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <anthonyf at rockynet.com> wrote:
Quote:
I am confused how TFTP is less secure than HTTP. TFTP does not allow any
browsing, ever. Neither technologies will allow the device to
authenticate before downloading a configuration file, and both are
easily secured by only permitting connections from specific hosts.

Robert McNaught wrote:
Quote:
Yes, perhaps a script would always be better than hand-touching these
files, and getting an XML editor only really makes it easier on the
eyes.

On the same subject, I have noticed that Snom and Linksys phones do
not support FTP provisioning - only TFTP and HTTP. With TFTP being an
insecure option for a hosted architecture, is everyone moving to
provision Polycoms with HTTP, so that both can be auto-provisioned via
Option 66.

One thing I found is that, with option 66 in a LAN router, you cannot
specify more than one protocol.

Has anyone had any problems provisioning Polycoms with HTTP?


On Thu, May 15, 2008 at 1:35 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:

Quote:
Robert McNaught schrieb:


Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Why should applying a stylesheet be different than for any other
XML files?


Quote:
Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them, or
vi from the command line, which is fiddly and time-consuming.

Just use your preferred editor. Nobody forces Notepad or vi upon you.

Even better: Generate the config files with Perl/PHP/<insert favorite
language>.


Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Thank you and have any kind of day you want,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mark.h at cage151.com
Guest





PostPosted: Thu May 15, 2008 7:13 pm    Post subject: [asterisk-users] Polycom XML Files / asterisk Reply with quote

Since, we're on the the topic of phones, and TFTPing.. if someone on this
thread has some knowledge of putting configs on Cisco IP Phone 7960, can
they please contact me off list?

I've done the configs via tftp, etc but anything into the speaker/handset
relating to voice doesn't work.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Robert
McNaught
Sent: May 15, 2008 6:41 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Polycom XML Files / asterisk

Limiting to HTTP would be OK if every customer had a static IP - if
you have small offices, then they maybe on DSL without static IP,
which makes that difficult - you could of course force your users to
have static IPs.

Robert

On Thu, May 15, 2008 at 1:45 PM, Atis Lezdins <atis at iq-labs.net> wrote:
Quote:
On Thu, May 15, 2008 at 10:08 PM, Robert McNaught
<asteriskator at gmail.com> wrote:
Quote:
The way I understood it is that TFTP does not allow you to set a
username and password in a URL
like tftp://username:password at tftp.phonecompany.com is not possible
when setting option 66

Is it not possible to require a username and password with HTTP? I
assumed that you could just like if you were protecting the web root
directory on a webserver to require authentication credentials,
although have never tried this.

You can always limit access to HTTP for certain IP range. Isn't that
enough? Then add auth in your request string - for example:
http://provisioning.mysite.com/secure/234sdfsdf3247sd/- unless you
enable directory listing, it should be at same security level as http
with authentication or ftp (any of those can be sniffed)

Another thing I like in HTTP - you can redirect config read to execute
any script, write simple PHP that will generate resulting config, with
lookup of correct extension by MAC. Much like DHCP.

Regards,
Atis

Quote:

Robert



On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <anthonyf at rockynet.com>
wrote:
Quote:
Quote:
Quote:
I am confused how TFTP is less secure than HTTP. TFTP does not allow any
browsing, ever. Neither technologies will allow the device to
authenticate before downloading a configuration file, and both are
easily secured by only permitting connections from specific hosts.

Robert McNaught wrote:
Quote:
Yes, perhaps a script would always be better than hand-touching these
files, and getting an XML editor only really makes it easier on the
eyes.

On the same subject, I have noticed that Snom and Linksys phones do
not support FTP provisioning - only TFTP and HTTP. With TFTP being an
insecure option for a hosted architecture, is everyone moving to
provision Polycoms with HTTP, so that both can be auto-provisioned via
Option 66.

One thing I found is that, with option 66 in a LAN router, you cannot
specify more than one protocol.

Has anyone had any problems provisioning Polycoms with HTTP?


On Thu, May 15, 2008 at 1:35 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:

Quote:
Robert McNaught schrieb:


Quote:
Does anyone know how to apply a style sheet to the polycom automatic
provisioning XML files?

Why should applying a stylesheet be different than for any other
XML files?


Quote:
Even better, does anyone know of a web-based XML editor where you can
just edit the files from a browser directly ie entering in phone
number, display name, proxy address etc. From what I gather, most
people are just using Notepad to change the files then upload them,
or
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
vi from the command line, which is fiddly and time-consuming.

Just use your preferred editor. Nobody forces Notepad or vi upon you.

Even better: Generate the config files with Perl/PHP/<insert favorite
language>.


Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Thank you and have any kind of day you want,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services