Can't use 2 channels for 2 agents, but can call thru SIP
Posted: Tue Dec 24, 2013 3:08 pm
Here's dialplan I'm using in extensions.conf
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?
- 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?