打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Way to *always force* media relay across FreeSWITCH
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

  • Subject: Way to *always force* media relay across FreeSWITCH
  • From: lists at infosecurity.ch (Fabio Pietrosanti (naif))
  • Date: Mon, 22 Mar 2010 13:34:46 +0100

Hi all,i am using FreeSWITCH with mobile phones and have problems in FS sometimes acting as a media relay, sometimes not.The mobile phones are behind operator's 3G/2G data networks that are "natted" .The FS just need to act as a SIP server handling:- Signaling (with SIP/TLS)- Media relayNO transcoding is done. (disabled)Mobile devices use an obfuscated RTP protocol (to bypass VoIP blocking by mobile operator) and in order to let FS relay it we use:inbound-proxy-media=true . That way FS does not even check the RTP header but just relay udp packets on agreed ports.I am having a strong problem, sometimes devices get one-way audio and doing debugging we found out that sometimes FS rewrite correctly the SDP header but sometimes it does not.We are using:<param name="apply-nat-acl" value="nat.auto"/><param name="aggressive-nat-detection" value="true"/>I would like FS to act like Asterisk canreinvite=no that force the media to go trough it always rewriting SDP headers and to make the RTP flow goes across Asterisk.I also tried to add this in order to force the rewriting:      <variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>However given 2 peers sometime i see the status of the peer (sofia status profile internal) shown as "Registered(AUTO-NAT)" and sometimes as "Registered(TLS)" .Some times the traffic between the peers is not correctly relayed and there is an asymmetric one-way audio situation:peer-A correctly send RTP traffic to FS that relay it to peer-Bpeer-B send RTP traffic directly to peer-B (because FS did not rewrote the SDP header related to the target IP of RTP). From our basic diagnosis it seems that FS sometimes detect devices as "behind NAT" but sometimes it does not.Is there a way to certainly and precisely force all connections to be relayed across the FS like we was doing with "canreinvite=yes" of asterisk?I just would like a static set of settings without the dynamic methods of NAT detection.Just everything (RTP relay) going trough FS.Is that possible?Fabio Pietrosanti-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100322/5252cd20/attachment.html 

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Astersik 遇到的问题及解决 (一)
SIP穿越NAT&FireWall解决方案
VLC 的SDP文件
基于rtsp的手机视频点播实现和研究
CISCO路由命令大全
在Livemedia的基础上开发自己的流媒体客户端 V 0.01 - 桂堂东的专栏 - C...
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服