Re: [asterisk-users] Error in ubuntu dapper

2006-07-29 Thread Tzafrir Cohen
On Fri, Jul 21, 2006 at 06:13:50PM -0500, brandon kruz wrote:
 in addition to russel
 use
 (in ubuntu)
 sudo netstat
 or man netstat for further, more precise methods
 look for your specific port
 eg
 sudo netstat -a | grep 5060
 and it shoudl tell you the process name, and what directory it is comming 
 from
 shut it off
 and do that
 sudo netstat -a | grep 5060 again
 it should be clear

Indeed reading the man page is rcommended.

If you don't intend to run this as root:

  netstat -lnu | grep 5060

But if you happen to run this as root:

  sudo netstat -lntp | grep 5060

which should also give you the name of the process.
(-u is for UDP. Also consider -t or --ip)

 then start asterisk :]

Shouldn't 'sip reload' / 'reload' be good enough?

-- 
Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755  iax:[EMAIL PROTECTED]
+972-50-7952406  jabber:[EMAIL PROTECTED]
[EMAIL PROTECTED] http://www.xorcom.com
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Error in ubuntu dapper

2006-07-23 Thread don Paolo Benvenuto
El vie, 21-07-2006 a las 18:53 -0400, Russell Bryant escribió:
 On Fri, 2006-07-21 at 12:37 -0400, don Paolo Benvenuto wrote:
  Jul 21 12:31:51 WARNING[6333]: chan_sip.c:12637 reload_config: Failed to 
  bind to 10.152.58.9:5060: Address already in use
 
 It looks like another application on your system is using port 5060.
 Did you install any new software such as a soft phone?
 
 If you are now using another application that wants to use port 5060,
 you will need to configure one of them to use a different port.

But, at this point, is the issue worth a bug?

I think asterisk should detect the unavailability of the port, and stop
with an error message. What can an asterisk running this way help?

-- 
Buon Cammino!

don Paolo Benvenuto

Vuoi sapere di più su quello che succede qui?
leggi il mio diario a http://www.chiesamissionaria.it/diario

Visita l'enciclopedia libera, dove puoi contribuire anche tu:
http://it.wikipedia.org/

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Error in ubuntu dapper

2006-07-22 Thread brandon kruz

look for another, more configurable softphone if you can

but asterisk needs that for incoming sip(or maybe its iax, not sure)

you should be able to configure the differnet port
you want to use a softphone on your asterisk system
and btw netstat -a | grep 5060 worked for me

but who knows

let me know how it goes, im going to do some more research



From: don Paolo Benvenuto [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED],Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com
To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com

Subject: Re: [asterisk-users] Error in ubuntu dapper
Date: Fri, 21 Jul 2006 21:10:14 -0400
MIME-Version: 1.0
Received: from lists.digium.com ([69.16.138.164]) by 
bay0-mc7-f16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Fri, 
21 Jul 2006 18:17:10 -0700
Received: from digium-69-16-138-164.phx1.puregig.net (localhost 
[127.0.0.1])by lists.digium.com (Postfix) with ESMTP id CC0B12FC079;Fri, 21 
Jul 2006 18:10:21 -0700 (MST)
Received: from psmtp.com (exprod8mx1.postini.com [64.18.3.101])by 
lists.digium.com (Postfix) with SMTP id 7B2EA2FC066for 
asterisk-users@lists.digium.com;Fri, 21 Jul 2006 18:10:10 -0700 (MST)
Received: from source ([66.249.82.192]) by 
exprod8mx1.postini.com([exprod8mx1.postini.com ([64.18.7.10]) with SMTP; 
Fri, 21 Jul 2006 21:10:29 EDT
Received: by wx-out-0102.google.com with SMTP id s13so532891wxcfor 
asterisk-users@lists.digium.com;Fri, 21 Jul 2006 18:10:29 -0700 (PDT)
Received: by 10.70.112.20 with SMTP id k20mr1994408wxc;Fri, 21 Jul 2006 
18:10:28 -0700 (PDT)
Received: from misiongenovesa ( [196.3.84.214])by mx.gmail.com with ESMTP 
id i39sm5147981wxd.2006.07.21.18.10.26;Fri, 21 Jul 2006 18:10:27 -0700 
(PDT)

X-Message-Info: LsUYwwHHNt2mmOpExjsd3FMaOP/B7UIwJnSbpuDpvbc=
X-Original-To: asterisk-users@lists.digium.com
Delivered-To: asterisk-users@lists.digium.com
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; 
d=gmail.com;h=received:subject:reply-to:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:from;b=gqXsGyXBnu6SHErS5NrYYIN+Cn6pRa6S1vZeG7WMqipdJgYxPAf1d/KScXqECxERDlxeH4dxOmkoMUIzuIR2pQi7VG6w5WISnA7RPtWLJCngL33gA2M/Nhk9R6ggJbxnottpKWjxiFXzOQwDuSamlrc1X5XXeiMCLrnAGelF+rI=

References: [EMAIL PROTECTED]
X-Mailer: Evolution 2.6.2 X-pstn-levels: (S:99.9/99.9 FC:95.5390 
LC:95.5390 R:95.9108 P:95.9108M:96.8350 C:98.4741 )
X-pstn-settings: 3 (1.:1.) s fc lc gt3 gt2 gt1 r p m c 
X-pstn-addresses: from [EMAIL PROTECTED] [db-null] X-BeenThere: 
asterisk-users@lists.digium.com

X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users.lists.digium.com
List-Unsubscribe: 
http://lists.digium.com/mailman/listinfo/asterisk-users,mailto:[EMAIL PROTECTED]

List-Archive: http://lists.digium.com/pipermail/asterisk-users
List-Post: mailto:asterisk-users@lists.digium.com
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe: 
http://lists.digium.com/mailman/listinfo/asterisk-users,mailto:[EMAIL PROTECTED]

Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 22 Jul 2006 01:17:10.0723 (UTC) 
FILETIME=[8E7B0130:01C6AD2C]


Yeah, ekiga was using port 5060, althoug netstat -a didn't say it.

I might issue netstat -alpn

The weird thing is that I had configured ekiga so that it used port
5061, but unfortunatly if ekiga is run before asterisk it catchs port
5060 too.

El vie, 21-07-2006 a las 18:13 -0500, brandon kruz escribió:
 in addition to russel
 use
 (in ubuntu)
 sudo netstat
 or man netstat for further, more precise methods
 look for your specific port
 eg
 sudo netstat -a | grep 5060
 and it shoudl tell you the process name, and what directory it is 
comming

 from
 shut it off
 and do that
 sudo netstat -a | grep 5060 again
 it should be clear
 then start asterisk :]

 keep us updated.

 the fact that it is from module chan_sip, as russel said
 i believe its a sip phone indeed(softphone, X-lite, SJ-phone, etc)

 
 On Fri, 2006-07-21 at 12:37 -0400, don Paolo Benvenuto wrote:
   Jul 21 12:31:51 WARNING[6333]: chan_sip.c:12637 reload_config: 
Failed to

 bind to 10.152.58.9:5060: Address already in use
 
 It looks like another application on your system is using port 5060.
 Did you install any new software such as a soft phone?
 
 If you are now using another application that wants to use port 5060,
 you will need to configure one of them to use a different port.
 

--
Buon Cammino!

don Paolo Benvenuto

Vuoi sapere di più su quello che succede qui?
leggi il mio diario a http://www.chiesamissionaria.it/diario

Visita l'enciclopedia libera, dove puoi contribuire anche tu:
http://it.wikipedia.org/

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk

[asterisk-users] Error in ubuntu dapper

2006-07-21 Thread don Paolo Benvenuto
I'm using asterisk 1.2.7.1 on ubuntu dapper. It was working.

But today, without changing nothing in the config, and without
connecting-desconnecting anything, it began to give me this error:

Jul 21 12:31:51 WARNING[6333]: chan_sip.c:12637 reload_config: Failed to bind 
to 10.152.58.9:5060: Address already in use
  == Parsing '/etc/asterisk/sip_notify.conf': Found
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815d4a0 (len 527) to 10.152.58.8:5065 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x814c6f8 (len 477) to 10.152.58.18:5061 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8144358 (len 495) to 10.152.58.17:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x814c380 (len 497) to 10.152.58.27:5061 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x81591f0 (len 491) to 10.152.58.27:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8165738 (len 475) to 10.152.58.17:5061 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8164058 (len 499) to 10.152.58.26:5061 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8161338 (len 503) to 10.152.58.26:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815fca8 (len 489) to 10.152.58.16:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8150298 (len 483) to 10.152.58.16:5061 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8166280 (len 477) to 10.152.58.15:5061 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x81629c8 (len 477) to 82.165.235.209:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8161e80 (len 483) to 67.55.159.160:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815f160 (len 473) to 195.62.225.244:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815de60 (len 469) to 213.91.9.213:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x81607f0 (len 467) to 83.143.18.16:5060 returned -1: Bad file descriptor
Jul 21 12:31:51 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8163510 (len 471) to 83.138.130.145:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815d4a0 (len 527) to 10.152.58.8:5065 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x814c6f8 (len 477) to 10.152.58.18:5061 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8144358 (len 495) to 10.152.58.17:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x814c380 (len 497) to 10.152.58.27:5061 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x81591f0 (len 491) to 10.152.58.27:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8165738 (len 475) to 10.152.58.17:5061 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8164058 (len 499) to 10.152.58.26:5061 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8161338 (len 503) to 10.152.58.26:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815fca8 (len 489) to 10.152.58.16:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8150298 (len 483) to 10.152.58.16:5061 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8166280 (len 477) to 10.152.58.15:5061 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x81629c8 (len 477) to 82.165.235.209:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x8161e80 (len 483) to 67.55.159.160:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815f160 (len 473) to 195.62.225.244:5060 returned -1: Bad file descriptor
Jul 21 12:31:52 WARNING[6333]: chan_sip.c:1066 __sip_xmit: sip_xmit of 
0x815de60 (len 469) to 

Re: [asterisk-users] Error in ubuntu dapper

2006-07-21 Thread Russell Bryant
On Fri, 2006-07-21 at 12:37 -0400, don Paolo Benvenuto wrote:
 Jul 21 12:31:51 WARNING[6333]: chan_sip.c:12637 reload_config: Failed to bind 
 to 10.152.58.9:5060: Address already in use

It looks like another application on your system is using port 5060.
Did you install any new software such as a soft phone?

If you are now using another application that wants to use port 5060,
you will need to configure one of them to use a different port.

-- 
Russell Bryant
Software Developer
Digium, Inc.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Error in ubuntu dapper

2006-07-21 Thread brandon kruz

in addition to russel
use
(in ubuntu)
sudo netstat
or man netstat for further, more precise methods
look for your specific port
eg
sudo netstat -a | grep 5060
and it shoudl tell you the process name, and what directory it is comming 
from

shut it off
and do that
sudo netstat -a | grep 5060 again
it should be clear
then start asterisk :]

keep us updated.

the fact that it is from module chan_sip, as russel said
i believe its a sip phone indeed(softphone, X-lite, SJ-phone, etc)



On Fri, 2006-07-21 at 12:37 -0400, don Paolo Benvenuto wrote:
 Jul 21 12:31:51 WARNING[6333]: chan_sip.c:12637 reload_config: Failed to 
bind to 10.152.58.9:5060: Address already in use


It looks like another application on your system is using port 5060.
Did you install any new software such as a soft phone?

If you are now using another application that wants to use port 5060,
you will need to configure one of them to use a different port.

--
Russell Bryant
Software Developer
Digium, Inc.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Error in ubuntu dapper

2006-07-21 Thread don Paolo Benvenuto
Yeah, ekiga was using port 5060, althoug netstat -a didn't say it.

I might issue netstat -alpn

The weird thing is that I had configured ekiga so that it used port
5061, but unfortunatly if ekiga is run before asterisk it catchs port
5060 too.

El vie, 21-07-2006 a las 18:13 -0500, brandon kruz escribió:
 in addition to russel
 use
 (in ubuntu)
 sudo netstat
 or man netstat for further, more precise methods
 look for your specific port
 eg
 sudo netstat -a | grep 5060
 and it shoudl tell you the process name, and what directory it is comming 
 from
 shut it off
 and do that
 sudo netstat -a | grep 5060 again
 it should be clear
 then start asterisk :]
 
 keep us updated.
 
 the fact that it is from module chan_sip, as russel said
 i believe its a sip phone indeed(softphone, X-lite, SJ-phone, etc)
 
 
 On Fri, 2006-07-21 at 12:37 -0400, don Paolo Benvenuto wrote:
   Jul 21 12:31:51 WARNING[6333]: chan_sip.c:12637 reload_config: Failed to 
 bind to 10.152.58.9:5060: Address already in use
 
 It looks like another application on your system is using port 5060.
 Did you install any new software such as a soft phone?
 
 If you are now using another application that wants to use port 5060,
 you will need to configure one of them to use a different port.
 

-- 
Buon Cammino!

don Paolo Benvenuto

Vuoi sapere di più su quello che succede qui?
leggi il mio diario a http://www.chiesamissionaria.it/diario

Visita l'enciclopedia libera, dove puoi contribuire anche tu:
http://it.wikipedia.org/

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users