No audio on Asterisk SIP call

Sam picture Sam · Apr 5, 2011 · Viewed 31.5k times · Source

I almost managed to init a 2 sided call (click to call): 1st to my office and the 2nd to my cell using Michal Niklas answer (thanks Michal) on Asterisk click to call.

The major ISSUE is that the 2 call participants can not hear one each other, I used from-internal context for both of them. The system status web UI shows me 4 active channels and 2 external calls when the call is connected with both sides.

I configured the Channel: local/MY OFFICE PHONE@from-internal Extension: MY CELL PHONE

when I set the Channel to Sip/1 and check it with soft phone it works great!

Thanks for helping...

Answer

Suresh Kumar picture Suresh Kumar · Jul 25, 2013

seems to be NAT issue. here are some suggestions for sip.conf

put nat=yes in user definition and in [general] tag, put externip and localnet

e.g.

[general]
externip=<your global IP>
localnet=192.168.2.0/255.255.0.0