Not Calling Out

All installation and configuration problems and questions

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

Not Calling Out

Postby Trying » Thu Apr 17, 2008 7:16 am

Can someone please point me in the right direction? I have installed the latest version of VicidialNOW. Everything is fine but I cannot dial out. Sip phone cc100 is registering and I get a call when I login to the web client. We are dialing out through a standard PRI E1 connection.

I am from South Africa and all our numbers are ten digits and all start with zero. Is it perhaps something in my dialplan that is wrong?

My dialplan is exactly the same as that in VicidialNow, except that I have changed the following:

; dial an outbound RSA number
exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},,To)
exten => _XXXXXXXXXX,3,Hangup

My CLI output is:

Connected to Asterisk 1.2.27 currently running on vicidialnow (pid = 2933)
Verbosity is at least 21
-- Remote UNIX connection
-- Timeout on Local/78600051@default-0afe,2
== CDR updated on Local/78600051@default-0afe,2
-- Executing Goto("Local/78600051@default-0afe,2", "#|1") in new stack
-- Goto (default,#,1)
-- Executing Playback("Local/78600051@default-0afe,2", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Hangup("Local/78600051@default-0afe,2", "") in new stack
== Spawn extension (default, #, 2) exited non-zero on 'Local/78600051@default-0afe,2'
-- Executing DeadAGI("Local/78600051@default-0afe,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/78600051@default-0afe,1'
-- Executing DeadAGI("Local/78600051@default-0afe,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
> Channel SIP/cc100-087a6730 was answered.
-- Executing MeetMe("SIP/cc100-087a6730", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-fd68,2", "8600051|F") in new stack
> Channel Local/8600051@default-fd68,1 was answered.
-- Executing AGI("Local/8600051@default-fd68,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/8600051@default-fd68,1", "Zap/g1/823449100||To") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/823449100
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/78600051@default-4997,2", "8600051|Fq") in new stack
> Channel Local/78600051@default-4997,1 was answered.
-- Executing Answer("Local/78600051@default-4997,1", "") in new stack
-- Executing Monitor("Local/78600051@default-4997,1", "wav|20080417-141417_823449100") in new stack
-- Executing Wait("Local/78600051@default-4997,1", "3600") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-fd68,2'
-- Executing DeadAGI("Local/8600051@default-fd68,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'Zap/1-1'
== Spawn extension (default, 0823449100, 2) exited non-zero on 'Local/8600051@default-fd68,1'
-- Executing DeadAGI("Local/8600051@default-fd68,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1

Any help will be appreciated.
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Thu Apr 17, 2008 9:06 am

Ok, I have played around with the extensions a bit and these are the results.

When I use this I cannot dial out... neither from the Web Client or the softphone (xlite)
; dial an outbound RSA number
exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},,To)
exten => _XXXXXXXXXX,3,Hangup

When I use this I can dial out from the softphone but not through the web client:
exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial,Zap/g1/${EXTEN}
exten => _XXXXXXXXXX,3,Hangup

But when I use only this it works through both the softphone and the web client:
exten => _XXXXXXXXXX,1,Dial,Zap/g1/${EXTEN}


Anyone has any idea what is going on here?
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Thu Apr 17, 2008 9:21 am

Sorry guys. Now it is all of a sudden dialing through the web client on this extension:

exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial,Zap/g1/${EXTEN}
exten => _XXXXXXXXXX,3,Hangup

My question is....... is this extension setup sufficient or does it need anything else?
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby mflorell » Thu Apr 17, 2008 12:21 pm

That should be enough.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Trying » Thu Apr 17, 2008 12:28 pm

Thanks Matt
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 133 guests