Hi,
Im getting this error after fresh install. can ne1 point me to right direction.
initially i faced the 'this is not a valid extension' error.
is it possible that dialplan is still misconfigured??
i use sip phones & sip trunk
sip.conf & extensions.conf is attached
asterisk output is also attached
for dial prefix in my campaign i use X
i have country code added in my leads
===============
asterisk output
===================
Asterisk 1.2.27, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.27 currently running on vicidialnow (pid = 2619)
vicidialnow*CLI>
Verbosity is at least 21
[Kvicidialnow*CLI>
-- Remote UNIX connection
[Kvicidialnow*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing [1;36;40mMeetMe[0;37;40m("[1;35;40mLocal/8600051@default-bc1d,2[0;37;40m", "[1;35;40m8600051|F[0;37;40m") in new stack
> Channel Local/8600051@default-bc1d,1 was answered.
-- Executing [1;36;40mAGI[0;37;40m("[1;35;40mLocal/8600051@default-bc1d,1[0;37;40m", "[1;35;40magi://127.0.0.1:4577/call_log[0;37;40m") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [1;36;40mDial[0;37;40m("[1;35;40mLocal/8600051@default-bc1d,1[0;37;40m", "[1;35;40mSIP/441738628138@SIPtrunk|55|tTo[0;37;40m") in new stack
-- Called 441738628138@SIPtrunk
[Kvicidialnow*CLI>
Jun 12 12:10:24 [1;33;40mNOTICE[0;37;40m[2630]: [1;37;40mchan_sip.c[0;37;40m:[1;37;40m9883[0;37;40m [1;37;40mhandle_response_invite[0;37;40m: Failed to authenticate on INVITE to '"M0612121024000000009" <sip:0000000000@61.12.3.210>;tag=as1df45123'
[Kvicidialnow*CLI>
-- SIP/SIPtrunk-08b01790 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [1;36;40mHangup[0;37;40m("[1;35;40mLocal/8600051@default-bc1d,1[0;37;40m", "[1;35;40m[0;37;40m") in new stack
== Spawn extension (default, 441738628138, 3) exited non-zero on 'Local/8600051@default-bc1d,1'
-- Executing [1;36;40mDeadAGI[0;37;40m("[1;35;40mLocal/8600051@default-bc1d,1[0;37;40m", "[1;35;40magi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION----------[0;37;40m") in new stack
[Kvicidialnow*CLI>
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Kvicidialnow*CLI>
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-bc1d,2'
-- Executing [1;36;40mDeadAGI[0;37;40m("[1;35;40mLocal/8600051@default-bc1d,2[0;37;40m", "[1;35;40magi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------[0;37;40m") in new stack
[Kvicidialnow*CLI>
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Kvicidialnow*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
[Kvicidialnow*CLI>
=========
here's my sip.conf
============
[general]
port = 5060
bindaddr = 0.0.0.0
context = default
; register SIP account on remote machine if using SIP trunks
register => xxxxx:xxxxx@xxx.xxx.xxx.xxx:5060
; setup account for SIP trunking:
[SIPtrunk]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=91030
secret=03087
host=203.196.128.55
dtmfmode=inband
qualify=1000
[cc100]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc100
secret=test
host=dynamic
dtmfmode=inband
defaultip=192.168.1.2
qualify=1000
mailbox=100
=============
extensions.conf
=================
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=Zap/g1 ; Trunk interface
TRUNKX=Zap/g2 ; 2nd trunk interface
TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/xxxxx:xxxxx@203.196.128.55 ; SIP trunk
TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569 ; used for blind monitoring
TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569 ; used for testing
[default]
; BE SURE TO CHANGE THIS LINE FOR YOUR IP ADDRESS!
exten => _61*12*3*209*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)
; Example phone extensions
; Extension 2000 Sipura/Linksys ATA line 1
exten => 2000,1,Dial(sip/spa2000,30,to) ; Ring, 30 secs max
exten => 2000,2,Voicemail,u2000 ; Send to voicemail...
; Extension 2001 Sipura/Linksys ATA line 2
exten => 2001,1,Dial(sip/spa2001,30,to) ; Ring, 30 secs max
exten => 2001,2,Voicemail,u2001 ; Send to voicemail...
; Extension 2102 rings Grandstream phone
exten => 2102,1,Dial(sip/gs102,30,to) ; Ring, 30 secs max
exten => 2102,2,Voicemail,u2102 ; Send to voicemail...
; Extension 401 rings the firefly softphone
exten => 401,1,Dial((IAX2/firefly01@firefly01/s||t)
exten => 401,2,Hangup
; extensions for other SIP and IAX call center phones
; cc100-cc150 SIP Phones
exten => _1[0-5]X,1,Dial(sip/cc${EXTEN},20,to)
; cc300-cc350 IAX Phones
exten => _3[0-5]X,1,Dial(IAX2/cc${EXTEN},20,to)
; extensions if using a T1 channelbank
exten => _19XX,1,Dial(Zap/${EXTEN:2},30,o)
exten => _19XX,2,Hangup
; Extension 4001 rings Zap phone (this example for FXS on Zap port 1)
exten => 4001,1,Dial(Zap/1,30,o) ; ring Zap device 1
exten => 4001,2,Voicemail,u4001 ; Send to voicemail...
; # timeout invalid rules
exten => #,1,Playback(invalid) ; "Thanks for trying the demo"
exten => #,2,Hangup ; Hang them up.
exten => t,1,Goto(#,1) ; If they take too long, give up
exten => i,1,Playback(invalid) ; "That's not valid, try again"
; Give voicemail at extension 8500
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; Inbound call from BINFONE
; exten => 1112223333,1,AGI(agi://127.0.0.1:4577/call_log)
; exten => 1112223333,2,Dial(sip/gs102,55,o)
; exten => 1112223333,3,Hangup
; Extension 7275551212 - Inbound local number from PRI with 10 digit delivery
exten => 7275551212,1,Ringing
exten => 7275551212,2,Wait(1)
exten => 7275551212,3,AGI(agi://127.0.0.1:4577/call_log--fullCID--${EXTEN}-----${CALLERID}-----${CALLERIDNUM}-----${CALLERIDNAME})
exten => 7275551212,4,Answer
exten => 7275551212,5,Dial(sip/spa2000&sip/spa2001,30,To)
exten => 7275551212,6,Voicemail,u2000
; dial a long distance outbound number to the UK
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
exten => _44XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _44XXXXXXXXXX,2,Dial(SIP/${EXTEN}@SIPtrunk,55,tTo)
exten => _44XXXXXXXXXX,3,Hangup
; dial a long distance outbound number to Australia
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
exten => _901161XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _901161XXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},,To)
exten => _901161XXXXXXXXX,3,Hangup
rest is generic