0
votes

I want to make my local freeswitch communicate with the cloud freeswitch server. I am running recording application on local freeswitch and playing application on cloud. Both of them are getting invoked by origination command but my recording app is not able to record wav files played by cloud application.

I used following command On fs_cli: originate loopback/126/default &bridge(sofia/internal/[email protected])

<include>
 <extension name="Dial to dialplan in cloud">
  <condition field="destination_number" expression="^126$">
   <action application="answer"/>
   <action application="bridge" data="sofia/internal/[email protected]"/>
  </condition>
 </extension>
</include>
1

1 Answers

1
votes

Did you look at the SIP traffic with wireshark?

It seems that you're connecting to port 5060 on 54.225.247.53. But 5060 is only used for authenticated INVITE's.

Unauthenticated INVITE's are accepted by port 5080.

So, you need to decide first if you want authenticated calls, then who makes the authentication, then configure the Sofia gateways accordingly.