返回列表 發帖
回復 13# tsm

In the last report, I mentioned that the packet-drop rate was extremely high. As a result, it would not be suitable for VoIP connection. However I found the cause of high drop rate was due to improper settings on my network. Now the problem has resolved and the OpenVPN connection can carry out ping packets with extremely low drop rate.

In this morning, I carried out an experiment using ping.
  1.     sent=1640 received=1640 packet-loss=0% min-rtt=358ms avg-rtt=360ms
  2.    max-rtt=761ms
複製代碼
The reason for long ping time 360ms is China <--> US <--> Hong Kong. The packet travelling time is half of this figure, i.e. 180ms.
If you want to make it shorter, you can China <--> Hong Kong, the packet travel time will be reduced to 50ms.

If you have problem in setting up the V2Ray server, please let me know.

TOP

SZ 也没办法使用了,BLOCK,切换到P S TN  LINE都用不了,,SIP服务器都登录不上了Register Failed: No Response From Server。

TOP

本帖最後由 inshenzhen 於 2019-3-25 11:23 編輯

ASTERISK 一样连不上 OBI成了没用的了 从上周开始发生的 VOIP无法正常登录了LINE拨出的电话 开始提示 拨打的号码是空号

TOP

你的Asterisk server放在香港吗?你的configuration是怎样?能多说一点吗?

TOP

raspberry上建立在本地的 VPS国外的 两个互联。 raspberry上的能连OBI,但是LINE拨不出电话了,去掉OBI就没问题

TOP

本帖最後由 角色 於 2019-3-25 12:06 編輯

都是看不懂!OBi我有,Asterisk servers我也有,你的LINE我知道是Obi里的LINE,接Public PSTN?那么你接哪里的PSTN?大陆?香港?建议手画一个network diagram for illustration。

你的VoIP packets不能通过普通的通道到另外一边server,一定要在V2Ray or alike + VPN这样的方式进行。

TOP

回復  tsm

Based on my findings, using V2Ray's dokodemo (port forwarding method) should help you in ...
角色 發表於 2019-3-19 13:13


Let me clarify your statement
if the connection between 2 elastix is IAX (using single port forward)
   I can use V2Ray's dokodemo alone to connect 2 elastix and calls

if i use sip phone on 1 site to connect to  elastix on the remote site
   because sip connection require 5606 for handshaking and voice signaling thro port 10000 to 20000
        I have to setup vpn (openvpn) to establish the connection and  
          accommodate multiple port forwarding for the voice call
        in that case it should make reference to your V2ray dokodemo and openvpn thro it

TOP

回復 16# 角色
Thank you for your info and update
finally i see the light
[very depress and annoying in the past 3-4 months everyday getting jam for inhouse internal calls]

i will try to buy raspberry pi and see if I can ok. I agree it may be the most easy way without alternating a lot on existing network
[I am afraid to alter the router (shibby tomato on rt-n16) ]
I hope i can return with good news.

and there are so many articles here from u I have to spend time to digest and trial and error.
Tks again

TOP

Thank you for your information about the choices of DDNS services. You are right that using mainland China's DDNS may cause problems as I experienced it before. The mainland Chinese DDNS does not resolve non-mainland-China IP.

As for your case, please do not worry as I shall create another post for your issue such that we can concentrate on the problems you have.

TOP

回復 22# tsm

Let me clarify your statement
if the connection between 2 elastix is IAX (using single port forward)
   I can use V2Ray's dokodemo alone to connect 2 elastix and calls

China-to-HongKong should be no problems. If you have public IP in China office, HongKong-to-China VoIP will not have problems. If you do not have public IP, you need to establish the reverse-proxy-method, which I have never tried it before.

if i use sip phone on 1 site to connect to  elastix on the remote site
   because sip connection require 5606 for handshaking and voice signaling thro port 10000 to 20000
        I have to setup vpn (openvpn) to establish the connection and  
          accommodate multiple port forwarding for the voice call
        in that case it should make reference to your V2ray dokodemo and openvpn thro it

The answer is yes.

TOP

回復 21# 角色

谢谢你的解答,用的是大陆PSTN。另你的的帖子中里面的图和我连接的基本一样,今天我加了dokodemo转发好像是解决了,刚登录通话测试没问题。

TOP

本帖最後由 角色 於 2019-3-26 15:57 編輯

能帮到你就好!

你有用Asterisk?Elastix?还有你用AIX?而不是SIP吗?因为其他member都会有你所类似的问题,能否说过一些吗?

如果再不用dokodemo,是否又不能工作?

然后又再用就OK?

TOP

用的是FREEPBX 两个SERVER通过SIP连起来的,因为其中一个SERVER中的IAX有问题没有重装,就用了SIP。

TOP

你的意思,SIP那个port就通过dokodemo port forwarding就把问题解决好吗?

你大陆的router是否可以取得public IP?如果不是,你怎样从香港打上大陆的VoIP server呢?

TOP

YES I TESTED AT COMPANY
SURE IT IS PUBLIC IP
I WILL TEST COMPELETLY ON THE WEEKEND THEN REPORT HERE

TOP

返回列表