<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">Hi </span><span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; ">Daniel</span><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">.</span><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">I just wanted to hear if you have had any time to look at the <span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 204); ">Kamailio</span> Dispatcher <-> FreeSwitch problem?</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
This is NOT to rush you. I've followed the mailing list and can see how busy you are and how much involved you are in all this, so I fully respect all the help you give to this mailing list etc.</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">Best regards,</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
<span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 204); ">Henrik</span></div><br><div class="gmail_quote">
2011/10/20 Henrik Aagaard Sørensen <span dir="ltr"><<a href="mailto:henrikaagaardsorensen@gmail.com">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.<br><br>I've just upgraded to 3.2.0.<br><br>This is my NEW kamailio.cfg: <a href="http://pastebin.com/XzXjf1VY" target="_blank">http://pastebin.com/XzXjf1VY</a><br>This is my dispatcher.list: <a href="http://pastebin.com/9dLS8243" target="_blank">http://pastebin.com/9dLS8243</a><br>
<br>I've also attached a ngrep where it errors with "Too many hops" with the new version 3.2.0.<br><br>Once again, I really appreciate all the help you give! It's remarkable with your effort in this.<br>
<br>Best regards,<br>Henrik<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">2011/10/17 Daniel-Constantin Mierla <span dir="ltr"><<a 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">
I will try to look over the sip traces you sent, although it is
tight schedule for the 3.2.0 right now -- so it may take few days.<br>
<br>
Cheers,<br><font color="#888888">
Daniel</font><div><div></div><div><br>
<br>
On 10/14/11 10:07 PM, Henrik Aagaard Sørensen wrote:
<blockquote type="cite">Yes, <a href="http://pbx.my-domain.com" target="_blank">pbx.my-domain.com</a> is
pointing to the IP of FreeSwitch.<br>
<a href="http://sip.my-domain.com" target="_blank">sip.my-domain.com</a>
is the domain name for Kamailio.<br>
<br>
<div class="gmail_quote">
2011/10/14 Daniel-Constantin Mierla <span dir="ltr"><<a 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">
<div> <br>
<br>
On 10/14/11 7:06 PM, Henrik Aagaard Sørensen wrote:
<blockquote type="cite">My dispatcher.list currently just
contains:<br>
1 <a href="http://pbx.my-domain.com:5060" target="_blank">pbx.my-domain.com:5060</a><br>
</blockquote>
</div>
Is <a href="http://pbx.my-domain.com" target="_blank">pbx.my-domain.com</a>
pointing to the IP address of freeswitch? What is the domain
name for kamailio ip address?<br>
<font color="#888888"> <br>
Daniel</font>
<div>
<div><br>
<br>
<blockquote 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 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,
<div><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><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 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 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 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 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 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 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 href="http://pastebin.com/b5x6NZyv" target="_blank">http://pastebin.com/b5x6NZyv</a><br>
<br>
215.197.145.132 (<a href="http://sip.my-domain.com" target="_blank">sip.my-domain.com</a>)
is my Kamailio.<br>
<a 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 href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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 href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a 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 href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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 href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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 href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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 href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
</div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br>