Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Odd Media issue


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
Jerry.Kendall at Bisho...
Guest





PostPosted: Sat Dec 31, 2022 10:00 pm    Post subject: [Freeswitch-users] Odd Media issue Reply with quote

Hey there...

I've come across an odd issue with the outbound media from FS...

I have a phone, calls a ring group at say 22.
Now if the phones and FS are on the same network, the early media is sent to all phones properly...
If the phones are on different networks connected via VPN, again, the early media is sent to all phones properly...

not if the phones are on different networks and a firewall is between without vpn tunneling.... The early media is NOT delivered properly...

It seems as thought he SDP payload is not fully processed - again, it seems....


So, how do I tell FS to send the early media to the phones when the phones are on private IP space behind a firewall.???
It almost looks like the private IPs and not being mapped properly when sending early media.
(the phones are replying to the INVITE with 183 progress status that includes SDP)

I have NAT working properly and calls, even confererce calls with and without video all work fine - ONCE the call has been answered.
I have been trying to get early media(video) and works but, only when there is no firewall between FS and the phones.

This, of course is not acceptable for customer based setups.

Anyu ideas on where to look for the cause?

Jerry

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Jerry.Kendall at Bisho...
Guest





PostPosted: Sat Dec 31, 2022 10:58 pm    Post subject: [Freeswitch-users] Odd Media issue Reply with quote

So I did a quick check,

I ran 'tcpdump net 10.0.0.0/8'

I got thousands of packets immediately on dialing a ring group. So, it seems that FS is indeed NOT processing the NAT mapping correctly... I could be wrong... I'm not above that...

to draw a sort of image...

[phones on 10.0.0.x net] ----------- [ FW ]  --------------- { internet } ------------- [ FS Server on public IP ]

The traffic to/from the phones goes correctly unless I have the group setup to send early media to allow ringing phones to show early media video...

If the group is setup to send early media, the ringing phones are NOT getting the earling media traffic..
The phones have the video screen active AND showing but NO video is displayed as it is sent from FS on the public IP to the phones PRIVATE IP...

I am doing this using a hard coded test dialplan conference call like so...
==================
<context name="registered-ext">
<extension name="dial-videocom">
<condition>
<action application="set" data="conference_auto_outcall_timeout=5"/>
<action application="set" data="conference_auto_outcall_caller_id_name=Intercom"/>
<action application="set" data="conference_auto_outcall_caller_id_number=350"/>
<action application="set" data="conference_auto_outcall_skip_member_beep=false"/>
<action application="set" data="conference_auto_outcall_prefix={sip_auto_answer=false}"/>
<action application="set" data="conference_auto_outcall_profile=pager"/>
<action application="set" data="conference_utils_auto_outcall_flags=mute"/>

<action application="export" data="bridge_early_media=true"/>
<action application="export" data="ignore_early_media=false"/>

<action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>\n";

<action application="conference_set_auto_outcall" data="sofia/customer/500%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/501%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/502%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/503%domain"/>

<action application="conference" data="vid_intercom_808@domain++flags{mute|endconf|moderator}"/>
</condition>
</extension>
<context>
==================


Does anyone have any ideas where I need to change things...??


Regards,
Jerry


On 12/31/2022 9:47 PM, Jerry Kendall wrote:
Quote:
Hey there...

I've come across an odd issue with the outbound media from FS...

I have a phone, calls a ring group at say 22.
Now if the phones and FS are on the same network, the early media is sent to all phones properly...
If the phones are on different networks connected via VPN, again, the early media is sent to all phones properly...

not if the phones are on different networks and a firewall is between without vpn tunneling.... The early media is NOT delivered properly...

It seems as thought he SDP payload is not fully processed - again, it seems....


So, how do I tell FS to send the early media to the phones when the phones are on private IP space behind a firewall.???
It almost looks like the private IPs and not being mapped properly when sending early media.
(the phones are replying to the INVITE with 183 progress status that includes SDP)

I have NAT working properly and calls, even confererce calls with and without video all work fine - ONCE the call has been answered.
I have been trying to get early media(video) and works but, only when there is no firewall between FS and the phones.

This, of course is not acceptable for customer based setups.

Anyu ideas on where to look for the cause?

Jerry

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Jerry.Kendall at Bisho...
Guest





PostPosted: Sun Jan 01, 2023 1:32 am    Post subject: [Freeswitch-users] Odd Media issue Reply with quote

Another bit of hopefully useful info - the video shows up on all phones when they are answered.

Jerry


On 12/31/2022 10:47 PM, Jerry Kendall wrote:
Quote:
So I did a quick check,

I ran 'tcpdump net 10.0.0.0/8'

I got thousands of packets immediately on dialing a ring group. So, it seems that FS is indeed NOT processing the NAT mapping correctly... I could be wrong... I'm not above that...

to draw a sort of image...

[phones on 10.0.0.x net] ----------- [ FW ]  --------------- { internet } ------------- [ FS Server on public IP ]

The traffic to/from the phones goes correctly unless I have the group setup to send early media to allow ringing phones to show early media video...

If the group is setup to send early media, the ringing phones are NOT getting the earling media traffic..
The phones have the video screen active AND showing but NO video is displayed as it is sent from FS on the public IP to the phones PRIVATE IP...

I am doing this using a hard coded test dialplan conference call like so...
==================
<context name="registered-ext">
<extension name="dial-videocom">
<condition>
<action application="set" data="conference_auto_outcall_timeout=5"/>
<action application="set" data="conference_auto_outcall_caller_id_name=Intercom"/>
<action application="set" data="conference_auto_outcall_caller_id_number=350"/>
<action application="set" data="conference_auto_outcall_skip_member_beep=false"/>
<action application="set" data="conference_auto_outcall_prefix={sip_auto_answer=false}"/>
<action application="set" data="conference_auto_outcall_profile=pager"/>
<action application="set" data="conference_utils_auto_outcall_flags=mute"/>

<action application="export" data="bridge_early_media=true"/>
<action application="export" data="ignore_early_media=false"/>

<action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>\n";

<action application="conference_set_auto_outcall" data="sofia/customer/500%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/501%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/502%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/503%domain"/>

<action application="conference" data="vid_intercom_808@domain++flags{mute|endconf|moderator}"/>
</condition>
</extension>
<context>
==================


Does anyone have any ideas where I need to change things...??


Regards,
Jerry


On 12/31/2022 9:47 PM, Jerry Kendall wrote:
Quote:
Hey there...

I've come across an odd issue with the outbound media from FS...

I have a phone, calls a ring group at say 22.
Now if the phones and FS are on the same network, the early media is sent to all phones properly...
If the phones are on different networks connected via VPN, again, the early media is sent to all phones properly...

not if the phones are on different networks and a firewall is between without vpn tunneling.... The early media is NOT delivered properly...

It seems as thought he SDP payload is not fully processed - again, it seems....


So, how do I tell FS to send the early media to the phones when the phones are on private IP space behind a firewall.???
It almost looks like the private IPs and not being mapped properly when sending early media.
(the phones are replying to the INVITE with 183 progress status that includes SDP)

I have NAT working properly and calls, even confererce calls with and without video all work fine - ONCE the call has been answered.
I have been trying to get early media(video) and works but, only when there is no firewall between FS and the phones.

This, of course is not acceptable for customer based setups.

Anyu ideas on where to look for the cause?

Jerry

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Jerry.Kendall at Bisho...
Guest





PostPosted: Mon Jan 02, 2023 3:28 pm    Post subject: [Freeswitch-users] Odd Media issue Reply with quote

The issues has been resolved...

On Grandstream phones, you need STUN setup and you need to have the NAT-Traversal set to STUN.

Thanks,
Jerry



On 1/1/2023 12:50 AM, Jerry Kendall wrote:
Quote:

Another bit of hopefully useful info - the video shows up on all phones when they are answered.

Jerry


On 12/31/2022 10:47 PM, Jerry Kendall wrote:
Quote:
So I did a quick check,

I ran 'tcpdump net 10.0.0.0/8'

I got thousands of packets immediately on dialing a ring group. So, it seems that FS is indeed NOT processing the NAT mapping correctly... I could be wrong... I'm not above that...

to draw a sort of image...

[phones on 10.0.0.x net] ----------- [ FW ]  --------------- { internet } ------------- [ FS Server on public IP ]

The traffic to/from the phones goes correctly unless I have the group setup to send early media to allow ringing phones to show early media video...

If the group is setup to send early media, the ringing phones are NOT getting the earling media traffic..
The phones have the video screen active AND showing but NO video is displayed as it is sent from FS on the public IP to the phones PRIVATE IP...

I am doing this using a hard coded test dialplan conference call like so...
==================
<context name="registered-ext">
<extension name="dial-videocom">
<condition>
<action application="set" data="conference_auto_outcall_timeout=5"/>
<action application="set" data="conference_auto_outcall_caller_id_name=Intercom"/>
<action application="set" data="conference_auto_outcall_caller_id_number=350"/>
<action application="set" data="conference_auto_outcall_skip_member_beep=false"/>
<action application="set" data="conference_auto_outcall_prefix={sip_auto_answer=false}"/>
<action application="set" data="conference_auto_outcall_profile=pager"/>
<action application="set" data="conference_utils_auto_outcall_flags=mute"/>

<action application="export" data="bridge_early_media=true"/>
<action application="export" data="ignore_early_media=false"/>

<action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>\n";

<action application="conference_set_auto_outcall" data="sofia/customer/500%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/501%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/502%domain"/>
<action application="conference_set_auto_outcall" data="sofia/customer/503%domain"/>

<action application="conference" data="vid_intercom_808@domain++flags{mute|endconf|moderator}"/>
</condition>
</extension>
<context>
==================


Does anyone have any ideas where I need to change things...??


Regards,
Jerry


On 12/31/2022 9:47 PM, Jerry Kendall wrote:
Quote:
Hey there...

I've come across an odd issue with the outbound media from FS...

I have a phone, calls a ring group at say 22.
Now if the phones and FS are on the same network, the early media is sent to all phones properly...
If the phones are on different networks connected via VPN, again, the early media is sent to all phones properly...

not if the phones are on different networks and a firewall is between without vpn tunneling.... The early media is NOT delivered properly...

It seems as thought he SDP payload is not fully processed - again, it seems....


So, how do I tell FS to send the early media to the phones when the phones are on private IP space behind a firewall.???
It almost looks like the private IPs and not being mapped properly when sending early media.
(the phones are replying to the INVITE with 183 progress status that includes SDP)

I have NAT working properly and calls, even confererce calls with and without video all work fine - ONCE the call has been answered.
I have been trying to get early media(video) and works but, only when there is no firewall between FS and the phones.

This, of course is not acceptable for customer based setups.

Anyu ideas on where to look for the cause?

Jerry

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services