星号内部呼叫不正确路由。 无法检索端点“匿名”的PJSIP传输'udp,tcp,ws,wss'

我试图找出为什么我的FXO适配器突然停止工作,它已经有一段时间,因为它是第一次configuration,我只改变了一个FXO适配器的内部呼叫超时设置,并突然停止接听来电到环组。 我在Asterisk和freepbx论坛上创build帐户也没有成功,但我离题了。 我已经尝试重build与设备关联的中继线,分机和用户没有任何成功。

当我进行呼入时,出现以下错误

[2016-03-02 12:47:30] ERROR[4687]: res_pjsip.c:2370 sip_get_tpselector_from_endpoint: Unable to retrieve PJSIP transport 'udp,tcp,ws,wss' for endpoint 'anonymous' 

但是它不应该与PJSIP连接。 我的CHAN_SIP绑定端口是5061,并且FXO端口已经被configuration为无条件地呼叫

 [email protected]:5061 

用户601是仍在内部工作的环组。 PJSIPconfiguration为监听端口5099.(改变尝试阻止它接听FXO呼叫)

我已经从错误401,500和所有其他问题,试图诊断问题,search和更改设置的日子还没有帮助。

在Asterisk端,FXO端口被configuration为一个中继,如下所示

传入设置

 USER conext=incoming type=peer username=60 fromuser=60 insecure=port,invite host=10.0.100.24 dtmf=rfc2833 port=5062 allow=alaw&ulaw&g729 qualify=yes 

这显示为同行,但不在registry中。 我曾经有一个相同的用户名的扩展名,但已经删除它,用户名正在处理语音邮件没有答案,我会考虑添加一次电话再次通过。 用户在工作时被configuration为PJSIP:600,但我已将其更改为新的用户@ 60,以防止任何旧的PJSIPconfiguration泄漏。

啜饮同行

 Name/username Host Dyn Forcerport Comedia ACL Port Status Description Incoming/60 10.0.100.24 Yes Yes 5062 OK (18 ms) 

我从wireshark获得以下

 SIPStack(1)::cb_rcv: Recieved 403 response for Ttransaction 3(REGISTER) 

这看起来像是一个FORBIDEN响应。 不知道要检查什么,但是。

如果我尝试拨打FXO端口。 我在Wireshark中获得以下内容

 Call(1)::Call, creating Call Object 1 at port 1:0 with digits <sip:[email protected]:5061> ATACtrl::Call, cannot make the call, statusCode = 500, chan status = CALL_DIALED Dispatching event: 17 (CALL_FAILED)) on port 1:0 

星号提出了我在问题开始时的错误。

 [2016-03-02 12:47:30] ERROR[4687]: res_pjsip.c:2370 sip_get_tpselector_from_endpoint: Unable to retrieve PJSIP transport 'udp,tcp,ws,wss' for endpoint 'anonymous' 

SIP设置debuggingIP 10.0.100.24我得到以下

 Reliably Transmitting (NAT) to 10.0.100.24:5062: OPTIONS sip:10.0.100.24 SIP/2.0 Via: SIP/2.0/UDP 10.0.100.8:5061;branch=z9hG4bK7b2af600;rport Max-Forwards: 70 From: "Unknown" <sip:[email protected]:5061>;tag=as373eb1a0 To: <sip:10.0.100.24> Contact: <sip:[email protected]:5061> Call-ID: [email protected]:5061 CSeq: 102 OPTIONS User-Agent: FPBX-12.0.76.2(13.4.0) Date: Wed, 02 Mar 2016 02:09:39 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Content-Length: 0 --- <--- SIP read from UDP:10.0.100.24:5062 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.100.8:5061;branch=z9hG4bK7b2af600;rport=5061 From: "Unknown" <sip:[email protected]:5061>;tag=as373eb1a0 To: <sip:10.0.100.24>;tag=698745166 Call-ID: [email protected]:5061 CSeq: 102 OPTIONS Supported: replaces, path, timer, eventlist User-Agent: Grandstream HT-503 V2.0A 1.0.14.1 chip V2.2 Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE Content-Length: 0 <-------------> --- (10 headers 0 lines) --- Really destroying SIP dialog '[email protected]:5061' Method: OPTIONS [2016-03-02 13:09:42] ERROR[6385]: res_pjsip.c:2370 sip_get_tpselector_from_endpoint: Unable to retrieve PJSIP transport 'udp,tcp,ws,wss' for endpoint 'anonymous' 

我find了这个文件, pjsip.endpoint.conf

 #include pjsip.endpoint_custom.conf [anonymous] type=endpoint context=from-sip-external allow=all transport=udp,tcp,ws,wss 

但它应该是运输正常的SIP通道。 我试过改变端口,创build用户和扩展,删除它们,总是得到匿名错误的同一端点。

我总是难住,会喜欢下一步看什么的一些想法。