Re: [on-asterisk] Confused about Sendmail and FreePBX

2009-02-09 Thread Douglas Pickett

Henry,
I'd agree with the smart host suggestion, as long as your ISP doesn't 
require a username and password on their email gateway (like Rogers).  If 
they do it simply based upon your source IP, that should work.


I can offer the quick way to get rid of messages waiting to be sent.
- first shutdown sendmail.
   On most systems you can do this as root by:
   cd /etc/init.d
   sh ./sendmail stop
- clear out the mqueue directory where the active but undelivered email 
files hide out

   cd /var/spool/mqueue
   pwd (this tells you what directory you're in - make very, very, very 
sure it is mqueue)
   ls (have a look at the files - they should be files with d's, q's, and 
c's followed by numbers - I'm going a bit by memory here).
   (think over what you've seen, and be very cautious about issuing the 
next command)

   rm *
   (as root, an rm * can do severe damage to the system if you issue it in 
the wrong directory, be careful)

- restart sendmail
   cd /etc/init.d
   sh ./sendmail start

If your problem is large mail spool files that are delivered locally, the 
mail is stored in files in /var/mail (which is aliased to /var/spool/mail):

   cd /var/mail
   ls -l
   (you'll see a few files in a typical system - root and asterisk 
probably.  If they're particularly large, you can throw away the mail by 
doing)

   root
   asterisk
   (this will permanently throw away all the mail in these mailboxes).

Not elegant, but if you need to fix things in a hurry, this will do it.

As always on a Linux/Unix system as root, be very careful what you're doing.

Hope that helps.

Regards,
Doug.


- Original Message - 
From: Henry L.Coleman aster...@voip-pbx.ca

To: asterisk@uc.org
Sent: Sunday, February 08, 2009 10:12 PM
Subject: [on-asterisk] Confused about Sendmail and FreePBX


I suspect that many of the TAUG members have had trouble getting sendmail 
to work

from their * boxes and now I am one of them.
Here are the facts:
I am running PBX in a Flash Freepbx and Asterisk 1.4
Part of this distro includes webmin and Sendmail
I want to send vmail attachments and error messages via email
I only need to send messages out.
My ISP blocks port 25
I have no fixed IP address but use a dynamic DNS (dyndns)service for this 
* server

I have tried to get this up and running but with no luck.
I don't have the time or the inclination to learn about email servers like 
sendmail


Can anybody help me with the configuration ?
Also I need to be able to delete 22,000 emails that have been placed on 
the server by

warnings and errors etc. (before my HD fills up :)

Henry






=
Henry L.Coleman [www.VoIP-PBX.ca]
Tel: 647-723-5160 Ext.203
=




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org






-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Confused about Sendmail and FreePBX

2009-02-09 Thread Mike Ashton

Henry,

Sendmail is a bit of a bear when it comes to configuring. If your up to 
the task you need to configure it to use either SASL or TLS but it's not 
easy. This will allow you to us either port 465 (SSL) or 567 (TLS) which 
are ports that are not blocked for sending email, but require that you 
use one of the two authentication methods.


The easier rote like was previously suggested would be to use your ISP's 
smtp to handle the relay.


Now in regards to the 22000 emails, if you really want to delete them 
all, login to your server, then cd /var/spool/mail, then ls -l will 
show you the email files for the users on the system. Your probably 
going to have just two accounts, root  asterisk, if you sudo rm root 
you will delete them.


Now if you get your smtp outbound corrected, you can also make the 
emails for these accounts get automatically forwarded to a real account 
so they don't build up.


Alter the file /etc/aliases by adding
asterisk:   root
root: aster...@voip-pbx.ca

Then save the file and recompile the database issuing:
newaliases

now email sent to those accounts should relay to the destination email 
account


Mike


Henry L.Coleman wrote:

I suspect that many of the TAUG members have had trouble getting sendmail to 
work
from their * boxes and now I am one of them.
Here are the facts:
I am running PBX in a Flash Freepbx and Asterisk 1.4
Part of this distro includes webmin and Sendmail
I want to send vmail attachments and error messages via email
I only need to send messages out.
My ISP blocks port 25
I have no fixed IP address but use a dynamic DNS (dyndns)service for this * 
server
I have tried to get this up and running but with no luck.
I don't have the time or the inclination to learn about email servers like 
sendmail

Can anybody help me with the configuration ?
Also I need to be able to delete 22,000 emails that have been placed on the 
server by
warnings and errors etc. (before my HD fills up :)

Henry






 =
 Henry L.Coleman [www.VoIP-PBX.ca]
 Tel: 647-723-5160 Ext.203
 =




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


  


--
Mike Ashton

Quality Track Intl
CTO
Ph: 647-724-3500 x 301
Cell:   416-527-4995
Fax:416-352-6043

QTI CONFIDENTIAL AND PROPRIETARY INFORMATION

The contents of this material are confidential and proprietary to Quality Track 
 International, Inc.
and may not be reproduced, disclosed, distributed or used without the express 
permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is 
prohibited.
If you have received this communication in error, please immediately delete it 
and all copies, and promptly notify the sender.




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

RE: [on-asterisk] Confused about Sendmail and FreePBX

2009-02-09 Thread Bill Sandiford
Henry:

Seeing as the 22,000 messages are waiting to be sent (assuming they haven't 
bounced yet) they will be in /var/spool/mqueue or /var/spool/client-mqueue

If they have already bounced you will likely find them in /var/spool/mail like 
Mike suggested or perhaps in /var/mail

The other option is to get an ISP that doesn't block your port 25 (cough cough) 
:)

Bill

From: Mike Ashton [mailto:mike.ash...@qualitytrack.com]
Sent: Monday, February 09, 2009 10:53 AM
To: asterisk@uc.org
Subject: Re: [on-asterisk] Confused about Sendmail and FreePBX

Henry,

Sendmail is a bit of a bear when it comes to configuring. If your up to the 
task you need to configure it to use either SASL or TLS but it's not easy. This 
will allow you to us either port 465 (SSL) or 567 (TLS) which are ports that 
are not blocked for sending email, but require that you use one of the two 
authentication methods.

The easier rote like was previously suggested would be to use your ISP's smtp 
to handle the relay.

Now in regards to the 22000 emails, if you really want to delete them all, 
login to your server, then cd /var/spool/mail, then ls -l will show you the 
email files for the users on the system. Your probably going to have just two 
accounts, root  asterisk, if you sudo rm root you will delete them.

Now if you get your smtp outbound corrected, you can also make the emails for 
these accounts get automatically forwarded to a real account so they don't 
build up.

Alter the file /etc/aliases by adding
asterisk:   root
root: aster...@voip-pbx.camailto:aster...@voip-pbx.ca

Then save the file and recompile the database issuing:
newaliases

now email sent to those accounts should relay to the destination email account

Mike


Henry L.Coleman wrote:

I suspect that many of the TAUG members have had trouble getting sendmail to 
work

from their * boxes and now I am one of them.

Here are the facts:

I am running PBX in a Flash Freepbx and Asterisk 1.4

Part of this distro includes webmin and Sendmail

I want to send vmail attachments and error messages via email

I only need to send messages out.

My ISP blocks port 25

I have no fixed IP address but use a dynamic DNS (dyndns)service for this * 
server

I have tried to get this up and running but with no luck.

I don't have the time or the inclination to learn about email servers like 
sendmail



Can anybody help me with the configuration ?

Also I need to be able to delete 22,000 emails that have been placed on the 
server by

warnings and errors etc. (before my HD fills up :)



Henry













 =

 Henry L.Coleman [www.VoIP-PBX.cahttp://www.VoIP-PBX.ca]

 Tel: 647-723-5160 Ext.203

 =









-

To unsubscribe, e-mail: 
asterisk-unsubscr...@uc.orgmailto:asterisk-unsubscr...@uc.org

For additional commands, e-mail: 
asterisk-h...@uc.orgmailto:asterisk-h...@uc.org









--

Mike Ashton



Quality Track Intl

CTO

Ph: 647-724-3500 x 301

Cell:   416-527-4995

Fax:416-352-6043



QTI CONFIDENTIAL AND PROPRIETARY INFORMATION



The contents of this material are confidential and proprietary to Quality Track 
 International, Inc.

and may not be reproduced, disclosed, distributed or used without the express 
permission of an authorized representative of QTI.

Use for any purpose or in any manner other than that expressly authorized is 
prohibited.

If you have received this communication in error, please immediately delete it 
and all copies, and promptly notify the sender.






Re: [on-asterisk] Solid state HD

2009-02-09 Thread Peter MacFarlane
Would that explain why my CF card got corrupted and had to be 
reformatted?  I was running OpenBSD on it with the FFS file system and a 
StarTech IDE adapter.  Seems OK now but I'm not sure how reliable it is 
without more testing.  How do you find a reliable CF card?


Peter M.

Simon P. Ditner wrote:

I think it was Dave that was recommending the solid state disks.

When moving over to solid state, keep in mind that the consumer CF/SD 
cards are not designed for environments where there are a lot of small 
writes. The technology is improving rapidly as well, so the market is 
now swimming in flash of varying degrees of durability with no clear 
identification.


There are wear levelling algorithms built into the cards to help 
extend the lifetime of the flash, but you'd be surprised how many 
writes there are when using conventional filesystems! For instance, 
every time you access a file, the atime (last access time) gets 
updated unless you disable it.


Another caveate is that the cell size is (I believe) 32kb, and 
requires a full erase/write cycle to update any byte in that cell. You 
unfortunately can not control this, as the memory storage mechanism is 
abstracted away in the hardware and presented to you as a block device 
unless you are using an MTD (you're likely not if ATA/IDE/USB adapters 
are involved).


This will all be moot in a year or so though, the newer solid state 
disks support a stupid number of writes.


--
| It ain't what you don't know that gets you into trouble. It's what
| you know for sure that just ain't so.   -- Mark Twain
|
| Network: http://www.linkedin.com/in/spditner
|  http://facebook.com/people/Simon-P-Ditner/776370031
|  http://twitter.com/spditner

On Sat, 7 Feb 2009, Henry L.Coleman wrote:

Hi all, thanks to a tip from Simon I'm looking at replacing HD with 
Solid state drive SDHD in IBM thinkcentre PCs I would have to replace 
the IDE drive for a new drive anyway, so the cost for the adaptor and 
memory card (say 8/16 Mb) must be in the region of $85


My question is can I what combo would work well as there are many 
adaptors (at Dealextreem) and lots of memory types.


H

=
Henry L.Coleman [www.VoIP-PBX.ca]
Tel: 647-723-5160 Ext.203
=




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Solid state HD

2009-02-09 Thread Philip Mullis
Ive build many a system with CF cards, they are very reliable(BSD 
based). Just don't write to them! cf's will easily outlive anyone in a 
ro state.


There are some tips and tricks though you need to be aware of when using 
ssd's (linux has some additional tweaks needed over *BSD)


In short though without writing a really lengthy email,

You'll want to optimize a base image of your desired os to be read only, 
things like /var should be mounted as memory disks.
This will give your CF card (or other ssd) an indefinite mtb (75+ years 
if your not writing to it). If you really want to bolster its 
performance on small hardware create an operating system that runs 
entirley in ram (loaded from a ro ssd on boot).


A really good example of well put together os/asterisk distribution is 
askoiza. (http://www.askozia.com/)


Id recommend anyone interested in os/file layouts for ssd's do a quick 
play about with the embedded version.


Regards,

Philip Mullis



Peter MacFarlane wrote:
Would that explain why my CF card got corrupted and had to be 
reformatted?  I was running OpenBSD on it with the FFS file system and 
a StarTech IDE adapter.  Seems OK now but I'm not sure how reliable it 
is without more testing.  How do you find a reliable CF card?


Peter M.

Simon P. Ditner wrote:

I think it was Dave that was recommending the solid state disks.

When moving over to solid state, keep in mind that the consumer CF/SD 
cards are not designed for environments where there are a lot of 
small writes. The technology is improving rapidly as well, so the 
market is now swimming in flash of varying degrees of durability with 
no clear identification.


There are wear levelling algorithms built into the cards to help 
extend the lifetime of the flash, but you'd be surprised how many 
writes there are when using conventional filesystems! For instance, 
every time you access a file, the atime (last access time) gets 
updated unless you disable it.


Another caveate is that the cell size is (I believe) 32kb, and 
requires a full erase/write cycle to update any byte in that cell. 
You unfortunately can not control this, as the memory storage 
mechanism is abstracted away in the hardware and presented to you as 
a block device unless you are using an MTD (you're likely not if 
ATA/IDE/USB adapters are involved).


This will all be moot in a year or so though, the newer solid state 
disks support a stupid number of writes.


--
| It ain't what you don't know that gets you into trouble. It's what
| you know for sure that just ain't so.   -- Mark Twain
|
| Network: http://www.linkedin.com/in/spditner
|  http://facebook.com/people/Simon-P-Ditner/776370031
|  http://twitter.com/spditner

On Sat, 7 Feb 2009, Henry L.Coleman wrote:

Hi all, thanks to a tip from Simon I'm looking at replacing HD with 
Solid state drive SDHD in IBM thinkcentre PCs I would have to 
replace the IDE drive for a new drive anyway, so the cost for the 
adaptor and memory card (say 8/16 Mb) must be in the region of $85


My question is can I what combo would work well as there are many 
adaptors (at Dealextreem) and lots of memory types.


H

=
Henry L.Coleman [www.VoIP-PBX.ca]
Tel: 647-723-5160 Ext.203
=




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



[on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Nabeel Jafferali
I have an Audiocodes MP-118FXO in production. When a call is made and the 
remote party hangs up, the Audiocodes hangs up the call immediately. But if a 
call is received and the remote party hangs up, the Audiocodes does not hang up 
immediately.

Anyone experienced this issue with Audiocodes or any other gateway in general? 
Any tips?

--
Nabeel Jafferali
X2 Networks



Re: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Jim Van Meggelen
You have to wait for the far-end disconnect from the carrier. If you 
have a butt set you can monitor the line and listen for it. I have found 
it usually takes about 11 seconds to get the signal.


Nabeel Jafferali wrote:

I have an Audiocodes MP-118FXO in production. When a call is made and the 
remote party hangs up, the Audiocodes hangs up the call immediately. But if a 
call is received and the remote party hangs up, the Audiocodes does not hang up 
immediately.

Anyone experienced this issue with Audiocodes or any other gateway in general? 
Any tips?

--
Nabeel Jafferali
X2 Networks


  



--

--
Jim Van Meggelen
j...@vanmeggelen.ca
http://www.oreillynet.com/pub/au/2177

A child is the ultimate startup, and I have three. 
This makes me rich.

   Guy Kawasaki
--



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



RE: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Nabeel Jafferali
BTW One of the things I am curious about is why far-end disconnect is detected 
perfectly and immediately on an outbound call? But it takes 10 seconds on an 
inbound call?

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Nabeel Jafferali [mailto:nab...@x2n.ca] 
Sent: February-09-09 5:55 PM
To: Jim Van Meggelen
Cc: asterisk@uc.org
Subject: RE: [on-asterisk] Audiocodes - Disconnect Supervision

Thanks for the info.

Yes, I do get that, meaning the call does hang up 10-11 seconds after the 
remote party hangs up. This also means Asterisk voicemail gives me 10 second 
blank messages if the call had ended up in voicemail.

Any way around that?

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Jim Van Meggelen [mailto:j...@vanmeggelen.ca] 
Sent: February-09-09 5:53 PM
To: Nabeel Jafferali
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

You have to wait for the far-end disconnect from the carrier. If you 
have a butt set you can monitor the line and listen for it. I have found 
it usually takes about 11 seconds to get the signal.

Nabeel Jafferali wrote:
 I have an Audiocodes MP-118FXO in production. When a call is made and the 
 remote party hangs up, the Audiocodes hangs up the call immediately. But if a 
 call is received and the remote party hangs up, the Audiocodes does not hang 
 up immediately.

 Anyone experienced this issue with Audiocodes or any other gateway in 
 general? Any tips?

 --
 Nabeel Jafferali
 X2 Networks


   


-- 

--
Jim Van Meggelen
j...@vanmeggelen.ca
http://www.oreillynet.com/pub/au/2177

A child is the ultimate startup, and I have three. 
This makes me rich.
Guy Kawasaki
--



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Philip Mullis
in the voicemail.conf you can try setting the silencethreshold, 
maxsilence variables
to indicate a cut off lower than that of the required minimum vm length, 
this might get you around phantom voicemails left this way.



Nabeel Jafferali wrote:

Thanks for the info.

Yes, I do get that, meaning the call does hang up 10-11 seconds after the 
remote party hangs up. This also means Asterisk voicemail gives me 10 second 
blank messages if the call had ended up in voicemail.

Any way around that?

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Jim Van Meggelen [mailto:j...@vanmeggelen.ca] 
Sent: February-09-09 5:53 PM

To: Nabeel Jafferali
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

You have to wait for the far-end disconnect from the carrier. If you 
have a butt set you can monitor the line and listen for it. I have found 
it usually takes about 11 seconds to get the signal.


Nabeel Jafferali wrote:
  

I have an Audiocodes MP-118FXO in production. When a call is made and the 
remote party hangs up, the Audiocodes hangs up the call immediately. But if a 
call is received and the remote party hangs up, the Audiocodes does not hang up 
immediately.

Anyone experienced this issue with Audiocodes or any other gateway in general? 
Any tips?

--
Nabeel Jafferali
X2 Networks


  




  



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



RE: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Nabeel Jafferali
Yes, but an unreasonably low minmessage would also eliminate the quick hey 
mike, call me voicemails.

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Philip Mullis [mailto:philip.mul...@syx.ca] 
Sent: February-09-09 6:05 PM
To: Nabeel Jafferali
Cc: Jim Van Meggelen; asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

in the voicemail.conf you can try setting the silencethreshold, 
maxsilence variables
to indicate a cut off lower than that of the required minimum vm length, 
this might get you around phantom voicemails left this way.


Nabeel Jafferali wrote:
 Thanks for the info.

 Yes, I do get that, meaning the call does hang up 10-11 seconds after the 
 remote party hangs up. This also means Asterisk voicemail gives me 10 second 
 blank messages if the call had ended up in voicemail.

 Any way around that?

 --
 Nabeel Jafferali
 X2 Networks


 -Original Message-
 From: Jim Van Meggelen [mailto:j...@vanmeggelen.ca] 
 Sent: February-09-09 5:53 PM
 To: Nabeel Jafferali
 Cc: asterisk@uc.org
 Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

 You have to wait for the far-end disconnect from the carrier. If you 
 have a butt set you can monitor the line and listen for it. I have found 
 it usually takes about 11 seconds to get the signal.

 Nabeel Jafferali wrote:
   
 I have an Audiocodes MP-118FXO in production. When a call is made and the 
 remote party hangs up, the Audiocodes hangs up the call immediately. But if 
 a call is received and the remote party hangs up, the Audiocodes does not 
 hang up immediately.

 Anyone experienced this issue with Audiocodes or any other gateway in 
 general? Any tips?

 --
 Nabeel Jafferali
 X2 Networks


   
 


   


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Philip Mullis
you said you get a good 10 seconds of dead air in voicemail? with that 
bagage of time you should be able to trim that right up ;)


Nabeel Jafferali wrote:

Yes, but an unreasonably low minmessage would also eliminate the quick hey mike, 
call me voicemails.

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Philip Mullis [mailto:philip.mul...@syx.ca] 
Sent: February-09-09 6:05 PM

To: Nabeel Jafferali
Cc: Jim Van Meggelen; asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

in the voicemail.conf you can try setting the silencethreshold, 
maxsilence variables
to indicate a cut off lower than that of the required minimum vm length, 
this might get you around phantom voicemails left this way.



Nabeel Jafferali wrote:
  

Thanks for the info.

Yes, I do get that, meaning the call does hang up 10-11 seconds after the 
remote party hangs up. This also means Asterisk voicemail gives me 10 second 
blank messages if the call had ended up in voicemail.

Any way around that?

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Jim Van Meggelen [mailto:j...@vanmeggelen.ca] 
Sent: February-09-09 5:53 PM

To: Nabeel Jafferali
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

You have to wait for the far-end disconnect from the carrier. If you 
have a butt set you can monitor the line and listen for it. I have found 
it usually takes about 11 seconds to get the signal.


Nabeel Jafferali wrote:
  


I have an Audiocodes MP-118FXO in production. When a call is made and the 
remote party hangs up, the Audiocodes hangs up the call immediately. But if a 
call is received and the remote party hangs up, the Audiocodes does not hang up 
immediately.

Anyone experienced this issue with Audiocodes or any other gateway in general? 
Any tips?

--
Nabeel Jafferali
X2 Networks


  

  
  




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

  



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



RE: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Nabeel Jafferali
Ummm, I don't think that would work. If I set minmessage=3 and maxsilence=2, it 
would hang up when somebody paused normally in a voicemail, right?

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Philip Mullis [mailto:philip.mul...@syx.ca] 
Sent: February-09-09 6:08 PM
To: Nabeel Jafferali
Cc: Jim Van Meggelen; asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

you said you get a good 10 seconds of dead air in voicemail? with that 
bagage of time you should be able to trim that right up ;)

Nabeel Jafferali wrote:
 Yes, but an unreasonably low minmessage would also eliminate the quick hey 
 mike, call me voicemails.

 --
 Nabeel Jafferali
 X2 Networks


 -Original Message-
 From: Philip Mullis [mailto:philip.mul...@syx.ca] 
 Sent: February-09-09 6:05 PM
 To: Nabeel Jafferali
 Cc: Jim Van Meggelen; asterisk@uc.org
 Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

 in the voicemail.conf you can try setting the silencethreshold, 
 maxsilence variables
 to indicate a cut off lower than that of the required minimum vm length, 
 this might get you around phantom voicemails left this way.


 Nabeel Jafferali wrote:
   
 Thanks for the info.

 Yes, I do get that, meaning the call does hang up 10-11 seconds after the 
 remote party hangs up. This also means Asterisk voicemail gives me 10 second 
 blank messages if the call had ended up in voicemail.

 Any way around that?

 --
 Nabeel Jafferali
 X2 Networks


 -Original Message-
 From: Jim Van Meggelen [mailto:j...@vanmeggelen.ca] 
 Sent: February-09-09 5:53 PM
 To: Nabeel Jafferali
 Cc: asterisk@uc.org
 Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

 You have to wait for the far-end disconnect from the carrier. If you 
 have a butt set you can monitor the line and listen for it. I have found 
 it usually takes about 11 seconds to get the signal.

 Nabeel Jafferali wrote:
   
 
 I have an Audiocodes MP-118FXO in production. When a call is made and the 
 remote party hangs up, the Audiocodes hangs up the call immediately. But if 
 a call is received and the remote party hangs up, the Audiocodes does not 
 hang up immediately.

 Anyone experienced this issue with Audiocodes or any other gateway in 
 general? Any tips?

 --
 Nabeel Jafferali
 X2 Networks


   
 
   
   
 


 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org


 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org

   


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Philip Mullis
you also have silencethreshold, if you have dead air youll have no audio 
comming on one side hopefully whereas if you have someone on the line 
there is always a bit of noise.



Nabeel Jafferali wrote:

Ummm, I don't think that would work. If I set minmessage=3 and maxsilence=2, it 
would hang up when somebody paused normally in a voicemail, right?

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Philip Mullis [mailto:philip.mul...@syx.ca] 
Sent: February-09-09 6:08 PM

To: Nabeel Jafferali
Cc: Jim Van Meggelen; asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

you said you get a good 10 seconds of dead air in voicemail? with that 
bagage of time you should be able to trim that right up ;)


Nabeel Jafferali wrote:
  

Yes, but an unreasonably low minmessage would also eliminate the quick hey mike, 
call me voicemails.

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Philip Mullis [mailto:philip.mul...@syx.ca] 
Sent: February-09-09 6:05 PM

To: Nabeel Jafferali
Cc: Jim Van Meggelen; asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

in the voicemail.conf you can try setting the silencethreshold, 
maxsilence variables
to indicate a cut off lower than that of the required minimum vm length, 
this might get you around phantom voicemails left this way.



Nabeel Jafferali wrote:
  


Thanks for the info.

Yes, I do get that, meaning the call does hang up 10-11 seconds after the 
remote party hangs up. This also means Asterisk voicemail gives me 10 second 
blank messages if the call had ended up in voicemail.

Any way around that?

--
Nabeel Jafferali
X2 Networks


-Original Message-
From: Jim Van Meggelen [mailto:j...@vanmeggelen.ca] 
Sent: February-09-09 5:53 PM

To: Nabeel Jafferali
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Audiocodes - Disconnect Supervision

You have to wait for the far-end disconnect from the carrier. If you 
have a butt set you can monitor the line and listen for it. I have found 
it usually takes about 11 seconds to get the signal.


Nabeel Jafferali wrote:
  

  

I have an Audiocodes MP-118FXO in production. When a call is made and the 
remote party hangs up, the Audiocodes hangs up the call immediately. But if a 
call is received and the remote party hangs up, the Audiocodes does not hang up 
immediately.

Anyone experienced this issue with Audiocodes or any other gateway in general? 
Any tips?

--
Nabeel Jafferali
X2 Networks


  

  

  

  

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

  




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

  



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



[on-asterisk] Asterisk Voicemail Email From = Email to Address

2009-02-09 Thread Aloysius Thevarajah Lloyd
Hello,

Is there a Patch or configuration for the

Asterisk Voicemail Email From equals to the  Email to Address. Every from
from email addrees should be equal to the email to address.

Thank you in advance.

Lloyd


Re: [on-asterisk] Audiocodes - Disconnect Supervision

2009-02-09 Thread Dave Donovan
On Mon, Feb 9, 2009 at 5:40 PM, Nabeel Jafferali nab...@x2n.ca wrote:
 I have an Audiocodes MP-118FXO in production. When a call is made and the 
 remote party hangs up, the Audiocodes hangs up the call immediately. But if a 
 call is received and the remote party hangs up, the Audiocodes does not hang 
 up immediately.

 Anyone experienced this issue with Audiocodes or any other gateway in 
 general? Any tips?

 --
 Nabeel Jafferali
 X2 Networks


Nabeel,

I know this doesn't address the root cause of your issue but based on
the informed posts of some other members, it looks like you might need
a workaround.

One idea is to post process the file with sox.  I remember doing this
in the past but I can't remember why, I don't think it was voicemail.
I looked at the man page and it seems that some combination of the
'silence' and maybe the 'reverse' options might do what you need.

I'm not aware of a channel variable that exposes the name of the last
recorded message file (like with record()) but I think you could use
externnotify in voicemail.conf.  I'm not a linux whiz but it might be
worth running that with the 'nice' command to prevent analysis of a 5
minute message from causing a resource blip that would affect voice
quality.

Good luck,
Dave

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org