Hi expert, can you help me ? I can't make an outgoing call. for example: i will call 13710633257
When I dial this appears on my asterisk CLI:
Verbosity is at least 3
== Using SIP RTP CoS mark 5
-- Executing [13710633257@default:1] AGI("SIP/8002-00000000", "agi://127.0.0.1:4577/call_log") in new stack
-- <SIP/8002-00000000>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [13710633257@default:2] Dial("SIP/8002-00000000", "SIP/7@111,,tTo") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/7@111
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [13710633257@default:3] Hangup("SIP/8002-00000000", "") in new stack
== Spawn extension (default, 13710638157, 3) exited non-zero on 'SIP/8002-00000000'
-- Executing [h@default:1] AGI("SIP/8002-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL----------") in new stack
-- <SIP/8002-00000000>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 11 01:42:25] WARNING[1977]: db.c:124 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
[Aug 11 01:42:25] WARNING[1977]: db.c:649 ast_db_gettree: Database unavailable
[Aug 11 01:43:25] WARNING[1977]: db.c:124 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
[Aug 11 01:43:25] WARNING[1977]: db.c:649 ast_db_gettree: Database unavailable
-- Unregistered SIP '8002'
[Aug 11 01:43:35] WARNING[1968]: db.c:124 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
[Aug 11 01:43:35] WARNING[1968]: db.c:124 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
this is my account entry:
[222]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkoutbound
qualify=yes
insecure=very
nat=yes
host=121.40.75.222
allow=g729
allow=alaw
And this is my dial plan
exten => _1xxxxxxxxxx,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1xxxxxxxxxx,2,Dial(SIP/${EXTEN:0:11}@222,,tTo)
exten => _1xxxxxxxxxx,3,Hangup
i can't find where the problem on this? Your help will be much appreciated. Thanks!