asterisk решение проблемы
Добавлено: 09 ноя 2014, 17:19
Здравствуйте,
в консоле у меня периодически выходят предупреждения:
А команда sip show peers показывает следующее
что значит Unspecified, почему задействованы порты 5064, 5106 и т. д.
ведь астериск работает на порту 5060? правильно же.
вот, еще периодически выскакивает и это кстати уже давно.
Помогите люди добрые.
sip.conf
Спасибо большое
в консоле у меня периодически выходят предупреждения:
Код: Выделить всё
[Nov 9 19:49:30] WARNING[8568]: app_dial.c:1547 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
Код: Выделить всё
[Nov 9 19:46:45] WARNING[6774]: chan_dahdi.c:10657 pri_fixup_principle: Call specified, but not found?
[Nov 9 19:46:45] WARNING[6774]: chan_dahdi.c:11799 pri_dchannel: Hangup on bad channel 0/11 on span 2
[Nov 9 19:46:49] WARNING[6774]: chan_dahdi.c:10657 pri_fixup_principle: Call specified, but not found?
[Nov 9 19:46:49] WARNING[6774]: chan_dahdi.c:11799 pri_dchannel: Hangup on bad channel 0/11 on span 2
Код: Выделить всё
[Nov 9 19:50:39] WARNING[8578]: app_dial.c:1547 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
Код: Выделить всё
[Nov 9 19:25:51] NOTICE[8200]: rtp.c:1797 ast_rtp_read: Unknown RTP codec 126 received from '192.168.3.26'
Код: Выделить всё
fedora*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
000/000 192.168.3.147 D N 5060 OK (29 ms)
001/001 192.168.3.30 D N 5060 OK (9 ms)
003/003 192.168.3.30 D 5062 OK (10 ms)
1000/1000 192.168.3.8 D N 5090 OK (9 ms)
10000 (Unspecified) D N 5060 UNKNOWN
1001/1001 192.168.3.21 D N 5104 OK (9 ms)
10101/10101 192.168.3.2 D N 5072 OK (9 ms)
10102 (Unspecified) D N 5060 UNKNOWN
10103 (Unspecified) D N 5060 UNKNOWN
10104/10104 192.168.3.2 D N 5066 OK (9 ms)
10105 (Unspecified) D N 5060 UNKNOWN
10106/10106 192.168.3.35 D N 5060 OK (9 ms)
10107/10107 192.168.3.2 D N 5094 OK (9 ms)
10108/10108 192.168.3.35 D N 5062 OK (9 ms)
10109/10109 192.168.3.35 D N 5070 OK (9 ms)
10110/10110 192.168.3.2 D N 5078 OK (9 ms)
10111 (Unspecified) D N 5060 UNKNOWN
10112/10112 192.168.3.2 D N 5090 OK (9 ms)
10113/10113 192.168.3.2 D N 5084 OK (9 ms)
10114/10114 192.168.3.2 D 5086 OK (9 ms)
10115/10115 192.168.3.2 D N 5068 OK (9 ms)
10116/10116 192.168.3.2 D N 5106 OK (9 ms)
10117/10117 192.168.3.2 D N 5088 OK (16 ms)
10118 (Unspecified) D N 5060 UNKNOWN
10119 (Unspecified) D N 5060 UNKNOWN
10120 (Unspecified) D N 5060 UNKNOWN
10121/10121 192.168.3.2 D N 5064 OK (9 ms)
10122 (Unspecified) D N 5060 UNKNOWN
ведь астериск работает на порту 5060? правильно же.
вот, еще периодически выскакивает и это кстати уже давно.
Код: Выделить всё
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:30] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
[Nov 9 19:58:31] WARNING[8663]: chan_sip.c:5791 sip_write: Asked to transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write = 0x8 (alaw)(8)/0x8 (alaw)(8)
sip.conf
Код: Выделить всё
[root@fedora asterisk]# cat sip.conf
[general]
vmexten=*97
disallow=all
allow=alaw
allow=ulaw
allow=g729
context=from-sip-external
callerid=Unknown
notifyringing=yes
notifyhold=yes
limitonpeers=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
tcpenable=no
tlsenable=no
t38pt_udptl=yes
srvlookup=no
transfer=no
allowtransfers=yes
alwaysauthreject=yes
allowguest=no
#include "sip_additional_admin.conf"