VoIP 電話が外部 SIP PBX からの登録を失う

VoIP 電話が外部 SIP PBX からの登録を失う

これは困ったものです。私の Polycom VoIP 電話 (約 10 台) はすべて、数時間ごとに登録が失われます。確認するたびに、登録されているものもあれば、登録されていないものもあります。ファイアウォールを再起動すると、数時間 (4 ~ 5 時間) 問題は解決します。

私は pfsense を使用しています。電話は 180 秒ごとに再登録するように設定されています。

この問題を解決するにはどうすればよいですか?

-ありがとう

答え1

私も現在同じ問題を抱えています。

以下の操作を必ず実行してください。

RTP

For this you will need the ports you setup in step 1.a above. I will be using my
port configuration. Add a NAT rule for RTP. This is essential or you will have
no audio or one way audio in your calls. Also change the NAT IP to whatever your 
Asterisk server is and change the description to something that makes sense for you.

Interface: WAN
Protocol: UDP
External port range: From: 10000
External port range: To: 20000
NAT IP: 192.168.1.50
Local Port: 10000
Description: Asterisk PBX - RTP
Enable Auto-add a firewall rule to permit traffic through this NAT rule

SIP

For this you will need the ports you setup in step 1.a above. I will be using my port
configuration. Add a NAT rule for SIP. This is essential or you won't be able to receive
calls and you may have trouble registering with your SIP provider. Also change the NAT IP
to whatever your Asterisk server is and change the description to something that makes
sense for you. 
Code:

Interface: WAN
Protocol: UDP
External port range: From: 5060
External port range: To: 5060
NAT IP: 192.168.1.50
Local Port: 5060
Description: Asterisk PBX - SIP
Enable Auto-add a firewall rule to permit traffic through this NAT rule

また、ポートの再マッピングを無効にする

Click Firewall -> NAT, and the Outbound tab. Click "Manual Outbound NAT rule  
generation (Advanced Outbound NAT (AON))" and click Save. 
You will then see a rule at the bottom of the page labeled "Auto created rule for
LAN". Click + to copy that rule. Change the rule so it only covers the source IP of
your device that needs static port, and any other settings you need. Check the 
"static port" box on that page, and click Save. 
Move the rule to the top of the list. Apply changes and this behavior will be disabled. 

それでもうまくいかない場合は、pfSenseにSIPプロキシデーモンをインストールすることもできます。


参考文献: https://doc.pfsense.org/index.php/Asterisk_VoIP
https://doc.pfsense.org/index.php/VoIP_Configuration
https://doc.pfsense.org/index.php/静的ポート

関連情報