Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] can't dial from IPv6 to IPv6

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ineyaa at gmail.com
Guest





PostPosted: Mon Oct 19, 2009 8:17 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

Hi,

I installed the phonenix release, and changed IPv4, IPv6 addresses and SIP port. Directory and dialplan should be default ones.
My phones are able to register when using just IPv4, and I can call from one to another.

When I try the same thing with IPv6, the call to other phone fails with [USER_NOT_REGISTERED], however I'm able to call 9999 and hear MOH.
Here you can find the log: http://pastebin.freeswitch.org/10757
Freeswitch is running on 10.80.62.40/2000:2::1
phones are 2000:2::1001 and 2000:2::1002

Am I doing something wrong? Maybe I forgot to configure something, but I can't see what it is.

Any hints are appreciated.
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Oct 19, 2009 10:28 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

I think you just have it misconfigured because if ipv6 was broken I would have William and Jason jumping on me.

Can you post your xml configs for the profile please?


/b

On Oct 19, 2009, at 7:16 AM, ineya ineya wrote:
Quote:
Hi,

I installed the phonenix release, and changed IPv4, IPv6 addresses and SIP port. Directory and dialplan should be default ones.
My phones are able to register when using just IPv4, and I can call from one to another.

When I try the same thing with IPv6, the call to other phone fails with [USER_NOT_REGISTERED], however I'm able to call 9999 and hear MOH.
Here you can find the log: http://pastebin.freeswitch.org/10757
Freeswitch is running on 10.80.62.40/2000:2::1
phones are 2000:2::1001 and 2000:2::1002

Am I doing something wrong? Maybe I forgot to configure something, but I can't see what it is.

Any hints are appreciated.
Back to top
ineyaa at gmail.com
Guest





PostPosted: Mon Oct 19, 2009 3:59 pm    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

Here is internal.xml
http://pastebin.freeswitch.org/10766

and internal-ipv6.xml
http://pastebin.freeswitch.org/10767



On Mon, Oct 19, 2009 at 5:13 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
I think you just have it misconfigured because if ipv6 was broken I would have William and Jason jumping on me.

Can you post your xml configs for the profile please?


/b


On Oct 19, 2009, at 7:16 AM, ineya ineya wrote:

Quote:
Hi,

I installed the phonenix release, and changed IPv4, IPv6 addresses and SIP port. Directory and dialplan should be default ones.
My phones are able to register when using just IPv4, and I can call from one to another.

When I try the same thing with IPv6, the call to other phone fails with [USER_NOT_REGISTERED], however I'm able to call 9999 and hear MOH.
Here you can find the log: http://pastebin.freeswitch.org/10757
Freeswitch is running on 10.80.62.40/2000:2::1
phones are 2000:2::1001 and 2000:2::1002

Am I doing something wrong? Maybe I forgot to configure something, but I can't see what it is.

Any hints are appreciated.








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





PostPosted: Mon Oct 19, 2009 4:37 pm    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

And you're sure you have that IP on your interface?

William or Jason care to let me know if latest SVN IPv6 works for you?


/b

On Oct 19, 2009, at 3:51 PM, ineya ineya wrote:
Quote:
Here is internal.xml
http://pastebin.freeswitch.org/10766

and internal-ipv6.xml
http://pastebin.freeswitch.org/10767



On Mon, Oct 19, 2009 at 5:13 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
I think you just have it misconfigured because if ipv6 was broken I would have William and Jason jumping on me.

Can you post your xml configs for the profile please?


/b





Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Oct 19, 2009 8:14 pm    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

Bill has confirmed it works fine in latest trunk. So i'm not sure what exactly you're doing wrong can you provide me some debug output of what you're doing in your dialplan and the console debug?

/b

On Oct 19, 2009, at 3:51 PM, ineya ineya wrote:
Quote:
Here is internal.xml
http://pastebin.freeswitch.org/10766

and internal-ipv6.xml
http://pastebin.freeswitch.org/10767
Back to top
ineyaa at gmail.com
Guest





PostPosted: Tue Oct 20, 2009 1:02 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

IP should be OK:

[root@franta /opt/freeswitch]# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:4f:4e:62:ad:83
          inet addr:10.80.62.40  Bcast:10.80.62.255  Mask:255.255.255.0
          inet6 addr: 2000:2::1/32 Scope:Global
          inet6 addr: fe80::24f:4eff:fe62:ad83/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4310768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2537585 errors:0 dropped:0 overruns:0 carrier:0
          collisions:114862 txqueuelen:1000
          RX bytes:1067582578 (1018.1 MiB)  TX bytes:616134369 (587.5 MiB)
          Interrupt:19 Base address:0x3400

Console debug: http://pastebin.freeswitch.org/10768

When I do "sofia status profile internal-ipv6", I can see both phones
as registered:
Call-ID:        9cb5faf2a052867b
User:           1007@franta.openstage.net
Contact:        1007 <sip:1007@[2000:2::1002]:5062;transport=udp>

but when it comes to connecting the call:

EXECUTE sofia/internal-ipv6/1006@franta.openstage.net
bridge(user/1007@franta.openstage.net)
2009-10-20 07:36:12.749270 [DEBUG] switch_ivr_originate.c:1027
variable string 0 = [presence_id=1007@franta.openstage.net]
2009-10-20 07:36:12.749270 [ERR] switch_ivr_originate.c:1510 Cannot
create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]

@Bill: Can you share your IPv6 test config?

On Tue, Oct 20, 2009 at 3:05 AM, Brian West <brian@freeswitch.org> wrote:
Quote:

Bill has confirmed it works fine in latest trunk.  So i'm not sure what exactly you're doing wrong can you provide me some debug output of what you're doing in your dialplan and the console debug?
/b
On Oct 19, 2009, at 3:51 PM, ineya ineya wrote:

Here is internal.xml
http://pastebin.freeswitch.org/10766

and internal-ipv6.xml
http://pastebin.freeswitch.org/10767


_______________________________________________
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
dwhite at olp.net
Guest





PostPosted: Tue Oct 20, 2009 8:41 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

On 20/10/09 07:53 +0200, ineya ineya wrote:
Quote:
IP should be OK:

[root@franta /opt/freeswitch]# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:4f:4e:62:ad:83
          inet addr:10.80.62.40  Bcast:10.80.62.255  Mask:255.255.255.0
          inet6 addr: 2000:2::1/32 Scope:Global

This address caught my eye. Although valid, a /32 address assignment is
atypical. Is that what you intended? Does assigning a /64 address on both
ends make any difference?

--
Dan White

_______________________________________________
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
ineyaa at gmail.com
Guest





PostPosted: Tue Oct 20, 2009 9:33 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

No, it's the same thing with /64 on both ends.
I tried to built SVN version and modified just IP addresses in
sip_profiles, but still can't call from one phone to another. It goes
straght to voicemail.

Is there a softphone, which you know works with freeswitch on IPv6?
Maybe the error is in phones I'm currently using.

On Tue, Oct 20, 2009 at 3:34 PM, Dan White <dwhite@olp.net> wrote:

Quote:
This address caught my eye. Although valid, a /32 address assignment is
atypical. Is that what you intended? Does assigning a /64 address on both
ends make any difference?

--
Dan White


_______________________________________________
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: Tue Oct 20, 2009 9:33 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

Well how are you trying to dial users?

/b

On Oct 20, 2009, at 9:16 AM, ineya ineya wrote:

Quote:
No, it's the same thing with /64 on both ends.
I tried to built SVN version and modified just IP addresses in
sip_profiles, but still can't call from one phone to another. It goes
straght to voicemail.

Is there a softphone, which you know works with freeswitch on IPv6?
Maybe the error is in phones I'm currently using.


_______________________________________________
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
ineyaa at gmail.com
Guest





PostPosted: Tue Oct 20, 2009 10:45 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

By numbers, I have 2 numbers registered, so I dial "1006" or "1007".
This worked for IPv4, so I haven't thought about doing it differently for IPv6.
SIP messages looked OK to me - you just gave me an idea to compare SIP
messages for IPv4 and IPv6. I'll try that tommorow.


On Tue, Oct 20, 2009 at 4:21 PM, Brian West <brian@freeswitch.org> wrote:
Quote:
Well how are you trying to dial users?

/b


_______________________________________________
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: Tue Oct 20, 2009 10:52 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

The defaults will NOT work with ipv6 out of the box because the
sofia_contact on the directory only looks at the internal profile NOT
the internal-ipv6 profile... open up the directory default and change
the sofia_contact to prepend the internal-ipv6/user@domain

/b

On Oct 20, 2009, at 10:21 AM, ineya ineya wrote:

Quote:
By numbers, I have 2 numbers registered, so I dial "1006" or "1007".
This worked for IPv4, so I haven't thought about doing it
differently for IPv6.
SIP messages looked OK to me - you just gave me an idea to compare SIP
messages for IPv4 and IPv6. I'll try that tommorow.


_______________________________________________
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
ineyaa at gmail.com
Guest





PostPosted: Tue Oct 20, 2009 11:55 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

Hmm, I didn't about this.

so in directory/default.xml I have:
<param name="dial-string"
value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>

and the modified version for IPv6 would be ?...
<param name="dial-string"
value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(internal-ipv6/${dialed_user}@${dialed_domain})}"/>



On Tue, Oct 20, 2009 at 5:34 PM, Brian West <brian@freeswitch.org> wrote:
Quote:
The defaults will NOT work with ipv6 out of the box because the
sofia_contact on the directory only looks at the internal profile NOT
the internal-ipv6 profile... open up the directory default and change
the sofia_contact to prepend the internal-ipv6/user@domain

/b


_______________________________________________
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: Tue Oct 20, 2009 11:12 pm    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

ineya ineya <ineyaa@gmail.com> wrote:
Quote:
Hmm, I didn't about this.

so in directory/default.xml I have:
<param name="dial-string"
value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>

and the modified version for IPv6 would be ?...
<param name="dial-string"
value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(internal-ipv6/${dialed_user}@${dialed_domain})}"/>

Yes. Are you suggesting it didn't work?


_______________________________________________
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
ineyaa at gmail.com
Guest





PostPosted: Wed Oct 21, 2009 1:45 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

Sort of. I have different error now:

2009-10-21 08:34:08.446939 [NOTICE] mod_sofia.c:1521 Pre-Answer
sofia/internal-ipv6/1006@franta.openstage.net!
2009-10-21 08:34:08.462967 [NOTICE] sofia.c:3925 Hangup
sofia/internal-ipv6/sip:1007@[2000:2::1002]:5062 [CS_CONSUME_MEDIA]
[INCOMPATIBLE_DESTINATION]

Here is the complete log:
http://pastebin.freeswitch.org/10782

Quote:
Yes. Are you suggesting it didn't work?



_______________________________________________
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 Oct 21, 2009 2:06 am    Post subject: [Freeswitch-users] can't dial from IPv6 to IPv6 Reply with quote

ineya ineya <ineyaa@gmail.com> wrote:
Quote:
Sort of. I have different error now:

2009-10-21 08:34:08.446939 [NOTICE] mod_sofia.c:1521 Pre-Answer
sofia/internal-ipv6/1006@franta.openstage.net!
2009-10-21 08:34:08.462967 [NOTICE] sofia.c:3925 Hangup
sofia/internal-ipv6/sip:1007@[2000:2::1002]:5062 [CS_CONSUME_MEDIA]
[INCOMPATIBLE_DESTINATION]

I suspect the codec negotiation. Make sure that both ends are offering a
common codec.


_______________________________________________
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
Goto page 1, 2  Next
Page 1 of 2

 
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