News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old March 7th, 2005, 01:43 PM
dualarrow dualarrow is offline
Member
 
Join Date: Jan 2005
Location: Australia
Posts: 81
dualarrow
Default Accepting pin on incoming call before full answer

Hi,

I have been trying for some time now to get * to do the following.

Incoming call
SPA answers call but plays back ring (so user thinks the phone has
not been answered yet)
Asterisk rings main exten AND listens for a pin from the calling line

There doesnt seem to be any way to do this. The Dial command doesnt appear to have support for this.

I have tried using a seperate extension to ring (eg 2 extensions to ring simultaniously in the dial command) so that one extension could listen for the DTMF then answer if it recognised it while the other phone continued ringing. No luck here either. The ResponseTimeout doesnt seem to hear the incoming line to respond to it, and if you use the Read command, it answers the call.

Does anyone have any ideas how I might achieve this ?

My reasons for wanting to do this is so I can dial in to * from the PSTN and have * answer the line so I can interrogate it but without making it sound unusual to other callers. I could probably do it with another 2 seconds waiting for DTMF befire passing on the dial to the main line, but that would add another 2 seconds (for a total of about 3 to 4 seconds with the SPA delays) before the main phone would start ringing. This feels like its starting to get too long before the phone would get answered.

Any suggestions would be great.

Regards,
Andrew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old March 7th, 2005, 02:06 PM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: Accepting pin on incoming call before full answer

You could record the sound of one or two ringback tones and play that as the IVR greeting for the thread that answers the incoming calls on this line before handing the call off to the real extension you want to ring. Just as you can interrupt any normal greeting in the Automated Attendant, you could enter this "extension number" PIN and be routed to your DISA routine. Unaware callers would think it's a ringback and would be unlikely to press any DTMF keys while this greeting is playing.

It's a little Rube Goldberg, but it should work.

Michael
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old March 7th, 2005, 02:26 PM
muppetmaster muppetmaster is offline
Senior Member
 
Join Date: Apr 2004
Location: Amsterdam, Netherlands
Posts: 345
muppetmaster is an unknown quantity at this point
Default RE: Accepting pin on incoming call before full answer

I don't really understand why you are trying to do it this way. Why not ring, answer, play a greeting asking for the PIN and then collect the digits?
__________________
dCAP Certified
Rails, know it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old March 7th, 2005, 11:10 PM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: Accepting pin on incoming call before full answer

Apparently, dualarrow wants to keep the feature secret from casual callers.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old March 7th, 2005, 11:41 PM
sandman sandman is offline
Member
 
Join Date: Dec 2004
Posts: 55
sandman
Default

You can also do this by CLID, meaning that if asterisk sees the appropriate CLID, it can route you to any context in the extensions.conf you like.

So normal users get the normal ring and answer sequence. When I call my home line, the SIPURA passes the unanswered call to the asterisk box and it then routes me to my own routine..my home phone never rings when I call, unless once answered, I press the appropriate numbers to dial the cordless phones.

Not sure if you can identify the numbers allowed to have "special access", if you do, its **very easy** to set this up
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old March 7th, 2005, 11:41 PM
  #6 (permalink)  
Old March 8th, 2005, 03:01 PM
dualarrow dualarrow is offline
Member
 
Join Date: Jan 2005
Location: Australia
Posts: 81
dualarrow
Default

Thanks for the suggestions. The main reason I want to "hide" the feature is that I suspect most people that were to call me would think it was an answer machine and hang up, or they would get flustered and not know what to do etc. I guess you could play an announcement that you were paging (or whatever) the main line and just let them learn that they have to wait.

CLID would be nice, but in au, we get charged for the service about $6 per month. I'm not that anxious (yet) to have it on for what I see as a convenience, but it would simplify what I'm trying to do.

I'm having a browse through the source files for the app_*.c files (eg Dial command etc) to see what I can make of it.

I dont suppose anyone knows how stable the API is ? Is it likely to change much between versions. I'm asking as my language of preferance is pascal (its been ages since I did any c) and if the api wasnt going to change too much and I could see a solution, then I might be tempted to translate the api to pascal. A very brief play tonight proved I could write an extension and load it into * from a freepascal program, but not much beyond that.

Thanks again for the suggestions,
Andrew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old May 27th, 2005, 04:06 PM
jmattwood jmattwood is offline
Senior Member
 
Join Date: Feb 2005
Location: Bradford UK
Posts: 195
jmattwood
Default

Quote:
Originally Posted by sandman
You can also do this by CLID, meaning that if asterisk sees the appropriate CLID, it can route you to any context in the extensions.conf you like.

So normal users get the normal ring and answer sequence. When I call my home line, the SIPURA passes the unanswered call to the asterisk box and it then routes me to my own routine..my home phone never rings when I call, unless once answered, I press the appropriate numbers to dial the cordless phones.

Not sure if you can identify the numbers allowed to have "special access", if you do, its **very easy** to set this up
You say this is easy! Can you tell me how this is done?

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Accepting pin on incoming call before full answer
Thread Thread Starter Forum Replies Last Post
SPA3000 to answer distinctive incoming PSTN ring Redbak Linksys (Sipura) VoIP Support Forum 0 August 17th, 2006 12:46 PM
SPA 3000 doesn't answer incoming PSTN calls logmaster Linksys (Sipura) VoIP Support Forum 1 May 11th, 2006 07:18 AM
How to prompt before accepting transferred call bbbeavis Asterisk Support Forum 0 March 11th, 2006 10:20 PM
Asterisk@home not accepting incoming calls cyberwisdom Asterisk Support Forum 14 October 3rd, 2005 03:43 AM
Auto Answer of incoming call on SPA-1001 roland_alden Linksys (Sipura) VoIP Support Forum 0 September 9th, 2005 07:35 AM



All times are GMT. The time now is 01:44 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.