Enable IPv6 Astpp

Hi,

I need to enable IPv6 in astpp, the server is already working with IPv6, but what to change so that astpp works with ipv4 and ipv6 simultaneously.

Hello,
You may create new profile and assign the global publicly accessible ipv6 ip there as sip-ip with it, reload sofia module and there should be it

anyone can help me with how to setup nexmo toll free with ASTPP, i setup all and gateway is registered but calls are not coming how to use sip forward from nexmo

In a single profile is not possible??

Another detail, I created a new profile, everything seems ok, but it doesn’t play audio, would you know if you have to do something different from ipv4?

@devangn
In test, IPv4 all OK, in IPv6 no audio in.

I noticed that in IPv4 there is Remote SDP and in IPv6 this is not created.

sofia.c:7416 Remote SDP:

Logs

################IPv4

2021-12-15 15:21:30.323237 [DEBUG] mod_sofia.c:898 Local SDP sofia/ASTPP/05578@IPv4:
v=0
o=FreeSWITCH 1639570494 1639570495 IN IP4 xxx.xxx.xxx.xxx
s=FreeSWITCH
c=IN IP4 xxx.xxx.xxx.xxx
t=0 0
m=audio 21996 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
a=rtcp:21997 IN IP4 xxx.xxx.xxx.xxx

2021-12-15 15:21:30.323237 [NOTICE] switch_ivr_originate.c:3825 Channel [sofia/ASTPP/05578@IPv4] has been answered
2021-12-15 15:21:30.323237 [DEBUG] switch_channel.c:3865 (sofia/ASTPP/05578@IPv4) Callstate Change EARLY → ACTIVE
2021-12-15 15:21:30.323237 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv4 entering state [completed][200]
2021-12-15 15:21:30.503251 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv4 entering state [ready][200]
2021-12-15 15:21:30.523242 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv4 entering state [calling][0]
2021-12-15 15:21:30.703236 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv4 entering state [ready][200]
2021-12-15 15:21:30.703236 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=05578 8000 8001 IN IP4 xxx.xxx.xxx.xxx
s=SIP Call
c=IN IP4 1xxx.xxx.xxx.xxx
t=0 0
m=audio 33536 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtcp:33537 IN IP4 xxx.xxx.xxx.xxx
a=ptime:20

2021-12-15 15:21:30.703236 [DEBUG] switch_core_media.c:5918 sofia/ASTPP/05578@IPv4 Set 2833 dtmf send payload to 101 recv payload to 101

################IPv6

2021-12-15 15:21:30.323237 [DEBUG] mod_sofia.c:898 Local SDP sofia/ASTPP/05578@IPv6:
v=0
o=FreeSWITCH 1639570494 1639570495 IN IP6 xxxx:xxx::xxxx:xxx
s=FreeSWITCH
c=IN IP6 xxxx:xxx::xxxx:xxx
t=0 0
m=audio 21996 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
a=rtcp:21997 IN IP6 xxxx:xxx::xxxx:xxx

2021-12-15 15:21:30.323237 [NOTICE] switch_ivr_originate.c:3825 Channel [sofia/ASTPP/05578@IPv6] has been answered
2021-12-15 15:21:30.323237 [DEBUG] switch_channel.c:3865 (sofia/ASTPP/05578@IPv6) Callstate Change EARLY → ACTIVE
2021-12-15 15:21:30.323237 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv6 entering state [completed][200]
2021-12-15 15:21:30.503251 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv6 entering state [ready][200]
2021-12-15 15:21:30.523242 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv6 entering state [calling][0]
2021-12-15 15:21:30.703236 [DEBUG] sofia.c:7406 Channel sofia/ASTPP/05578@IPv6 entering state [ready][200]
2021-12-15 15:21:30.703236 [DEBUG] switch_core_media.c:5918 sofia/ASTPP/05578@IPv4 Set 2833 dtmf send payload to 101 recv payload to 101

Could someone help?

Hello @rgazetta
Have you open UDP pool range for media on IPv6?

@devangn Do I have to do this in the profile?
Would you help me?

@rgazetta You need to either apply this in external firewall if any and/or in server iptables rules.