Joined: 16 Dec 2009 Posts: 1 Location: Memphis, TN
Posted: Wed Dec 16, 2009 5:27 pm Post subject: Newbie question / Best practice
I've just installed and setup Asterisk - I'm a long time Linux Admin. I'm curious about some of the best practices quick pointers. I'm not entirely sure the right questions to ask, so I'll give it a shot and see where it leads.
When working with multiple DIDs and needing to know which DID has been called for a virtual office type of deal, what is the best practice/setup so an extension rings and lets me know which DID was called? Let's assume there is only one extension and all calls will go there.
I've currently got a 4 line IP phone that is configured as an extension. It can make and receive calls via my trunk. Asterisk is recording all calls and I also have different voicemail boxes for each DID coming in.
Joined: 22 Dec 2009 Posts: 16 Location: delhi india
Posted: Tue Dec 22, 2009 5:00 am Post subject: Re: Newbie question / Best practice
UltimateDesign wrote:
I've just installed and setup Asterisk - I'm a long time Linux Admin. I'm curious about some of the best practices quick pointers. I'm not entirely sure the right questions to ask, so I'll give it a shot and see where it leads.
When working with multiple DIDs and needing to know which DID has been called for a virtual office type of deal, what is the best practice/setup so an extension rings and lets me know which DID was called? Let's assume there is only one extension and all calls will go there.
I've currently got a 4 line IP phone that is configured as an extension. It can make and receive calls via my trunk. Asterisk is recording all calls and I also have different voicemail boxes for each DID coming in.
Hi ,
To achive this you have to use AGI(asterisk gateway interface) by using this when did will hit on your system, you have to capture the did num which will come in EXTEN/DNID variable, and match to DID which you stored in database if you want to match and after that route the call on perticular extension as per as requirement.
AGI can be written in any langauge(php,perl,c,c++ etc)
If any query feel free to ask.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum