[Asterisk-Users] Intercept and redirect outgoing calls ?

Ed Greenberg edg at greenberg.org
Fri Dec 10 13:56:45 MST 2004



--On Friday, December 10, 2004 8:49 PM +0100 Robert Rozman 
<rozman at fri.uni-lj.si> wrote:

>
> ----- Original Message -----
> From: "Nick Barnes" <nick at bcn-it.co.uk>
> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
> <asterisk-users at lists.digium.com>
> Sent: Friday, December 10, 2004 5:11 PM
> Subject: RE: [Asterisk-Users] Intercept and redirect outgoing calls ?
>
>
>>
>>
>> > I'd like to do simple LCR - when user dials number, would
>> > like to check against database and if that number is
>> > available over VOIP, simply substitute dialed number with SIP
>> > address for instance and call over VOIP.

How about:

exten => 13115552368,1,Dial(SIP/whatever)
exten => 13115552369,1,Dial(SIP/whatever)
; continue with dialing plan
exten => 1NXXNXXXXXX,1,Dial(Zap/Whatever)




More information about the asterisk-users mailing list