...
Table of Contents | ||
---|---|---|
|
Symptom
To create test SIP calls to a Dialogic IMG Integrated Media Gateway using a hostname rather than IP address, a local DNS server is required.
Reason for the issue:
IMG Gateways support SIP calls that use a FQDN (Fully Quallified Qualified Domain Name)
Note: The following procedure was tested on a Dialogic Gate Control Element Management System (GCEMS) server running Redhat ES 3.0
IMG Gateways run a DNS client that is configured to send a DNS request to the DNS server for SIP calls.
Configuring a static DNS server on Linux Red Hat ES3:
1. Decide on a domain name.
2. Edit the /etc/resolv.conf file and add the loopback ip as the first entry in this file.
...
4. In the /var/named folder create a file for each zone created in the named.conf file above.
Create /var/named/gcems_lf.com.zone.
The following example uses these values:
Host name: lforsberg
Domain name: gcems_lf.com
Use this file to add static DNS entries.
...
service named restart
chkconfig named on
36. Use nslookup or dig to test a DNS entry to verify it will resolve the name. Errors are logged in the /var/log/messages file.
GCEMS ClientView configuration
1. Create the DNS Servers:
• In the External Network Elements add the DNS Servers object.
• For the Domain Name enter the domain name of the DNS server.
...
...
Create a new DNS server:
• Enter the name and IP address of the DNS server
...
...
For each IMG Gateway add the DNS Client. If multiple servers were configured select the primary, secondary and tertiary server.
...
...
Add a SIP gateway.
• Gateway Address Type = Host name
• Gateway IP address. This is required for inbound calls as IMG Gateways do not support reverse DNS lookups.
Note: if the DNS server is using a pool of addresses for the host name and the IP address returned to a DNS request is not the same as configured below, the call will be rejected.
• Gateway host name. If the Domain name entered in the DNS servers object is valid, then you only need to enter the host name here: otherwise, you will need to enter the full host.domain name.
...
...
Debug information can be obtained as follows:
> n
zNet> D
Server Set Table
...
09:55:20.344 CALL(SIP) (01:00008:01) RCVD 100 Trying from 10.129.51.149:5060 UDP CSeq:1
Glossary of Acronyms / Terms
DNS - Domain Name Server
FQDN - Fully Qualified Domain Name