Page 1 of 1

outbound call from span1 on PRI connection

PostPosted: Wed Apr 29, 2015 3:49 am
by vijaymuddu
hi everybody

i have a 2 port PRI card on my server, Pri connection of different service providers have been connected on pri ports

i want to user pri port 2 when i do outbound calling from particular campaign

my chan_dahdi.conf is as below
[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A102 port 1 [slot:4 bus:27 span:1] <wanpipe1>
switchtype=euroisdn
context=trunkinbound
group=0
echocancel=yes
signalling=pri_cpe
channel =>1-15,17-31

;Sangoma A102 port 2 [slot:4 bus:27 span:2] <wanpipe2>
switchtype=euroisdn
context=trunkinbound
group=0
echocancel=yes
signalling=pri_cpe
channel =>32-46,48-62

i want to make calls using port2/span2

please anybody can guide me, i have tried changing group=0 to group=1 and changed the dial plan accordingly

but i get "not a valid extension message" when dialing outbound call

please help

Thanks

Re: outbound call from span1 on PRI connection

PostPosted: Fri May 01, 2015 2:02 pm
by bobchaos
Thats done by duplicating your main outbound dialing context and assigning a different dialing prefix to it. So if your main outbound trunk goes something like this: _9XXXXXXXXXX you make it _8XXXXXXXXXX in the duplicate. Of course you need to specify which group to use in your dial commands, so create a group for span 2 just like you described in your post. Then you go back in Vicidial and edit the campaign dial prefix to 8 in this example.