web statisticsweb stats

Business Phone Systems

Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2004
Posts: 1,751
Likes: 49
Admin
*****
Admin
*****
Joined: Aug 2004
Posts: 1,751
Likes: 49
Hey guys,

I can't seem to get a voice path on remote extensions outside of my network. After much reading on various forums and trying a million different configs here's what I'm using:
sip_nat.conf:
nat = yes
externip = 142.xxx.xxx.xxx
externhost = mydomain.name
externrefresh = 120
localnet = 192.168.101.0/255.255.255.0

Extension settings:
secret = pwd
dtmfmode = rfc2833
canreinvite = no
context = from-internal
host = dynamic
type = friend
nat = yes
port = 5060
qualify = yes

I can call to & from other extensions, the voice path just never sets up. I've tried this from a number of different networks & ISP's. One thing that bothers me is when I call the remote extension from say extension 221 the display shows [email protected] calling. Why do I see a loopback address?

Any ideas?


[Linked Image from web.atcomsystems.ca]
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
Atcom VoIP Phones
VoIP Demo

Best VoIP Phones Canada


Visit Atcom to get started with your new business VoIP phone system ASAP
Turn up is quick, painless, and can often be done same day.
Let us show you how to do VoIP right, resulting in crystal clear call quality and easy-to-use features that make everyone happy!
Proudly serving Canada from coast to coast.

Joined: Jun 2007
Posts: 2,106
Member
Member
Offline
Joined: Jun 2007
Posts: 2,106
three things to try.

1) Either define externhost with a valid FQDN or put a semicolon in front of it and externrefresh

2) Forward UDP ports 10000-20000 to your trixbox system

3) set the expiration time to 60-seconds by putting in 'defaultexpirey=60' in the top part of the file(make the phones re-register every 60-seconds)

I am also guessing that your Trixbox system is behind a nat, as well as the remote-end phones. Welcome to the fun that is SIP/NAT hell smile

Let me know if those help out.

Joined: Aug 2004
Posts: 1,751
Likes: 49
Admin
*****
Admin
*****
Joined: Aug 2004
Posts: 1,751
Likes: 49
Thanks Kumba, the ever knowledgeable VOIP expert! I actually did that very thing (before I had a chance to read your post) in sip_nat.conf:
nat = yes
externip = 142.xxx.xxx.xxx
;externhost = mydomain.name
;externrefresh = 120
localnet = 192.168.101.0/255.255.255.0

and instantly solved the issue. Though I'd tried that already :-(

I had already forwarded the required ports in my router and had even gone as far as putting it in the DMZ.

Thanks again!


[Linked Image from web.atcomsystems.ca]
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
Joined: Jun 2007
Posts: 2,106
Member
Member
Offline
Joined: Jun 2007
Posts: 2,106
You have to remember that after you make and configuration file changes that in Trixbox you have to tell it to reload or restart or something like that. It doesn't automatically load them changes in.

I forget to do that all the time with asterisk. Always frustrating when I burn an hour debugging something because I forgot to tell it to reload.

Anonymous
Unregistered
Anonymous
Unregistered
I've always wondered this; when doing a reload, will it drop the existing calls? Do you need to do it while idle?

Joined: Jun 2007
Posts: 2,106
Member
Member
Offline
Joined: Jun 2007
Posts: 2,106
If you are doing a reload it will not. If you are doing a restart it will kill everything.

The problem with doing a reload is when you do MAJOR changes to the dialplan. You could end up with a scenario where the current step in the call flow is looking for a place in the dial-plan that no longer exists. If all you are doing is changing simple things like sip user entries, voicemail entries, or some fairly minor parts of the dialplan it wont effect much. If you are doing major changes you would be best served to do a restart or reload with no active calls.

Joined: Jul 2011
Posts: 1
Chi Offline
Member
Member
Offline
Joined: Jul 2011
Posts: 1
Anywhere I can get after hours Trixbox CE phone support? Having problems configuring a PRI to send or receive calls.

Thanks


Link Copied to Clipboard
Newest Topics
SL2100 licenses
by andyphones - 06/09/25 11:19 AM
Answer ringing line without pressing a button
by Pinnacle Rich - 06/02/25 10:53 AM
IT Guy. Jersey City, NJ
by hitechcomm - 05/29/25 10:09 PM
Nortel Venture phone question
by empire - 05/26/25 04:27 PM
Forum Statistics
Forums84
Topics94,544
Posts640,075
Members49,857
Most Online5,661
May 23rd, 2018
Newest Members
telli, CCTechProf, Pinnacle Rich, chris c755555, empire
49,857 Registered Users
Top Posters(30 Days)
Toner 6
hbiss 2
Who's Online Now
0 members (), 114 guests, and 22 robots.
Key: Admin, Global Mod, Mod
Contact Us | Sponsored by Atcom: One of the best VoIP Phone Canada Suppliers for your business telephone system!| Terms of Service

Sundance Communications is not affiliated with any of the above manufacturers. Sundance Phone System Forums - VOIP & Cloud Phone Help
©Copyright Sundance Communications 1998 - 2025
Powered by UBB.threads™ PHP Forum Software 8.0.0