[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partysip-dev] Almost-infinite message loop for Invite

From: Aymeric Moizard
Subject: Re: [Partysip-dev] Almost-infinite message loop for Invite
Date: Tue, 28 Jan 2003 16:55:38 +0100 (CET)

Simple issue :)

You have several names for your server where partysip is running:

Both and MUST be defined so that will not be considered to be a remote server.

partysip should be improved to detect all interfaces but this is
not simple as many OS has different API to do that...

So modify your config to be:

serverip = ip.ip.ip.ip ,
(else would be considered a remote host! :<)

servername =,

Then it will run fine.

For the /etc/service issue, most platforms use the gethostbyname_r
method while OpenBSD has getaddrinfo. When getaddrinfo is used,
you might need to add the sip entry as you said... I don't understand
why I did not met that bug on my OpenBSD?


On Mon, 27 Jan 2003, Gary Corcoran wrote:

> I'm a new user of partysip, trying to test and debug our SIP phone.
> I installed partysip-0.5.3 and libosip-0.9.3 on my (private) FreeBSD
> server, and setup DNS (named) on it.
> I'm trying to call from one phone to another one on the same
> domain (same server).  First, I register from the destination
> phone, and it seems to work (see log).  Then I attempt to call
> the registered phone, but I end up getting an (attempted) infinite
> number of "Via"'s added as my server tries to forward the INVITE
> to itself - it never sends the Invite out to the destination.
> I saw the discussion from back in September about this type of
> problem, and I saw that patches were added that supposedly address
> this thing - but they don't seem to do anything for me!  ;-)
> I run with '-d 6', and I added a bunch of extra debug messages,
> and the beginning of my log is attached.  Due to the recursion,
> it goes for over 10,000 lines before it stops or crashes, so this
> is just the first 300 or so lines...
> Any ideas?
> BTW, a major stumbling block to even getting this far was the
> fact that no one mentioned that I had to add lines for 'sip'
> to /etc/services so that the host server lookup would succeed!
> (else the "am I responsible for this domain" kept failing)
> Thanks,
> Gary

reply via email to

[Prev in Thread] Current Thread [Next in Thread]