VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jason at jasonjgw.net Guest
|
Posted: Wed Dec 17, 2008 12:25 am Post subject: [Freeswitch-users] error creating IPv6 profile when correspo |
|
|
On Tue, Dec 16, 2008 at 11:10:19PM -0600, Brian West wrote:
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?
|
udp 0 0 0.0.0.0:5060 0.0.0.0:*
I'll take it, then, that this is a non-issue?
_______________________________________________
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
|
Posted: Wed Dec 17, 2008 11:04 am Post subject: [Freeswitch-users] error creating IPv6 profile when correspo |
|
|
The code in bind6only_check in libs/sofia-sip/libsofia-sip-ua/tport/tport.c looks
correct to me, but I can't find where the result is tested (it's in
mr_bindv6only). When bind6only_check() is called in tport_bind_server(), the
return value isn't tested, and I'm having difficulty finding where it is used
- I'm interested in whether we're in fact attempting to bind only to the IPv6
port and whether the logic is correct here.
When I find the time, I could rebuild with debug symbols and run it under gdb.
_______________________________________________
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 |
|
|
mike at jerris.com Guest
|
Posted: Wed Dec 17, 2008 12:12 pm Post subject: [Freeswitch-users] error creating IPv6 profile when correspo |
|
|
On Dec 17, 2008, at 2:40 AM, Jason White wrote:
Quote: | The code in bind6only_check in libs/sofia-sip/libsofia-sip-ua/tport/
tport.c looks
correct to me, but I can't find where the result is tested (it's in
mr_bindv6only). When bind6only_check() is called in
tport_bind_server(), the
return value isn't tested, and I'm having difficulty finding where
it is used
- I'm interested in whether we're in fact attempting to bind only to
the IPv6
port and whether the logic is correct here.
When I find the time, I could rebuild with debug symbols and run it
under gdb.
|
If this is in fact a bug, could you please report it to the sofia-sip
bugtracker. Patches are very helpful there.
Mike
_______________________________________________
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 |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Dec 18, 2008 4:03 am Post subject: [Freeswitch-users] error creating IPv6 profile when correspo |
|
|
I bind mine independently without a problem on CentOS 5.2
/b
On Dec 18, 2008, at 2:53 AM, Jason White wrote:
Quote: | I realized after posting that if the IPv4 port is bound by another
process,
then the attempt to bind to the IPv4 port in bind6only_check()
should return
-1, and hence the result of bind6only_check() will be 0, even if the
os allows
the IPv6 and IPv4 ports to be bound independently of each other.
|
_______________________________________________
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
|
Posted: Thu Dec 18, 2008 4:05 am Post subject: [Freeswitch-users] error creating IPv6 profile when correspo |
|
|
On Wed, Dec 17, 2008 at 12:10:18PM -0500, Michael Jerris wrote:
Quote: |
On Dec 17, 2008, at 2:40 AM, Jason White wrote:
Quote: | The code in bind6only_check in libs/sofia-sip/libsofia-sip-ua/tport/
tport.c looks
correct to me, but I can't find where the result is tested (it's in
mr_bindv6only). When bind6only_check() is called in
tport_bind_server(), the
return value isn't tested, and I'm having difficulty finding where
it is used
|
|
I realized after posting that if the IPv4 port is bound by another process,
then the attempt to bind to the IPv4 port in bind6only_check() should return
-1, and hence the result of bind6only_check() will be 0, even if the os allows
the IPv6 and IPv4 ports to be bound independently of each other.
This looks like a potential bug, but I haven't investigated properly to be
sure, and I'm extremely busy just now (as well as not being very experienced
at this).
Quote: | If this is in fact a bug, could you please report it to the sofia-sip
bugtracker. Patches are very helpful there.
|
If anyone else has a chance to look at it before I do, please let me know.
Otherwise, I'll check it out when I have time to build a version of FreeSWITCH
with debug symbols and run it under gdb.
_______________________________________________
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
|
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Sun Dec 21, 2008 2:24 am Post subject: [Freeswitch-users] error creating IPv6 profile when correspo |
|
|
The solution was to edit /etc/asterisk/sip.conf and change
bindaddr = 0.0.0.0
to
bindaddr = x.x.x.x
where x.x.x.x is, naturally, replaced by the host's actual IPv4 address.
Following this change to the Asterisk configuration, Asterisk can bind to port
5060 under IPv4, and FreeSWITCH can bind to port 5060 under IPv6.
_______________________________________________
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 |
|
|
|
|
|
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
|