To: alfred.lu@foxconn.com
cc:
Subject: Mediaproxy do not work well with Kamailio SIP server issue
Secret Level:
Priority Level:
Hi, sir,
We try to setup Mediaproxy on CentOS 6.6 with kamailio-4.2.1 SIP server. We use Linphone android version as SIP client to test.
attached kamailio.cfg.txt is our kamailio-4.2.1 SIP server config file. pls help to rename kamailio.cfg.txt to kamailio.cfg.
kamailio-4.2.1 SIP server is run on public IP server,and Linphone SIP client is run behind NAT.
The problem is that only callee can hear caller's rtp audio data. caller can not hear callee's audio data. And the call will auto disconnect after about 30s time out.
Below's our modification regarding the kamailio.cfg file,pls help to check if this is OK or not ?
#foxconn gallice add start
#### MediaProxy module
loadmodule "mediaproxy.so"
modparam("mediaproxy", "disable", 0)
modparam("mediaproxy", "ice_candidate", "high-priority")
modparam("mediaproxy", "mediaproxy_socket", "/var/run/mediaproxy/dispatcher.sock")
modparam("mediaproxy", "mediaproxy_timeout", 500)
modparam("mediaproxy", "signaling_ip_avp", "$avp(nat_ip)")
modparam("mediaproxy", "media_relay_avp", "$avp(media_relay)")
#foxconn gallice add end
# account only INVITEs
if (is_method("INVITE")) {
setflag(FLT_ACC); # do accounting use_media_proxy(); #foxconn gallice add
}
本電子郵件及附件所載信息均為保密信息,受合同保護或依法不得洩漏。其內容僅供指定收件人按限定範圍或特殊目的使用。未經授權者收到此信息均無權閱讀、 使用、 複製、洩漏或散佈。若您因為誤傳而收到本郵件或者非本郵件之指定收件人,請即刻回覆郵件或致電Super Notes郵件客服熱線 560-104,並永久刪除此郵件及其附件和銷毀所有複印件。謝謝您的合作!
This e-mail message together with any attachments thereto (if any) is confidential, protected under an enforceable non-disclosure agreement, intended only for the use of the named recipient(s) above and may contain information that is privileged, belonging to professional work products or exempt from disclosure under applicable laws.Any unauthorized review, use, copying, disclosure, or distribution of any information contained in or attached to this transmission is STRICTLY PROHIBITED and may be against the laws. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender by e-mail or telephone at Super Notes support hotline 560-104 and delete this e-mail message and any attached documentation from your computer. Receipt by anyone other than the intended recipient(s) is not a waiver of any attorney-client or work product privilege. Thank you!
mail from ip-->192.168.2.2
mail from pc-->MICROSOF-700F48
Version: Super Notes 1.6.4.5B (See attached file: kamailio.cfg.txt)