星号单向音频

时间:2019-04-12 01:53:50

标签: asterisk sip

遇到了一个奇怪的问题。 尝试从Sip客户端呼叫普通电话或分机。 这总是以一种方式实现音频连接。

我使用的是odbc数据库,无法真正发现问题。 谁能在正确的方向上帮助我。 似乎根本没有错误。

[general]
context=public
allowguest=no
allowoverlap=no
udpbindaddr=0.0.0.0:15060
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
srvlookup=yes
language=ja
externaddr=x.x.x.x
localnet=x.x.x.x/255.255.240.0
nat=force_rport,comedia
rtcachefriends=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm

/ var / log /星号/消息

[Apr 12 10:44:36] VERBOSE[23055][C-00000001] netsock2.c: Using SIP RTP CoS mark 5
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] pbx.c: Executing [52431824@context_tok:1] NoOp("SIP/inbound_1_1-00000003", "inbound") in new stack
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] pbx.c: Executing [52431824@context_tok:2] Dial("SIP/inbound_1_1-00000003", "SIP/1_1_1_1/1_1_1_1&SIP/1_1_1_2/1_1_1_2&SIP/1_1_1_3/1_1_1_3&SIP/1_1_1_4/1_1_1_4") in new stack
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] netsock2.c: Using SIP RTP CoS mark 5
[Apr 12 10:44:36] WARNING[25771][C-00000001] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] netsock2.c: Using SIP RTP CoS mark 5
[Apr 12 10:44:36] WARNING[25771][C-00000001] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] app_dial.c: Called SIP/1_1_1_1/1_1_1_1
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] app_dial.c: Called SIP/1_1_1_3/1_1_1_3
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] app_dial.c: SIP/1_1_1_1-00000004 is ringing
[Apr 12 10:44:36] VERBOSE[25771][C-00000001] app_dial.c: SIP/1_1_1_3-00000005 is ringing
[Apr 12 10:44:44] VERBOSE[25771][C-00000001] app_dial.c: SIP/1_1_1_3-00000005 answered SIP/inbound_1_1-00000003
[Apr 12 10:44:44] VERBOSE[25846][C-00000001] bridge_channel.c: Channel SIP/1_1_1_3-00000005 joined 'simple_bridge' basic-bridge <16f760ce-43f9-4f36-8aa3-865c4f2e8151>
[Apr 12 10:44:44] VERBOSE[25771][C-00000001] bridge_channel.c: Channel SIP/inbound_1_1-00000003 joined 'simple_bridge' basic-bridge <16f760ce-43f9-4f36-8aa3-865c4f2e8151>
[Apr 12 10:44:52] VERBOSE[25846][C-00000001] bridge_channel.c: Channel SIP/1_1_1_3-00000005 left 'simple_bridge' basic-bridge <16f760ce-43f9-4f36-8aa3-865c4f2e8151>
[Apr 12 10:44:52] VERBOSE[25771][C-00000001] bridge_channel.c: Channel SIP/inbound_1_1-00000003 left 'simple_bridge' basic-bridge <16f760ce-43f9-4f36-8aa3-865c4f2e8151>
[Apr 12 10:44:52] VERBOSE[25771][C-00000001] pbx.c: Spawn extension (context_tok, 52431824, 2) exited non-zero on 'SIP/inbound_1_1-00000003'

尝试了几件事,并在网上搜索,找不到正确的解决方案。

1 个答案:

答案 0 :(得分:-1)

帮助以后遇到同样问题的人。

在odbc数据库中,标准数据为null。

将数据库中的用户设置为yes可以解决该问题。