No subject
Tue Aug 30 21:52:48 CEST 2011
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 debuging.<br>
<br>
What does the log from rtpproxy show?<br>
<br>
2011/10/8 Henrik Aagaard S=F8rensen <<a href=3D"mailto:henrikaagaardsore=
nsen at gmail.com">henrikaagaardsorensen at gmail.com</a>>:<br>
<div><div></div><div class=3D"h5">> Dear Morten and everyone else.<br>
><br>
> I'm still struggling with Kamailio as a simple dispatcher for Free=
Switch.<br>
> This is my configuration so far (with help from Morten):<br>
> <a href=3D"http://pastebin.com/nBPSpe6S" target=3D"_blank">http://past=
ebin.com/nBPSpe6S</a><br>
><br>
> Connecting an iPhone and an Android makes the calls between them timeo=
ut.<br>
> Connecting one of the phones and my laptops makes calls between them p=
roduce<br>
> the error "Too many hops".<br>
><br>
> With all of them I'm able to call in to the Freeswitch, for listen=
ing 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 that is wro=
ng<br>
> with the config?<br>
><br>
> P.S. Adding phones, laptops etc. directly to FreeSwitch, without Kamai=
lio,<br>
> makes everything works.<br>
><br>
> 2011/10/7 Henrik Aagaard S=F8rensen <<a href=3D"mailto:henrikaagaar=
dsorensen at gmail.com">henrikaagaardsorensen at gmail.com</a>><br>
>><br>
>> Hi Morten.<br>
>><br>
>> I've tested it a lot know, your latest config-example. At it a=
ctually<br>
>> works when I connect 2 devices, 1 iPhone and 1 Android. But when c=
onnecting<br>
>> 1 phone and my laptop with SFLPhone or Linphone I cannot call the =
laptop.<br>
>> Does that make any sense?<br>
>><br>
>> 2011/10/6 Henrik Aagaard S=F8rensen <<a href=3D"mailto:henrikaa=
gaardsorensen at gmail.com">henrikaagaardsorensen at gmail.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">misak at misak.dk</a>> wrote:<br>
>>>><br>
>>>> Try this one <a href=3D"http://pastebin.com/mahKECAw" targ=
et=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">henrikaagaardsorensen at gmail.com</a>>:<b=
r>
>>>> > Hi Morten.<br>
>>>> ><br>
>>>> > I've tried to add that part: <a href=3D"http://pa=
stebin.com/MmKnbKLz" target=3D"_blank">http://pastebin.com/MmKnbKLz</a><br>
>>>> ><br>
>>>> > But now it won't even register. Do you know any c=
onfig-example for a<br>
>>>> > working<br>
>>>> > dispatcher for Kamailio?<br>
>>>> ><br>
>>>> > On Thu, Oct 6, 2011 at 10:54 AM, Morten Isaksen <<=
a href=3D"mailto:misak at misak.dk">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 <<a href=
=3D"mailto:henrikaagaardsorensen at gmail.com">henrikaagaardsorensen at gmail.com=
</a>>:<br>
>>>> >> > Hi Morten.<br>
>>>> >> ><br>
>>>> >> > Do you mean anything specific in the standar=
d config:<br>
>>>> >> > <a href=3D"http://pastebin.com/Aj4mHAJq" tar=
get=3D"_blank">http://pastebin.com/Aj4mHAJq</a><br>
>>>> >> ><br>
>>>> >> > Because that handles registrations, subscrib=
er list etc. etc... I'm<br>
>>>> >> > only<br>
>>>> >> > interested in Kamailio as a dispatcher.<br>
>>>> >> ><br>
>>>> >> > And I've already tried adding the PATH m=
odule with the use_received<br>
>>>> >> > parameter and add_path() and add_path_receiv=
ed() functions. That<br>
>>>> >> > didn't<br>
>>>> >> > help.<br>
>>>> >> ><br>
>>>> >> > On Wed, Oct 5, 2011 at 7:41 PM, Morten Isaks=
en <<a href=3D"mailto:misak at misak.dk">misak at misak.dk</a>><br>
>>>> >> > wrote:<br>
>>>> >> >><br>
>>>> >> >> Hi,<br>
>>>> >> >><br>
>>>> >> >> You need to handle in dialog routing - c=
heck one of the configs<br>
>>>> >> >> that<br>
>>>> >> >> ships with kamailio. Right now Kamailio =
forwards all SIP packets<br>
>>>> >> >> to<br>
>>>> >> >> freeswitch, even the ones that freeswitc=
h sends to Kamailio.<br>
>>>> >> >><br>
>>>> >> >> /Morten<br>
>>>> >> >><br>
>>>> >> >> 2011/10/5 Henrik Aagaard S=F8rensen<br>
>>>> >> >> <<a href=3D"mailto:henrikaagaardsoren=
sen at gmail.com">henrikaagaardsorensen at gmail.com</a>>:<br>
>>>> >> >> > I have a setup with Kamailio as dis=
patcher 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.com/8PR2GF=
BD</a><br>
>>>> >> >> ><br>
>>>> >> >> > I'm currently getting "Too=
many hops" when calling between SIP<br>
>>>> >> >> > clients.<br>
>>>> >> >> > I am<br>
>>>> >> >> > able to call to FreeSwitch and list=
en to voicemail, hold music<br>
>>>> >> >> > etc.<br>
>>>> >> >> ><br>
>>>> >> >> > After a long conversation with a Fr=
eeSwitch expert, and some<br>
>>>> >> >> > tests, I<br>
>>>> >> >> > was<br>
>>>> >> >> > told that Kamailio delivers the wro=
ng IP (NAT problems) to<br>
>>>> >> >> > FreeSwitch.<br>
>>>> >> >> ><br>
>>>> >> >> > I've also run tshark on both Fr=
eeSwitch and Kamailio and when<br>
>>>> >> >> > calling<br>
>>>> >> >> > between clients they just send the =
packets between each other.<br>
>>>> >> >> ><br>
>>>> >> >> > Can anyone help me out? I've tr=
ied to Google a lot for this<br>
>>>> >> >> > problem<br>
>>>> >> >> > and<br>
>>>> >> >> > asked in several IRC channels, mail=
ing lists and forums. Without<br>
>>>> >> >> > any<br>
>>>> >> >> > luck.<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">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">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">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">=
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>
>>>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-=
users mailing<br>
>>>> > list<br>
>>>> > <a href=3D"mailto:sr-users at lists.sip-router.org">sr-u=
sers at lists.sip-router.org</a><br>
>>>> > <a href=3D"http://lists.sip-router.org/cgi-bin/mailma=
n/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>
>>>> _______________________________________________<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@=
lists.sip-router.org</a><br>
>>>> <a href=3D"http://lists.sip-router.org/cgi-bin/mailman/lis=
tinfo/sr-users" target=3D"_blank">http://lists.sip-router.org/cgi-bin/mailm=
an/listinfo/sr-users</a><br>
>>><br>
>><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">sr-users at lists.sip-ro=
uter.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">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>
</div></div></blockquote></div><br>
--20cf3040ec2e1b542504aed08229--
More information about the sr-users
mailing list