Page 1 of 1

Can't use 2 channels for 2 agents, but can call thru SIP

PostPosted: Tue Dec 24, 2013 3:08 pm
by earlfox
Here's dialplan I'm using in extensions.conf

Code: Select all
exten => _X.,1,DongleStatus(GSM-001,Dongle0_Status)
same => n,DongleStatus(GSM-002,Dongle1_Status)
same => n,GotoIf($[${Dongle0_Status} = 2]?dongle0dial:dongle1check)
same => n(dongle0dial),Dial(Dongle/GSM-001/${EXTEN:2},60,tT)
same => n,Hangup
same => n(dongle1check),GotoIf($[${Dongle1_Status} = 2]?dongle1dial:utel)
same => n(dongle1dial),Dial(Dongle/GSM-002/${EXTEN:2},60,tT)
same => n,Hangup


This config is our current config and we can simultaneously place calls from 2 asterisk logins.
You can see Dongle mentioned in config - its because we use GSM-modems as lines and each GSM-modem can support only 1 simultaneous line.

I understand that by default Vicidial can place simultaneous calls only through multiple lines of SIP protocol, but what should I do if I have only 2 modems each of them restricted to 1 line only?

Re: Can't use 2 channels for 2 agents, but can call thru SIP

PostPosted: Thu Dec 26, 2013 10:40 am
by earlfox
I've solved this problem myself, what I did:
- Just created new entry in "Carriers" section of vicidial and pasted mentioned above lines into dialplan section. That was easy. Seems like I haven't learned yet how to be understandable on forums, otherwise perhaps I would get this simple step from you.

Re: Can't use 2 channels for 2 agents, but can call thru SIP

PostPosted: Tue Jan 07, 2014 4:10 am
by DomeDan
Good post-back!
The reason you didn't get a respond was probably because most people was on their Christmas holiday :wink: