step1 添加网关配置文件
step2 添加拨号方案
step3 重启 sofia profile external restart
必要的时候 可以抓包 tcpdump -ni eth1 udp port 5060 -w nettest.pcap
[root@iZ25nyj9604Z sip_profiles]# cd external
[root@iZ25nyj9604Z external]# ls
example.xml pstn.xml
[root@iZ25nyj9604Z external]# pwd
/usr/local/freeswitch/conf/sip_profiles/external
[root@iZ25nyj9604Z external]# more pstn.xml
<include>
<gateway name="pstn">
<param name="proxy" value="115.29.77.SSS:5060"/>
<param name="realm" value="115.29.77.SSS"/>
<param name="register" value="false"/>
<param name="rtp-autofix-timing" value="false"/>
<param name="caller-id-in-from" value="true"/>
</gateway>
</inclu