Got it

Configure VoIP via FTP

Created: Nov 12, 2016 16:26:29Latest reply: Sep 19, 2019 13:29:49 3091 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)
I'm having troubles configuring VoIP provisioning via FTP

MA5680T(config-if-gpon-0/1)#display ont info 1 2
-----------------------------------------------------------------------------
F/S/P : 0/1/1
ONT-ID : 2
Control flag : active
Run state : online
Config state : normal
Match state : match
DBA type : SR
ONT distance(m) : 101
ONT battery state : not support
Memory occupation : 78%
CPU occupation : 1%
Temperature : 50(C)
Authentic type : SN-auth
SN : 48575443498##### (HWTC-498#####)
Management mode : OMCI
Software work mode : normal
Isolation state : normal
ONT IP 0 address/mask : 10.3.16.4/24
Description : voip2test
Last down cause : dying-gasp
Last up time : 2016-11-12 08:05+01:00
Last down time : 2016-11-12 08:05+01:00
Last dying gasp time : 2016-11-12 08:05+01:00
ONT online duration : 0 day(s), 0 hour(s), 44 minute(s), 30 second(s)
Type C support : Not support
Interoperability-mode : ITU-T
-----------------------------------------------------------------------------
VoIP configure method : FTP
FTP server profile ID : 2
FTP server profile name : ftp-profile_2
FTP filename : voip2test.xml
FTP full path : ftp://gponusers:******@10.7.6.111:21/
voip2test.xml
-----------------------------------------------------------------------------
Line profile ID : 5
Line profile name : br-VoIP
-----------------------------------------------------------------------------
FEC upstream switch :Disable
OMCC encrypt switch :Off
Qos mode :PQ
Mapping mode :VLAN
TR069 management :Enable
TR069 IP index :0
-----------------------------------------------------------------------------
Notes: * indicates Discrete TCONT(TCONT Unbound)
-----------------------------------------------------------------------------
<T-CONT 0> DBA Profile-ID:1
<T-CONT 4> DBA Profile-ID:10
<Gem Index 3>
--------------------------------------------------------------------
|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |
|Upstream-priority-queue:0 |Downstream-priority-queue:- |
--------------------------------------------------------------------
Mapping VLAN Priority Port Port Bundle Flow Transparent
index type ID ID CAR
--------------------------------------------------------------------
0 10 - - - - - -
--------------------------------------------------------------------
<Gem Index 4>
--------------------------------------------------------------------
|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |
|Upstream-priority-queue:0 |Downstream-priority-queue:- |
--------------------------------------------------------------------
Mapping VLAN Priority Port Port Bundle Flow Transparent
index type ID ID CAR
--------------------------------------------------------------------
1 1118 - - - - - -
--------------------------------------------------------------------
-----------------------------------------------------------------------------
Notes: Run the display traffic table ip command to query
traffic table configuration
-----------------------------------------------------------------------------
Service profile ID : 5
Service profile name : br-VoIP
-----------------------------------------------------------------------------
Port-type Port-number
-----------------------------------------------------------------------------
POTS 1
ETH 1
VDSL 0
TDM 0
MOCA 0
CATV 0
-----------------------------------------------------------------------------
TDM port type : E1
TDM service type : TDMoGem
MAC learning function switch : Enable
ONT transparent function switch : Disable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring detect frequency : 8 (pps)
Ring resume interval : 300 (s)
Multicast forward mode : Unconcern
Multicast forward VLAN : -
Multicast mode : Unconcern
Upstream IGMP packet forward mode : Unconcern
Upstream IGMP packet forward VLAN : -
Upstream IGMP packet priority : -
Native VLAN option : Concern
Upstream PQ color policy : -

As you can see in config, ont has ftp-server-profile configured, IP address of server is correct and reachable from OLT, filename is correct and file exists, username and password are correct, but when I try "ont voip ftp-trigger 1 2" nothing happens and in VoIP status I get:
MA5680T(config-if-gpon-0/1)#display ont voip state 1 2
--------------------------------------------------------------------------
F/S/P : 0/1/1
ONT-ID : 2
Config state : Inactive
Profile version : 00000000
FTP config result: -
--------------------------------------------------------------------------
Also, on my FTP server I don't see any connection attempts from OLT.
Why is config state "Inactive", how do I activate it and how do I push XML config file to ONT?

Featured Answers

Recommended answer

GongXiaochuan
Created Oct 23, 2018 07:02:54

This post was last edited by GongXiaochuan at 2018-10-27 03:41.

for example:


【1】  in the ont line-profile enable the TR069 management 

10.167.223.48(config)#display ont-lineprofile gpon profile-id 900              

  -----------------------------------------------------------------------------

  Profile-ID          :900                                                     

  Profile-name        :line-profile_900                                        

  Access-type         :GPON                                                    

  -----------------------------------------------------------------------------

  FEC upstream switch :Disable                                                 

  OMCC encrypt switch :Off                                                     

  Qos mode            :PQ                                                       

  Mapping mode        :VLAN                                                    

  TR069 management    :Enable                                                  

  TR069 IP index      :0     

2in OLT configure the service-profile for FTP

   10.167.223.48(config)# ont ftp-server-profile profile-id 1 address ftp://172.23.100.1 port 21

 user abc 123                                                                                                                   

    

                                                                               

10.167.223.48(config)#display ont ftp-server-profile profile-id 1              

  -----------------------------------------------------------------------      

  Profile ID               :1                                                  

  Profile name             :ftp-profile_1                                      

  -----------------------------------------------------------------------      

  Address                  :ftp://172.23.100.1                                 

  Port                     :21                                                 

  User Name                :abc                                                

  User Password            :123                                                

  -----------------------------------------------------------------------      

  Binding Times            :0                                                  

  -------------------------------------------------------

3configuration the ONT wan info, make sure communication between ONT and FTP server is OK


10.167.223.48(config-if-gpon-0/7)#ont ipconfig  0 16                           

{ dhcp<K>|dscp-mapping-table<K>|ip-index<K>|pppoe<K>|static<K> }:dhcp vlan  45 p

riority 5                                                                       

                                                                               

  Command:                                                                     

          ont ipconfig  0 16 dhcp vlan  45 priority 5                          

                                                                                                                         

                                                                               

10.167.223.48(config-if-gpon-0/7)#display ont ipconfig 0 16                    

  --------------------------------------------------------------------         

  ONT IP host index        : 0                                                 

  ONT config type          : DHCP                                              

  ONT IP                   : 20.1.110.199                                      

  ONT subnet mask          : 255.255.255.0                                     

  ONT gateway              : 20.1.110.254                                      

  ONT primary DNS          : 10.11.10.1                                        

  ONT slave DNS            : 10.11.11.1                                        

  ONT MAC                  : 0011-2233-1244                                    

  ONT manage VLAN          : 45                                                

  ONT manage priority      : 5                                                 

  Dscp mapping table index : 0                                                 

  ------------------------------------

 

4configure the VOIP using FTP        

                                                                  

10.167.223.48(config-if-gpon-0/7)# ont  voip config-method 0 16 ftp                                                                                                                                                                                                                         

10.167.223.48(config-if-gpon-0/7)#ont voip ftp-file 0 16 profile-id 1 

10.167.223.48(config-if-gpon-0/7)# ont voip ftp-file 0 16 filename fttestwhx.xml 

10.167.223.48(config-if-gpon-0/7)#display ont info 0 16                        

                                         

  -----------------------------------------------------------------------------

  VoIP configure method   : FTP                                                

  FTP server profile ID   : 1                                                   

  FTP server profile name : ftp-profile_1                                      

  FTP filename            : fttestwhx.xml                                      

  FTP full path           : ftp://abc:123@172.23.100.1:21/fttestwhx.           

                            xml                                                

  -----------------------------------------------------------------------------

  Line profile ID      : 900    

       

5check on the server have this file 


Configure VoIP via FTP-2783595-1 


server open the TFTP protocol ,

Configure VoIP via FTP-2783595-2


6trigger the XML to be sending

10.167.223.48(config-if-gpon-0/7)#  ont voip ftp-trigger 0 16 


7check the XML sending status 

10.167.223.48(config-if-gpon-0/7)#display ont voip state 0 16                  

  --------------------------------------------------------------------------   

   F/S/P            : 0/7/0                                                    

   ONT-ID           : 16                                                       

   Config state     : Active                                                   

   Profile version  : a7feca2                                                  

   FTP config result: The ONT configuration is successful                      

  --------------------------------------------------------------------------   

                                                                            

View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

All Answers
waiting for expert to solve this problem
View more
  • x
  • convention:

This post was last edited by GongXiaochuan at 2018-10-27 03:41.

for example:


【1】  in the ont line-profile enable the TR069 management 

10.167.223.48(config)#display ont-lineprofile gpon profile-id 900              

  -----------------------------------------------------------------------------

  Profile-ID          :900                                                     

  Profile-name        :line-profile_900                                        

  Access-type         :GPON                                                    

  -----------------------------------------------------------------------------

  FEC upstream switch :Disable                                                 

  OMCC encrypt switch :Off                                                     

  Qos mode            :PQ                                                       

  Mapping mode        :VLAN                                                    

  TR069 management    :Enable                                                  

  TR069 IP index      :0     

2in OLT configure the service-profile for FTP

   10.167.223.48(config)# ont ftp-server-profile profile-id 1 address ftp://172.23.100.1 port 21

 user abc 123                                                                                                                   

    

                                                                               

10.167.223.48(config)#display ont ftp-server-profile profile-id 1              

  -----------------------------------------------------------------------      

  Profile ID               :1                                                  

  Profile name             :ftp-profile_1                                      

  -----------------------------------------------------------------------      

  Address                  :ftp://172.23.100.1                                 

  Port                     :21                                                 

  User Name                :abc                                                

  User Password            :123                                                

  -----------------------------------------------------------------------      

  Binding Times            :0                                                  

  -------------------------------------------------------

3configuration the ONT wan info, make sure communication between ONT and FTP server is OK


10.167.223.48(config-if-gpon-0/7)#ont ipconfig  0 16                           

{ dhcp<K>|dscp-mapping-table<K>|ip-index<K>|pppoe<K>|static<K> }:dhcp vlan  45 p

riority 5                                                                       

                                                                               

  Command:                                                                     

          ont ipconfig  0 16 dhcp vlan  45 priority 5                          

                                                                                                                         

                                                                               

10.167.223.48(config-if-gpon-0/7)#display ont ipconfig 0 16                    

  --------------------------------------------------------------------         

  ONT IP host index        : 0                                                 

  ONT config type          : DHCP                                              

  ONT IP                   : 20.1.110.199                                      

  ONT subnet mask          : 255.255.255.0                                     

  ONT gateway              : 20.1.110.254                                      

  ONT primary DNS          : 10.11.10.1                                        

  ONT slave DNS            : 10.11.11.1                                        

  ONT MAC                  : 0011-2233-1244                                    

  ONT manage VLAN          : 45                                                

  ONT manage priority      : 5                                                 

  Dscp mapping table index : 0                                                 

  ------------------------------------

 

4configure the VOIP using FTP        

                                                                  

10.167.223.48(config-if-gpon-0/7)# ont  voip config-method 0 16 ftp                                                                                                                                                                                                                         

10.167.223.48(config-if-gpon-0/7)#ont voip ftp-file 0 16 profile-id 1 

10.167.223.48(config-if-gpon-0/7)# ont voip ftp-file 0 16 filename fttestwhx.xml 

10.167.223.48(config-if-gpon-0/7)#display ont info 0 16                        

                                         

  -----------------------------------------------------------------------------

  VoIP configure method   : FTP                                                

  FTP server profile ID   : 1                                                   

  FTP server profile name : ftp-profile_1                                      

  FTP filename            : fttestwhx.xml                                      

  FTP full path           : ftp://abc:123@172.23.100.1:21/fttestwhx.           

                            xml                                                

  -----------------------------------------------------------------------------

  Line profile ID      : 900    

       

5check on the server have this file 


Configure VoIP via FTP-2783595-1 


server open the TFTP protocol ,

Configure VoIP via FTP-2783595-2


6trigger the XML to be sending

10.167.223.48(config-if-gpon-0/7)#  ont voip ftp-trigger 0 16 


7check the XML sending status 

10.167.223.48(config-if-gpon-0/7)#display ont voip state 0 16                  

  --------------------------------------------------------------------------   

   F/S/P            : 0/7/0                                                    

   ONT-ID           : 16                                                       

   Config state     : Active                                                   

   Profile version  : a7feca2                                                  

   FTP config result: The ONT configuration is successful                      

  --------------------------------------------------------------------------   

                                                                            

View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

thanks you so much
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.