
Open Source
| |
|
CAPI Call Deflection
While an incoming CAPI call is alerting it can be forwarded to another ISDN destination.
This keeps the caller ID correct (if you try the same with a Dial command you'll have to use your MSNs
as the caller ID) and it needs no B channel.
So you could use this to deflect calls when your B channels are all busy.
|
exten => s,1,Wait(1)
exten => s,2,capiCD(12345678)
exten => s,3,Hangup
| |
This will forward any incoming call (in that context) to the ISDN number 12345678.
Note the Wait(1) at prio 1, this is needed because it takes a short time
to receive all the CAPI messages.
Call deflection can be very useful combined with call forwarding (in the
Asterisk dialplan) to forward incoming
calls to a mobile phone and still see the original caller ID on the display (see Call Forwarding).
|
|
|
|