Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-16 Thread Robert McNaught
So for HTTP provisioning in a hosted environment, how would you make
it secure using Option 66 in a customers router.

Would you have to pass a variable with a password in the Option 66 string?

eg http://http.provider.com?customer=999?password=password

and would the polycoms automatically be able to upload log files etc
using a method such as this?

Does anyone have any ideas on running this securely?

Robert

On Thu, May 15, 2008 at 5:13 PM, Mark Hamilton <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> wrote:
>> On Thu, May 15, 2008 at 10:08 PM, Robert McNaught
>> <[EMAIL PROTECTED]> wrote:
>>> The way I understood it is that TFTP does not allow you to set a
>>> username and password in a URL
>>> like tftp://username:[EMAIL PROTECTED] 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
>>
>>>
>>> Robert
>>>
>>>
>>>
>>> On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <[EMAIL PROTECTED]>
> wrote:
>>>> 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:
>>>>> 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
>>>>> <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>> Robert McNaught schrieb:
>>>>>>
>>>>>>
>>>>>>> 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?
>>>>>>
>>>>>>
>>>>>>> Even better, does anyone know of a web-based XML editor where you can
>>>>>>> just edit the

Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Mark Hamilton
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> wrote:
> On Thu, May 15, 2008 at 10:08 PM, Robert McNaught
> <[EMAIL PROTECTED]> wrote:
>> The way I understood it is that TFTP does not allow you to set a
>> username and password in a URL
>> like tftp://username:[EMAIL PROTECTED] 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
>
>>
>> Robert
>>
>>
>>
>> On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <[EMAIL PROTECTED]>
wrote:
>>> 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:
>>>> 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
>>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> Robert McNaught schrieb:
>>>>>
>>>>>
>>>>>> 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?
>>>>>
>>>>>
>>>>>> 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/>>>> 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

Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Robert McNaught
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 <[EMAIL PROTECTED]> wrote:
> On Thu, May 15, 2008 at 10:08 PM, Robert McNaught
> <[EMAIL PROTECTED]> wrote:
>> The way I understood it is that TFTP does not allow you to set a
>> username and password in a URL
>> like tftp://username:[EMAIL PROTECTED] 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
>
>>
>> Robert
>>
>>
>>
>> On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <[EMAIL PROTECTED]> wrote:
>>> 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:
 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
 <[EMAIL PROTECTED]> wrote:

> Robert McNaught schrieb:
>
>
>> 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?
>
>
>> 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/ 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
>>> [EMAIL PROTECTED]
>>>
>>>
>>> ___
>>> -- 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,
> [EMAIL PROTECTED]
> Skyp

Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread James Sneeringer
On Thu, May 15, 2008 at 3:52 PM, Michael Graves <[EMAIL PROTECTED]> wrote:
> 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 slw 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

___
-- 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Michael Graves
On Thu, 15 May 2008 10:23:14 -0700, Robert McNaught wrote:

>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
mgravesmstvp.com
http://blog.mgraves.org
o713-861-4005
c713-201-1262
sip:[EMAIL PROTECTED]
skype mjgraves
[EMAIL PROTECTED]



___
-- 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Atis Lezdins
On Thu, May 15, 2008 at 10:08 PM, Robert McNaught
<[EMAIL PROTECTED]> wrote:
> The way I understood it is that TFTP does not allow you to set a
> username and password in a URL
> like tftp://username:[EMAIL PROTECTED] 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

>
> Robert
>
>
>
> On Thu, May 15, 2008 at 10:43 AM, Anthony Francis <[EMAIL PROTECTED]> wrote:
>> 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:
>>> 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
>>> <[EMAIL PROTECTED]> wrote:
>>>
 Robert McNaught schrieb:


> 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?


> 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/>>> 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
>> [EMAIL PROTECTED]
>>
>>
>> ___
>> -- 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,
[EMAIL PROTECTED]
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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Robert McNaught
The way I understood it is that TFTP does not allow you to set a
username and password in a URL
like tftp://username:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> wrote:
> 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:
>> 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
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Robert McNaught schrieb:
>>>
>>>
 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?
>>>
>>>
 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/>> 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
> [EMAIL PROTECTED]
>
>
> ___
> -- 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Anthony Francis
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:
> 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
> <[EMAIL PROTECTED]> wrote:
>   
>> Robert McNaught schrieb:
>>
>> 
>>> 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?
>>
>> 
>>> 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/> 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
[EMAIL PROTECTED]


___
-- 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Robert McNaught
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
<[EMAIL PROTECTED]> wrote:
> Robert McNaught schrieb:
>
>> 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?
>
>>
>> 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/ 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-15 Thread Philipp Kempgen
Robert McNaught schrieb:

> 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?

> 
> 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/.


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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-14 Thread Norman W. Franke
On May 14, 2008, at 8:06 PM, [EMAIL PROTECTED]  
wrote:

> 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



___
-- 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-14 Thread Michael Graves
On Wed, 14 May 2008 18:11:14 -0700, Robert McNaught wrote:

>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
mgravesmstvp.com
http://blog.mgraves.org
o713-861-4005
c713-201-1262
sip:[EMAIL PROTECTED]
skype mjgraves
[EMAIL PROTECTED]



___
-- 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-14 Thread Robert McNaught
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.
:-)
R

On Wed, May 14, 2008 at 5:30 PM, Andreas van dem Helge
<[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED]> wrote:
>> 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
>

___
-- 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-14 Thread Andreas van dem Helge
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 <[EMAIL PROTECTED]> wrote:
> 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


Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-14 Thread Jose Quinteiro
I use a simple Perl script (attached) to generate a template for each new 
phone.  This keeps the
fiddling to a minimum.  It's meant to be fed the output of nmap like this: 
"nmap -sP 10.1.1.0/24 |
./checkExten.pl".  Replace "10.1.1.0/24" with whatever IP range you use for 
your phones, of course.
  You'll also have to change the "Dummy Extension" registration parameters and 
the "mycompany"
settings with whatever is appropriate for your site.

HTH,
Jose

Robert McNaught wrote:
> 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


checkExten.pl
Description: Perl program
___
-- 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

Re: [asterisk-users] Polycom XML Files / asterisk

2008-05-14 Thread Michael Graves
On Wed, 14 May 2008 16:45:51 -0700, Robert McNaught wrote:

>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
mgravesmstvp.com
http://blog.mgraves.org
o713-861-4005
c713-201-1262
sip:[EMAIL PROTECTED]
skype mjgraves
[EMAIL PROTECTED]



___
-- 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


[asterisk-users] Polycom XML Files / asterisk

2008-05-14 Thread Robert McNaught
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