Configuring an H.248 AG Interface
You can configure an H.248 AG interface to connect H.248 AG users to the softswitch for voice, data, and multimedia services.
Context
If users want to connect to the softswitch for voice, data, and multimedia services, an H.248 AG interface must be configured for registration on the softswitch. H.248 AG users connect to the softswitch through the H.248 AG interface to use voice, data, and multimedia services.
To allow the H.248 AG and softswitch to exchange media and signaling streams, the media and signaling IP addresses, signaling port number, and transmission protocol need to be configured for the H.248 AG interface.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
voice
The voice view is displayed.
- Run:
H248ag mgid
An H.248 AG interface is created, and the H.248 AG interface view is displayed.
- Set mandatory parameters on the H.248 AG interface.
Parameter
Command
Description
Media IP address
mg-media-ip1 { mg-media-ip | addr-name addr-name }
The media IP address of the H.248 AG interface must be obtained from the media IP address pool.
Signaling IP address and signaling port number
mg-signal-ip { ip_addr | signal-addr-name name } mgport port
The signaling IP address of the H.248 AG interface must be obtained from the signaling IP address pool.
By default, no signaling port number is configured for an H.248 AG interface.
Parameters of the primary and secondary MGC servers
Static IP address of the primary MGC server
primary-mgc-address1 static ip_addr port [ primary-mgc-address2 ip_addr2 ]
By default, no static IP address is configured for the primary MGC server.
DNS domain name and port number of the primary MGC server
primary-mgc-address1 primary-mgc-domain-name domainname port
By default, no DNS domain name or port number is configured for the primary MGC server.
Static IP address of the secondary MGC server
secondary-mgc-address1 static ip_addr port [secondary-mgc-address2 ip_addr2]
By default, no static IP address is configured for the secondary MGC server.
Domain name and port number of the secondary MGC server
secondary-mgc-address1 secondary-mgc-domain-name domainname port
By default, no domain name or port number is configured for the secondary MGC server.
- Run:
reset coldstart
The H.248 AG is reset.
- Exercise caution when you run this command because resetting an H.248 AG affects running services.
- Do not frequently modify H.248 AG interface parameters. To make the configuration take effect, you must reset the H.248 AG.
- The standby MGC server is optional. You must configure the standby MGC server only when dual-homing is used.
- (Optional) Run:
local-digitmap name {bodyvalue | append bodyvalue}
Configure a digitmap for the H.248 AG.
- (Optional) Set optional parameters on the H.248 AG interface.
The authentication mode on the H.248 MG interface is defined by the standard protocol, and the encryption algorithm cannot be changed at random. A change of the encryption algorithm will cause a failure to connect to the MGC.
Parameter
Command
Description
Transmission protocol
transfer protocol
By default, an H.248 AG uses the User Datagram Protocol (UDP) as the transmission protocol.
Profile negotiation
profile-negotiation profile-negotiation
By default, the profile negotiation is disabled for an H.248 AG interface.
Authentication parameters
auth { initial-key cipher | auth-mgid auth_mgid }
The default username and password are available in AR Router Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.
Timer value
digitmap-timer { start startvalue | short shortvalue | long longvalue | duration durationvalue }
By default, the value of a digitmap long timer is 20s, the value of a digitmap short timer is 4s, and the value of a digitmap start timer is 20s.
Software parameters
mg-software parameter name value
Different software parameters may use different value ranges. For details, see mg-software parameter.
Default ring type
mg-ringmode default-ringpara { short-ring short-ring | aoce-ring aoce-ring } *
By default, ringing parameters of an H.248 AG are empty.
Default ring parameters for the MGC
mg-ringmode default-mgcpara { ring ring-default-mgcpara | mwi mwi-default-mgcpara } *
The default value is 255.
Ring mode mapping
mg-ringmode index [ cadence-ring cadencering-value | initial-ring initialring-value ] *
The default value of cadence-ring is 0.
The default value of initial-ring is 4.
H.248 message identifier type
MIDType midtypeval
The H.248 message identifier type needs to be specified.
The value can be ip4Address, domainName, or deviceName.
The default value is ip4Address.
TID format of the H.248 AG interface
tid-format { rtp | pstn | bra | pra } { prefix prefix-string | tid-template index }
The TID format of the H.248 AG interface needs to be specified.NOTE:Make sure the tid is configured as the softswitch. Otherwise, you will fail to configure the h.248 users.
IP address and port number of the standalone MGC
stand-alone-mgc-ip1 ip_addr [ stand-alone-mgc-ip2 ip_addr2 ] stand-alone-mgc-port port
IP address and port number of the stand-alone MGC need to be specified.
By default, the IP address and port number are empty.