Re: ERROR:I'm trying to delete a VIA but it's not mine!

Colin Guthrie <gmane-D409yXkIzt2rnn0nCzrM/[email protected]> Tue, 26 Jun 2007 11:00:34 +0100
Newsgroups gmane.network.siproxd
Message-ID <[email protected]>
Colin Guthrie wrote:
> Thomas Ries wrote:
>> Hi Colin,
>>
>> If you still get the error about deleting vias (and you are sure that
>> the via in question is your external IP address), please send me a debug
>> log (loglevel = -1) including the error (and all output before, starting
>> when the offending DIALOG started).

> Thanks for all the info. I'll look at this on Monday when I'm in the office!

OK here is some more info.

(no debug log yet tho but perhaps you can infer from this?) I'll start
logging ASAP.

Reminder (from siproxd.conf):
if_inbound  = eth1
if_outbound = eth1
host_outbound = 84.9.255.116
outbound_domain_name = lon-pbx-3.gradwell.net
outbound_domain_host = nat1.gradwell.net
outbound_domain_port = 5082


Looks like a DNS error in looking up nat1.gradwell.net caused an issue:

Jun 26 10:24:00 summit siproxd[20879]: utils.c:185
ERROR:gethostbyname(nat1.gradwell.net) failed: h_errno=2 [Host name
lookup failure]
Jun 26 10:24:00 summit siproxd[20879]: sip_utils.c:916
ERROR:sip_find_outbound_proxy: cannot resolve outbound proxy host
[nat1.gradwell.net], check config
Jun 26 10:24:03 summit siproxd[20879]: sip_utils.c:620 ERROR:I'm trying
to delete a VIA but it's not mine! host=193.111.200.139
Jun 26 10:24:03 summit siproxd[20879]: sip_utils.c:620 ERROR:I'm trying
to delete a VIA but it's not mine! host=193.111.200.139
Jun 26 10:24:03 summit siproxd[20879]: sip_utils.c:620 ERROR:I'm trying
to delete a VIA but it's not mine! host=192.168.0.1
Jun 26 10:24:22 summit siproxd[20879]: sip_utils.c:620 ERROR:I'm trying
to delete a VIA but it's not mine! host=192.168.0.1
Jun 26 10:24:53 summit siproxd[20879]: sip_utils.c:620 ERROR:I'm trying
to delete a VIA but it's not mine! host=192.168.0.1
Jun 26 10:29:55 summit siproxd[20879]: sip_utils.c:620 ERROR:I'm trying
to delete a VIA but it's not mine! host=193.111.200.139


This appears to have caused knock on effects!

The IP 192.111.200.139 is lon-pbx-3.gradwell.net and 192.168.0.1 is the
internal IP the server uses when connecting to the wider interweb (e.g.
eth0). Perhaps siproxd needs to know about eth0 in some way too? Or
perhaps this isn't an issue if the 193.111.200.139 "delete VIA" error is
not triggered.

I'll setup logging now, but perhaps this will help.

I'm tempted to add nat1.gradwell.net and lon-pbx-3.gradwell.net into my
/etc/hosts file, but perhaps there should be a more robust DNS cache in
siproxd?

Col


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/