Tuesday, October 27, 2015

iTalkBB and 3CX (Or any VoIP Phone System)

iTalkBB is a commonly used Chinese VoIP supplier, they offer many products which make it very easy for overseas Customers and Businesses to get a China Phone number with ease.

iTalkBB supply a preconfigured (and locked down) Cisco SPA-3102 which has an analog line output which you simply plug into any internet connection, plug a phone in and your done!

The problem is if you want to plug that VoIP number into another phone system and utilize the connection outside of their SPA-3102. iTalkBB do not officially support alternative connection methods so the only way previously was to perform a Man-In-The-Middle (MitM) attack and snoop the Username and Password.

The issue now is iTalkBB have moved from http to https and thus securing the MitM attacks from happening, so we are no longer able to retrieve the username and password for our own use.

So while this solution is a little cumbersome it's a reliable method of handling a connection to the iTalkBB supplied box and utilizing the number from another VoIP capable phone system.
Breakdown of connectivity

Essentially we are putting a second Cisco SPA as an FXO to accept the iTalkBB signal and convert it back to digital, any FXO device will be able to do this.

(If you are using this with direct 3CX or another VoIP Phone system, the '3CX SBC' would be removed from the diagram)

Configuration of the iTalkBB SPA-3102 is locked, so we will need to configure the SPA-232D to take the ring type, hang up tones and line voltage the SPA-3102 delivers.

I personally use the 'Internet' port of the SPA-232D when installing into any network, this ensures there is no chance the DHCP server on the 232D can affect your local network, the only draw back is you need to manually enable the Web Admin from WAN Port in the settings first, this is done by plugging into the 232D on the Ethernet port, you should get an IP in the 192.168.15.x range; then visit the SPA-232D's default webpage on http://192.168.15.1 , login as admin

Start by logging into your SPA-232D as admin (default password: admin) and navigating to the Administration Tab.

You are required to change the Admin password to something other than defaults to enable the Web Access, so click on 'User List' on the left and modifying the password.


Now navigate to 'Web Access Management' also in Administration and click on the 'Enable' radio button (It's worth also clicking 'Enable' to the Remote Upgrade radio button at the same time, as you are unable to modify this option when logged in from the WAN interface.

Now you can plug the Ethernet into the 'Internet' port and manage it.

(Note: If you want your device to have a static IP on the WAN port, navigate to 'Network Setup' and 'Internet Settings' now and set the IP).

Now that the Cisco SPA-232D is on the network and ready to be configured we can navigate to the 'Voice' tab and down to 'Line 1' and change it to 'Line Enable: No' so that only the PSTN port is active.


Then we can move to the 'PSTN' section and begin configuring the PSTN line for SIP and PSTN settings.

At this point you will want to configure your phone system for a PSTN Gateway so you have some authentication details to use; if you're using 3CX navigate to 'PSTN Gateways' and setup a generic gateway device. If you are using this via an SBC enter the Static IP you set on the SPA-232D (Even though its on a different network the SBC will take care of that). Take note of the Gateway Port as well, Linksys/Cisco SPA-3102 would use 5062 as a default, we can set that here and in the SPA-232D.

Now back to the SPA-232D


Make sure 'PSTN Line Enable' is set to Yes and the SIP Port is 5062 as we setup in 3CX (Set to something different if your Phonesystem wanted something different)


Now set your Proxy (Phone system IP/FQDN and Port)
(If using an SBC). Enable 'Use Outbound Proxy' and 'Use OB Proxy in Dialog'

In Subscriber Information leave the Display Name and enter your credentials you created earlier in the Auth ID, User ID and Password, and set 'Use Auth ID' to yes.

In the Dial Plans section, set the “Dial Plan 8″ field to “(S0<:yyyy>)” where yyyy must be replaced with the ID that you entered for the line in the 3CX Phone System Management Console. For example, if the ID used was “10700″, the “Dial Plan 8″ field must be set to “(S0<:10700>)”.

In the VoIP-To-PSTN Gateway setup section:
a. Set the 'VoIP-To-PSTN Gateway Enable' field to 'yes'.
b. Set the 'VoIP Caller Auth Method' field to 'none'.
c. Set the 'One Stage Dialling' field to 'yes'.
d. Set the 'Line 1 VoIP Caller DP' to '8'.

In the PSTN-To-VoIP Gateway Setup section:
a. Set the 'PSTN-To-VoIP Gateway Enable' field to 'yes'.
b. Set the 'PSTN Caller Auth Method' field to 'none'.
c. Set the 'PSTN Caller Default DP' field to '8″.
d. Set the 'PSTN CID for VOIP CID' field to 'yes'.
e. Set the 'PSTN Caller ID Pattern' field to '*'. Note that in some geographical areas, this may cause incoming calls to fail, because the device incorrectly interprets the CallerID format. If this is the case, you may need to disable CallerID parsing by setting this field to empty.

By default, the SPA-232D will wait for 16 seconds before delivering a call to a SIP device. To change this, go to the 'FXO Timer Values (sec)' section, and change the 'PSTN Answer Delay' field to 0. This will set the gateway to answer calls immediately.

Set your 'FXO Country Setting' to your Country that the iTalkBB was shipped to,

Lastly because this is plugged into an SPA-3102 the line voltage is much lower than your carrier's PSTN network, so we need to drop the 'Line-In-Use Voltage' down to be below the SPA-3102's ~28v, so change this to '18'

Now click 'Submit' and the SPA-232D should restart, register against 3CX and be available for receiving and making calls!

Now maybe one day iTalkBB will sell a direct SIP service and we can skip this whole mess!

10 comments:

Liang said...

hi shawn, i am also trying to figure out how to crack italkbb, and I am successfully retrieve the configuration file with user name password, i am not sure if you know how to setup sip connection to the italkbb server, or if you have expertise,

jason said...
This comment has been removed by the author.
Christy Bach said...

Today, VoIP is available not only for enterprise level, but also to small businesses too. The number of technology users is growing steadily, due to its obvious economic and organizational benefits. Thanks for the article, it is very informative. https://freeje.com/

Natasha said...

A great article! VoIP technology is one of the greatest offerings for businesses. I am highly impressed with the offerings and the capabilities of these systems and I definitely recommend them to other businesses. We custom built our system using virtual phone numbers from Global Call Forwarding . These are all cloud based and they come with a range of features to enhance their performance. The automation is fantastic.

Backlinks said...

Thanks for sharing article like this.
The way you have stated everything above is quite awesome.
My suggestion is go for the best voip phone providers for your businesses.
Award winning cloud-based VoIP Service providers in Bangalore & Hyderabad, India.
No Setup Fees,
No Contracts,
No Expensive Maintenance.

Big Bull said...

@leadsupplier --- Te.le Gr-am
@killhacks --- Tele-gram/I.C.Q
peeterhacks --- W.ickr/Skype

S-MTP's/R.D.P's/C-Panels
She-lls/Mailer-s/Web-Mailers
SMS-Sender/SMS-Spoofer/SMS-Bomber
Kali-Linux-Master-Class Full-Package
D**K/D**P Web Course-&-Valid Links
Fr**D Bi**e 2021/2022
C-ombos/L-ogs/E-mails Leads
Pay-Pal Log-ins/Office-365 Logins
R.A.T's/Vi-ruses/Key-Loggers
B.T.C-Cracker/F-lasher
I.P's/P-roxies/V.P.N's
Server-I.P's/Penetration
SQL.I-Injector
FB/WA-Hacking Complete-Guide

Dead-Fullz
SSN-DOB-DL FULLZ
CC-Fullz With SSN-Info
High-Credit Scores Fullz (700+)
Business E.I.N-Fullz
Dumps With Pin Codes

Packages Also Available for:
Hack-ing, Spamming, Carding, Spying
All tools & Tutorials included in package
Fresh & Valid Stuff

dasscom said...

The Dasscom DMG E1 Series Gateway is a part of the Dasscom VoIP gateway family, which helps businesses and service providers get the most out of their networks and services. The company is at gem for providing the best quality voip gateways in India using its own modern manufacturing technique.

wfhubiqcomseo said...

Choosing a Single Band Router it's important to consider the size of your home and the number of devices you'll be connecting to the network. If you have a small home and only a few devices, a single band router should suffice. Get the best quality Single Band Router rom UBIQCOM at affordable price.

dasscom said...

The Dasscom wireless GSM Gateway is one of the best VoIP gateways in India and the most recent member of the DXG Series voip gateways in India . It may successfully bridge wireless networks and IP networks depending on the high-demanding user requirements.

Zab said...

This blog post sheds light on a common VoIP supplier, iTalkBB, and their ease of getting a China phone number. It's great to know about their preconfigured Cisco SPA-3102. However, it's interesting to see that they don't officially support alternative connections. This makes me wonder if there are any recommended VoIP quotations or providers that can seamlessly integrate with various phone systems. Any insights on this topic would be highly appreciated!