Phone Systems

Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#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.

EMP & Lightning Home Surge Protection
EMP - Click Here!
Joined: Jun 2006
Posts: 2,842
Moderator-Samsung
*****
Offline
Moderator-Samsung
*****
Joined: Jun 2006
Posts: 2,842
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.

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.

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.

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.

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.

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.

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.

Joined: Feb 2019
Posts: 14
Member
Offline
Member
Joined: Feb 2019
Posts: 14
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?

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
Most Recent 5 Post
iwatsu adix remote programming
by sketchypro - 01/19/21 03:47 PM
7400 Reboot problem
by Bushmills - 01/18/21 06:32 PM
multiple voice mail cards in one system
by sketchypro - 01/18/21 12:43 PM
3rd party SIP clients
by Hofman telekom - 01/18/21 11:38 AM
Who's Online Now
22 members (Curlycord, JBean3329, sketchypro, BobRobert, metelcom, MooreTel, Carl Navarro, Skunky, sundance, justbill, nortelvoip, RATHER BE FISHING, dexman, Bob3470, Yoda, Telephonemaven, dukane123, hitechcomm, Professor Shadow, morephones, Mercenary Roadie, usbuild), 231 guests, and 47 robots.
Key: Admin, Global Mod, Mod
Popular Topics (Views)
Forum Statistics
Forums94
Topics94,184
Posts638,566
Members49,398
Most Online5,661
May 23rd, 2018
Today's Birthdays
Darla, tctchief, zsmilessss
Newest Members
FixYaBrokeStuff, Hopedpocketts, JoeMiller, Ricardo, Radioactive64
49,398 Registered Users
Get Tech Support Now! Click the banner below
Get Tech Support Now!
Top Posters (30 Days)
dexman 35
Yoda 20
Bluewater Sailing
https://www.patreon.com/bePatron?u=5256033
EMP Shield for Commercial - Home & Vehicle
Use Coupon code SAVE - Click Here!
Sold AD
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-2021
Trusted Partners