i can't make a outgoingl please help

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

i can't make a outgoingl please help

Postby bolinlee » Sun Aug 10, 2014 12:53 pm

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!
bolinlee
 
Posts: 4
Joined: Sun Aug 10, 2014 5:56 am

Re: i can't make a outgoingl please help

Postby geoff3dmg » Mon Aug 11, 2014 2:56 am

Code: Select all
[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


Your astdb file is missing or has incorrect permissions.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: i can't make a outgoingl please help

Postby bolinlee » Mon Aug 11, 2014 12:21 pm

i go to the Directory /var/lib/asterisk here is all the file

agi-bin images licenses phoneprov static-http
documentation keys mohmp3 sounds

but can't find the file astdb
how can i get it ? or where i can get it?
thank you
bolinlee
 
Posts: 4
Joined: Sun Aug 10, 2014 5:56 am

Re: i can't make a outgoingl please help

Postby bolinlee » Mon Aug 11, 2014 1:33 pm

now the file /var/lib/asterisk/astdb is exist, but i still can't call the outgoing phone
When I dial this appears on my asterisk CLI:
Verbosity is at least 3
== Using SIP RTP CoS mark 5
-- Executing [13710637857@default:1] AGI("SIP/8002-00000021", "agi://127.0.0.1:4577/call_log") in new stack
-- <SIP/8002-00000021>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [1371067857@default:2] Dial("SIP/8002-00000021", "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 [13710637857@default:3] Hangup("SIP/8002-00000021", "") in new stack
== Spawn extension (default, 13710637857, 3) exited non-zero on 'SIP/8002-00000021'
-- Executing [h@default:1] AGI("SIP/8002-00000021", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL----------") in new stack
-- <SIP/8002-00000021>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
iZ235lmmogiZ*CLI>

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

what is the problem is ? thank you!
bolinlee
 
Posts: 4
Joined: Sun Aug 10, 2014 5:56 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 23 guests