elastix
Information
Community
Developers
What We Sell
Forums
Addons
Download
Information
Community
Social Networks
For Developers
Manufacturer Support
Appliances
Training & Certification

need help with external extension...

New to Elastix and VoIP world? Start here

need help with external extension...

Postby souxinh » Fri Apr 08, 2011 10:41 am

Hi, I have been using elastix for quite some time now, but I still can't successful register external extension.

internal working fine, incoming and outbound working perfectly but when tried setup xlite from other network (friend's house) I got either 408 or sometime 503....but most of the time is 408.

Here are the setup of my system. If anyone see what's wrong please suggest, Thanks.

My elastix version is 1.6-12.... http://forum.elastix.org/old_files/setting-20110408.zip
souxinh
Fresh Boarder
Fresh Boarder
 
Posts: 36
Joined: Tue Apr 06, 2010 8:52 am
Karma: 1

Re:need help with external extension...

Postby hinzinho » Fri Apr 08, 2011 11:02 am

If you are trying to connect from outside the network, first area to check is your firewall and make sure your ports are open. Other option is to use a VPN software to connect back inside the network.

As to attach an file to here, there is a option (above the submit button) that has "Select file to attach" with the browse button.
hinzinho
Senior Boarder
Senior Boarder
 
Posts: 404
Joined: Thu Sep 17, 2009 7:00 pm
Location: USA
Karma: 17

Re:need help with external extension...

Postby souxinh » Fri Apr 08, 2011 11:06 am

The attachment contain the image file in GIF, showing all my setting including router port setting....

I got message saying that I am only allow to attach zip or txt files only.... http://forum.elastix.org/old_files/setting.doc
souxinh
Fresh Boarder
Fresh Boarder
 
Posts: 36
Joined: Tue Apr 06, 2010 8:52 am
Karma: 1

Re:need help with external extension...

Postby jgutierrez » Fri Apr 08, 2011 1:43 pm

In order to make it work, you will to accept traffic on your firewall for ports 5060-5062 UDP, once accepted, then you will need to forward them into Elastix.

If it is not working, it is due to 3 simple reasons:
1. The firewall is not correctly configured / is not working
2. The remote side has disabled outbound 5060 UDP port
3. On the remote side, the extension is entering incorrect information.

If you still want to check if you are receiving traffic, you can execute the following command from console:

tcpdump port 5060 and host your_remote_ip

And you will see in which direction traffic is going on (if you have both ways, then, there is no issue...)
Do you need more help? A fast response?
Try our Official Elastix Paid Support Service(English/Español):

http://elx.ec/support
http://elx.ec/supportes

Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
User avatar
jgutierrez
Administrator
Administrator
 
Posts: 5289
Joined: Thu Feb 28, 2008 1:37 am
Location: Santiago de Guayaquil - Ecuador
Karma: 230

Re:need help with external extension...

Postby souxinh » Fri Apr 08, 2011 2:01 pm

Thank you.

I did open port 5004-5082 both udp/tcp and 10000-20000 both udp/tcp. I am be able to connect to elastix login page no problem. Please see attachment for all my setting.

For XLite configuration at my friend's house, I use extern ip address and specific port 5060 but can't register. but for my own internal network it working fine.

I will try the tcpdump when I get to my friend's house. Any other suggestion for my setting?

Thanks

Souxinh
souxinh
Fresh Boarder
Fresh Boarder
 
Posts: 36
Joined: Tue Apr 06, 2010 8:52 am
Karma: 1

Re:need help with external extension...**Solved***

Postby souxinh » Fri Apr 08, 2011 9:00 pm

Solved.....

in sip_nat.conf

I changed from
localhost= 192.168.3.168/255.255.255.0

to
localhost = 192.168.3.168

and it work. I could registered from anywhere now using my dyndns name.....

Thanks for everyone.
souxinh
Fresh Boarder
Fresh Boarder
 
Posts: 36
Joined: Tue Apr 06, 2010 8:52 am
Karma: 1

Re:need help with external extension...

Postby jgutierrez » Fri Apr 08, 2011 10:47 pm

That configuration is incorrect, what is goes on sip_nat.conf, is for be able to have audio on oth ways, not to be able to register.
The correct way to define it, is:

nat=yes
localnet=192.168.1.0/255.255.255.0
externip=xx.xx.xx.xx
or
externhost=mydns.com
Do you need more help? A fast response?
Try our Official Elastix Paid Support Service(English/Español):

http://elx.ec/support
http://elx.ec/supportes

Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
User avatar
jgutierrez
Administrator
Administrator
 
Posts: 5289
Joined: Thu Feb 28, 2008 1:37 am
Location: Santiago de Guayaquil - Ecuador
Karma: 230

Re:need help with external extension...

Postby souxinh » Sat Apr 09, 2011 1:55 pm

Now I am back to square one, can’t registered any remote extension (iphone) and no audio both way with internal extension. But I can use the phone call in and out fine, just the extension…from computer base software (xlite, portsip)
My setting as follow;
My router connected directly to my internet provider’s box which gave me the
Wan ip: 2AB.CDE.F.G
Router: 192.168.3.1 <- gateway IP
Router ports open as;
UDP/TCP: 5004-5080;
UDP/TCP:10000-20000;
My elastix ip: 192.168.3.5
Elastix network parameter setting as: gateway: 192.168.3.1
My sip_nat.conf
externhost=mmm.gotdns.com
nat=yes
externrefresh=120
localnet=192.168.3.5/255.255.255.0
rtp.conf
rtpstart=10000
rtpend=20000
with this setting I can call from outside in or call from my ata out to anywhere fine, with no issue.
Question 1.
In my sip_nat.conf:
The localnet ip should it be
a. 192.168.3.1 My gateway ip
b. 192.168.3.0 <- dot 0 mention by jgutierrez
c. 192.168.3.5 my elastix ip
(I tried all and reboot the elastix each time, it make no different in that still no audio when using softphone extension)
Question 2.
I follow every step to setup elastix from Elastix without tear, which setting in my router or any setting I much change to be able to registered my iphone (remote extension)? I also tried IAX before but same result, Please help/suggest.
Question 3.
My new provider setting as follow;
Trunk:
host=ttt.voxbeam.com
type=peer
disallow=all
dtmfmode=RFC2833
allow=ulaw&alaw
nat=yes
canreinvite=no
context=from-trunk
insecure=invite,port
Just with the prefix, and dial patterns which they received and connected the call fine, BUT NO AUDIO at all. Any idea or any question I should ask this provider so I can correct/change the setting to make this work……Any one?????

Thanks

Souxinh
souxinh
Fresh Boarder
Fresh Boarder
 
Posts: 36
Joined: Tue Apr 06, 2010 8:52 am
Karma: 1

Re:need help with external extension...

Postby jgutierrez » Mon Apr 11, 2011 3:27 pm

If the extension is not registered, there is no point dealing with one way audio...
The first step that you need to handle is registration issues... If you think that everything is ok, then try using another router...
Do you need more help? A fast response?
Try our Official Elastix Paid Support Service(English/Español):

http://elx.ec/support
http://elx.ec/supportes

Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
User avatar
jgutierrez
Administrator
Administrator
 
Posts: 5289
Joined: Thu Feb 28, 2008 1:37 am
Location: Santiago de Guayaquil - Ecuador
Karma: 230

Re:need help with external extension...

Postby souxinh » Mon Apr 11, 2011 7:14 pm

do I have to use new router?

internal extension register fine, only remote.....
but I will fine a good use one to try and will let you know.

Thanks

Souxinh
souxinh
Fresh Boarder
Fresh Boarder
 
Posts: 36
Joined: Tue Apr 06, 2010 8:52 am
Karma: 1

Re:need help with external extension...

Postby villbonaload » Tue Apr 12, 2011 10:27 am

yah the same problem with mine.. I already port forward the 5060 udp and 10000 -20000 port udp but still no luck connecting to my remote ext. does anyone know exactly what we''re talking about. Ive tried to test my 5060 port if it is open, the port checker said close. the router confirmed me it's already forwarded as I reviewed the setting. 2 weeks already hope someone could help
villbonaload
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Tue Apr 12, 2011 7:56 am
Karma: 0

Re: need help with external extension...

Postby ewahl64 » Thu May 17, 2012 11:51 am

Thank you for your fast answer, and many thanks.

I hope i have understanding, the hostname is = the name by the ddns. (sample)

hostname: myserver.voip.dlinkddns.com
the IP Adress of the server comment´s out.
The ports I have understanding.

Tbnak you.
We are planning and develope NAS Clustersystems in Euroupe based on CENTOS and OpenSuse
ewahl64
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Wed May 16, 2012 8:04 am
Location: Berlin, Germany
Karma: 0


Return to Newbie's Corner

Who is online

Users browsing this forum: No registered users and 1 guest