Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
How to make Brekeke PBX calls a UA outside my LAN?
Author Message
Niggy
Brekeke Talented


Joined: 07 Oct 2007
Posts: 86
Location: Riyadh-ksa

PostPosted: Thu Jan 21, 2010 4:01 am    Post subject: How to make Brekeke PBX calls a UA outside my LAN? Reply with quote

1. Brekeke Product Name and version:2.1.6.6

2. Java version:1_5_0_11

3. OS type and the version:2

4. UA (phone), gateway or other hardware/software involved:x-lite spftphone, grandstream GXW410x FXO gateway

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :2

6. Your problem:
Hi all,
I'm running brekeke pbx connected to the internet through a Router with a global IP address, am also connected to pstn through sip gateway , what i want to do is to make a call to a UA on the internet outside my LAN. similar to pattern 3 http://www.brekeke-sip.com/bbs/network/networkpatterns.html
NB: my brekeke pbx GUI is visible through the internet.

need ur advices ..
thanks
Back to top
View user's profile Yahoo Messenger MSN Messenger
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu Jan 21, 2010 4:53 pm    Post subject: Reply with quote

is the phone outside your LAN registered at pbx sip server?
if it is registered, what happens if your make a call to it?
Back to top
View user's profile
Niggy
Brekeke Talented


Joined: 07 Oct 2007
Posts: 86
Location: Riyadh-ksa

PostPosted: Sat Jan 23, 2010 3:00 am    Post subject: Reply with quote

hope wrote:
is the phone outside your LAN registered at pbx sip server?
if it is registered, what happens if your make a call to it?


No, its not registered..!
I'm using x-lite & configured it as following:
ACCOUNT
Display Name:wan-ua
User NAme:123
Password:xxx
Auth. user name:123
Domain: xxx.xxx.xxx.xxx <my Globale IP address>

Doamin Proxy:
proxy (checked) Address: xxx.xxx.xxx.xxx (my Globale IP)

TOBOLOGY
IP Address
Discover globale IP (checked)

But its not registerd, it shows Registration error 408 - request timeout
Back to top
View user's profile Yahoo Messenger MSN Messenger
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Sat Jan 23, 2010 11:23 pm    Post subject: Reply with quote

timeout means the phone never received a response from the sip server. Most probably because the sip server never received the requests. Brekeke sip server is polite and always responds to register request if it receives it.

Make sure you have done port forwarding if the sip server is behind a nat router. Make sure server filewall is not blocking.

Port forward udp ports 5060 and 10000-10999 to the lan ip address of your server in your router. Open those ports in server firewall also if firewall is turned on.
Back to top
View user's profile
Niggy
Brekeke Talented


Joined: 07 Oct 2007
Posts: 86
Location: Riyadh-ksa

PostPosted: Wed Jan 27, 2010 3:20 am    Post subject: hii Reply with quote

Smile
hi guys, I can now call a SIP UA which is outside my LAN through the internet. However the voice is good but not stable.

Whats the recommended band width (DSL speed) for settled voip communication through the internet?

thanks.
Back to top
View user's profile Yahoo Messenger MSN Messenger
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Fri Jan 29, 2010 11:11 am    Post subject: Reply with quote

hello,

There are a couple of things you can do to test the route between you and your ua. First, go to the sip server and look at the registered users screen and then find the ip address of your user. Then go to msdos promt and type ping -t 11.22.33.44 where 11.22.33.44 is the ip address you got from the registered screen.

Let it run a while and check the time it shows which represents how long a packet takes to go to the ua and back.

If you see a time > 100ms then type traceroute 11.22.33.44 and watch all the routers between you and the ua to see where the bottleneck is. If the first hop is > 100ms then the problem is on the server side, if the end point is > 100ms then it's the ua's internet connection problem.

You can download pingplotter free trial pro to get a very good picture in graph form of what i described above.

You are looking for the pings to be somewhat consistant. If some are 30 and some are 100 and it changes around often, then you will have poor voice quality because even if the ua can adjust the jitter buffers, it can't adjust them very fast so fluctuating latency(jitter) can cause some of the conversation to break up.

All that info above only tells you if your connection is stable, but not if you have a bandwidth problem.

G711u and a conversations take about 80kbs. 64kbs for the data and about 16kbs for the packet header information that helps the data find its way to the ua. To be safe, always calculate 100kbs per conversation to give some room for error. We have found that any internet connection can only do voice with quality up to about 80-85% of it's maximum speed. So you need about 125kbs minimum upload and download speed for 1 conversation.

To check your bandwidth, you should have both the ua internet and the server internet run a bandwidth test.

You can do this by going to www.speedtest.net. this will tell you if you have enough bandwidth to carry on a good conversation. Also on the the speedtest site is a button called ping test. Click that after you finish the bandwidth test and you can test for jitter and packet loss. A very exellent site for us voip people. If you would like to report back your findings we would be happy to help you interpret the results.

One last thing, if your ua supports ilbc, by all means use it if you are short on bandwidth. It greatly reduces the amount of bandwidth that a conversation uses and sounds so clear you most likely can't hear the difference between g711u and ilbc. The only reason more people don't use it is because it takes a little more processing power than g729. For us with Brekeke with the small number of simultaneous conversations you probably will have it's fine. For large service providers carrying many simultaneous conversations it may use too much processing power so they like g729 which is less cpu intensive.

Another diagnostic tool is wireshark. You can run wireshark(free) on your server and capture all the packets of a conversation with a click or two. Then when the conversation is over, you can click on tools and get a great report on the conversation that would include, latency, packet loss and jitter. With the proper tools, you can always see exactly what a sip call problem is and make sure you have high quality. It's not guesswork, it's just work.
Back to top
View user's profile
Niggy
Brekeke Talented


Joined: 07 Oct 2007
Posts: 86
Location: Riyadh-ksa

PostPosted: Sun Jan 31, 2010 3:24 am    Post subject: hi Reply with quote

Hi voipwell.com
I want to thank for your helpful post, it was really interesting & full of new & important info. about troubleshooting voip communication.
I'll go through the steps you mentioned & i'll get you the result & I want to thank u for your offer, I really appreciated.
regards,
Back to top
View user's profile Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1