Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] error creating IPv6 profile when corresponding IPv4 port in use


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
brian at freeswitch.org
Guest





PostPosted: Wed Dec 17, 2008 12:11 am    Post subject: [Freeswitch-users] error creating IPv6 profile when correspo Reply with quote

Well the OS reports its in use when we try to bind not much we can do
about that ... what does netstat -na | grep 5060 show?

/b

On Dec 16, 2008, at 11:07 PM, Jason White wrote:

Quote:
nta: bind([2001:44b8:61::3b]:5060;transport=*): Address already in use


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
jason at jasonjgw.net
Guest





PostPosted: Wed Dec 17, 2008 12:17 am    Post subject: [Freeswitch-users] error creating IPv6 profile when correspo Reply with quote

Here's the scenario (FreeSWITCH revision 10725).

I have Asterisk listening on port 5060 under IPv4. This version of Asterisk
does not support IPv6, and netstat -6 -a | grep sip suggests that, as
expected, it isn't listening on port 5060 under IPv6.

If I set up FreeSWITCH profiles to listen on port 5070, for example, under
both IPv4 and IPv6 then it works fine.

However, if I create an IPv4 profile to listen on port 5070, and an IPv6
profile to listen on port 5060, Sofia fails with a "port already in use"
error, even though nothing should be using port 5060 under IPv6.

Quote:
From the logs:

tport_create(): 0x1b4d0e0
tport_bind_server(0x1b4d0e0) to */[2001:44b8:61::3b]:5060/sip
tport_bind_server(0x1b4d0e0): calling tport_listen for udp
tport_alloc_primary(0x1b4d0e0): new primary tport 0x1b4f010
tport_listen(0x1b4d0e0): bind(pf=10 udp/[2001:44b8:61::3b]:5060): Address already in use
tport_destroy(0x1b4d0e0)
nta: bind([2001:44b8:61::3b]:5060;transport=*): Address already in use
nua: initializing SIP stack failed

Obviously, I can easily use a different port, and hence this issue doesn't
affect me. However, if it's a bug, I think it should still go into the bug
list. I realize the problem might not be in Sofia or FreeSWITCH. Is Asterisk
really taking over the IPv6 port as well?

Environment: Debian Sid, kernel 2.6.26, x86_64 architecture.

Note: once I learn enough about FreeSWITCH to configure it properly and set it
up to meet my personal telephony needs, the Asterisk installation will be,
shall we say, redundant.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services