Re: [Asterisk-Users] Play sound on connect

2005-09-25 Thread Simone Cittadini

Mir ha scritto:


Thanks for your answer.
This is not what the customer wants, they answer +500 calls a day, and
dont want to say Welcome to BigCorp every time.
They want a personal welcome file to be played to the caller every
time they pick up the ringing phone.
 


Maybe you can do a quick trick with the L option of dial :

# *L(*x[:y][:z]*)*: Limit the call to 'x' ms, warning when 'y' ms are 
left, repeated every 'z' ms) Only 'x' is required, 'y' and 'z' are 
optional. The following special variables are optional for limit calls: 
(pasted from app_dial.c)


   * *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.
 If *LIMIT_WARNING_FILE* is not defined, then special sound macro
 to auto-say the time left is used (You have [XX minutes] YY
 seconds).


setting x to a very large value, y to something small, z to null, 
playing sounds also to the callee, and setting a personalized 
*LIMIT_CONNECT_FILE

with a little agi script called before the Dial command ...
*
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] Play sound on connect

2005-09-24 Thread Mir
Thanks for your answer.
This is not what the customer wants, they answer +500 calls a day, and
dont want to say Welcome to BigCorp every time.
They want a personal welcome file to be played to the caller every
time they pick up the ringing phone.

Michael

2005/9/24, Mathew McKernan [EMAIL PROTECTED]:
 Hi Mir,

 You would need to put a Play command in before the Dial command.

 For example:

 Exten = 108,1,Play(108-greeting)
 Exten = 108,2,Dial(SIP/108)

 Etc.

 This however, will play on _every_ attempted call to 108. If 108 is
 offline or unreachable the caller will still hear the message.

 Thanks

 Matty




 Mathew McKernan | Support Engineer | Digital World Computers | * +61 3
 9318 6022 |

 * mat at dwonline.com.au or visit www.dwonline.com.au









 This email is intended solely for the use of the addressee and may
 contain information that is confidential or subject to legal
 professional privilege. If you receive this email in error please
 immediately notify the sender and delete the email.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mir
 Sent: Saturday, 24 September 2005 6:39 AM
 To: Asterisk-Users@lists.digium.com
 Subject: [Asterisk-Users] Play sound on connect

 Hello

 A calls B, on connect I want B's greeting to be played to caller A.

 I can see it is possible to play a sound to B on connect (DIAL(SIP/123
 ,A(hello)), but I cant se how to play a sound to A, is this possible?

 Thank you

 Michael
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 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

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


RE: [Asterisk-Users] Play sound on connect

2005-09-24 Thread AbdelRahman Tarzi
Would using an IVR that ends with connecting .. do it - or do you have to
have the call answered by someone who will wait until the recording plays in
every call ?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mir
Sent: Sunday, September 25, 2005 00:08
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Play sound on connect

Thanks for your answer.
This is not what the customer wants, they answer +500 calls a day, and dont
want to say Welcome to BigCorp every time.
They want a personal welcome file to be played to the caller every time they
pick up the ringing phone.

Michael

2005/9/24, Mathew McKernan [EMAIL PROTECTED]:
 Hi Mir,

 You would need to put a Play command in before the Dial command.

 For example:

 Exten = 108,1,Play(108-greeting)
 Exten = 108,2,Dial(SIP/108)

 Etc.

 This however, will play on _every_ attempted call to 108. If 108 is 
 offline or unreachable the caller will still hear the message.

 Thanks

 Matty




 Mathew McKernan | Support Engineer | Digital World Computers | * +61 3
 9318 6022 |

 * mat at dwonline.com.au or visit www.dwonline.com.au









 This email is intended solely for the use of the addressee and may 
 contain information that is confidential or subject to legal 
 professional privilege. If you receive this email in error please 
 immediately notify the sender and delete the email.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mir
 Sent: Saturday, 24 September 2005 6:39 AM
 To: Asterisk-Users@lists.digium.com
 Subject: [Asterisk-Users] Play sound on connect

 Hello

 A calls B, on connect I want B's greeting to be played to caller A.

 I can see it is possible to play a sound to B on connect (DIAL(SIP/123 
 ,A(hello)), but I cant se how to play a sound to A, is this possible?

 Thank you

 Michael
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 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

___
--Bandwidth and Colocation sponsored by Easynews.com --

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

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


[Asterisk-Users] Play sound on connect

2005-09-23 Thread Mir
Hello

A calls B, on connect I want B's greeting to be played to caller A.

I can see it is possible to play a sound to B on connect (DIAL(SIP/123
,A(hello)), but I cant se how to play a sound to A, is this possible?

Thank you

Michael
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


RE: [Asterisk-Users] Play sound on connect

2005-09-23 Thread Mathew McKernan
Hi Mir,

You would need to put a Play command in before the Dial command.

For example:

Exten = 108,1,Play(108-greeting)
Exten = 108,2,Dial(SIP/108)

Etc.

This however, will play on _every_ attempted call to 108. If 108 is
offline or unreachable the caller will still hear the message.

Thanks

Matty




Mathew McKernan | Support Engineer | Digital World Computers | * +61 3
9318 6022 | 

* mat at dwonline.com.au or visit www.dwonline.com.au   

 

 

 

 

This email is intended solely for the use of the addressee and may
contain information that is confidential or subject to legal
professional privilege. If you receive this email in error please
immediately notify the sender and delete the email.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mir
Sent: Saturday, 24 September 2005 6:39 AM
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] Play sound on connect

Hello

A calls B, on connect I want B's greeting to be played to caller A.

I can see it is possible to play a sound to B on connect (DIAL(SIP/123
,A(hello)), but I cant se how to play a sound to A, is this possible?

Thank you

Michael
___
--Bandwidth and Colocation sponsored by Easynews.com --

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
___
--Bandwidth and Colocation sponsored by Easynews.com --

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