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

Any and all non-support discussions

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

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

Postby earlfox » Tue Dec 24, 2013 3:08 pm

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?
earlfox
 
Posts: 14
Joined: Sat Sep 22, 2012 2:38 am

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

Postby earlfox » Thu Dec 26, 2013 10:40 am

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.
earlfox
 
Posts: 14
Joined: Sat Sep 22, 2012 2:38 am

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

Postby DomeDan » Tue Jan 07, 2014 4:10 am

Good post-back!
The reason you didn't get a respond was probably because most people was on their Christmas holiday :wink:
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 35 guests