multiple carriers for the same campaign

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

multiple carriers for the same campaign

Postby Misha80 » Thu Jan 08, 2015 9:59 am

hello, i have 9 sip accounts (maximum 1 call allowed per account),for each account i have created separate carrier. i have registered them successfully , Sip show Registry and sip Show peers are OK . i am able to make both inbound and outbound calls. i want to use all of them for one campaign, so i can make 9 calls at the same time. the problem is when i call using one line, then i want to make the second call, it tries to use the same line (sip account) and it drops both of them. here is my configs:

[9514112]
call-limit=2
type=friend
username=xxxxxxx
secret= xxxxxxxxx
fromuser=xxxxxxx
host=X.X.X.X
fromdomain=X.X.X.X
allow=ulaw
allow=alaw
canreinvite=no
qualify=yes
insecure=port
context=trunkinbound

exten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,n,Dial(SIP/${EXTEN:1}@9514112,,To)
exten => _9.,n,Dial(SIP/${EXTEN:1}@9514380,,To)
exten => _9.,n,Dial(SIP/${EXTEN:1}@9514381,,To)
exten => _9.,n,Dial(SIP/${EXTEN:1}@9514382,,To)
exten => _9.,n,Dial(SIP/${EXTEN:1}@9514383,,To)
exten => _9.,n,Hangup


i also have tired this as a dial plan ;

exten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,n,Set(Trunk=${RAND(1|3)})
exten => _9.,n,GoToIf($[${Trunk} = 1]?trunkA)
exten => _9.,n,GoToIf($[${Trunk} = 2]?trunkB)
exten => _9.,n,GoToIf($[${Trunk} = 3]?trunkC)
exten => _9.,n(trunkA),Dial(SIP/${EXTEN:1}@9514112,,To)
exten => _9.,n(trunkB),Dial(SIP/${EXTEN:1}@9514380,,To)
exten => _9.,n(trunkC),Dial(SIP/${EXTEN:1}@9514382,,To)
exten => _9.,n,Hangup

but none of the works. making the second call, drops the first one.


Vicidial Scratch installtion on Ubuntu server 12.04
VERSION: 2.10-452a
BUILD: 141111-0554
Asterisk 1.8.23.0-vici
DAHDI Version: 2.10.0.1
Misha80
 
Posts: 2
Joined: Thu Jan 08, 2015 9:34 am

Re: multiple carriers for the same campaign

Postby Misha80 » Fri Jan 09, 2015 5:17 pm

i fixed it already, for those who might have this problem in the future, you can just put call-limit=1 in Account Entry, in which 1 is the number of lines my carrier supports.
Misha80
 
Posts: 2
Joined: Thu Jan 08, 2015 9:34 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 62 guests