Hello,

your message is confusing somehow, what do you mean by "never sees the
BYE, because BYE is a new dialog"?

Maybe you can grab the pcap with sip packets for such call on kamailio
server and sent it over to see if the headers are as expected.

Cheers,
Daniel

On 04.11.20 12:04, Kjeld Flarup wrote:
> Hello
>
> I have a Kamailio running behind NAT, which sends calls to a VOIP
> service provider.
>
> I have setup the Kamalio to listen on port 5071, and also setup a port
> forward in the router.
>
> Now the problem is that with TCP, 5071 is not used for the dialog, but
> a new port is chosen everytime. This means that when the mobile phone
> called hands up, I never sees the BYE, because BYE is a new dialog.
>
>
> To which port is the server supposed to send the BYE, and what field
> tells the server this.
>
>
> -- 
> -------------------- Med Liberalistiske Hilsner ----------------------
>    Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
>    Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
>    Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to