Page 1 of 1

how to configure two pri on vicidial

PostPosted: Mon Dec 17, 2012 5:21 am
by laxmantsharma
hi,

i am using vicidial with two port sagoma pri card

how to configure two pri on vicidial camp A should call from pri 1 and camp B should call from pri 2

my dahdi-channels.conf

; Autogenerated by /usr/sbin/dahdi_genconf on Sat Dec 1 07:34:33 2012
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WPE1/0 "wanpipe1 card 0" (MASTER) HDB3/CCS/CRC4
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

; Span 2: WPE1/1 "wanpipe2 card 1" HDB3/CCS/CRC4 RED
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63

my extensions.conf

[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=DAHDI/g0
TRUNK1=DAHDI/g12 ; 2nd trunk interface

exten => _8.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8.,2,Dial(${TRUNKX1}/${EXTEN:1},,To)
exten => _8.,3,Hangup

exten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,2,Dial(${TRUNK}/${EXTEN:1},,To)
exten => _9.,3,Hangup


thanks
lucky

Re: how to configure two pri on vicidial

PostPosted: Mon Dec 17, 2012 6:08 am
by DomeDan
Looks like you got it all set up,
only thing you need to do next is to set "Dial Prefix:" = 9 on campaign A
and "Dial Prefix:" = 8 on campaign B
its in campaign detail view

edit: saw now that ${TRUNKX1} should be ${TRUNK1} to match the global variable
and TRUNK=DAHDI/g0 maybe you be set to TRUNK=DAHDI/g011 because the dahdi config got this "group=0,11"

Re: how to configure two pri on vicidial

PostPosted: Mon Dec 17, 2012 2:19 pm
by williamconley
you should also post your installation method and version. excellent for a first post and likely first attempt at a double T1. Report back your results after DomeDans (excellent catch) suggestions and make the necessary adjustments. This will likely be a very helpful post to keep on the forum.