Re: [asterisk-users] whisper time remaining

2008-10-28 Thread Victor Alvarez
Morning! Thank you very much for the answers. These are my considerations:

 If it's a pre-paid app and you're doing a Dial command (like a calling 
card), why not use the limit (L) feature that's built in?

Because limit the time before the call starts does not cover all the 
possible cases of use of a prepaid application, like a situation in 
which the user is consuming credit in more than one way. And also 
because whisper i.e 'you have one minute remaining' is a useful 
information for the user and a very common requirement for these 
applications.

  If you know the channel that you need to ‘whisper to’, You could 
always create a call via the manager to the whisper application and 
bridge it to PlayBack of a gsm file that will be played or send it to a 
context that will announce the time left. Then drop off….


I know the channel that I need to whisper to. This idea sounds certainly 
more close to what I had in mind, I will need to translate it into code.

  From a technology standpoint, if I'm not mistaken, this would require 
some sort of conferencing because it is mixing two digital audio 
streams. Call it what you like, but it has to have extra resources.

It depends on how you bridge the channels. It is clear is that, from a 
programmer point of view, I would have preferred to call it it an 
Asterisk Manager command :-)

Kind Regards,
Victor

Alexander Lopez wrote:

 If you know the channel that you need to ‘whisper to’, You could 
 always create a call via the manager to the whisper application and 
 bridge it to PlayBack of a gsm file that will be played or send it to 
 a context that will announce the time left. Then drop off….

 Alex

 P* **Kindly consider the environment before printing this e-mail**.*

 

 *From:* [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] *On Behalf Of *Fred 
 Posner
 *Sent:* Monday, October 27, 2008 10:16 PM
 *To:* Asterisk Users Mailing List - Non-Commercial Discussion
 *Subject:* Re: [asterisk-users] whisper time remaining

 On Oct 27, 2008, at 7:31 PM, Victor Alvarez wrote:

 Hello everyone,

 I'm trying to find out a way to whisper the time remaining for a

 prepaid application on a established channel. Unfortunately I think

 there is a lack of PlayBack/Background commands which can be 
 applied on

 a working channel as well as a lack of spy/whispering commands 
 available

 via Asterisk Manager. Does anyone know how to implement this?

 Thanks a lot.

 Regards,

 Victor

 If it's a pre-paid app and you're doing a Dial command (like a calling 
 card), why not use the limit (L) feature that's built in?



 Fred Posner

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]*

 Tel: +1 (212) 937-7844 x501

 Fax: +1 (954) 252-4187

 www.teamforrest.com http://www.teamforrest.com

 

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] whisper time remaining

2008-10-28 Thread Jose P. Espinal
Hola Victor,

Remember that you could use an option from the 'Dial' command itself. If 
you examine the Dial command documentation you will this option:

 L(x[:y][:z]) - Limit the call to 'x' ms. Play a warning when 'y' ms are
   left. Repeat the warning every 'z' ms. The following special
   variables can be used with this option:
   * LIMIT_PLAYAUDIO_CALLER   yes|no (default yes)
  Play sounds to the caller.
   * LIMIT_PLAYAUDIO_CALLEE   yes|no
  Play sounds to the callee.
   * LIMIT_TIMEOUT_FILE   File to play when time is up.
   * LIMIT_CONNECT_FILE   File to play when call begins.
   * LIMIT_WARNING_FILE   File to play as warning if 'y' is 
defined.
  The default is to say the time 
remaining.

You could use that option a suming you have already calculated the 
remaining time for the call (I've done this before for a calling-card 
system I programmed).


Try it out,
Regards.


--
Jose P. Espinal
http://blog.slackware-es.com



Victor Alvarez wrote:
 Hello everyone,

  I'm trying to find out a way to whisper the time remaining for a 
 prepaid application on a established channel. Unfortunately I think 
 there is a lack of PlayBack/Background commands which can be applied on 
 a working channel as well as a lack of spy/whispering commands available 
 via Asterisk Manager. Does anyone know how to implement this?

  Thanks a lot.

 Regards,
   Victor

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

   


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] whisper time remaining

2008-10-27 Thread Victor Alvarez
Hello everyone,

 I'm trying to find out a way to whisper the time remaining for a 
prepaid application on a established channel. Unfortunately I think 
there is a lack of PlayBack/Background commands which can be applied on 
a working channel as well as a lack of spy/whispering commands available 
via Asterisk Manager. Does anyone know how to implement this?

 Thanks a lot.

Regards,
  Victor

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] whisper time remaining

2008-10-27 Thread Alex Balashov
The only way I can think of is if you use conference rooms to 
cross-connect the call.

Victor Alvarez wrote:

 Hello everyone,
 
  I'm trying to find out a way to whisper the time remaining for a 
 prepaid application on a established channel. Unfortunately I think 
 there is a lack of PlayBack/Background commands which can be applied on 
 a working channel as well as a lack of spy/whispering commands available 
 via Asterisk Manager. Does anyone know how to implement this?
 
  Thanks a lot.
 
 Regards,
   Victor
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Alex Balashov
Evariste Systems
Web: http://www.evaristesys.com/
Tel: (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] whisper time remaining

2008-10-27 Thread Victor Alvarez
 Thanks for the prompt answer, Alex. Considering whispering is a basic 
functionality for an IVR application, I think there should be a better 
way of doing this, not implying the use of meetme.

Alex Balashov wrote:
 The only way I can think of is if you use conference rooms to 
 cross-connect the call.

 Victor Alvarez wrote:

   
 Hello everyone,

  I'm trying to find out a way to whisper the time remaining for a 
 prepaid application on a established channel. Unfortunately I think 
 there is a lack of PlayBack/Background commands which can be applied on 
 a working channel as well as a lack of spy/whispering commands available 
 via Asterisk Manager. Does anyone know how to implement this?

  Thanks a lot.

 Regards,
   Victor

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 


   


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] whisper time remaining

2008-10-27 Thread Fred Posner

On Oct 27, 2008, at 7:31 PM, Victor Alvarez wrote:


Hello everyone,

I'm trying to find out a way to whisper the time remaining for a
prepaid application on a established channel. Unfortunately I think
there is a lack of PlayBack/Background commands which can be  
applied on
a working channel as well as a lack of spy/whispering commands  
available

via Asterisk Manager. Does anyone know how to implement this?

Thanks a lot.

Regards,
 Victor


If it's a pre-paid app and you're doing a Dial command (like a calling  
card), why not use the limit (L) feature that's built in?




Fred Posner
[EMAIL PROTECTED]

Tel: +1 (212) 937-7844 x501
Fax: +1 (954) 252-4187

www.teamforrest.com




smime.p7s
Description: S/MIME cryptographic signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] whisper time remaining

2008-10-27 Thread Wilton Helm
From a technology standpoint, if I'm not mistaken, this would require some 
sort of conferencing because it is mixing two digital audio streams.  Call it 
what you like, but it has to have extra resources.

Wilton
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] whisper time remaining

2008-10-27 Thread Alexander Lopez
If you know the channel that you need to 'whisper to', You could always
create a call via the manager to the whisper application and bridge it
to PlayBack of a gsm file that will be played or send it to a context
that will announce the time left. Then drop off

 

Alex

 

 

P Kindly consider the environment before printing this e-mail.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fred
Posner
Sent: Monday, October 27, 2008 10:16 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] whisper time remaining

 

On Oct 27, 2008, at 7:31 PM, Victor Alvarez wrote:

 



Hello everyone,

 

I'm trying to find out a way to whisper the time
remaining for a 

prepaid application on a established channel.
Unfortunately I think 

there is a lack of PlayBack/Background commands
which can be applied on 

a working channel as well as a lack of
spy/whispering commands available 

via Asterisk Manager. Does anyone know how to
implement this?

 

Thanks a lot.

 

Regards,

 Victor

 

If it's a pre-paid app and you're doing a Dial command (like a calling
card), why not use the limit (L) feature that's built in?





Fred Posner

[EMAIL PROTECTED]

 

Tel: +1 (212) 937-7844 x501

Fax: +1 (954) 252-4187

 

www.teamforrest.com

 

 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users