I’m trying a simple Echo test and it’s failing for g729…
exten => 1267,1,Answer()
exten => 1267,2,Echo()
Test #1 (failure)
gateway33 codecs g729a, g729b
[gateway33]
type=friend
host=gateway33
context=default-inbound
disallow=all
allow=g729
gateway33 INVITE = g729b
Asterisk 200 OK = no media
Asterisk sends (one way) g711u RTP
Test #2 (failure)
gateway33 codecs g729a
[gateway33]
type=friend
host=gateway33
context=default-inbound
disallow=all
allow=g729
gateway33 INVITE = g729a
Asterisk 200 OK = no media
session is terminated
gateway33 INVITE = g729a
Asterisk 200 OK = no media
session is terminated
…
Test #3 (success)
gateway33 codec g729a, g729b, g711u
[gateway33]
type=friend
host=gateway33
context=default-inbound
disallow=all
allow=ulaw
allow=g729
gateway33 INVITE = g729b, g711u
Asterisk 200 OK = g711u
Asterisk sends/receives g711u RTP
Does any of this point to a specific problem? I even have a licensed
g729 channel.
CLI> show g729
0/0 encoders/decoders of 1 licensed channels are currently in use
What information can I provide to help troubleshoot? This is making no sense.
When I setup my desk phone to use G729 and make the test call directly (bypassing the gateway), the call completes fine and media is sent using G729 successfully. I’m not sure why it would work any differently from a Cisco gateway?
The only difference that I’m aware of is that my phone (Polycom 430) seemed to ask for G729, while the gateway was either G729a or G729b specifically. In the instance of my phone, Asterisk came back with G729a in the 200 OK message.
Thanks,
Scott