Dial remote agent by an extension number

All installation and configuration problems and questions

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

Dial remote agent by an extension number

Postby rahat651 » Mon Aug 17, 2020 6:15 am

Hi,
We are trying to call the remote agents by their extension number (unique for each of the remote agents) instead of the External Extension (their mobile pone numbers).
We have the following setup at the moment:
- User accounts/Ids 4001, 4002, 4003 etc.
- Remote agent accounts 4001, 4002, 4003 etc.
Remote agents are on-hook and they have external numbers set.

Now from SIP phone if we dial the External Number of the remote agents the call goes through. But we want to dial the Remote agents by their Id/extension so that from the sip phone operator can dial like 4002 instead of 9123456789 number.

Any suggestion on how we can achieve that?
Vicibox 9.0.2
Vicidial 2.14-761a, Build 200708-1033
SVN 3265, DB Schema 1600
Asterisk 13.29.2-vici
mysql Ver 15.1 Distrib 10.2.32-MariaDB, for Linux (x86_64), No Extra Software
Virtual Machine, 16GB RAM, Duel Intel Xeon Processor (Skylake, IBRS) 2.0 Ghz
rahat651
 
Posts: 41
Joined: Mon Jun 22, 2020 4:07 am

Re: Dial remote agent by an extension number

Postby Kabis » Sun Aug 23, 2020 2:38 am

I think you called agent ID to contact remote agents. For that you need to write a dialplan in default context like speed dial and route to did. That did map to respective agents.

If you aware dialplan, you can use.

Else use sip phones. In that unavailable action write the executive phone number.

Else directly map spead dial number to phone in in default context.

All these methods will help you. If need more clarification, contact us
We are ready to help you,
Regards,
KABIS,
Email ID: kabisforu@gmail.com
Website: www.kabis.org.in
Skype: kabisforu
Kabis
 
Posts: 100
Joined: Sat Nov 03, 2018 12:08 am
Location: India

Re: Dial remote agent by an extension number

Postby rahat651 » Sun Aug 23, 2020 9:13 am

Kabis thanks a lot for the suggestions.
I was able to do it with the "Phone unavailable option". Unavailable Dialplan Forward set to the remote agent's phone number and Phone Ring Timeout set to 1 seconds.

I was curious how I could do the same thing with Dial plan or Spead dial
Vicibox 9.0.2
Vicidial 2.14-761a, Build 200708-1033
SVN 3265, DB Schema 1600
Asterisk 13.29.2-vici
mysql Ver 15.1 Distrib 10.2.32-MariaDB, for Linux (x86_64), No Extra Software
Virtual Machine, 16GB RAM, Duel Intel Xeon Processor (Skylake, IBRS) 2.0 Ghz
rahat651
 
Posts: 41
Joined: Mon Jun 22, 2020 4:07 am

Re: Dial remote agent by an extension number

Postby Kabis » Wed Aug 26, 2020 5:40 am

Then create like this in default context:

Code: Select all
exten => 1000,1,Goto(default,number,1)
exten => 1000,n,Hangup()
We are ready to help you,
Regards,
KABIS,
Email ID: kabisforu@gmail.com
Website: www.kabis.org.in
Skype: kabisforu
Kabis
 
Posts: 100
Joined: Sat Nov 03, 2018 12:08 am
Location: India

Re: Dial remote agent by an extension number

Postby rahat651 » Sun Aug 30, 2020 11:32 am

Kabis thanks for the sample code.
Vicibox 9.0.2
Vicidial 2.14-761a, Build 200708-1033
SVN 3265, DB Schema 1600
Asterisk 13.29.2-vici
mysql Ver 15.1 Distrib 10.2.32-MariaDB, for Linux (x86_64), No Extra Software
Virtual Machine, 16GB RAM, Duel Intel Xeon Processor (Skylake, IBRS) 2.0 Ghz
rahat651
 
Posts: 41
Joined: Mon Jun 22, 2020 4:07 am


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 105 guests