[cloud]
type=peer
host=X.X.X.X
port=5080
allow=all
;allow=ulaw
;allow=alaw
trustrpid=yes
sendrpid=yes
encryption=no
context=cloudoutbound
[cloudoutbound]
exten => _XXXXXX!,1,NoOp(${EXTEN})
same => n,Dial(${TRUNK}${EXTEN},55,tTo)
same => n,Hangup()
tcpdump port 5060 and host X.X.X.X -vv -- Tcp traffic debugg
vim /etc/freeswitch/sip_profiles/external.xml
<param name="local-network-acl" value="localnet.auto"/>
<param name="apply-inbound-acl" value="lan"/> -- for Asterisk use only
<param name="apply-candidate-acl" value="lan"/> -- for Asterisk use only
<param name="manage-presence" value="false"/>
fs_cli -rx 'originate {ignore_early_media,absolute_codec_string='PCMA'}sofia/external/[email protected] &park()'
[cloudinbound]
exten => _X!,1,NoOp(${EXTEN})
same => n,Dial(SIP/X.X.X.X/${EXTEN},55.tTo)
same => n,Hangup
Thank you