No subject


Tue Aug 30 21:52:48 CEST 2011


On Sat, Oct 8, 2011 at 10:28 PM, Morten Isaksen <misak at misak.dk> wrote:

> Can you capture one of the calls that fails with tcpdump.
>
> Also try to add some xlog lines in the configuration file for debuging.
>
> What does the log from rtpproxy show?
>
> 2011/10/8 Henrik Aagaard S=F8rensen <henrikaagaardsorensen at gmail.com>:
> > Dear Morten and everyone else.
> >
> > I'm still struggling with Kamailio as a simple dispatcher for FreeSwitc=
h.
> > This is my configuration so far (with help from Morten):
> > http://pastebin.com/nBPSpe6S
> >
> > Connecting an iPhone and an Android makes the calls between them timeou=
t.
> > Connecting one of the phones and my laptops makes calls between them
> produce
> > the error "Too many hops".
> >
> > With all of them I'm able to call in to the Freeswitch, for listening t=
o
> > voicemail, hold music etc.
> >
> > So I guess it's still NAT problems or similar?
> >
> > Can anyone spot the error, missing thing or something else that is wron=
g
> > with the config?
> >
> > P.S. Adding phones, laptops etc. directly to FreeSwitch, without
> Kamailio,
> > makes everything works.
> >
> > 2011/10/7 Henrik Aagaard S=F8rensen <henrikaagaardsorensen at gmail.com>
> >>
> >> Hi Morten.
> >>
> >> I've tested it a lot know, your latest config-example. At it actually
> >> works when I connect 2 devices, 1 iPhone and 1 Android. But when
> connecting
> >> 1 phone and my laptop with SFLPhone or Linphone I cannot call the
> laptop.
> >> Does that make any sense?
> >>
> >> 2011/10/6 Henrik Aagaard S=F8rensen <henrikaagaardsorensen at gmail.com>
> >>>
> >>> Still getting "Too Many Hops" :(
> >>>
> >>> On Thu, Oct 6, 2011 at 10:19 PM, Morten Isaksen <misak at misak.dk>
> wrote:
> >>>>
> >>>> Try this one http://pastebin.com/mahKECAw
> >>>>
> >>>> /Morten
> >>>>
> >>>> 2011/10/6 Henrik Aagaard S=F8rensen <henrikaagaardsorensen at gmail.com=
>:
> >>>> > Hi Morten.
> >>>> >
> >>>> > I've tried to add that part: http://pastebin.com/MmKnbKLz
> >>>> >
> >>>> > But now it won't even register. Do you know any config-example for=
 a
> >>>> > working
> >>>> > dispatcher for Kamailio?
> >>>> >
> >>>> > On Thu, Oct 6, 2011 at 10:54 AM, Morten Isaksen <misak at misak.dk>
> >>>> > wrote:
> >>>> >>
> >>>> >> This part
> >>>> >>
> >>>> >> # handle requests within SIP dialogs
> >>>> >> route(WITHINDLG);
> >>>> >>
> >>>> >> 2011/10/6 Henrik Aagaard S=F8rensen <henrikaagaardsorensen at gmail.=
com
> >:
> >>>> >> > Hi Morten.
> >>>> >> >
> >>>> >> > Do you mean anything specific in the standard config:
> >>>> >> > http://pastebin.com/Aj4mHAJq
> >>>> >> >
> >>>> >> > Because that handles registrations, subscriber list etc. etc...
> I'm
> >>>> >> > only
> >>>> >> > interested in Kamailio as a dispatcher.
> >>>> >> >
> >>>> >> > And I've already tried adding the PATH module with the
> use_received
> >>>> >> > parameter and add_path() and add_path_received() functions. Tha=
t
> >>>> >> > didn't
> >>>> >> > help.
> >>>> >> >
> >>>> >> > On Wed, Oct 5, 2011 at 7:41 PM, Morten Isaksen <misak at misak.dk>
> >>>> >> > wrote:
> >>>> >> >>
> >>>> >> >> Hi,
> >>>> >> >>
> >>>> >> >> You need to handle in dialog routing - check one of the config=
s
> >>>> >> >> that
> >>>> >> >> ships with kamailio. Right now Kamailio forwards all SIP packe=
ts
> >>>> >> >> to
> >>>> >> >> freeswitch, even the ones that freeswitch sends to Kamailio.
> >>>> >> >>
> >>>> >> >> /Morten
> >>>> >> >>
> >>>> >> >> 2011/10/5 Henrik Aagaard S=F8rensen
> >>>> >> >> <henrikaagaardsorensen at gmail.com>:
> >>>> >> >> > I have a setup with Kamailio as dispatcher in front of a
> >>>> >> >> > FreeSwitch
> >>>> >> >> > server.
> >>>> >> >> > This is my kamailio.cfg: http://pastebin.com/8PR2GFBD
> >>>> >> >> >
> >>>> >> >> > I'm currently getting "Too many hops" when calling between S=
IP
> >>>> >> >> > clients.
> >>>> >> >> > I am
> >>>> >> >> > able to call to FreeSwitch and listen to voicemail, hold mus=
ic
> >>>> >> >> > etc.
> >>>> >> >> >
> >>>> >> >> > After a long conversation with a FreeSwitch expert, and some
> >>>> >> >> > tests, I
> >>>> >> >> > was
> >>>> >> >> > told that Kamailio delivers the wrong IP (NAT problems) to
> >>>> >> >> > FreeSwitch.
> >>>> >> >> >
> >>>> >> >> > I've also run tshark on both FreeSwitch and Kamailio and whe=
n
> >>>> >> >> > calling
> >>>> >> >> > between clients they just send the packets between each othe=
r.
> >>>> >> >> >
> >>>> >> >> > Can anyone help me out? I've tried to Google a lot for this
> >>>> >> >> > problem
> >>>> >> >> > and
> >>>> >> >> > asked in several IRC channels, mailing lists and forums.
> Without
> >>>> >> >> > any
> >>>> >> >> > luck.
> >>>> >> >> >
> >>>> >> >> > _______________________________________________
> >>>> >> >> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> >>>> >> >> > mailing
> >>>> >> >> > list
> >>>> >> >> > sr-users at lists.sip-router.org
> >>>> >> >> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-user=
s
> >>>> >> >> >
> >>>> >> >> >
> >>>> >> >>
> >>>> >> >>
> >>>> >> >>
> >>>> >> >> --
> >>>> >> >> Morten Isaksen
> >>>> >> >>
> >>>> >> >> _______________________________________________
> >>>> >> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> mailing
> >>>> >> >> list
> >>>> >> >> sr-users at lists.sip-router.org
> >>>> >> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >>>> >> >
> >>>> >> >
> >>>> >> > _______________________________________________
> >>>> >> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> mailing
> >>>> >> > list
> >>>> >> > sr-users at lists.sip-router.org
> >>>> >> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >>>> >> >
> >>>> >> >
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> --
> >>>> >> Morten Isaksen
> >>>> >>
> >>>> >> _______________________________________________
> >>>> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailin=
g
> >>>> >> list
> >>>> >> sr-users at lists.sip-router.org
> >>>> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >>>> >
> >>>> >
> >>>> > _______________________________________________
> >>>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> >>>> > list
> >>>> > sr-users at lists.sip-router.org
> >>>> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >>>> >
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Morten Isaksen
> >>>>
> >>>> _______________________________________________
> >>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> >>>> sr-users at lists.sip-router.org
> >>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >>>
> >>
> >
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
> >
>
>
>
> --
> Morten Isaksen
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>

--20cf3040ec2e1b542504aed08229
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



More information about the sr-users mailing list