Phone Systems


Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
SCM PnP XML file examples #633915 11/28/19 04:17 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
Hi,

Currently experimenting with the use of SMT i series handsets running SCM firmware to connect to alternative VOIP systems (asterisk, etc)

We have a bunch of SMT handsets left over from an outgoing OfficeServ setup that will continue to be used, if possible.

I'm trying to "roll my own" PnP/DHCP/TFTP solution to get these handsets auto-configuring and registering to a new PBX, or whichever VOIP system I configure, so phone-by-phone manual setup can be avoided if possible. The ability to set station keys and AoM buttons would be a bonus.

The SCM firmware handsets run through a bootup sequence that requests a number of XML files over TFTP/HTTP from the SCM system.

Having an example of the files would be super helpful. Does anyone have an SCM system in a lab enviro where they'd be happy to send me a copy of these XML files?

The phones request the following files:

via TFTP:

sec_boot.xml

and via HTTP:

/sec_mac/sec_{mac}.xml
/scm_profile/sec_phone.xml
/scm_profile/sec_user_{id}.xml
/scm_profile/sec_line_{group_line}.xml
/scm_profile/sec_service_{group}.xml

/scm_profile/sec_key_xxxxxxxx.xml

Your help would be very much appreciated. Of course, happy to post results of experimentation back here for everyone to enjoy.

Thanks.

Samsung Telephones and Equipment
Re: SCM PnP XML file examples [Re: simian123] #633916 11/28/19 04:25 AM
Joined: Jun 2006
Posts: 2,749
nameless Offline
Moderator-Samsung
*****
Offline
Moderator-Samsung
*****
Joined: Jun 2006
Posts: 2,749
First thing is you'll need to flash the scm firmware to the handsets. This is done automatically when the handsets first connect to a scm system, but can be done manually.

Re: SCM PnP XML file examples [Re: nameless] #633917 11/28/19 04:46 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
Yep. Have the SCM firmware. Happy to do this manually, but also keen to investigate how to ape the SCM auto-update procedure as well.

Re: SCM PnP XML file examples [Re: simian123] #633923 11/29/19 12:21 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
What I don't have is an SCM - just a retiring OfficeServ.

Re: SCM PnP XML file examples [Re: simian123] #633991 12/04/19 03:18 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
An update:

I acquired a copy of SCM firmware for an IPX300B unit. I unpacked it and had a dig around. Found a script in there called: samsung_config_generator.sh which takes a CSV file and puts out the sec_{mac}.xml files I asked about in my original post.

Funnily enough, the file is written by someone at Grandstream Networks, and the file it produces is the same format (matching P values and all) as the XML provisioning done by Grandstream SIP devices.

I've done some XML provisioning of Grandstream devices before, so I'll have a go at sending a file to one of my SMT-i3105 handsets via its PnP process and see what happens.

Will report back with results.

Re: SCM PnP XML file examples [Re: simian123] #633999 12/05/19 03:33 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
Red Herring, I think.

Interesting that the file is there, but my phone seemed to ignore its contents so I am assuming for now it's not related.

I'll keep looking.

Re: SCM PnP XML file examples [Re: simian123] #634017 12/06/19 04:17 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
sec_<phonemac>.xml file:

Code
<?xml version="1.0"?>
<MacProfile>
  <login_info id="2953" password ="34343"></login_info>
</MacProfile>


The phone then immediately requests /scm_profile/sec_user_2953.xml from the HTTP server. Filename is of course determined by the login_info text node in the previous file.

Reverse engineering the format of the sec_user_<userid>.xml file is proving difficult.

Re: SCM PnP XML file examples [Re: simian123] #634086 12/12/19 04:48 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
Code
<?xml version="1.0"?>
<UserProfile>
	<registrar>
		<server_1 addr="serveraddress" protocol="sip" port="5060" />
	</registrar>
</UserProfile>


saved as /scm_profile/sec_user_EXT#.xml gets me as far as "Connecting Server..." on the handset.

If someone could provide an example (sanitised for your security of course) of a sec_user file from an SCM or iBG system we might be able to push this further along an hopefully document the SMT-i series autoprovisioning process.

Without knowing more about the expected internals of this XML file, I will probably leave it there.

Re: SCM PnP XML file examples [Re: simian123] #634099 12/12/19 10:53 PM
Joined: Feb 2019
Posts: 3
FoneJacker Offline
Member
Offline
Member
Joined: Feb 2019
Posts: 3
Have you tried installing the SCME software on an old PC? Its an ISO you can burn it to a DVD and install the system. Its linux based and might provide what you need?

Re: SCM PnP XML file examples [Re: FoneJacker] #634103 12/13/19 02:29 AM
Joined: Nov 2019
Posts: 12
simian123 Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 12
No, I haven't. The SCM software I managed to get hold of is I think a package for SCMC - yes it's linux, but it's compiled for an ARM processor and won't go on a PC.

Certainly the executable I decompiled to get as far as I have was compiled for ARM anyway, and as far as I can tell it's the only executable or script I found in the system that writes to those files. All others are concerned with reading them, or scripts to delete them.

I'll scrounge around and see if I can obtain an SCME image somewhere.

Thanks for the info. smile

Page 1 of 2 1 2

Moderated by  Genesiscomm, nameless, pvj 

ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Most Recent 5 Post
Strata DK40i All page internal external
by Biztel Cuban Okie Tech - 01/16/20 08:24 PM
7100 - how to assign extensions to new 4DLM card?
by Hilltop - 01/16/20 10:20 AM
SL1000 Reset Port
by obs_cy - 01/16/20 08:18 AM
nortel page amp squeal
by davetel - 01/16/20 12:24 AM
Who's Online Now
18 registered members (R4+Z, OBT, EV607797, 1864, dexman, pdxjim911, RATHER BE FISHING, Mercenary Roadie, justbill, jeffmoss26, Bob3470, BobRobert, KRRath, hitechcomm, metelcom, davetel, ChrisRR, Professor Shadow), 276 guests, and 142 spiders.
Key: Admin, Global Mod, Mod
Popular Topics(Views)
Forum Statistics
Forums65
Topics93,210
Posts633,725
Members49,212
Most Online5,661
May 23rd, 2018
Today's Birthdays
dfaulk3, jjmaly, KX-T308, kx-tvm, rfgary, tapy17
NEC DX-40 PKG $299 $50 off with purchase of a NEC PKG when you use PayPal at checkout! Code $50off$PayPal
NEC DX-40 PKG $249
EMP & Lightning Home Surge Protection
EMP - Click Here!
Top Posters(30 Days)
dexman 26
Ruben 22
pvj 16
RESPONSIVE WEBSITE DEVELOPMENT
Bluewater Sailing
Become a Patron! https://www.patreon.com/bePatron?u=5256033
Buy one Get one FREE when you use PayPal at checkout! Code T28P
Yealink $39.95 Buy one Get one FREE when you use PayPal on checkout! Code T28P
EMP Shield for Commercial - Home & Vehicle
Use Coupon code SAVE - Click Here!
Servpro Ventura 24-Hour Emergency Service
Free Estimates call us now 24Hours
Contact Us | Telephone System Tech Support | Terms of Service

Sundance Communications is not affiliated with any of the above manufacturers.
©Copyright Sundance Communications 1998-2020
Trusted Partners