I am currently testing the spirits of incoming calls with VICIDIAL.
Simply put a customer call number (800) to call an agent.
Of course I can not
To help you to help me ^ ^ I will go through the network that I set up and configuration of VICIDIAL.
First I create a sip trunk, with a server and goautodial and a server with asterisk ( who is a telephone operator )
server configuration asterisk
- Code: Select all
sip.conf
----------------------------------------
[general]
context=default
allowoverlap=no
bindport=5000
bindaddr=0.0.0.0
srvlookup=yes
[12345]
type=friend
host=dynamic
;username=12345
context=default
disallow=all
allow=ulaw
allow=alaw
[0296928888]
type=friend
username=test1
host=dynamic
context=default
disallow=all
allow=ulaw
allow=alaw
[0296929999]
type=friend
username=test2
host=dynamic
context=default
disallow=all
allow=ulaw
allow=alaw
----------------------------------
- Code: Select all
extensions.conf
----------------------------------
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
;TRUNK=Zap/G2 ; Trunk interface
[default]
exten => _6XXXXXX,1,NoOp(entree dans default)
exten => _6XXXXXX,2,Dial(SIP/12345/${EXTEN:1})
exten => _6XXXX,1,NoOp(entree dans default2222222)
exten => _6XXXX,2,Dial(SIP/12345/${EXTEN:1})
exten => _X.,1,NoOp(entree dans le context de l'appel entrant)
exten => _X.,2,Dial(SIP/12345/${EXTEN})
--------------------------------
now on server with goautodial
I set up a register with the account 12345
- Code: Select all
register => 12345@192.168.1.13:5000
I said after two phones sip 2001 and 2002 which are the agents
and "false " account of the operator is 12345
- Code: Select all
sip.cof
[12345]
disallow=all
allow=ulaw
type=friend
host=dynamic
dtmfmode=rfc2833
context=trunkinbound
After the trunk was in place, I declare an IN-GROUP in the web interface VICIDIAL
- Code: Select all
Group ID: AGENT_DIRECT
Group Name: Primary Sales Line
Active: Y
Next Agent Call: oldest_call_finish
Fronter Display: Y
Script: NONE
Get Call Launch: NONE
then I declared a DID
- Code: Select all
DID Extension: 800
DID Description: numéro
Active: Y
DID Route: IN_GROUP
In-Group ID: AGENT_DIRECT
In-Group Call Handle Method: CID
In-Group Agent Search Method: LB
In-Group Phone Code: 1
I finally create my inbound campaign with its options
- Code: Select all
Campaign ID: TEST_IN
Campaign Name: Closer and inbound campaign
Active: Y
Allow Closers: Y
Hopper Level: 5
Auto Dial Level: 1
Next Agent Call: oldest call finish
Local Call Time: 24hours
Dial Method : RATIO
Now I connect my agents on the interface VICIDIAL. Everything works perfectly.
However when I call from the outside by dialing 800 from a number registered on the Asterisk operator, it does not recognize the extension
[/code]
My network diagram
http://www.asterisk-france.org/attachment.php?attachmentid=106&d=1303842364
Pour préciser je prend exemple d'un téléphone déclaré dans le contexte default de l'opérateur téléphonique et dont le dialplan se compose comme ceci
- Code: Select all
[default]
exten => _X.,1,NoOp(entree dans le context de l'appel entrant)
exten => _X.,2,Dial(SIP/12345/${EXTEN})
on the server goautodial the account 12345 happens in the context trunkinbound
- Code: Select all
[trunkinbound]
; DID call routing process
exten => _X.,1,NoOp(entree dans tunkinbound)
exten => _X.,2,AGI(agi-DID_route.agi)
By dialing 800 (DID)
The message "entry in the context of the incoming call" appears in the CLI of the operator
- Code: Select all
-- Executing [012345@default:1] NoOp("SIP/0296929999-00000020", "entree dans le context de lappel entrant") in new stack
-- Executing [012345@default:2] Dial("SIP/0296929999-00000020", "SIP/12345/012345") in new stack
-- Called 12345/012345
-- SIP/12345-00000021 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
== Auto fallthrough, channel 'SIP/0296929999-00000020' status is 'CONGESTION'
[Apr 27 13:51:32] ERROR[5250]: cdr_csv.c:314 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
And he call the account 12345
But on the server goautodial the extension is not recognized
- Code: Select all
[Apr 27 10:02:18] NOTICE[16844]: chan_sip.c:15147 handle_request_invite: Call from '' to extension '012345' rejected because extension not found.
I do not understand at all why the extension is not recognized
I ask your help
thank you in advance