Re: [Asterisk-Users] Leaving messages on answering machines (no its notspam)

2004-09-02 Thread Clayton Smith
Hey thanks, thats a great idea too
Basicly just check for a pause, if i don't get one quickly, then its an 
answering machine

And both ideas are compatible, so i could do both at the same time
Chears
Scott Stingel wrote:
Answering machine detection is usually accomplished by analysing the timing
of the voice energy in the initial answer period.  People usually answer by
saying: "Hello", "Frank Giwerski", "Pencil sharpening department", or
something fairly short, whereas answering messages are usually longer.
So, I think the usualy method is to have the software "listen" to the voice
energy for some initial period until there's a pause, and decide based on
the duration of this energy whether it's a human or machine.
But listening for a beep, although less efficient maybe, might work too!
Regards
Scott
Scott M. Stingel
President,
Emerging Voice Technology, Inc.
Palo Alto California & London England
www.evtmedia.com 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clayton Smith
Sent: Thursday, September 02, 2004 11:07 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Leaving messages on answering machines (no its
notspam)
Hey there
I'm trying to get asterisk to leave messages on answering machines So i have
a pretty cool php notifying script (it notifys, it doesn't
spam!!) to phones and cellphones
Now all is fine if a human picks up, but if an answering machine picks up,
well the script plays, but only the ending is recorded
So really, the tricky part is knowing WHEN to leave a message
Now to the best of my knowledge, there is no way to tell when an answering
machine picks it (be it the "sprint cellphone operator", or  a home owned
cellphone), but i was thinking...
I could play my script using an EAGI script So i get extensions to run an
EAGI script, that then manages everything, So when the call is picked up,
relay the message, but if a high pitched beep is detected (via the EAGI
script), repeat the message from scratch
Now I'm no expert on asterisk, and i can see that this method could be a
little buggy, so I'm wondering if there are any suggestions or if there is a
better way to leaving messages on answering machines
Any help or suggestions will be greatly appreciated Thanks
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Leaving messages on answering machines (no its not spam)

2004-09-02 Thread Clayton Smith
Hey there
I'm trying to get asterisk to leave messages on answering machines
So i have a pretty cool php notifying script (it notifys, it doesn't 
spam!!) to phones and cellphones

Now all is fine if a human picks up, but if an answering machine picks 
up, well the script plays, but only the ending is recorded

So really, the tricky part is knowing WHEN to leave a message
Now to the best of my knowledge, there is no way to tell when an 
answering machine picks it (be it the "sprint cellphone operator", or  a 
home owned cellphone), but i was thinking...

I could play my script using an EAGI script
So i get extensions to run an EAGI script, that then manages everything, 
So when the call is picked up, relay the message, but if a high pitched 
beep is detected (via the EAGI script), repeat the message from scratch

Now I'm no expert on asterisk, and i can see that this method could be a 
little buggy, so I'm wondering if there are any suggestions or if there 
is a better way to leaving messages on answering machines

Any help or suggestions will be greatly appreciated
Thanks
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] how does one get the very best quality output?

2004-08-27 Thread Clayton Smith
Hi, i'm trying to send some songs over via asterisk, so i'm trying to 
get the very best quality possible

i've been using gsm, using sox with a rate of 8000, single channel, 
resampled q1,  and got some good results, but i'm wondering if there is 
at all a better way

I'm using voicepulse, which supports
   *   GSM
   * G.711ulaw
   * G.711alaw
   * ADPCM
   * ILBC
   * SPEEX
any of those better to send music through
i've also maxed out my iax adding
jitterbuffer=yes
maxjitterbuffer=100
minjitterbuffer=50
Any help or suggestions would greatly be appreacted
Thanks
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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] <<< AGI and EXEC function CONFIRMATION >>>

2004-08-26 Thread Clayton Smith
At least with my php scripts, it retuns immediately, which is why i get 
it to check for what the function returns

eg.
fputs($configSettings['handles']['stdOut'],"STREAM FILE $filename \"\"\n");
gets it to play a background message
This line keeps my script from continueing (and thus, ending and 
preventing asterisk skipping)
$temp = fgets($configSettings['handles']['stdIn']);

hope that helps
Try waiting until
jeff quade wrote:
Howdie-
Can anyone please confirm that the BACKGROUND application does 
***NOT*** return IMMEDIATELY when called from within an AGI EXEC command?

It seems that EXEC waits until DTMF or THE END OF THE AUDIO FILE to 
return to the AGI script.

This essentially prevents repeated calls to BACKGROUND (or I assume 
any other asterisk dialplan application) from within an AGI, and 
prevents "building" a "queue" of audio files--- which is the default 
functionality of launching ***SEQUENTIAL*** BACKGROUND entries from 
the DIALPLAN.

Is there a work-around from within AGI which will return IMMEDIATELY?
The practical application here is to queue-up the following INDIVIDUAL 
audio segments from within the AGI and go on to other tasks without 
EXEC (or is it AGI command?) blocking the building of the audio queue:

Build Queue with calls to EXEC Background--
segment 1: "Option 1"
segment 2: "Press 11 for Sales"
segment 3: "Option 2"
segment 4: "Press 22 for Marketing"
...etc
Return and do other stuff IMMEDIATELY.
Thanks & Cheers-
JJQ
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users