[Asterisk-Users] Route call based on CallerID

BJ Weschke bweschke at gmail.com
Fri Nov 4 06:45:42 MST 2005


exten => s/4973333,1,Dial(SIP/2222222222 at yoursipprovider.demo.com)
exten => s/4974444,1,Dial(SIP/2222222223 at yoursipprovider.demo.com)
exten => s,1,Dial(SIP/defaultnumber at yoursipprovider.demo.com)
exten => s,2,Hangup


On 11/4/05, Chris Mason (Lists) <lists at masonc.com> wrote:
> BJ Weschke wrote:
>
> > If you're not using realtime to do your dial plan, why not just do
> >
> > exten => did/callerid,priority,Goto(specialroutefordidwhencid,ext,n)
> >
> > ?
> >
> >
> I'm not sure I understand. Let's say the CallerID = 4973333 and I want
> that to dial 222-222-2222, but if it is 4974444 I want it to go to
> 222-222-2223
> How would I write that?
>
> --
> Chris Mason
> NetConcepts
> (264) 497-5670 Fax: (264) 497-8463
> Int:  (305) 704-7249 Fax: (815)301-9759
> Cell: 264-235-5670
> Yahoo IM: netconcepts_anguilla at yahoo.com
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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