outbound call from span1 on PRI connection

All installation and configuration problems and questions

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

outbound call from span1 on PRI connection

Postby vijaymuddu » Wed Apr 29, 2015 3:49 am

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
server config: i3,4gb, Centos 6.9 64bit | Version: 2.14b0.5 | Schema: 1528 | revision 2928| Asterisk 1.8.0 | E1-card
Thanks
Vijay Muddu
vijaymuddu
 
Posts: 106
Joined: Mon Jul 14, 2014 9:38 am
Location: India

Re: outbound call from span1 on PRI connection

Postby bobchaos » Fri May 01, 2015 2:02 pm

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.
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 56 guests