I need your expert help:
Since several weeks I've been searching within the manuals for
assistance in finding out how the Vicidal Now 1.2 agents are able to
place outgoing phone calls.
The problems seems to be that they can contact eachother by telephone but there seems to be no way for them to dial outside this system.
We've already tried the Providers IAX and SIP but it didn't work. Please
help us to look for a possibility to ensure for our agents to place
outgoing calls.
Here is my extensions.conf:
- Code: Select all
[default]
; BE SURE TO CHANGE THIS LINE FOR YOUR IP ADDRESS!
;exten => _192*168*178*xxx*.,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)
exten => _192*168*xxx*xxx*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*xxx*xxx*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _192*168*xxx*xxx*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*xxx*xxx*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
; 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--PRI-----NODEBUG-----${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 => _901144XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _901144XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},55,To)
exten => _901144XXXXXXXXXX,3,Hangup
; Germany
exten => _90049.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90049.,2,Dial(SIP/${EXTEN:1}@SIPtrunk,55,tTo)
exten => _90049.,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
; Extensions for performance testing
exten => _91999NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91999NXXXXXX,2,Dial(${TRUNKloop}/${EXTEN:2},,tTo)
exten => _91999NXXXXXX,3,Hangup
exten => 999999999999,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 999999999999,2,Dial(${TRUNKloop}/${EXTEN:1},,tTo)
exten => 999999999999,3,Hangup
Sip.conf:
- Code: Select all
[general]
port=5060
bindaddr=0.0.0.0
; register SIP account on remote machine if using SIP trunks
register => xxx:xxx@xxxx
;
; setup account for SIP trunking:
[SIPtrunk]
insecure=very
context = default
disallow=all
allow=ulaw
;allow=gsm
allow=alaw
;allow=ilbc
type=friend
username=xxx
secret=xxx
host=sip.pbx
dtmfmode=inband
qualify=1000
[cc100]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc100
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=100
[cc101]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc101
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=101
[cc102]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc102
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=102
[cc103]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc103
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=103
[cc104]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc104
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=104
[cc105]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc105
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=105
[cc106]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc106
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=106
[cc107]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc107
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=107
[cc108]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc108
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=108
[cc109]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc109
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=109
[cc110]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc110
secret=xxx
host=dynamic
dtmfmode=inband
qualify=1100
mailbox=110
Cli:
- Code: Select all
Feb 27 06:38:41 WARNING[29180]: file.c:1045 ast_waitstream: Unexpected control subclass '-1'\par
== Parsing '/etc/asterisk/manager.conf': Found\par
== Manager 'sendcron' logged on from 127.0.0.1\par
Feb 27 06:38:42 NOTICE[29195]: chan_local.c:526 local_alloc: No such extension/context 95711570110571157011014@default creating local channel\par
Feb 27 06:38:42 NOTICE[29195]: channel.c:2514 __ast_request_and_dial: Unable to request channel Local/95711570110571157011014@default\par
== Parsing '/etc/asterisk/manager.conf': Found\par
== Manager 'sendcron' logged on from 127.0.0.1\par
Feb 27 06:38:42 NOTICE[29198]: chan_local.c:526 local_alloc: No such extension/context 95721571110572157111014@default creating local channel\par
Feb 27 06:38:42 NOTICE[29198]: channel.c:2514 __ast_request_and_dial: Unable to request channel Local/95721571110572157111014@default\par
== Parsing '/etc/asterisk/manager.conf': Found\par
== Manager 'sendcron' logged on from 127.0.0.1\par
Thank you very much for your assistance.
Bye