Hello guys!
I've a pb to receive calls on Vicidial :
-- Executing [+33811XXXXXX@trunkinbound:1] AGI("SIP/XXX-000004b3", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Feb 4 10:12:40] ERROR[3236]: utils.c:967 ast_carefulwrite: write() returned error: Broken pipe
-- AGI Script agi-DID_route.agi completed, returning 0
-- Executing [9998811112@default:1] Wait("SIP/XXX-000004b3", "2") in new stack
-- Executing [9998811112@default:2] Answer("SIP/XXX-000004b3", "") in new stack
-- Executing [9998811112@default:3] Playback("SIP/XXX-000004b3", "ss-noservice") in new stack
-- <SIP/XXX-000004b3> Playing 'ss-noservice' (language 'en')
-- SIP/XXX-000004b2 answered Local/8600052@default-bd76,1
== Spawn extension (default, 9998811112, 3) exited non-zero on 'SIP/XXX-000004b33'
-- Executing [h@default:1] DeadAGI("SIP/XXX-000004b33", "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
CARRIER :
[XXXX]
type=peer
canreinvite=no
directmedia=no
host=46.255.XX.XX
port=5070
disallow=all
allow=g729
allow=gsm
allow=ulaw
allow=alaw
context=trunkinbound
qualify=yes
insecure=invite,port
DIALPLAN :
exten => _942X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _942X.,2,Dial(${XXXX}/0033${EXTEN:4},,tTor)
exten => _942X.,3,Hangup
EXTENSIONS.CONF :
[trunkinbound]
; DID call routing process
exten => _+X.,1,AGI(agi-DID_route.agi)
[default]
include => vicidial-auto
; VICI-GROUP DIRECT SUPPORT LINE (VICIHELP[84244357])
exten => _84244XXX,1,Dial(IAX2/vicihelp/${EXTEN:5})
; Local agent alert extensions
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)
; playback of recorded prompts
exten => _851XXXXX,1,Answer
exten => _851XXXXX,2,Playback(${EXTEN})
exten => _851XXXXX,3,Hangup
; this is used for playing a message to an answering machine forwarded from AMD in VICIDIAL
exten => _7851XXXXX,1,WaitForSilence(2000,2) ; AMD got machine. leave message after recording
exten => _7851XXXXX,2,Playback(${EXTEN:1})
exten => _7851XXXXX,3,AGI(VD_amd_post.agi,${EXTEN:1})
exten => _7851XXXXX,4,Hangup
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; 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
; 100-350 phone extensions now auto-generated
; 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
MY DID CONFIG :
DID Extension : 0811
DID Description: XXX
Active: Y
DID Route: IN_GROUP
Record Call: Y
Extension:
Extension Context:
Voicemail Box: voicemail chooser
Phone Extension:
Server IP: 192.168.0.2
Call Menu:
User Agent:
User Unavailable Action: VOICEMAIL
User Route Settings In-Group: VOA
In-Group ID: VOA
In-Group Call Handle Method : CID
In-Group Agent Search Method: LB
In-Group List ID: 0
In-Group Campaign ID:
In-Group Phone Code: 1
Clean CID Number:
Filter Inbound Number: DISABLED
IN-GROUP CONFIG :
Group Name: VOA
Group Color: red
Active:Y
Web Form:
Web Form Two:
Next Agent Call: random
Queue Priority: 0 - even
On-Hook Ring Time: 15
Fronter Display: Y
Script:
Ignore List Script Override: Y
Get Call Launch: none
Thx a lot, because i'm totaly blocked!!!!!