Asterisk intelligent Divert

imel

Active Member
Joined
Jan 16, 2007
Messages
35
Reaction score
0
Location
Garden Route
Does anyone know if the following is possible?

I want to point specific Telkom numbers to specific Asterisk extensions. The numbers will be within the BRI range of my interface cards.

I then want to rename these "targeted" extensions to be renamed from ext numbers to names like "Johnny's Fish & Chips", "Protea Insurance", etc.

Then these "targeted" extensions needs to redirected to the reception phones (more than one, consisting of soft clients on Windows PCs).

Once all is done the following should happen:
Someone dials one of the specific Telkom numbers, which then maps to the "Johnny's Fish & Chips" extension. This then redirects to the reception extensions.
The Reception soft client then needs to show where the call is coming from, i.e. "Divert from Johnny's Fish and Chips".
Ideally an API which will open a URL link to my CRM system should then be triggered from the soft client as the phone rings (on all the PCs in the reception group).

Does anyone know whether such a setup is possible?
 
Last edited:
Does anyone know if the following is possible?

I want to point specific Telkom numbers to specific Asterisk extensions. The numbers will be within the BRI range of my interface cards.

I then want to rename these "targeted" extensions to be renamed from ext numbers to names like "Johnny's Fish & Chips", "Protea Insurance", etc.

Sure, in extensions.conf, put the following in your [default] context:

Code:
[default]
exten => 2345678901,1,Goto(johnnysfish-default,s,1)
exten => 2345678902,1,Goto(protea-default,s,1)
exten => 2345678903,1,Goto(widgetsinc-default,s,1)

...but change the first number to match your Telkom DIDs. When one of those numbers are dialed, Asterisk will send the call to the proper context. Then you'll need a context for each of those:

Code:
[johnnysfish-default]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Background(johnnysfish-welcome)

[protea-default]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Background(protea-welcome)

[widgetsinc-default]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Background(widgetsinc-welcome)

Ideally an API which will open a URL link to my CRM system should then be triggered from the soft client as the phone rings (on all the PCs in the reception group).

Google for "asterisk screen pop" and you'll likely find a few dozen ways to do this. It depends mostly on your client systems and the CRM itself as to which way would be the best solution. Digium, The Asterisk Company, offers Custom Development services to implement just this sort of system. Contact [email protected] for more information.

All the best,
rm
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X