K
K
krll-k2016-02-21 16:36:44
Asterisk
krll-k, 2016-02-21 16:36:44

I want to make a test call via asterisk, why doesn't it work?

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/[email protected]
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:[email protected]>;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:[email protected]>;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:[email protected]>;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:[email protected]>;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/[email protected] expired w
ithout completion after 2 attempts

As you write in the logs, Operation not permitted came out, but I changed the owner with the help of chown.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-02-21
@krll-k

decide which login
0042138651 (register => 0042138651...)
or 0035995745 ( fromuser
=0035995745) or
9998877 (
Callerid : 9998877 ) /89991628348

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question