Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] making outbound call with IPv6


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





PostPosted: Sun Dec 14, 2008 11:52 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

I'm trying to make an outbound call to an IPv6 host using the pre-supplied
internal-ipv6 profile.

<action application="bridge"
data="sofia/internal-ipv6/nnnn@ipv6-host.domain"/>

I can ping the host with ping6, and it has a DNS AAAA record. (There is no A
record as the host is a friend's box behind a NAT).

My own box is also behind a NAT, but it has IPv6 connectivity via a tunnel
broker.

The error in the freeswitch.log file is:
[ERR] sofia_reg.c:1344 sofia_reg_handle_sip_r_challenge() No Matching gateway
found

It's quite possible I could be doing something wrong, or there might be a bug
somewhere, or the provided internal-ipv6 profile might need some adjusting...

Suggestions welcome.


_______________________________________________
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: Mon Dec 15, 2008 12:27 am    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

Incidentally, if I try it with the external profile, or with my own
external-ipv6 profile (the same as the supplied one, but binding to IPv6
rather than IPv4 addresses), then I get

2008-12-15 16:16:50 [DEBUG] mod_sofia.c:253 sofia_on_hangup()
sofia/external-ipv6/nnnn@ipv6-host.domain Overriding SIP cause 503 with 503
from the other leg

The other party (with a configured FreeSWITCH listening at the IPv6 address in
question) gets the same error upon attempting to call my machine.


_______________________________________________
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: Mon Dec 15, 2008 3:07 am    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

Turning on all of the Sofia debugging options reveals the following.

FS sends out the invite (UDP, 1245 bytes).

Then we get:

nta: timer shortened to 500 ms
tport_wakeup_pri(0x2490700): events ERR
tport_udp_error: icmp(6) message was truncated (at 832)
tport_udp_error: Message too long (90) [icmp6 type=2 code=0 info=00000500]
reported by [2001:470:0:5d::2]:65535
tport_release(0x2490700): 0x7fe244098c10 by 0x25022a0 with (nil)
nta: INVITE (108544297): Message too long (90) with udp/[xxxxx - remote host's
IPv6 address]:5060
nua(0x7fe24409af90): event r_invite 503 Service Unavailable
nua(0x7fe24409af90): call state changed: calling -> init
nua: nua_application_event: entering
nua(0x7fe24409af90): event i_state 503 Service Unavailable
nua(0x7fe24409af90): event i_terminated 503 Service Unavailable
nua: nua_handle_magic: entering
nua(0x7fe24409af90): removing session usage
nua: nua_application_event: entering
nta_leg_destroy(0x7fe2440822f0)
2008-12-15 18:14:27 [DEBUG] sofia.c:2529 sofia_handle_sip_i_state() Channel sofia/external-ipv6/nnnn@remote-host.domain entering state [terminated]

The IPv6 address that sent the "message too long" error is presumably that of
a router between my FreeSWITCH box and my friend's FreeSWITCH box.

Is there a way around this?


_______________________________________________
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





PostPosted: Mon Dec 15, 2008 10:01 am    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

Are you using SVN trunk? This has been fixed already as far as I
remember!!

/b

Sent from my iPhne

On Dec 15, 2008, at 2:01 AM, Jason White <jason@jasonjgw.net> wrote:

Quote:
Turning on all of the Sofia debugging options reveals the following.

FS sends out the invite (UDP, 1245 bytes).

Then we get:

nta: timer shortened to 500 ms
tport_wakeup_pri(0x2490700): events ERR
tport_udp_error: icmp(6) message was truncated (at 832)
tport_udp_error: Message too long (90) [icmp6 type=2 code=0
info=00000500]
reported by [2001:470:0:5d::2]:65535
tport_release(0x2490700): 0x7fe244098c10 by 0x25022a0 with (nil)
nta: INVITE (108544297): Message too long (90) with udp/[xxxxx -
remote host's
IPv6 address]:5060
nua(0x7fe24409af90): event r_invite 503 Service Unavailable
nua(0x7fe24409af90): call state changed: calling -> init
nua: nua_application_event: entering
nua(0x7fe24409af90): event i_state 503 Service Unavailable
nua(0x7fe24409af90): event i_terminated 503 Service Unavailable
nua: nua_handle_magic: entering
nua(0x7fe24409af90): removing session usage
nua: nua_application_event: entering
nta_leg_destroy(0x7fe2440822f0)
2008-12-15 18:14:27 [DEBUG] sofia.c:2529 sofia_handle_sip_i_state()
Channel sofia/external-ipv6/nnnn@remote-host.domain entering state
[terminated]

The IPv6 address that sent the "message too long" error is
presumably that of
a router between my FreeSWITCH box and my friend's FreeSWITCH box.

Is there a way around this?


_______________________________________________
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

_______________________________________________
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





PostPosted: Mon Dec 15, 2008 10:23 am    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

From the past emails and the data you have provided so far it makes
me believe you're not on SVN trunk. Also the second email looks like
the far end tries to challenge you and we can't find a matching
gateway. I have tested IPv6 with Snom and FS to FS pretty much
daily. Can you verify you're on SVN trunk and not 1.0.1?

/b

On Dec 15, 2008, at 2:01 AM, Jason White wrote:

Quote:
Turning on all of the Sofia debugging options reveals the following.

FS sends out the invite (UDP, 1245 bytes).

Then we get:

nta: timer shortened to 500 ms
tport_wakeup_pri(0x2490700): events ERR
tport_udp_error: icmp(6) message was truncated (at 832)
tport_udp_error: Message too long (90) [icmp6 type=2 code=0
info=00000500]
reported by [2001:470:0:5d::2]:65535
tport_release(0x2490700): 0x7fe244098c10 by 0x25022a0 with (nil)
nta: INVITE (108544297): Message too long (90) with udp/[xxxxx -
remote host's
IPv6 address]:5060
nua(0x7fe24409af90): event r_invite 503 Service Unavailable
nua(0x7fe24409af90): call state changed: calling -> init
nua: nua_application_event: entering
nua(0x7fe24409af90): event i_state 503 Service Unavailable
nua(0x7fe24409af90): event i_terminated 503 Service Unavailable
nua: nua_handle_magic: entering
nua(0x7fe24409af90): removing session usage
nua: nua_application_event: entering
nta_leg_destroy(0x7fe2440822f0)
2008-12-15 18:14:27 [DEBUG] sofia.c:2529 sofia_handle_sip_i_state()
Channel sofia/external-ipv6/nnnn@remote-host.domain entering state
[terminated]

The IPv6 address that sent the "message too long" error is
presumably that of
a router between my FreeSWITCH box and my friend's FreeSWITCH box.

Is there a way around this?


_______________________________________________
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


_______________________________________________
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
kkielhofner at star2st...
Guest





PostPosted: Mon Dec 15, 2008 1:46 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

On Mon, Dec 15, 2008 at 3:01 AM, Jason White <jason@jasonjgw.net> wrote:
Quote:
Turning on all of the Sofia debugging options reveals the following.

FS sends out the invite (UDP, 1245 bytes).

Then we get:

nta: timer shortened to 500 ms
tport_wakeup_pri(0x2490700): events ERR
tport_udp_error: icmp(6) message was truncated (at 832)
tport_udp_error: Message too long (90) [icmp6 type=2 code=0 info=00000500]
reported by [2001:470:0:5d::2]:65535
tport_release(0x2490700): 0x7fe244098c10 by 0x25022a0 with (nil)
nta: INVITE (108544297): Message too long (90) with udp/[xxxxx - remote host's
IPv6 address]:5060
nua(0x7fe24409af90): event r_invite 503 Service Unavailable
nua(0x7fe24409af90): call state changed: calling -> init
nua: nua_application_event: entering
nua(0x7fe24409af90): event i_state 503 Service Unavailable
nua(0x7fe24409af90): event i_terminated 503 Service Unavailable
nua: nua_handle_magic: entering
nua(0x7fe24409af90): removing session usage
nua: nua_application_event: entering
nta_leg_destroy(0x7fe2440822f0)
2008-12-15 18:14:27 [DEBUG] sofia.c:2529 sofia_handle_sip_i_state() Channel sofia/external-ipv6/nnnn@remote-host.domain entering state [terminated]

The IPv6 address that sent the "message too long" error is presumably that of
a router between my FreeSWITCH box and my friend's FreeSWITCH box.

Is there a way around this?

What happens if you use TCP transport instead of UDP? You're probably
running into the infamous SIP UDP fragmentation (there isn't any)
problem.


--
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com

_______________________________________________
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





PostPosted: Mon Dec 15, 2008 1:49 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

Well its important to know if he's on 1.0.1 or SVN trunk. In 1.0.1
the retry via TCP was disabled on ipv6 and that has now been
corrected. If it gets the message too big error it'll turn around and
requeue the invite on TCP without any user interaction.

/b

On Dec 15, 2008, at 12:35 PM, Kristian Kielhofner wrote:

Quote:

What happens if you use TCP transport instead of UDP? You're probably
running into the infamous SIP UDP fragmentation (there isn't any)
problem.


_______________________________________________
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
kkielhofner at star2st...
Guest





PostPosted: Mon Dec 15, 2008 3:15 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

On Mon, Dec 15, 2008 at 1:43 PM, Brian West <brian@freeswitch.org> wrote:
Quote:
Well its important to know if he's on 1.0.1 or SVN trunk. In 1.0.1
the retry via TCP was disabled on ipv6 and that has now been
corrected. If it gets the message too big error it'll turn around and
requeue the invite on TCP without any user interaction.

/b


...which is exactly what the RFC says to do (IPv6 or IPv4).

Bravo!

I thought (for the user) it might make sense to just force TCP. It
might make sense to set TCP explicitly (less back and forth).
However, keep in mind the higher overhead of TCP in the first place.
I guess it would depend on what's in the body (obviously). Messages
with smaller bodies (SDPs, etc) might eek through with UDP while those
with larger bodies may have to requeue for TCP.

--
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com

_______________________________________________
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





PostPosted: Mon Dec 15, 2008 3:17 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

Pretty much everything in ipv6 will be over the MTU... on ipv4 we
disabled this because when you talk to things that don't speak TCP you
have a packet over the MTU you try TCP it times out in 30 seconds then
you send it anyway via UDP. So why have a 30 seconds timeout when you
don't need too.

/b

On Dec 15, 2008, at 2:06 PM, Kristian Kielhofner wrote:

Quote:
I thought (for the user) it might make sense to just force TCP. It
might make sense to set TCP explicitly (less back and forth).
However, keep in mind the higher overhead of TCP in the first place.
I guess it would depend on what's in the body (obviously). Messages
with smaller bodies (SDPs, etc) might eek through with UDP while those
with larger bodies may have to requeue for TCP.


_______________________________________________
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: Mon Dec 15, 2008 6:08 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

On Mon, Dec 15, 2008 at 09:08:56AM -0600, Brian West wrote:
Quote:
From the past emails and the data you have provided so far it makes
me believe you're not on SVN trunk.

I'm on trunk as of December 12, revision 10725. If it was fixed since then, I
can easily recompile.

The other party is on a recent revision from trunk and also runs into the same
problems in trying to call me via 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
brian at freeswitch.org
Guest





PostPosted: Mon Dec 15, 2008 6:16 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

Well I just tested this again with the latest svn trunk

d77374e2-a381-4eb1-8771-5ccdae2155fd,2008-12-15 17:05:51,1229382351,sofia/internal/1000@bkw.org
,CS_EXECUTE,Brian West,1000,99.157.44.200,9888,bridge,sofia/internal-
ipv6/888@[2001:470:7:ea::2],XML,default,G722,16000,G722,16000
0ed0b7ee-5de5-44a3-9f96-f6bbc5a7e0ba,2008-12-15
17:05:51,1229382351,sofia/internal-ipv6/888@[2001:470:7:ea::
2],CS_EXCHANGE_MEDIA,Brian West,1000,99.157.44.200,888@[2001:470:7:ea::
2],,,XML,default,G722,16000,G722,16000

1.447392 2001:470:1f0f:142:21a:92ff:fe3f:6a0f -> 2001:470:7:ea::2
RTP PT=ITU-T G.722, SSRC=0x89B50B10, Seq=64494, Time=2387361962
1.460530 2001:470:7:ea::2 -> 2001:470:1f0f:142:21a:92ff:fe3f:6a0f
RTP PT=ITU-T G.722, SSRC=0xEB44C067, Seq=37131, Time=1328480

Seems to work fine for me... care to let me at your machine to take a
look?

Works great did an ipv4 call to my FS box and ipv6 out to the
conference box.


Try this out

sofia/internal-ipv6/888@[2001:470:7:ea::2]

(correct the profile for your needs)

/b

On Dec 15, 2008, at 4:54 PM, Jason White wrote:

Quote:
On Mon, Dec 15, 2008 at 09:08:56AM -0600, Brian West wrote:
Quote:
From the past emails and the data you have provided so far it makes
me believe you're not on SVN trunk.

I'm on trunk as of December 12, revision 10725. If it was fixed
since then, I
can easily recompile.

The other party is on a recent revision from trunk and also runs
into the same
problems in trying to call me via 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


_______________________________________________
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





PostPosted: Mon Dec 15, 2008 6:39 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

btw thats on an HE tunnel too Wink

/b

On Dec 15, 2008, at 5:29 PM, Jason White wrote:

Quote:
That worked straight away.

At least it shows that there's nothing wrong with the IPv6
connectivity as
such. I'll try to isolate what is different between this and the
call that I
was attempting yesterday.


_______________________________________________
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: Mon Dec 15, 2008 6:41 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

On Mon, Dec 15, 2008 at 05:09:21PM -0600, Brian West wrote:
Quote:
sofia/internal-ipv6/888@[2001:470:7:ea::2]

(correct the profile for your needs)

That worked straight away.

At least it shows that there's nothing wrong with the IPv6 connectivity as
such. I'll try to isolate what is different between this and the call that I
was attempting yesterday.


_______________________________________________
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: Mon Dec 22, 2008 6:06 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

On Mon, Dec 15, 2008 at 08:45:49AM -0600, Brian West wrote:
Quote:
Are you using SVN trunk? This has been fixed already as far as I
remember!!

Just to close out this issue for now, it is possible that the FreeSWITCH
version I was running when this problem occurred included object files from an
earlier build; I ran "make clean" before compiling it, but not "debuild
clean", which cleans all of the libraries as well.

It is also clear that a Hurricane Electric router on the path to New York has
been experiencing issues, which account for some of my IPv6 problems, as the
destination of the calls was connected via tunnel to the New York point of
presence.


_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Mon Dec 22, 2008 6:10 pm    Post subject: [Freeswitch-users] making outbound call with IPv6 Reply with quote

Thanks for keeping us updated! It's a lot nicer than, "I wonder whatever happened to Jason and his IPv6 issue?"
Smile

-MC

On Mon, Dec 22, 2008 at 3:01 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
Quote:
On Mon, Dec 15, 2008 at 08:45:49AM -0600, Brian West wrote:
Quote:
Are you using SVN trunk? This has been fixed already as far as I
remember!!

Just to close out this issue for now, it is possible that the FreeSWITCH
version I was running when this problem occurred included object files from an
earlier build; I ran "make clean" before compiling it, but not "debuild
clean", which cleans all of the libraries as well.

It is also clear that a Hurricane Electric router on the path to New York has
been experiencing issues, which account for some of my IPv6 problems, as the
destination of the calls was connected via tunnel to the New York point of
presence.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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