gpt4 book ai didi

webrtc - ast_sockaddr_resolve : getaddrinfo(): Name or service not known

转载 作者:行者123 更新时间:2023-12-02 11:33:48 31 4
gpt4 key购买 nike

我有这个错误:

ast_sockaddr_resolve: 
Getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Name or service not known

在 Asterisk PBX 中。

所有带有 Asterisk 的注册过程都已成功完成。之后,当我点击应用程序的调用按钮时,它显示了上述错误。

这是我的日志:
  -- Executing [7008@default:1] Dial("SIP/7005-00000006", "SIP/7008,,H") in new stack
== Using SIP RTP CoS mark 5
[Feb 6 19:43:51] ERROR[5802][C-00000005]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Name or service not known
[Feb 6 19:43:51] WARNING[5802][C-00000005]: chan_sip.c:16609 __set_address_from _contact: Invalid host name in Contact: (can't resolve in DNS) : 'df7jal23ls0d.invalid'
-- Called SIP/7008
-- SIP/7008-00000007 is ringing
-- Got SIP response 603 "Failed to get local SDP" back from 192.168.0.26:566 17
-- SIP/7008-00000007 is busy
== Everyone is busy/congested at this time (1:1/0/0)
-- Auto fallthrough, channel 'SIP/7005-00000006' status is 'BUSY'
[Feb 6 19:43:54] WARNING[5800][C-00000005]: chan_sip.c:24848 handle_response: R emote host can't match request ACK to call '07791e5d190b43915aca104937588c4e@192 .168.0.17:5060'. Giving up.
suhani-pbx*CLI> netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Name or service not known
No such command ' netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Name or service not known' (type 'core show help netsock2.c:305 ast_sockaddr_resolve:' for other possible commands)


[root@suhani-pbx ~]# netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Name or service not known
-bash: syntax error near unexpected token `('
[root@suhani-pbx ~]# netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Name or service not known
-bash: syntax error near unexpected token `('
[root@suhani-pbx ~]# netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Name or service not known
-bash: syntax error near unexpected token `('

最佳答案

这意味着您错误地设置了服务器。

服务器应该有正确的可解析 dns 名称或已记录在/etc/hosts 中,将您的名称指向 ip。

关于webrtc - ast_sockaddr_resolve : getaddrinfo(): Name or service not known,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42064341/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com