Audio is not heard during calls

hi,I am configuring a pbx, but the sofphones connect normally but the audio is not played during the call
I´m using asterisk 18 and configuring with pjsip
this is mi config of pjsip.conf . What could be the problem?
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060

[12]
type=endpoint
context=local

disallow=all
allow=ulaw
auth=12-auth
aors=12

[12-auth]
type=auth
auth_type=userpass
username=12
password=1234

[12]
type=aor
max_contacts=1

[14]
type=endpoint
context=local
disallow=all
allow=ulaw
auth=14-auth
aors=14

[14-auth]
type=auth
auth_type=userpass
username=14
password=1234

[14]
type=aor
max_contacts=1
-------------------config extensions.conf---------
[local]

exten => 12,1,Dial(PJSIP/12)
exten => 12,2,Hangup()

exten => 14,1,Dial(PJSIP/14)
exten => 14,2,Hangup()

You need to describe the network arrangement. If Asterisk is behind NAT, if endpoints are outside of the local network, that kind of stuff.

Call setup successful and audio unsuccessful is almost always due to network
routing problems, either with NAT or with routers which contain a “SIP helper”
also known as an Application Layer Gateway (ALG).

So, please explain in more detail what your network setup is between Asterisk
and each of the softphones.

If you are using private network ranges such as 192.168.x.y please do not
change them when describing your network setup.

If you have any public IPs involved, then by all means change or disguise them
if you wish, but please be consistent and ensure that we can see for example
that “this address here is in the same network range as that address there”
even though we can’t see the full addresses.

Antony.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.