huawei(config-if-sip-0)#reset
  Are you sure to reset the SIP interface?(y/n)[n]:y
huawei(config-if-sip-0)#quit
Step 6 Query the running status of the SIP interface.
After the SIP interface is interconnected with the IMS, the SIP interface should be in the normal
state, indicating that the SIP interface can work in the normal state.
huawei>display if-sip all 
------------------------------------------------------------                  
  MGID                                 0                                        
  Transfer Mode                        UDP                                      
  State                                Normal                                   
  Signalling IP                        192.168.0.170                            
  Signalling Port                      5068                                     
  Primary Proxy IP 1/DomainName        192.168.0.171                            
  Primary Proxy Port                   5060                                     
  Primary Proxy State                  Up                                  
  Secondary Proxy IP 1/DomainName      192.168.0.172                            
  Secondary Proxy Port                 5061                                     
  Secondary Proxy State                Up                                  
  Current Proxy                        Primary Proxy                             
------------------------------------------------------------
Step 7 Configure the PSTN subscriber data.
1. Configure the PSTN user data (Phone 0-Phone 63) in slot 0/2.
huawei(config)#esl user
huawei(config-esl-user)#sippstnuser batadd 0/2/0 0/2/63 0 telno 83110000
2. Configure the calling priority of the PSTN user in port 0/2/0 as Cat2.
huawei(config-esl-user)#sippstnuser attribute set 0/2/0 priority cat2
3. Configure the PSTN user data (Phone 64-Phone 127) in slot 0/3.
huawei(config-esl-user)#sippstnuser batadd 0/3/0 0/3/63 0 telno 88110000
4. Configure the authentication data of the PSTN user in port 0/2/0.
huawei(config-esl-user)#sippstnuser auth set 0/2/0 telno 83110000 password-
mode password
  User Name(<=64 characters, "-" indicates deletion):user83110000
  User Password(<=64 characters, "-" indicates deletion):    //Input the 
password pwd8311000
NOTE
Considering users safety, the IMS may require user authentication. You can run the sippstnuser auth set
command to configure the user authentication data, including user name, password mode and password.
The authentication data should be consistent with that of IMS side.
5. Configure the PSTN user type in slot 0/3.
huawei(config-esl-user)#sippstnuser attribute batset 0/3/0 0/3/63 potslinetype 
PayPhone
huawei(config-esl-user)#quit
Step 8 Configure the PSTN port attributes.
Configure the PSTN port in slot 0/3 so that the port supports the polarity reversal.
huawei(config)#pstnport
huawei(config-pstnport)#pstnport attribute batset 0/3/0 0/3/63 reverse-pole-pulse 
enable 
huawei(config-pstnport)#quit
Step 9 Save the data.
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
3 Configuring the DSLAM Services
Issue 01 (2014-04-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
321