[asterisk-users] Re: Match a Numer - then continue with dialplan

Mike mlists at bigrideau.com
Wed Dec 20 14:20:58 MST 2006


 Typo, sorry. Should be:

Here BBBBXXXX will match company B numbers
exten => BBBBXXXX, 1, Set(CALLERID=CompanyAMain)
exten => BBBBXXXX, 2, Dial(${EXTEN})

>
> ;Handle calls from A -> B
> ;Here BBBBXXXX will match company B numbers
> exten => BBBBXXXX, 1, Set(CALLERID=CompanyAMain)
> exten => BBBBXXXX, 1, Dial(${EXTEN}
>
> You can do the inverse for companyB, or you could l have a single 
> macro that deals with calls to/from each company and decides what do 
> to based on the callerid making the call.
>
> Mike.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list