You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I have connected two(2) SoftPhones into the container and I can place calls from one to another. However there is no audio at all.
I have changed the vars.xml for to put my host machine IP, switch.conf.xml for rtp port ranges, sip_profiles/{internal,external}.xml for ext-{rtp,sip}-ip to use $${external_rtp_ip}. Basically the same changes that you see in the question here : #9
freeswitch@localhost> sofia status profile external
=================================================================================================
Name external
Domain Name N/A
Auto-NAT false
DBName sofia_reg_external
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP 172.22.0.2
Ext-RTP-IP 192.168.235.100
SIP-IP 172.22.0.2
Ext-SIP-IP 192.168.235.100
URL sip:[email protected]:5080
BIND-URL sip:[email protected]:5080;maddr=172.22.0.2;transport=udp,tcp
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS IN OPUS,G722,PCMU,PCMA,VP8
CODECS OUT OPUS,G722,PCMU,PCMA,VP8
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG true
PROXY-MEDIA false
ZRTP-PASSTHRU true
AGGRESSIVENAT false
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 0
You can see that my two(2) softphones are registered into the internal profile as it says REGISTRATIONS 2
Are your softphones on the same lan or are they behind a firewall?
Here are some things you can try to diagnose what is working and what not;
on both phones call 9197 (milliwatt test tone) to check if the audio from freeswitch to your phone is working on outbound calls (from your phone to freeswitch).
now call 9196 (echo test) to check if audio from your phone to freeswitch is working too.
Use fs_cli to test the same for inbound calls. For example enter originate user/1000 9196 to connect ext. 1000 with the echo test.
You might also use tools like wireshark to check which rtp address and port is really used.
I am running a container out of this image with the following port config.
Host Machine IP : 192.168.235.100
Docker Container IP : 172.22.0.2
And I have connected two(2) SoftPhones into the container and I can place calls from one to another. However there is no audio at all.
I have changed the
vars.xml
for to put my host machine IP,switch.conf.xml
for rtp port ranges,sip_profiles/{internal,external}.xml
for ext-{rtp,sip}-ip to use$${external_rtp_ip}
. Basically the same changes that you see in the question here : #9You can see that my two(2) softphones are registered into the internal profile as it says
REGISTRATIONS 2
I would really appreciate some help here.
The text was updated successfully, but these errors were encountered: