VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
asterisk_list at earth... Guest
|
Posted: Tue Mar 22, 2016 3:55 am Post subject: [asterisk-users] One phone, many names / Was: Loss of device |
|
|
On Monday 21 Mar 2016, somsad khan wrote:
Quote: | Hello guys,
I need some help.
I have a client coming who wants to assign 5 different numbers to one
virtual employee SIP phone at his desk or softphone (Zoiper).
which I can assign for the incoming or outgoing both.
but the problem is which I might not understanding enough, that,
e.g. when line 1 calls the virtual employee will answer “hello this is xyz
company how can I help you”
when line 2 calls the virtual employee will answer “hello this is abc
company how can I help you”
So it is important the employee can recognize which line is calling as they
cannot say the wrong company name by mistake!
please let me know if there is any possible ways.
|
Dead easy! Done this before, in a very similar situation (agent has to
answer with a different name, depending on the number the customer dialled).
All you need to do -- as long as the phone you are using is modern enough to
support it -- is have in your dialplan, before the Dial() instruction to the
agent's phone, an instruction like
Set(CALLERID(name)=something)
where "something" depends on ${EXTEN}.
For example, if the numbers for the virtual companies are 731615, 701289 and
718182, and the extension to ring is 301, you might do
[from_pstn]
; 731615 is company ABC
exten => 731615,1,NoOp(Call to 731615)
exten => 731615,n,Set(CALLERID(name)=Company ABC)
exten => 731615,n,Dial(301)
exten => 731615,n,HangUp()
; 701289 is company XYZ
exten => 701289,1,NoOp(Call to 701289)
exten => 701289,n,Set(CALLERID(name)=Company XYZ)
exten => 701289,n,Dial(301)
exten => 701289,n,HangUp()
; 718182 is company PQR
exten => 718182,1,NoOp(Call to 718182)
exten => 718182,n,Set(CALLERID(name)=Company PQR)
exten => 718182,n,Dial(301)
exten => 718182,n,HangUp()
For the agent to be able to dial out presenting different caller ID numbers,
use prefixes such as 16, 17, 18 to indicate dialling out as different companies;
strip out the prefix using ${EXTEN:2} to recover the number by skipping two
digits from the beginning, and Set(CALLERID(num)=) as appropriate.
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
ish at pack-net.co.uk Guest
|
Posted: Tue Mar 22, 2016 5:15 am Post subject: [asterisk-users] One phone, many names / Was: Loss of device |
|
|
On 22 March 2016 at 08:55, A J Stiles <asterisk_list@earthshod.co.uk (asterisk_list@earthshod.co.uk)> wrote:
Quote: | On Monday 21 Mar 2016, somsad khan wrote:
Quote: | Hello guys,
I need some help.
I have a client coming who wants to assign 5 different numbers to one
virtual employee SIP phone at his desk or softphone (Zoiper).
which I can assign for the incoming or outgoing both.
but the problem is which I might not understanding enough, that,
e.g. when line 1 calls the virtual employee will answer “hello this is xyz
company how can I help you”
when line 2 calls the virtual employee will answer “hello this is abc
company how can I help you”
So it is important the employee can recognize which line is calling as they
cannot say the wrong company name by mistake!
please let me know if there is any possible ways.
|
Dead easy! Done this before, in a very similar situation (agent has to
answer with a different name, depending on the number the customer dialled).
All you need to do -- as long as the phone you are using is modern enough to
support it -- is have in your dialplan, before the Dial() instruction to the
agent's phone, an instruction like
Set(CALLERID(name)=something)
where "something" depends on ${EXTEN}.
For example, if the numbers for the virtual companies are 731615, 701289 and
718182, and the extension to ring is 301, you might do
[from_pstn]
; 731615 is company ABC
exten => 731615,1,NoOp(Call to 731615)
exten => 731615,n,Set(CALLERID(name)=Company ABC)
exten => 731615,n,Dial(301)
exten => 731615,n,HangUp()
; 701289 is company XYZ
exten => 701289,1,NoOp(Call to 701289)
exten => 701289,n,Set(CALLERID(name)=Company XYZ)
exten => 701289,n,Dial(301)
exten => 701289,n,HangUp()
; 718182 is company PQR
exten => 718182,1,NoOp(Call to 718182)
exten => 718182,n,Set(CALLERID(name)=Company PQR)
exten => 718182,n,Dial(301)
exten => 718182,n,HangUp()
For the agent to be able to dial out presenting different caller ID numbers,
use prefixes such as 16, 17, 18 to indicate dialling out as different companies;
strip out the prefix using ${EXTEN:2} to recover the number by skipping two
digits from the beginning, and Set(CALLERID(num)=) as appropriate.
|
You can also use the A option in the Dial application to play an audio file to the callee before the channels are bridged.
https://wiki.asterisk.org/wiki/display/AST/Application_Dial
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)161 660 2350
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|