Sofia dig

From FreeSWITCH Wiki
Jump to: navigation, search

sofia_dig

You can use sofia_dig to check DNS A and SRV records for a given domain from the fs_cli. If there isn't a SRV record freeswitch uses A records. The use of SRV allows graceful fail overs.

Usage:

 sofia_dig voicenetwork.ca

 Preference          Weight       Transport            Port         Address
 ================================================================================
          1           0.500             udp            5060      74.51.38.15
          1           0.500             tcp            5060      74.51.38.15

See Also