1

我正在尝试用星号注册闪烁。但是注册不了。我尝试了一切,但没有成功。当我尝试注册时,它显示获取注册失败:503 Service Unavailable

这是日志:

+++ 6-3-2013 17:09:03.360376 INFO SIP ::send_sip_udp
Send to: udp:111.118.250.238:5060
REGISTER sip:111.118.250.238 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.53:5059;rport;branch=z9hG4bKvqfojppg
Max-Forwards: 70
To: "fake4" <sip:fake4@111.118.250.238>
From: "fake4" <sip:fake4@111.118.250.238>;tag=yseuu
Call-ID: cfslniyxacntoop@localhost.localdomain
CSeq: 858 REGISTER
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0


---

+++ 6-3-2013 17:09:03.362151 INFO NORMAL ::listen_udp
Received ICMP from: 111.118.250.238
ICMP type: 3
ICMP code: 10
Destination of packet causing ICMP: 111.118.250.238:5060
Socket error: 113 No route to host
---

+++ 6-3-2013 17:09:03.362239 INFO NORMAL t_tc_non_invite::process_icmp
ICMP error received.
---
+++ 6-3-2013 17:09:03.362312 INFO NORMAL t_tc_non_invite::process_failure
Transaction failed.

Send internal:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 192.168.1.53:5059;rport;branch=z9hG4bKvqfojppg
To: "fake4" <sip:fake4@111.118.250.238>;tag=frsdw
From: "fake4" <sip:fake4@111.118.250.238>;tag=yseuu
Call-ID: cfslniyxacntoop@localhost.localdomain
CSeq: 858 REGISTER
Server: Twinkle/1.4.2
Content-Length: 0

---

+++ 6-3-2013 17:09:03.362415 INFO NORMAL t_phone_user::handle_response_out_of_dialog
Failover to next destination.
---

+++ 6-3-2013 17:09:03.362650 INFO SIP ::send_sip_udp
Send to: udp:111.118.250.238:5060
REGISTER sip:111.118.250.238 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.53:5059;rport;branch=z9hG4bKfqgzykug
Max-Forwards: 70
To: "fake4" <sip:fake4@111.118.250.238>
From: "fake4" <sip:fake4@111.118.250.238>;tag=yseuu
Call-ID: cfslniyxacntoop@localhost.localdomain
CSeq: 859 REGISTER
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0


---

+++ 6-3-2013 17:09:03.364172 INFO NORMAL ::listen_udp
Received ICMP from: 111.118.250.238
ICMP type: 3
ICMP code: 10
Destination of packet causing ICMP: 111.118.250.238:5060
Socket error: 113 No route to host
---

+++ 6-3-2013 17:09:03.364256 INFO NORMAL t_tc_non_invite::process_icmp
ICMP error received.
---

+++ 6-3-2013 17:09:03.364325 INFO NORMAL t_tc_non_invite::process_failure
Transaction failed.

Send internal:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 192.168.1.53:5059;rport;branch=z9hG4bKfqgzykug
To: "fake4" <sip:fake4@111.118.250.238>;tag=kvpyf
From: "fake4" <sip:fake4@111.118.250.238>;tag=yseuu
Call-ID: cfslniyxacntoop@localhost.localdomain
CSeq: 859 REGISTER
Server: Twinkle/1.4.2
Content-Length: 0

我认为这是防火墙的问题。请帮忙

4

1 回答 1

0

对于星号端的调试,请使用以下(来自 ssh/console)

asterisk -rvvvv
sip set debug on

希望它能为您提供有关问题的足够信息。如果您在星号上没有看到任何内容 - 您需要在路径中的所有防火墙上打开端口 5060 udp。

于 2013-03-07T01:05:57.397 回答