Configure EPON home gateway to access China Telecom's telephone exchange IP network

The convergence of telecommunications networks, radio and television networks, and the Internet is an industry trend and a national industrial policy vigorously pursued by the State Council. China Telecom is in the process of migrating the PSTN telephone network to the IP network. In the first half of the year, after a (perhaps a planned) failure occurred in my home phone, the telecommunications maintenance staff migrated my home phone from the twisted pair to the optical fiber. The passive optical fiber network "EPON upstream e8-C home gateway" (hereinafter referred to as the optical cat or EPON gateway) provides two RJ11 interfaces to adapt to the old telephone. Looking at the management interface, you can find that it is connected to the IP phone network through the SIP protocol. In this case, if we can access the telecommunications IP phone network through its LAN port, we should be able to make calls using the SIP protocol, and even implement local area network soft switching.

 

1. Query SIP account information

The password for the Supercom telecomadmin of Light Cat can be obtained from the maintenance personnel, and some models can even be found on the telnet terminal. Use a browser to open the management interface <http://192.168.1.1>, log in to the telecomadmin account, and download the configuration file in XML format, <http://192.168.1.1/backupsettings.conf>. The SIP user name and password appear in the following sections:

 <SIP>
 <AuthUserName>[email protected]</AuthUserName>
 <AuthPassword>XXXXXXXXXXXX</AuthPassword>
 <URI>+8621XXXXXXXX</URI>
 </SIP>

Among them, AuthUserName is the SIP user name, AuthPassword is the SIP authentication password encoded by Base64. We can decode in the Linux operating system or Git Bash usage environment:

$ echo XXXXXXXXXXXX | base64 -d

The host name of the SIP proxy server can be found directly from the " Application / Broadband Phone Settings " page of the Light Cat management interface .

Second, configure the EPON gateway

The EPON gateway presets a WAN connection for remote maintenance and access to the IP telephone switching network, but this WAN connection LAN client is unavailable and users are not allowed to modify or delete it. In order to use SIP phones on the local area network, we must create a new WAN connection. Open the " Network / Broadband Settings " page on the Optical Cat Management interface , and in the " Connection Name " drop-down box, click " Add WAN Connection ".

create_wan_connection

Then, enter the following configuration information:

  • Mode : Route
  • Enable VLAN : check
  • Vlan ID: 46
  • Service mode : VOICE_INTERNET

wan_connection_details

After clicking the " Save / Apply " button at the end of the page , Guangmao will create a new WAN connection named 1_VOICE_INTERNET_R_VID_46. You can see its network interface name (epon0.4) and IP address information on the " Status / Network Side Information " page.new-wan-connected

3. Disable phone line registration of EPON gateway

Because the SIP proxy server at the central office only allows one account to register with one client at the same time, before using SIP to make a call, we must disable the registration of the phone line of Light Cat. At the bottom of the " Apps / Broadband Phone Settings / Broadband Phone Basic Settings " page, cancel the activation of Line 1, and then click the " Save / Apply " button.

broadband-phone-basic-settings

Fourth, configure the SIP soft phone program

After testing, I found that MicroSIP is perfectly compatible with the local SIP proxy server. Its configuration interface is very simple (see figure below).

microsip-account1

After installing MicroSIP and creating an account, you can make or receive calls through it.

microsip-incoming-call1

Published 57 original articles · won praise 0 · Views 2176

Guess you like

Origin blog.csdn.net/zhidc/article/details/105329023