[Asterisk-Users] Call Interception

Jon Gabrielson jon at directfreight.com
Wed Aug 3 10:18:09 MST 2005


I assume you mean to save on tolls between the two offices.
If so, the simplest way is to set up asterisk on both ends
and specify in your dialplan which numbers you want to
go out over IP and which you want to go out over landline.
Asterisk makes this easy as it uses the most specific first,
so for instance:

exten => _1NXXNXXXXXX,1,Macro(dialout1,${EXTEN:0},tT)
exten => _1573NXXXXXX,1,Macro(dialout2,${EXTEN:0},tT)
exten => 15735555555,1,Macro(dialout3,${EXTEN:0},tT)

Would mean that 5735555555 would use dialout3, all other 573
numbers would user dialout2 and all other numbers would user
dialout1


Hope this helps,


Jon.



On Wednesday 03 August 2005 09:29 am, anderson at skyweb.co.ke wrote:
> Hi all,
>
> I'm thinking of setting up an Asterisk based VoIP system between two
> offices and I wanted to know if it is possible to intercept calls with
> Asterisk if so how does one set it up?
>
> Thanks.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list