listen=udp:0.0.0.0:7080 advertise 36.140.122.12:7080
________________________________
发件人: Nick F <[email protected]>
发送时间: 2023年10月9日 6:36
收件人: 城门 虾米 <[email protected]>
抄送: Kamailio (SER) - Users Mailing List <[email protected]>
主题: Re: [SR-Users] 回复: Re: kamailio Behind nat. How Record-Route should be 
added ?

Hello,

Could you please share part of "listen=" in your config. Do you have two 
separate interfaces for each IP?

пн, 9 окт. 2023 г. в 06:00, 城门 虾米 via sr-users 
<[email protected]<mailto:[email protected]>>:

[cid:8bf5d0db-4107-4773-9bdc-c0676aeb0447]
[cid:fe9cc6e9-9272-4c1d-980a-a7a629e67901]

UA(192.168.0.11) received 183,  find Record-Route(36.140.122.12)
then send ACK  to 36.140.122.12(Kamialio public ip)   not 192.168.0.2(kamailio 
internal ip),  so Kamailio can't receive ACK.

this is my config,192.168.0.11 -> Kamailio ->  Other SBC(public ip)
function ksr_request_route()
      if KSR.is_INVITE() then
            KSR.rr.record_route();
            KSR.nathelper.fix_nated_contact()
      end
end

This question has been bothering me for a long time,  help me
________________________________
发件人: James Browne <[email protected]<mailto:[email protected]>>
发送时间: 2023年10月2日 12:03
收件人: Kamailio (SER) - Users Mailing List 
<[email protected]<mailto:[email protected]>>
抄送: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
主题: Re: [SR-Users] Re: kamailio Behind nat. How Record-Route should be added ?

If you upload a packet capture, I'll look at it and try to tell you
what's going wrong.
This is certainly something that can work, and I always find that
making a diagnosis with a packet capture is the root to the solution.
It's going to be difficult for anyone to help resolve your problem
without a code example, a trace, or a detailed description of the
problem. If you start with a packet capture, then I'll try to help
you. If you give me a sample of code, too, then it'll be easier for
me.

James

On Thu, 28 Sept 2023 at 10:56, codenot--- via sr-users
<[email protected]<mailto:[email protected]>> wrote:
>
> i tried. but it does't work.
> modparam("rr", "enable_double_rr", 1)
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to 
> [email protected]<mailto:[email protected]>
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to