In Bound DID Pb - Vicidial 2.1 -

All installation and configuration problems and questions

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

In Bound DID Pb - Vicidial 2.1 -

Postby eolle » Tue Feb 04, 2014 2:29 am

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!!!!! :(
eolle
 
Posts: 4
Joined: Tue Feb 04, 2014 1:32 am

Re: In Bound DID Pb - Vicidial 2.1 -

Postby geoff3dmg » Tue Feb 04, 2014 4:45 am

Code: Select all
-- Executing [+33811XXXXXX@trunkinbound:1] AGI("SIP/XXX-000004b3", "agi-DID_route.agi") in new stack


This '+33811XXXXXX' number here. Do you have a DID setup that matches it?
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: In Bound DID Pb - Vicidial 2.1 -

Postby eolle » Tue Feb 04, 2014 4:57 am

Hlo

In our mind, that was in DID extension

DID Extension : 0811

The DID extension 0811 will allow all the num begin with 0811... or not???

Tx
eolle
 
Posts: 4
Joined: Tue Feb 04, 2014 1:32 am

Re: In Bound DID Pb - Vicidial 2.1 -

Postby geoff3dmg » Tue Feb 04, 2014 5:02 am

As far as I'm aware you have to specify exactly the DID for the AGI script to match it and route it.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: In Bound DID Pb - Vicidial 2.1 -

Postby eolle » Tue Feb 04, 2014 6:34 am

Don't work even when i specify the same DID ...
eolle
 
Posts: 4
Joined: Tue Feb 04, 2014 1:32 am

Re: In Bound DID Pb - Vicidial 2.1 -

Postby eolle » Tue Feb 04, 2014 8:53 am

Of course not possible to put +33 in DID extension, and when i have just X without (+) in trunkinbound exten it does not work
eolle
 
Posts: 4
Joined: Tue Feb 04, 2014 1:32 am


Return to Support

Who is online

Users browsing this forum: No registered users and 117 guests