Asterisk with 2 network interfaces, LAN (IPv4) and WAN (IPv6).
LAN side has a trusted local IPv4 peer/trunk (No NAT), and I’m trying to get remote IPv6 clients working. Clients can register, and calls can be made (from client, outbound via trunk), but no audio is heard.
I have verified we are receiving RTP from either leg of the call, but Asterisk does not forward the RTP on to the other leg of the call.
sip.conf:
[trunk]
username=trunk
secret=pass
type=friend
host=x.x.x.x
nat=no
insecure=port,invite
dtmfmode=rfc2833
context=from-trunk
canreinvite=yes
disallow=all
allow=alaw
allow=ulaw
allow=g729
[2000]
type=friend
host=dynamic
secret=pass
dtmfmode=rfc2833
context=from-2000
directmedia=no
disallow=all
allow=alaw
allow=ulaw
allow=g729
When the call is made, log output is:
-- Registered SIP '2000' at [2001:8004::1234]:25158
== Using SIP RTP CoS mark 5
> 0x7f8c9808f3b0 -- Strict RTP learning after remote address set to: [2001:8004::1234]:20000
-- Executing [01234567@from-2000:1] Dial("SIP/2000-0000001a", "SIP/trunk-2000/01234567,60") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/trunk-2000/01234567
-- SIP/trunk-2000-0000001b is ringing
> 0x7f8c9c00f230 -- Strict RTP learning after remote address set to: 10.0.0.1:8216
-- SIP/trunk-2000-0000001b is making progress passing it to SIP/2000-0000001a
-- SIP/trunk-2000-0000001b answered SIP/2000-0000001a
-- Channel SIP/trunk-2000-0000001b joined 'simple_bridge' basic-bridge <b129ca16-3efc-402d-829e-a26ce3511b0b>
-- Channel SIP/2000-0000001a joined 'simple_bridge' basic-bridge <b129ca16-3efc-402d-829e-a26ce3511b0b>
> Bridge b129ca16-3efc-402d-829e-a26ce3511b0b: switching from simple_bridge technology to native_rtp
> Locally RTP bridged 'SIP/2000-0000001a' and 'SIP/trunk-2000-0000001b' in stack
-- Channel SIP/2000-0000001a left 'native_rtp' basic-bridge <b129ca16-3efc-402d-829e-a26ce3511b0b>
== Spawn extension (from-2000, 01234567, 1) exited non-zero on 'SIP/2000-0000001a'
-- Channel SIP/trunk-2000-0000001b left 'native_rtp' basic-bridge <b129ca16-3efc-402d-829e-a26ce3511b0b>
I’m at a loss on what to do, any tips from people who have got this working would be apprecaited.