<div dir="ltr"><div class="gmail_default" style="color:#073763">Thanks for your help Henning. The error was on Asterisk, now everything is working like a charm.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 1, 2018 at 11:29 AM Henning Westerholt <<a href="mailto:hw@kamailio.org">hw@kamailio.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Donnerstag, 1. November 2018, 11:18:37 CET schrieb Joan Salvatella:<br>
> Thanks for your quick response. Kamailio is complaining about a too long<br>
> SIP message so migrating to TCP makes sense (I hadn't thought about it).<br>
> <br>
> I have enabled TCP in kamailio.cfg:<br>
> disable_tcp=no<br>
> <br>
> I am using the dispatchers module to identify the gateway endpoints and I<br>
> have updated it accordingly:<br>
> <br>
> 1 sip:10.0.1.69:5080;transport=tcp<br>
> <br>
> and in my invite resolver I am forcing the sending socket to be tcp as<br>
> well.<br>
> [..]<br>
>    $fs = "tcp:PRIVATE_IP:5080";<br>
> [..]<br>
> Are there any resources that I can check to make sure that I am not missing<br>
> anything? Since this is not working, I am suspecting it is related with the<br>
> Asterisk side of things but that should be handled in another mail list.<br>
> > [..]<br>
<br>
Hello Joan,<br>
<br>
on a first sight it looks fine. Do you get an error from the asterisk side? <br>
Then indeed it would be good to ask on the asterisk user list about that.<br>
<br>
If you get also errors in the Kamailio log, we would need more details about <br>
this to continue here.<br>
<br>
Best regards,<br>
<br>
Henning<br>
<br>
-- <br>
Henning Westerholt - <a href="https://skalatan.de/blog/" rel="noreferrer" target="_blank">https://skalatan.de/blog/</a><br>
Kamailio services - <a href="https://skalatan.de/services" rel="noreferrer" target="_blank">https://skalatan.de/services</a><br>
Kamailio security assessment - <a href="https://skalatan.de/de/assessment" rel="noreferrer" target="_blank">https://skalatan.de/de/assessment</a><br>
</blockquote></div>