No subject
Tue Aug 30 21:52:48 CEST 2011
<div><div></div><div><br>
2011/10/8 Henrik Aagaard S=F8rensen <<a href=3D"mailto:henrikaagaardsore=
nsen at gmail.com" target=3D"_blank">henrikaagaardsorensen at gmail.com</a>>:<=
br>
> From Kamailio or FreeSwitch?<br>
><br>
> On Sat, Oct 8, 2011 at 10:28 PM, Morten Isaksen <<a href=3D"mailto:=
misak at misak.dk" target=3D"_blank">misak at misak.dk</a>> wrote:<br>
>><br>
>> Can you capture one of the calls that fails with tcpdump.<br>
>><br>
>> Also try to add some xlog lines in the configuration file for debu=
ging.<br>
>><br>
>> What does the log from rtpproxy show?<br>
>><br>
>> 2011/10/8 Henrik Aagaard S=F8rensen <<a href=3D"mailto:henrikaa=
gaardsorensen at gmail.com" target=3D"_blank">henrikaagaardsorensen at gmail.com<=
/a>>:<br>
>> > Dear Morten and everyone else.<br>
>> ><br>
>> > I'm still struggling with Kamailio as a simple dispatcher=
for<br>
>> > FreeSwitch.<br>
>> > This is my configuration so far (with help from Morten):<br>
>> > <a href=3D"http://pastebin.com/nBPSpe6S" target=3D"_blank">ht=
tp://pastebin.com/nBPSpe6S</a><br>
>> ><br>
>> > Connecting an iPhone and an Android makes the calls between t=
hem<br>
>> > timeout.<br>
>> > Connecting one of the phones and my laptops makes calls betwe=
en them<br>
>> > produce<br>
>> > the error "Too many hops".<br>
>> ><br>
>> > With all of them I'm able to call in to the Freeswitch, f=
or listening to<br>
>> > voicemail, hold music etc.<br>
>> ><br>
>> > So I guess it's still NAT problems or similar?<br>
>> ><br>
>> > Can anyone spot the error, missing thing or something else th=
at is wrong<br>
>> > with the config?<br>
>> ><br>
>> > P.S. Adding phones, laptops etc. directly to FreeSwitch, with=
out<br>
>> > Kamailio,<br>
>> > makes everything works.<br>
>> ><br>
>> > 2011/10/7 Henrik Aagaard S=F8rensen <<a href=3D"mailto:hen=
rikaagaardsorensen at gmail.com" target=3D"_blank">henrikaagaardsorensen at gmail=
.com</a>><br>
>> >><br>
>> >> Hi Morten.<br>
>> >><br>
>> >> I've tested it a lot know, your latest config-example=
. At it actually<br>
>> >> works when I connect 2 devices, 1 iPhone and 1 Android. B=
ut when<br>
>> >> connecting<br>
>> >> 1 phone and my laptop with SFLPhone or Linphone I cannot =
call the<br>
>> >> laptop.<br>
>> >> Does that make any sense?<br>
>> >><br>
>> >> 2011/10/6 Henrik Aagaard S=F8rensen <<a href=3D"mailto=
:henrikaagaardsorensen at gmail.com" target=3D"_blank">henrikaagaardsorensen at g=
mail.com</a>><br>
>> >>><br>
>> >>> Still getting "Too Many Hops" :(<br>
>> >>><br>
>> >>> On Thu, Oct 6, 2011 at 10:19 PM, Morten Isaksen <<=
a href=3D"mailto:misak at misak.dk" target=3D"_blank">misak at misak.dk</a>><b=
r>
>> >>> wrote:<br>
>> >>>><br>
>> >>>> Try this one <a href=3D"http://pastebin.com/mahKE=
CAw" target=3D"_blank">http://pastebin.com/mahKECAw</a><br>
>> >>>><br>
>> >>>> /Morten<br>
>> >>>><br>
>> >>>> 2011/10/6 Henrik Aagaard S=F8rensen <<a href=
=3D"mailto:henrikaagaardsorensen at gmail.com" target=3D"_blank">henrikaagaard=
sorensen at gmail.com</a>>:<br>
>> >>>> > Hi Morten.<br>
>> >>>> ><br>
>> >>>> > I've tried to add that part: <a href=3D"=
http://pastebin.com/MmKnbKLz" target=3D"_blank">http://pastebin.com/MmKnbKL=
z</a><br>
>> >>>> ><br>
>> >>>> > But now it won't even register. Do you k=
now any config-example for<br>
>> >>>> > a<br>
>> >>>> > working<br>
>> >>>> > dispatcher for Kamailio?<br>
>> >>>> ><br>
>> >>>> > On Thu, Oct 6, 2011 at 10:54 AM, Morten Isak=
sen <<a href=3D"mailto:misak at misak.dk" target=3D"_blank">misak at misak.dk<=
/a>><br>
>> >>>> > wrote:<br>
>> >>>> >><br>
>> >>>> >> This part<br>
>> >>>> >><br>
>> >>>> >> # handle requests within SIP dialogs<br>
>> >>>> >> route(WITHINDLG);<br>
>> >>>> >><br>
>> >>>> >> 2011/10/6 Henrik Aagaard S=F8rensen<br>
>> >>>> >> <<a href=3D"mailto:henrikaagaardsoren=
sen at gmail.com" target=3D"_blank">henrikaagaardsorensen at gmail.com</a>>:<b=
r>
>> >>>> >> > Hi Morten.<br>
>> >>>> >> ><br>
>> >>>> >> > Do you mean anything specific in th=
e standard config:<br>
>> >>>> >> > <a href=3D"http://pastebin.com/Aj4m=
HAJq" target=3D"_blank">http://pastebin.com/Aj4mHAJq</a><br>
>> >>>> >> ><br>
>> >>>> >> > Because that handles registrations,=
subscriber list etc. etc...<br>
>> >>>> >> > I'm<br>
>> >>>> >> > only<br>
>> >>>> >> > interested in Kamailio as a dispatc=
her.<br>
>> >>>> >> ><br>
>> >>>> >> > And I've already tried adding t=
he PATH module with the<br>
>> >>>> >> > use_received<br>
>> >>>> >> > parameter and add_path() and add_pa=
th_received() functions. That<br>
>> >>>> >> > didn't<br>
>> >>>> >> > help.<br>
>> >>>> >> ><br>
>> >>>> >> > On Wed, Oct 5, 2011 at 7:41 PM, Mor=
ten Isaksen <<a href=3D"mailto:misak at misak.dk" target=3D"_blank">misak at m=
isak.dk</a>><br>
>> >>>> >> > wrote:<br>
>> >>>> >> >><br>
>> >>>> >> >> Hi,<br>
>> >>>> >> >><br>
>> >>>> >> >> You need to handle in dialog ro=
uting - check one of the configs<br>
>> >>>> >> >> that<br>
>> >>>> >> >> ships with kamailio. Right now =
Kamailio forwards all SIP<br>
>> >>>> >> >> packets<br>
>> >>>> >> >> to<br>
>> >>>> >> >> freeswitch, even the ones that =
freeswitch sends to Kamailio.<br>
>> >>>> >> >><br>
>> >>>> >> >> /Morten<br>
>> >>>> >> >><br>
>> >>>> >> >> 2011/10/5 Henrik Aagaard S=F8re=
nsen<br>
>> >>>> >> >> <<a href=3D"mailto:henrikaag=
aardsorensen at gmail.com" target=3D"_blank">henrikaagaardsorensen at gmail.com</=
a>>:<br>
>> >>>> >> >> > I have a setup with Kamail=
io as dispatcher in front of a<br>
>> >>>> >> >> > FreeSwitch<br>
>> >>>> >> >> > server.<br>
>> >>>> >> >> > This is my kamailio.cfg: <=
a href=3D"http://pastebin.com/8PR2GFBD" target=3D"_blank">http://pastebin.c=
om/8PR2GFBD</a><br>
>> >>>> >> >> ><br>
>> >>>> >> >> > I'm currently getting =
"Too many hops" when calling between<br>
>> >>>> >> >> > SIP<br>
>> >>>> >> >> > clients.<br>
>> >>>> >> >> > I am<br>
>> >>>> >> >> > able to call to FreeSwitch=
and listen to voicemail, hold<br>
>> >>>> >> >> > music<br>
>> >>>> >> >> > etc.<br>
>> >>>> >> >> ><br>
>> >>>> >> >> > After a long conversation =
with a FreeSwitch expert, and some<br>
>> >>>> >> >> > tests, I<br>
>> >>>> >> >> > was<br>
>> >>>> >> >> > told that Kamailio deliver=
s the wrong IP (NAT problems) to<br>
>> >>>> >> >> > FreeSwitch.<br>
>> >>>> >> >> ><br>
>> >>>> >> >> > I've also run tshark o=
n both FreeSwitch and Kamailio and when<br>
>> >>>> >> >> > calling<br>
>> >>>> >> >> > between clients they just =
send the packets between each<br>
>> >>>> >> >> > other.<br>
>> >>>> >> >> ><br>
>> >>>> >> >> > Can anyone help me out? I&=
#39;ve tried to Google a lot for this<br>
>> >>>> >> >> > problem<br>
>> >>>> >> >> > and<br>
>> >>>> >> >> > asked in several IRC chann=
els, mailing lists and forums.<br>
>> >>>> >> >> > Without<br>
>> >>>> >> >> > any<br>
>> >>>> >> >> > luck.<br>
>> >>>> >> >> ><br>
>> >>>> >> >> > __________________________=
_____________________<br>
>> >>>> >> >> > SIP Express Router (SER) a=
nd Kamailio (OpenSER) - sr-users<br>
>> >>>> >> >> > mailing<br>
>> >>>> >> >> > list<br>
>> >>>> >> >> > <a href=3D"mailto:sr-users=
@lists.sip-router.org" target=3D"_blank">sr-users at lists.sip-router.org</a><=
br>
>> >>>> >> >> > <a href=3D"http://lists.si=
p-router.org/cgi-bin/mailman/listinfo/sr-users" target=3D"_blank">http://li=
sts.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> >>>> >> >> ><br>
>> >>>> >> >> ><br>
>> >>>> >> >><br>
>> >>>> >> >><br>
>> >>>> >> >><br>
>> >>>> >> >> --<br>
>> >>>> >> >> Morten Isaksen<br>
>> >>>> >> >><br>
>> >>>> >> >> _______________________________=
________________<br>
>> >>>> >> >> SIP Express Router (SER) and Ka=
mailio (OpenSER) - sr-users<br>
>> >>>> >> >> mailing<br>
>> >>>> >> >> list<br>
>> >>>> >> >> <a href=3D"mailto:sr-users at list=
s.sip-router.org" target=3D"_blank">sr-users at lists.sip-router.org</a><br>
>> >>>> >> >> <a href=3D"http://lists.sip-rou=
ter.org/cgi-bin/mailman/listinfo/sr-users" target=3D"_blank">http://lists.s=
ip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> >>>> >> ><br>
>> >>>> >> ><br>
>> >>>> >> > ___________________________________=
____________<br>
>> >>>> >> > SIP Express Router (SER) and Kamail=
io (OpenSER) - sr-users<br>
>> >>>> >> > mailing<br>
>> >>>> >> > list<br>
>> >>>> >> > <a href=3D"mailto:sr-users at lists.si=
p-router.org" target=3D"_blank">sr-users at lists.sip-router.org</a><br>
>> >>>> >> > <a href=3D"http://lists.sip-router.=
org/cgi-bin/mailman/listinfo/sr-users" target=3D"_blank">http://lists.sip-r=
outer.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> >>>> >> ><br>
>> >>>> >> ><br>
>> >>>> >><br>
>> >>>> >><br>
>> >>>> >><br>
>> >>>> >> --<br>
>> >>>> >> Morten Isaksen<br>
>> >>>> >><br>
>> >>>> >> ________________________________________=
_______<br>
>> >>>> >> SIP Express Router (SER) and Kamailio (O=
penSER) - sr-users mailing<br>
>> >>>> >> list<br>
>> >>>> >> <a href=3D"mailto:sr-users at lists.sip-rou=
ter.org" target=3D"_blank">sr-users at lists.sip-router.org</a><br>
>> >>>> >> <a href=3D"http://lists.sip-router.org/c=
gi-bin/mailman/listinfo/sr-users" target=3D"_blank">http://lists.sip-router=
.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> >>>> ><br>
>> >>>> ><br>
>> >>>> > ____________________________________________=
___<br>
>> >>>> > SIP Express Router (SER) and Kamailio (OpenS=
ER) - sr-users mailing<br>
>> >>>> > list<br>
>> >>>> > <a href=3D"mailto:sr-users at lists.sip-router.=
org" target=3D"_blank">sr-users at lists.sip-router.org</a><br>
>> >>>> > <a href=3D"http://lists.sip-router.org/cgi-b=
in/mailman/listinfo/sr-users" target=3D"_blank">http://lists.sip-router.org=
/cgi-bin/mailman/listinfo/sr-users</a><br>
>> >>>> ><br>
>> >>>> ><br>
>> >>>><br>
>> >>>><br>
>> >>>><br>
>> >>>> --<br>
>> >>>> Morten Isaksen<br>
>> >>>><br>
>> >>>> _______________________________________________<b=
r>
>> >>>> SIP Express Router (SER) and Kamailio (OpenSER) -=
sr-users mailing<br>
>> >>>> list<br>
>> >>>> <a href=3D"mailto:sr-users at lists.sip-router.org" =
target=3D"_blank">sr-users at lists.sip-router.org</a><br>
>> >>>> <a href=3D"http://lists.sip-router.org/cgi-bin/ma=
ilman/listinfo/sr-users" target=3D"_blank">http://lists.sip-router.org/cgi-=
bin/mailman/listinfo/sr-users</a><br>
>> >>><br>
>> >><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users ma=
iling list<br>
>> > <a href=3D"mailto:sr-users at lists.sip-router.org" target=3D"_b=
lank">sr-users at lists.sip-router.org</a><br>
>> > <a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listin=
fo/sr-users" target=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/=
listinfo/sr-users</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Morten Isaksen<br>
>><br>
>> _______________________________________________<br>
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing=
list<br>
>> <a href=3D"mailto:sr-users at lists.sip-router.org" target=3D"_blank"=
>sr-users at lists.sip-router.org</a><br>
>> <a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr=
-users" target=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/listi=
nfo/sr-users</a><br>
><br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing lis=
t<br>
> <a href=3D"mailto:sr-users at lists.sip-router.org" target=3D"_blank">sr-=
users at lists.sip-router.org</a><br>
> <a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-use=
rs" target=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/=
sr-users</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Morten Isaksen<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href=3D"mailto:sr-users at lists.sip-router.org" target=3D"_blank">sr-users=
@lists.sip-router.org</a><br>
<a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" t=
arget=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-us=
ers</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href=3D"mailto:sr-users at lists.sip-router.org" target=3D"_blank">sr-users=
@lists.sip-router.org</a><br>
<a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" t=
arget=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-us=
ers</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href=3D"mailto:sr-users at lists.sip-router.org">sr-users at lists.sip-router.=
org</a><br>
<a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" t=
arget=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-us=
ers</a><br>
<br></blockquote></div><br>
--20cf300e4fc1a6b39404aef65473--
More information about the sr-users
mailing list