[Asterisk-Users] 3 companies 1 card
Altus Snyman
altus at stormcorp.co.za
Fri Apr 23 02:10:27 MST 2004
But who do I differentiate between the different number,how do I say: if
a caller calls 1234(the destination) do:
[company1]
exten => s,1,Answer
exten => s,1,Playback,company1-welcome
ens.
On Fri, 2004-04-23 at 10:44, Jeremy McNamara wrote:
> Altus Snyman wrote:
>
> >The thing is its 3 companies,3 different number 3 different lines.
> >I know you can sort it with source number(That old girlfriend thing) but
> >what about destination number,can you get it
> >
> >
>
> Then u can separate each line out into its own context
>
> [company1]
> exten => s,1,Answer
> exten => s,1,Playback,company1-welcome
> ...
>
> [company2]
> exten => s,1,Answer
> exten => s,1,Playback,company2-welcome
> ...
>
>
>
> Jeremy McNamara
>
>
>
>
>
>
> >
> >On Fri, 2004-04-23 at 10:19, Jeremy McNamara wrote:
> >
> >
> >>Altus Snyman wrote:
> >>
> >>
> >>
> >>>Good day all
> >>>I want to put the openline4 card into a box that will support 3
> >>>different companies
> >>>I read the caller ID id fixed but now HOW DO I:
> >>>If a call come in for 12345 it plays company 1's welcome message
> >>>If a call come in for 98765 it plays company 2's welcome message
> >>>ens..
> >>>
> >>>
> >>>
> >>>
> >>Use a telco line (or service) that provides you DNIS.
> >>
> >>
> >>exten => 12345,1,Answer
> >>exten => 12345,2,Playback,company1-welcome
> >>...
> >>
> >>exten => 98765,1,Answer
> >>exten => 98765,2,Playback,company2-welcome
> >>...
> >>
> >>
> >>Support Asterisk and buy Digium hardware, you will thank me later.
> >>
> >>
> >>Jeremy McNamara
> >>
> >>
> >>
> >>
> >>_______________________________________________
> >>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
> >>
> >>
> >>
> >
> >_______________________________________________
> >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
> >
> >
>
>
> _______________________________________________
> 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