远端不接受ACK

问题描述

我正在尝试在kamailio中实现订户之间的通信,并以200OK继续应答呼叫。序列号为200OK-ACK后,远端以“ BYE”结束呼叫。

任何与kamailio一起工作的NAT建议,

示例通话记录Attached

modparam("nathelper","natping_interval",30)
modparam("nathelper","ping_nated_only",1)
modparam("nathelper","sipping_bflag",FLB_NATSIPPING)
modparam("nathelper","sipping_from","sip:pinger@kamailio.org")

params needed for NAT traversal in other modules
modparam("nathelper|registrar","received_avp","$avp(RECEIVED)")
modparam("usrloc","nat_bflag",FLB_NATB)

# RTPProxy control and singaling updates for NAT traversal
route[NATMANAGE] {
        if (is_request()) {
                if(has_totag()) {
                        if(check_route_param("nat=yes")) {
                                setbflag(FLB_NATB);
                        }
                }
        }
        if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB)))
                return;

        #rtpproxy_manage("co");

        if (is_request()) {
                if (!has_totag()) {
                        if(t_is_branch_route()) {
                                add_rr_param(";nat=yes");
                        }
                }
        }
        if (is_reply()) {
                if(isbflagset(FLB_NATB)) {
                        if(is_first_hop())
                                set_contact_alias();
                }
        }
        return;
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...