Hi

I didn't get any responses from anyone regarding my issue.  Can someone please give me some clue what I can do? Or if more information is needed please let  know so that I can provide.  


Sent from my Samsung Galaxy smartphone.


-------- Original message --------
From: Kamrul Khan <dodul@live.com>
Date:10-21-2014 17:45 (GMT-06:00)
To: sr-users@lists.sip-router.org
Cc:
Subject: [SR-Users] One sided or no voice issue with websockets

Hi,

We have a setup with sipml5 to kamailio. It works perfectly within local network. In public network the signaling establishes perfectly, but most of the time we hear no voice, sometimes we hear one sided voice and in rare cases we hear voice from both sides. To fix this issue we configured our nathandler like the below: But, still no luck. Any idea how to fix this? Please HELP!!!

modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")
modparam("nathelper", "nortpproxy_str", "a=sdpmangled:yes\r\n")
.
.
.
route {
.
.
 if (nat_uac_test("115")) {
                if(nat_uac_test("64"))
                    force_rport();
                }
                if (method=="REGISTER") {
                    fix_nated_register();
                    add_rcv_param();
                } else {
                    fix_nated_contact();
                    if(nat_uac_test("64")){
                        if (!add_contact_alias()) {
                            xlog("L_ERR", "Error aliasing contact <$ct>\n");
                            sl_send_reply("400", "Bad Request");
                            exit;
                        }
                    } else {
                        add_rcv_param();
                    }
                }
            }
.
.

onreply_route {
    if (nat_uac_test(64)) {
            add_contact_alias();
        }
.
.
}