trouble with calls audio

hornet1
Posts: 2
Member Since:
2009-06-26

Hi all,

I had a fresh install of the new trixbox ce and every this fine except the calls audio.

when all extension are in the lan sound between extension are fine. but hear comes the problem when one of the extensions is outside the lan (on the internet) no sound can be heard except sound incoming from the internal lan. when calling from the internet the IVR can be heard but when connection to another extension no sound can be heard from the outsider. I have enabled NAT,localhost,externip,enterhost in sip.conf and configured the firewall to forward ports 5060-5080 and rpt 10000-20000. I have tried to put the server in DMZ but nothing seemed to change.

Thanks



Polygon
Posts: 3
Member Since:
2009-06-27
I, too, am having this same

I, too, am having this same problem. Any insight anyone can provide would be greatly appreciated!



npereira
Posts: 47
Member Since:
2007-11-05
This really sounds like port

This really sounds like port forwarding issue.
What router are you using?
Is there a router on both side?

If you can hear the audio comming from the trixbox to the remote sip, then the port forward on the router closest to the remote sip phone is ok, but if the internal users can't hear the external sip user, then it's the incomming audio from the internet to the internal users.

I would suggest to capture on the interface of the trixbox to see if you see any audio comming in on the box itself.

you may need to put the Trixbox on a HUB (not a switch) to that you can connect another PC to the same hub and capture all network traffic being broadcasted on that hub.

So 1 connection from hub to trix, 1 connection from PC to hub and 1 connection from hub to switch.
Use wireshark and capture a call.

I made the mistake on my router about port forwarding. I though i was port forwarding 10000 to 20000 but I was in the wrong screen... What router do you have at the trixbox edge?

--

NPereira
Trixbox CE 2.6.2.3 for Corporate QA/DEV employees.



sorvani
Posts: 163
Member Since:
2009-06-25
I can only assume a NAT or Port issue

I am using trixbox 2.8.0 and am having similar issues.

Started with a completely default install of trixbox 2.8.0. *not in a VM, running on hardware.
yum clean all
yum -y update
reboot
Added extension
Added IVR
Added 3 SIP trunks.
Added outbound rules.
Added inbound rule.
Rebooted and tested.

I have 3 trunks set up and can make and receive calls to these providers with no problems form a soft phone inside the LAN.\

When the soft phone is outside the LAN, it registers and I can dial the DID from my cell phone and I hear the IVR and make my choices. The soft phone will ring if I choose that option, but there is no voice once the connection is established. The same problem occurs when dialing out from the soft phone to my cell phone or any other number.

My internet service is AT&T's UVerse and the router is their standard 2wire UVerse router.

I have forwarded UPD ports 5060 - 5070 and UPD ports 10000 - 20000 through to the trixbox.

I have tried the soft phone from 3 different external networks with the same results every time.

--

Jared Busch
Office: Have 2.8.0.1 talking to 3 IPOffice403's.
Home: Have 2.8.0 with trunks from Vitelity, & CallWithUs.



antidelldude
Posts: 287
Member Since:
2009-05-18
Wrong Config File?

I noticed in your first post you said you made all the changes to sip.conf when they should be made to sip_nat.conf

I have a live 2.6.2.1 system and I created an extension, made sure nat was set to YES

I navigated over to /etc/asterisk and edited my sip_nat.conf file to say the following:

externip=my.external.i.p
localnet=192.168.1.0/255.255.255.0

Of course update your external ip and your internal subnet to match your own. Saved it, reset amportal (I may not have even had to do that) and I get two way audio with an x-lite softphone.

I have UDP 5060 open and UDP 10000-20000 open

Let me know if this works for you.

--

Regards,
Jon
Please respond if your problem was ever solved, and how you solved it. It'll help the next guy.



sorvani
Posts: 163
Member Since:
2009-06-25
For me, my sip_nat.conf

For me, my sip_nat.conf shows (no header tags, it was blank when i first went here)

nat=yes
externhost=ssss.ddddddd.com
localnet=10.0.0.12/255.255.255.0
externrefresh=20

I have perfect functionality inside the local network. and my trunks with my inbound and outbound SIP providers work great. My only problem is getting a SIP device aka X-Lite to work outside the local network.

I feel I must be missing something really simple. X-Lite registers, makes calls and receives calls. There is simply no audio on said calls. Tried on 3 networks as noted above, and also on multiple computers on one of those networks. Same problem with every trial.

--

Jared Busch
Office: Have 2.8.0.1 talking to 3 IPOffice403's.
Home: Have 2.8.0 with trunks from Vitelity, & CallWithUs.



SkykingOH
Posts: 9675
Member Since:
2007-12-17
How many times do we have to

How many times do we have to explain this?

localnet is a network not an IP it should be 10.0.0.0/255.255.255.0

--

Scott

aka "Skyking"



sorvani
Posts: 163
Member Since:
2009-06-25
my localnet is

my localnet is 10.0.0.0/255.255.255.0 that was a typo when I made the post last night.

Now you know the internal IP at my house.

--

Jared Busch
Office: Have 2.8.0.1 talking to 3 IPOffice403's.
Home: Have 2.8.0 with trunks from Vitelity, & CallWithUs.



SkykingOH
Posts: 9675
Member Since:
2007-12-17
Quote: Now you know the
Quote:
Now you know the internal IP at my house.

Luckily it's non-routable and the pictures of your dog are not at risk.

--

Scott

aka "Skyking"



sorvani
Posts: 163
Member Since:
2009-06-25
still no audio

I am still having problems with this. Everything works fine inside the LAN of course. Everything seems to be working on the port forwarding because the soft phone registers, the web interface works and the SSH connects. All from the public IP/dns name from all 3 networks I have access to test on. I can make and receive phone calls. I hear the IVR on incoming calls. Just no audio on a connected call.

any suggestions on what I may have done wrong?

I've configured the port forwards in the router.

udp public:range 5060 - 5070 -> trixbox:range 5060 - 5070
udp public:range 10001 - 11000 -> trixbox:range 10001 - 11000
tcp public:81 -> trixbox:80
tcp public:22 -> trixbox:22

I've set the sip_nat.conf with

nat=yes
externhost=pbx.name.tld
localnet=10.0.0.0/255.255.255.0
externrefresh=20

I've set rtp.conf with

[general]
; RTP start and RTP end configure start and end addresses
rtpstart=10001
rtpend=11000
--

Jared Busch
Office: Have 2.8.0.1 talking to 3 IPOffice403's.
Home: Have 2.8.0 with trunks from Vitelity, & CallWithUs.



antidelldude
Posts: 287
Member Since:
2009-05-18
externip

Can you try externip= instead of externhost= ? I'm just curious if it'll work. I understand it wouldn't be a fix because your ip is most likely dynamic.

--

Regards,
Jon
Please respond if your problem was ever solved, and how you solved it. It'll help the next guy.



sorvani
Posts: 163
Member Since:
2009-06-25
externip works extenhost does not. DNS issue?

Problem solved. So this insinuates my trixbox is not resolving DNS correctly?

My IP address has not changed in over a year, but I am not paying for static, so it can change.
I have a dyndns setup and then my actual domain is aliased to the dyndns domain name (GoDaddy's full DNS controls are nice).

nslookup pbx.mydomain.tld from the CLI resolves correctly to the extrernal IP.
ping to www.google.com works.

The Public IP on the System Status page of the GUI shows a big bold Service Unavailable.

--

Jared Busch
Office: Have 2.8.0.1 talking to 3 IPOffice403's.
Home: Have 2.8.0 with trunks from Vitelity, & CallWithUs.



antidelldude
Posts: 287
Member Since:
2009-05-18
Odd...

I can not comment on why the externhost will not work, someone that knows more than me will have to chime in. It could just be a bug with trixbox 2.8. I can comment on the SERVICE UNAVAILABLE bit. That IP is determined by accessing a server outside of your network. My guess would be that server is currently down because my box is doing it as well.

--

Regards,
Jon
Please respond if your problem was ever solved, and how you solved it. It'll help the next guy.



Polygon
Posts: 3
Member Since:
2009-06-27
** Update ** I fixed this

** Update **

I fixed this issue by simply replacing the default WRT54GS firmware on my Linksys router with the open-source DD-WRT. Works flawlessly, now! :)



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.