• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone

The forum for asterisk and voip discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie question / Best practice

 
Post new topic   Reply to topic     Forum Index -> ip phones and IADs / ATAs
View previous topic :: View next topic  
Author Message
UltimateDesign



Joined: 16 Dec 2009
Posts: 1
Location: Memphis, TN

PostPosted: Wed Dec 16, 2009 5:27 pm    Post subject: Newbie question / Best practice Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
asterisk_abhi



Joined: 22 Dec 2009
Posts: 16
Location: delhi india

PostPosted: Tue Dec 22, 2009 5:00 am    Post subject: Re: Newbie question / Best practice Reply with quote

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.


Thanks & Regards
Abhishek Kumar
abhi1.cs@gmail.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> ip phones and IADs / ATAs All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™