<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 10/14/11 7:06 PM, Henrik Aagaard Sørensen wrote:
<blockquote
cite="mid:CAGH8SeZo4UmHVTS_BWt=xw3_nf6B84xTo86zv7cwEVsatRNbCQ@mail.gmail.com"
type="cite">My dispatcher.list currently just contains:<br>
1 <a moz-do-not-send="true" href="http://pbx.my-domain.com:5060">pbx.my-domain.com:5060</a><br>
</blockquote>
Is pbx.my-domain.com pointing to the IP address of freeswitch? What
is the domain name for kamailio ip address?<br>
<br>
Daniel<br>
<br>
<blockquote
cite="mid:CAGH8SeZo4UmHVTS_BWt=xw3_nf6B84xTo86zv7cwEVsatRNbCQ@mail.gmail.com"
type="cite"><br>
I will provide a ngrep trace within an hour or two. Thank you so
much for helping me. I really hope to get this solved.<br>
<br>
<div class="gmail_quote">2011/10/14 Daniel-Constantin Mierla <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000"> Hello,
<div class="im"><br>
<br>
On 10/14/11 4:48 PM, Henrik Aagaard Sørensen wrote:
<blockquote type="cite">Hi Daniel (and everyone else)
again.<br>
<br>
I've just tried to add:<br>
loadmodule "path.so"<br>
modparam("path", "use_received", 1)<br>
<br>
and:<br>
add_path_received()<br>
just before the "if(!t_relay())..." in the ROUTE part.<br>
<br>
That made both devices get the error "Too many loops".<br>
</blockquote>
</div>
what is the content of the dispatcher list file? Maybe is
better to use ds_select_domain(...) and ds_next_domain() --
cannot say it since I haven't seen full sip trace, but maybe
the problem is that freeswitch is sending back if the r-uri
address is kamailio's address.<br>
<br>
Cheers,<br>
<font color="#888888"> Daniel</font>
<div>
<div class="h5"><br>
<br>
<blockquote type="cite"><br>
Moving the add_path_received() into the part:<br>
if (nat_uac_test("19")) { if
(method=="REGISTER") {
fix_nated_register(); add_path_received();<br>
made the same issues as before loading the path.so
module.<br>
<br>
<div class="gmail_quote">2011/10/14 Henrik Aagaard
Sørensen <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:henrikaagaardsorensen@gmail.com"
target="_blank">henrikaagaardsorensen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
Daniel (and everyone else).<br>
<br>
This is a tshark trace (is that as good as ngrep?)
from Kamailio when there are too many loops: <a
moz-do-not-send="true"
href="http://pastebin.com/yRjduB0s"
target="_blank">http://pastebin.com/yRjduB0s</a><br>
In this trace I got the note that 253 packets was
dropped (and therefor not in the trace).<br>
<br>
And this is a trace when it times out: <a
moz-do-not-send="true"
href="http://pastebin.com/KT0bJzEU"
target="_blank">http://pastebin.com/KT0bJzEU</a><br>
<br>
I've actually looked at the PATH module, and tried
several things. And I know this type of question
is rather newbee-like, but can you help me out
with the PATH module and how to integrate it
correctly?<br>
<br>
I really do appreciate all the help!
<div>
<div><br>
<br>
<div class="gmail_quote">2011/10/14
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>></span><br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
when using the load balancer in front of
the registrar, you have to use PATH
extensions for SIP (see path module in
kamailio) in order to be able to cope
with nat.<br>
<br>
Then, what would be helpful, will be a
ngrep trace taken on kamailio server for
failed calls.<br>
<br>
Cheers,<br>
Daniel
<div>
<div><br>
<br>
On 10/14/11 4:13 PM, Henrik Aagaard
Sørensen wrote: </div>
</div>
<blockquote type="cite">
<div>
<div>I've asked a lot of question
about Kamailio Dispatcher in front
of FreeSwitch in this mailing
list. So I'm sorry that I'm still
"spamming", but it still fails.<br>
<br>
This is my status so far.<br>
<br>
When connecting 2 devices directly
to FreeSwitch everything works.
When connecting to Kamailio, some
calls fails with "Timeout" and
some fails with "Too many loops".<br>
<br>
This is my kamailio.cfg: <a
moz-do-not-send="true"
href="http://pastebin.com/KEuZmikh"
target="_blank">http://pastebin.com/KEuZmikh</a><br>
<br>
When connected directly to
FreeSwitch where everything works,
this is how my clients are
registrered in FreeSwitch: <a
moz-do-not-send="true"
href="http://pastebin.com/prkjkb7g"
target="_blank">http://pastebin.com/prkjkb7g</a><br>
<br>
When connected to Kamailio where
nothing works, this is how my
clients are registrered in
FreeSwitch: <a
moz-do-not-send="true"
href="http://pastebin.com/b5x6NZyv"
target="_blank">http://pastebin.com/b5x6NZyv</a><br>
<br>
215.197.145.132 (<a
moz-do-not-send="true"
href="http://sip.my-domain.com"
target="_blank">sip.my-domain.com</a>)
is my Kamailio.<br>
<a moz-do-not-send="true"
href="http://pbx.my-domain.com"
target="_blank">pbx.my-domain.com</a>
is my FreeSwitch.<br>
96.224.14.164 is my IP at home,
where my 2 devices are from.<br>
<br>
Can anyone help me out? I'm kinda
lost at this point.<br>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<font color="#888888"> <br>
<pre cols="72">--
Daniel-Constantin Mierla -- <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a moz-do-not-send="true" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
</font></div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Daniel-Constantin Mierla -- <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a moz-do-not-send="true" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>