[Asterisk-Users] Incoming CallerID management
WipeOut .
wipeout at linuxmail.org
Thu Sep 4 01:15:39 MST 2003
I do the same thing..
I use chan_capi and the MSN numbers on my ISDN line..
Firstly all inbound calls are placed into my [default] context and then redirected from there to the company specific start context.. Then you setup your company specific intro message from there..
Example
[default]
; Inbound call redirection based on MSN
exten => {MSN NumberA},1,Goto(companyA-start,s,1)
exten => {MSN NumberB},1,Goto(companyB-start,s,1)
[companyA-start]
;Context for CompanyA
exten => s,1,...
[companyB-start]
;Context for CompanyB
exten => s,1,...
There may very well be an easier way to do this but this worked fine for me..
Later..
> Greetings,
>
> I need if possibile an explanation on how to manage the incoming callerid
> for an incoming call. Let me explain the situation:
>
> We have two different companies in this office that shares the same PBX (*
> box). Each company have its own number for the incoming calls.
>
> What i'd like to implement is something that, depending on the incoming line
> that is involved in the call, plays a different welcome message.
>
> If a customer calls the 06xxxxx01 -> it should be answered by the message
> for company A
> If a customer calls the 06xxxxx02 -> it should be answered by the message
> for company B
>
> I've noticed that in kern.log the incoming MSN is logged, but didn't find
> anything in the * log nor in the *CLI> screen logs
>
> Is there a way to manage this in asterisk in order to make the different
> welcomes using only different contexts (let say, [main-menu-A] and
> [main-menu-B] )?
>
> Tnx,
> --
> Stefano Finetti
> Technical Coordinator
> Lynx Automotive srl
> ssfinetti at lynxautomotive.it
> Tel: 199 79 79 30
> Fax: 06 233 227 934
> Linux Registered User #271978
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr
Powered by Outblaze
More information about the asterisk-users
mailing list