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

Re: SCM PnP XML file examples
simian123 #633916 11/28/19 04:25 AM
Joined: Jun 2006
Posts: 2,801
Moderator-Samsung
*****
Offline
Moderator-Samsung
*****
Joined: Jun 2006
Posts: 2,801
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
nameless #633917 11/28/19 04:46 AM
Joined: Nov 2019
Posts: 12
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
simian123 #633923 11/29/19 12:21 AM
Joined: Nov 2019
Posts: 12
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
simian123 #633991 12/04/19 03:18 AM
Joined: Nov 2019
Posts: 12
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
simian123 #633999 12/05/19 03:33 AM
Joined: Nov 2019
Posts: 12
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
simian123 #634017 12/06/19 04:17 AM
Joined: Nov 2019
Posts: 12
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
simian123 #634086 12/12/19 04:48 AM
Joined: Nov 2019
Posts: 12
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
simian123 #634099 12/12/19 10:53 PM
Joined: Feb 2019
Posts: 6
Member
Offline
Member
Joined: Feb 2019
Posts: 6
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
FoneJacker #634103 12/13/19 02:29 AM
Joined: Nov 2019
Posts: 12
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 

Link Copied to Clipboard
Forum Search
Most Recent 5 Post
Common audible ringing question
by morephones - 08/12/20 07:03 AM
Remote ipoffice phone
by High Mesa Communications - 08/11/20 06:33 PM
Appear to be locked out via DM access
by Dave_R - 08/11/20 06:29 PM
SV 8100 with Desiless phones
by teldata1 - 08/11/20 02:16 PM
Vertical Summit VS-5001 Headset randomly quit working
by crazysupratt - 08/10/20 11:09 PM
Who's Online Now
30 members (tito1411, BobRobert, High Mesa Communications, Ruben, mongo5150, Touch Tone Tommy, morephones, metelcom, Noobed2336, nortelvoip, RATHER BE FISHING, OBT, dexman, hrq, JBean3329, phonman123, Carl Navarro, DonaldR, infinito, Skunky, Bob3470, EV607797, ChrisRR, cswroe, Professor Shadow, hbiss, Yoda, Arthur P. Bloom, paulw, ugly1), 497 guests, and 119 robots.
Key: Admin, Global Mod, Mod
Popular Topics (Views)
Forum Statistics
Forums94
Topics93,871
Posts636,792
Members49,329
Most Online5,661
May 23rd, 2018
Today's Birthdays
BizTelNancy, djboston, dougtech, girlie girl, Jack Damage, SwedaGuy, SynapticSystems, tkalfaoglu
Newest Members
gertter, bmerri19, Henry VIII, jmontler, barryv
49329 Registered Users
Get Tech Support Now! Click the banner below
Get Tech Support Now!
EMP & Lightning Home Surge Protection
EMP - Click Here!
Top Posters (30 Days)
dexman 43
Ruben 20
DonaldR 19
hbiss 17
Bluewater Sailing
https://www.patreon.com/bePatron?u=5256033
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