@krll-k

Хочу совершить тестовый звонок через asterisk, почему не выходит?

File: /etc/asterisk/sip.conf

[general]
register => 0042138651:#######@sipnet.ru/0042138651
 
[sipnet]
dtmfmode=rfc2833
type=friend
host=sipnet.ru
fromuser=0035995745
fromdomain=sipnet.ru
secret=########
username=webtv
canreinvite=no
insecure=very
context=local
disallow=all
allow=g729
allow=g723
allow=g723.1
allow=gsm
allow=ulaw
allow=alaw


File: /etc/asterisk/extensions.conf

[local] 
exten => _9.,1,Dial(SIP/${EXTEN:1}@sipnet,30,r)


File: test.call

Channel: SIP/89991628348@sipnet.ru
Callerid: 9998877
MaxRetries: 2
RetryTime: 20
WaitTime: 60
Context: outgoing_to_89991628348
Extension: s
Priority: 1


sudo tail /var/log/asterisk/messages -n 20                                          
[Feb 21 13:23:35] NOTICE[2226] cel_tds.c: cel_tds has no global category, nothing to configure
.
[Feb 21 13:23:35] WARNING[2226] cel_tds.c: cel_tds module had config problems; declining load
[Feb 21 13:23:35] NOTICE[2226] pbx_ael.c: Starting AEL load process.
[Feb 21 13:23:35] NOTICE[2226] pbx_ael.c: AEL load process: parsed config file name '/etc/aste
risk/extensions.ael'.
[Feb 21 13:23:35] NOTICE[2226] pbx_ael.c: AEL load process: checked config file name '/etc/ast
erisk/extensions.ael'.
[Feb 21 13:23:35] NOTICE[2226] pbx_ael.c: AEL load process: compiled config file name '/etc/as
terisk/extensions.ael'.
[Feb 21 13:23:35] NOTICE[2226] pbx_ael.c: AEL load process: merged config file name '/etc/aste
risk/extensions.ael'.
[Feb 21 13:23:35] NOTICE[2226] pbx_ael.c: AEL load process: verified config file name '/etc/as
terisk/extensions.ael'.
[Feb 21 13:23:35] WARNING[2226] pbx_dundi.c: Unable to look up host 'krll'
[Feb 21 13:32:11] WARNING[2264] pbx_spool.c: Unable to set utime on /var/spool/asterisk/outgoi
ng/test.call: Operation not permitted
[Feb 21 13:32:11] NOTICE[2243][C-00000000] chan_sip.c: Failed to authenticate on INVITE to '<s
ip:9998877@10.0.235.107>;tag=as3351093f'
[Feb 21 13:32:11] NOTICE[2402] pbx_spool.c: Call failed to go through, reason (8) Congestion (
circuits busy)
[Feb 21 13:32:11] WARNING[2402] pbx_spool.c: Unable to set utime on /var/spool/asterisk/outgoi
ng/test.call: Operation not permitted
[Feb 21 13:32:31] NOTICE[2243][C-00000001] chan_sip.c: Failed to authenticate on INVITE to '<s
ip:9998877@10.0.235.107>;tag=as53f9d3d1'
[Feb 21 13:32:31] NOTICE[2405] pbx_spool.c: Call failed to go through, reason (8) Congestion (
circuits busy)
[Feb 21 13:32:51] NOTICE[2243][C-00000002] chan_sip.c: Failed to authenticate on INVITE to '<s
ip:9998877@10.0.235.107>;tag=as6d55039a'
[Feb 21 13:32:51] NOTICE[2406] pbx_spool.c: Call failed to go through, reason (8) Congestion (
circuits busy)
[Feb 21 13:33:11] NOTICE[2243][C-00000003] chan_sip.c: Failed to authenticate on INVITE to '<s
ip:9998877@10.0.235.107>;tag=as372c6711'
[Feb 21 13:33:11] NOTICE[2412] pbx_spool.c: Call failed to go through, reason (8) Congestion (
circuits busy)
[Feb 21 13:33:11] NOTICE[2412] pbx_spool.c: Queued call to SIP/89991628348@sipnet.ru expired w
ithout completion after 2 attempts


Как ведите в логах выходило Operation not permitted, но я с помощью chown поменял владельца.
  • Вопрос задан
  • 2267 просмотров
Решения вопроса 1
определитесь какой логин
0042138651 (register => 0042138651...)
или
0035995745 (fromuser=0035995745)
или
9998877 (Callerid: 9998877)

зачем здесь
Channel: SIP/89991628348@sipnet.ru
если пир [sipnet]
заменить на
Channel: SIP/sipnet/89991628348
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы