In order to put a shared pbx in an office building for multiple businesses, I will have to make sure that the caller ID information going out is correct. i.e. company a's main phone number is 5551212 company b is 5572121 company c is 5596767 Now I know how to distribute incoming calls based on the number being called, but how do you set the caller id going out depending on what company is dialing out? if company a dials out, I need to be sure that their correct CID information is sent out with the call, and ANI if possible. How does one accomplish this? I tried using the simple fromuser= in sip.conf, that doesn't work. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050202/5b41d302/attachment.htm
You need to create different contexts for each company. - Pedro On Wed, 2 Feb 2005 21:49:53 -0500, Jason Brown <jason@bpns.net> wrote:> > > > In order to put a shared pbx in an office building for multiple businesses, > I will have to make sure that the caller ID information going out is > correct. > > > > i.e. company a's main phone number is 5551212 > > > > company b is 5572121 > > > > company c is 5596767 > > > > Now I know how to distribute incoming calls based on the number being > called, but how do you set the caller id going out depending on what company > is dialing out? > > > > if company a dials out, I need to be sure that their correct CID information > is sent out with the call, and ANI if possible. > > > > How does one accomplish this? I tried using the simple fromuser= in > sip.conf, that doesn't work. > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 > >
Pedro Exactly my point. I have each company in a different context. How do I SetCallerID to a number based on the context they are in? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050202/c28b80b1/attachment.htm