Issue : Audio not working with SIP softphones

Hello,

I have installed Asterisk 1.6.26. And I have Digium - TE110P card.
When I call to SIP to PSTN or vise versa, the audio comes only from the PSTN side only.
No audio is coming from SIP softphone.
I can hear everything in softphone . But the audio is not going from Softphone.
Even SIP softphone to SIP softphone audio is not working.

Please help me for this issue.

Bellow is my configuration.

sip.conf

[general]
context=default ; Default context for incoming calls
allowguest=no ; Allow or reject guest calls (default is yes)
bindport=5060
bindaddr=0.0.0.0
srvlookup=no ; Enable DNS SRV lookups on outbound calls
videosupport=yes ; Turn on support for SIP video
canreinvite=yes ; Asterisk by default tries to redirect the
disallow=all
;allow=all
allow=alaw
allow=ulaw
;allow=g729
;allow=h264

[4000]
type=friend
username=4000
secret=1234
context=default
host=dynamic
canreinvite=yes
disallow=all
;allow=all
allow=alaw
allow=ulaw
;allow=g729

[5000]
type=friend
username=5000
secret=1234
context=default
host=dynamic
canreinvite=yes
disallow=all
;allow=all
allow=alaw
allow=ulaw
;allow=g729

========================

Thanks in advance.

-Urmi

start by verifying that your firewall is not dropping the RTP packets. Are you using NAT?

Hello,

Thanks for your reply.

My firewall is disabled. and I m not using NAT.
Dont knw wat is wrong with my configuration. pleas guide me.

-Thanks
Urmi

Can someone please help me on this…

-Urmi

Post your extensions.conf . List the steps you have already taken to try and solve the problem.

extension.conf

;for soft phone to my mobile phone
exten => 1111,1,Dial(DAHDI/g0/9429000111)

;for sip to sip soft phone calling
exten => _X.,1,Answer()
exten => _X.,n,Dial(SIP/${EXTEN},20)

In above dial plan, when I dial 4000 from my softphone it calls to my soft phones.
in this case no one can listen each other, On the soft phone it shows, “Not Transmiting the audio”

But when I dial 1111 from soft phone, the call goes to my mobile phone, and the audio from mobile is going well, but from the soft phone no audio is coming.

please help me in this case.

Thanks for your support.

-Urmi

Can anyone help me for this issue.

No audio is there in Softphone to Softphone calling.
“rtp set debug on” shows the rtp flow when the call is going on.

Please guide me if I m doing anything wrong.

Thanks for your support.

-Urmi