Re: [asterisk-users] snom mass deploy help
Sorry for dropping in so late, but maybe our solution do configure snom phones can help you We have written a small script that scans the network for snom phones. This is done by doing broadcast pings and using the arp-scan command and reading the arp cache. Then we filter the results on the mac addresses that start with 00:04:13. Of course there are other solutions to get the list of IP addresses of your snom phones. Once we have a list of IP addresses we push our configuration url to the snom phones by calling a url on the phones. http://$IP/dummy.htm?settings=savesetting_server=$massdeploymenturl DHCP was not an option for us because we did not want to change or interfere with the customer existing network structure. Best regards, Loïc Didelot. On Thu, 2009-06-18 at 21:25 +1000, Alex Samad wrote: Hi I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options alex ___ -- 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 -- Loïc DIDELOT MIXvoip S.a. Tel: +352 20 20 Fax: +352 20 90 ldide...@mixvoip.com http://www.mixvoip.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] snom mass deploy help
2009/6/29 Loic Didelot ldide...@mixvoip.com Sorry for dropping in so late, but maybe our solution do configure snom phones can help you We have written a small script that scans the network for snom phones. This is done by doing broadcast pings and using the arp-scan command and reading the arp cache. Then we filter the results on the mac addresses that start with 00:04:13. Of course there are other solutions to get the list of IP addresses of your snom phones. So, DHCP server has already replied to Snom's address request, isn't it ? Once we have a list of IP addresses we push our configuration url to the snom phones by calling a url on the phones. How do you call a url ? Is there a menu or key dedicated to that ? http://$IP/dummy.htm?settings=savesetting_server=$massdeploymenturl What happens to phones before this url is called (and after they get an address) ? Are they usable for something ? Myself, I was thinking of using a 2 steps configuration process with an IVR allowing a phone to go from Connected to Configured status. DHCP was not an option for us because we did not want to change or interfere with the customer existing network structure. Best regards, Loïc Didelot. On Thu, 2009-06-18 at 21:25 +1000, Alex Samad wrote: Hi I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options alex ___ -- 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 -- Loïc DIDELOT MIXvoip S.a. Tel: +352 20 20 Fax: +352 20 90 ldide...@mixvoip.com http://www.mixvoip.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
Re: [asterisk-users] snom mass deploy help
On Mon, Jun 29, 2009 at 10:22:54AM +0200, Loic Didelot wrote: Sorry for dropping in so late, but maybe our solution do configure snom phones can help you We have written a small script that scans the network for snom phones. This is done by doing broadcast pings and using the arp-scan command and reading the arp cache. Then we filter the results on the mac addresses that start with 00:04:13. Of course there are other solutions to get the list of IP addresses of your snom phones. Once we have a list of IP addresses we push our configuration url to the snom phones by calling a url on the phones. http://$IP/dummy.htm?settings=savesetting_server=$massdeploymenturl DHCP was not an option for us because we did not want to change or interfere with the customer existing network structure. I have found this to be the simplest way to do it https://svn.amooma.com/gemeinschaft/trunk/opt/gemeinschaft/sbin/gs-sip-ua-config-responder/gs-sip-ua-config-responder Best regards, Loïc Didelot. On Thu, 2009-06-18 at 21:25 +1000, Alex Samad wrote: Hi I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options alex ___ -- 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 -- What I'm suggesting to you is, if you can't name the foreign minister of Mexico, therefore, you know, you're not capable of what you do. But the truth of the matter is you are, whether you can or not. - George W. Bush 11/06/1999 as quoted in the Seattle Post-Intelligencer signature.asc Description: Digital signature ___ -- 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] snom mass deploy help
Hello, I think you do not understand. The phone gets an IP from the DHCP server. Nothing special in this step. Then you save the configuration url to the snom by calling the url I showed you in my previous e-mail. This can be done using: wget, lynx, links, php, perl .. Once the phone has the configuraiton url, it then takes the settings from this url. So it is up to you to write a script that returns the correct XML. Best regards, Loïc Didelot. On Mon, 2009-06-29 at 21:40 +0200, Olivier wrote: 2009/6/29 Loic Didelot ldide...@mixvoip.com Sorry for dropping in so late, but maybe our solution do configure snom phones can help you We have written a small script that scans the network for snom phones. This is done by doing broadcast pings and using the arp-scan command and reading the arp cache. Then we filter the results on the mac addresses that start with 00:04:13. Of course there are other solutions to get the list of IP addresses of your snom phones. So, DHCP server has already replied to Snom's address request, isn't it ? Once we have a list of IP addresses we push our configuration url to the snom phones by calling a url on the phones. How do you call a url ? Is there a menu or key dedicated to that ? http://$IP/dummy.htm?settings=savesetting_server= $massdeploymenturl What happens to phones before this url is called (and after they get an address) ? Are they usable for something ? Myself, I was thinking of using a 2 steps configuration process with an IVR allowing a phone to go from Connected to Configured status. DHCP was not an option for us because we did not want to change or interfere with the customer existing network structure. Best regards, Loïc Didelot. On Thu, 2009-06-18 at 21:25 +1000, Alex Samad wrote: Hi I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options alex ___ -- 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 -- Loïc DIDELOT MIXvoip S.a. Tel: +352 20 20 Fax: +352 20 90 ldide...@mixvoip.com http://www.mixvoip.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 ___ -- 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] snom mass deploy help
I fail to see how this script is useful in order to use Snom's Plug'n'play config. Who said it does? The Topic is snom mass deploy - not Plug'n'play config. It does not use snoms Plug'n'play config, but it still provides for snom mass deploy using the phones' built-in dhcp/http mechanism. Conrad ___ -- 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] snom mass deploy help
Conrad Wood wrote: On Thu, 2009-06-18 at 14:21 +0200, Philipp Kempgen wrote: On Jun 18, 2009, at 7:25 AM, Alex Samad a...@samad.com.au wrote: I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. FWIW I use a home-grown cgi script to configure the mass-deploy. (attached) Conrad I've also been asked to start thinking about doing something similar soon and your solution looks like the sort of thing I'll have to employ. Don't really know perl but I'm sure I'll work out what's going on. Thanks for the head start. Ish -- Ishfaq Malik Software Developer PackNet Ltd Office: 0161 660 3062 ___ -- 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] snom mass deploy help
Alex Samad schrieb: On Thu, Jun 18, 2009 at 02:21:47PM +0200, Philipp Kempgen wrote: Snom supports what they call PnP config. Technically: ---cut--- # SIP Event Notification: # http://tools.ietf.org/html/rfc3265 # SIP UA Profile Event Package: # http://tools.ietf.org/html/draft-ietf-sipping-config-framework-15 # http://tools.ietf.org/html/draft-channabasappa-sipping-app-profile-type-03 # # Snom 3xx: # http://wiki.snom.com/SIP_Traces#PnP_Config # other drafts: # http://tools.ietf.org/html/draft-petrie-sip-config-framework-01 # http://www.cs.columbia.edu/sip/drafts/sip/draft-schulzrinne-sip-config-events-00.txt ---cut--- Gemeinschaft (Asterisk-based open-source PBX) comes with a SIP UA config responder. http://www.amooma.de/gemeinschaft/ https://svn.amooma.com/gemeinschaft/trunk/opt/gemeinschaft/sbin/gs-sip-ua-config-responder/gs-sip-ua-config-responder I saw links to this on the voip-info site, but my german is non existant. but on first glance through this seems to be what I want. Yeah sorry, that page is not available in English. At least the SIP traces, RFCs, drafts and the code are in English (or rather in Perl :-) Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 - http://www.amoocon.de -- ___ -- 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] snom mass deploy help
Hi I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options alex signature.asc Description: Digital signature ___ -- 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] snom mass deploy help
I thought TFTP (and therefore, DHCP option 66) is the only autoprovisioning method Asterisk supports? -- Sent from mobile device On Jun 18, 2009, at 7:25 AM, Alex Samad a...@samad.com.au wrote: Hi I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options alex ___ -- 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] snom mass deploy help
On Jun 18, 2009, at 7:25 AM, Alex Samad a...@samad.com.au wrote: I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options Alex Balashov schrieb: I thought TFTP (and therefore, DHCP option 66) is the only autoprovisioning method Asterisk supports? Asterisk is not involved here at all. Snom supports what they call PnP config. Technically: ---cut--- # SIP Event Notification: # http://tools.ietf.org/html/rfc3265 # SIP UA Profile Event Package: # http://tools.ietf.org/html/draft-ietf-sipping-config-framework-15 # http://tools.ietf.org/html/draft-channabasappa-sipping-app-profile-type-03 # # Snom 3xx: # http://wiki.snom.com/SIP_Traces#PnP_Config # other drafts: # http://tools.ietf.org/html/draft-petrie-sip-config-framework-01 # http://www.cs.columbia.edu/sip/drafts/sip/draft-schulzrinne-sip-config-events-00.txt ---cut--- Gemeinschaft (Asterisk-based open-source PBX) comes with a SIP UA config responder. http://www.amooma.de/gemeinschaft/ https://svn.amooma.com/gemeinschaft/trunk/opt/gemeinschaft/sbin/gs-sip-ua-config-responder/gs-sip-ua-config-responder GNU GPL. Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 - http://www.amoocon.de -- ___ -- 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] snom mass deploy help
On Thu, 2009-06-18 at 14:21 +0200, Philipp Kempgen wrote: On Jun 18, 2009, at 7:25 AM, Alex Samad a...@samad.com.au wrote: I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. FWIW I use a home-grown cgi script to configure the mass-deploy. (attached) Conrad snom 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] snom mass deploy help
On Thu, Jun 18, 2009 at 07:34:38AM -0400, Alex Balashov wrote: I thought TFTP (and therefore, DHCP option 66) is the only autoprovisioning method Asterisk supports? seems like the documentation from snom for V7, includes the pnp method as well. it sends a subscribe to a multicast address (224.0.1.75) and the listener is meant to respond with a notify which has the url which is normally sent my dhcp, i was hoping to use that this links talks a bit about multicast http://www.voip-info.org/wiki/view/SIP+registrar+server I think I would prefer this method, but I can't find where to set asterisk to listen to the multicast address nor where to program the notify reply Alex signature.asc Description: Digital signature ___ -- 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] snom mass deploy help
Conrad Wood schrieb: On Jun 18, 2009, at 7:25 AM, Alex Samad a...@samad.com.au wrote: I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. FWIW I use a home-grown cgi script to configure the mass-deploy. (attached) I fail to see how this script is useful in order to use Snom's Plug'n'play config. A simple factory reset should enable the pnp_config setting. Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 - http://www.amoocon.de -- ___ -- 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] snom mass deploy help
Alex Samad schrieb: seems like the documentation from snom for V7, includes the pnp method as well. it sends a subscribe to a multicast address (224.0.1.75) and the listener is meant to respond with a notify which has the url which is normally sent my dhcp, i was hoping to use that I think I would prefer this method, but I can't find where to set asterisk to listen to the multicast address nor where to program the notify reply I have already told you that Asterisk is not involved in the process of configuring the phone. In order to use Snom's PnP configuration method you have to write a daemon which opens a socket on 224.0.1.75 (sip.mcast.net), join the multicast group, read packets and send appropriate ua-profile notification events. Have a look at the code I mentioned to get the idea. Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 - http://www.amoocon.de -- ___ -- 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] snom mass deploy help
On Jun 18, 2009, at 2:57 PM, Philipp Kempgen wrote: I think I would prefer this method, but I can't find where to set asterisk to listen to the multicast address nor where to program the notify reply I have already told you that Asterisk is not involved in the process of configuring the phone. In order to use Snom's PnP configuration method you have to write a daemon which opens a socket on 224.0.1.75 (sip.mcast.net), join the multicast group, read packets and send appropriate ua-profile notification events. Have a look at the code I mentioned to get the idea. As Philipp said, you don't. However it would make a great 3rd party module that could be added to Asterisk. I use a combination of the PnP and web redirects (early V6 versions did not support the PnP, but they do automatically request a file from the DHCP web server) and MySQL databases. It is now set where we just add the MAC address to the database and plug the phone it. It auto-configures the rest (along with firmware updates). Daniel Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 - http://www.amoocon.de -- ___ -- 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] snom mass deploy help
On Thu, Jun 18, 2009 at 11:57:20PM +0200, Philipp Kempgen wrote: Alex Samad schrieb: seems like the documentation from snom for V7, includes the pnp method as well. it sends a subscribe to a multicast address (224.0.1.75) and the listener is meant to respond with a notify which has the url which is normally sent my dhcp, i was hoping to use that I think I would prefer this method, but I can't find where to set asterisk to listen to the multicast address nor where to program the notify reply I have already told you that Asterisk is not involved in the process of configuring the phone. sorry go the replies after I had sent the email In order to use Snom's PnP configuration method you have to write a daemon which opens a socket on 224.0.1.75 (sip.mcast.net), join the multicast group, read packets and send appropriate ua-profile notification events. This is not what I had hopped for, I had hoped it was something asterisk could handle Have a look at the code I mentioned to get the idea. I will have a look Philipp Kempgen -- I know what I believe. I will continue to articulate what I believe and what I believe I believe what I believe is right. - George W. Bush 07/22/2001 Rome, Italy signature.asc Description: Digital signature ___ -- 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] snom mass deploy help
On Thu, Jun 18, 2009 at 02:21:47PM +0200, Philipp Kempgen wrote: On Jun 18, 2009, at 7:25 AM, Alex Samad a...@samad.com.au wrote: I am trying to setup asterisk to do a mass deploy of some snom phones. I can't find where i configure asteriks to listen to the multicast address, nor where to set the notify reply. I was hoping to not have to use dhcp options Alex Balashov schrieb: I thought TFTP (and therefore, DHCP option 66) is the only autoprovisioning method Asterisk supports? Asterisk is not involved here at all. Snom supports what they call PnP config. Technically: ---cut--- # SIP Event Notification: # http://tools.ietf.org/html/rfc3265 # SIP UA Profile Event Package: # http://tools.ietf.org/html/draft-ietf-sipping-config-framework-15 # http://tools.ietf.org/html/draft-channabasappa-sipping-app-profile-type-03 # # Snom 3xx: # http://wiki.snom.com/SIP_Traces#PnP_Config # other drafts: # http://tools.ietf.org/html/draft-petrie-sip-config-framework-01 # http://www.cs.columbia.edu/sip/drafts/sip/draft-schulzrinne-sip-config-events-00.txt ---cut--- Gemeinschaft (Asterisk-based open-source PBX) comes with a SIP UA config responder. http://www.amooma.de/gemeinschaft/ https://svn.amooma.com/gemeinschaft/trunk/opt/gemeinschaft/sbin/gs-sip-ua-config-responder/gs-sip-ua-config-responder I saw links to this on the voip-info site, but my german is non existant. but on first glance through this seems to be what I want. GNU GPL. Philipp Kempgen -- I always jest to people, the Oval Office is the kind of place where people stand outside, they're getting ready to come in and tell me what for, and they walk in and get overwhelmed in the atmosphere, and they say, man, you're looking pretty. - George W. Bush 11/04/2004 Washington, DC signature.asc Description: Digital signature ___ -- 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