James Freire
2004-Aug-06 04:12 UTC
[Asterisk-Users] Lots of Echo with SIP -> Asterisk -> PSTN
Hi all. I am having this echo problem on my SIP phones when I am making a call from SIP to a PSTN line through asterisk. The echo goes away eventually after a few seconds when the call starts but it is very aparent during the start of the call. I do have echo cancellation turned on in asterisk as well as on the sip device. This is an ATA and not a SIP phone like a grandstream. I am running asterisk on a PII 350mhz machine and I am not sure if that has anyhing to do with the lack of performance in echo cancelation. I have 4 Digium FXO and 4 FXS ports in this machine. I know it does take a good ammount of CPU power to do echo cancellation. Later today I am getting a faster machine but I just wanted to see if there were any settings or tuning I can do in the compilation of asterisk to get it to perform better. Thanks a lot, James
Chad Brown
2004-Aug-06 09:44 UTC
[Asterisk-Users] Lots of Echo with SIP -> Asterisk -> PSTN
Hi James, I had the same problem. Setting echotraning=yes helped me. Also, like many people I had to tweak the rxgain and txgain. For me these setting worked well. rxgain=0.0 txgain=-4.0 If I tried to increase the rxgain SIP echo got really bad. Although I could hear the PSTN caller much better. I settled for less echo. ;-) Setting the txgain=-4.0 eliminated echo that my PSTN caller was experiencing. However, it seems that everyone needs different settings dependant upon many factors... http://www.voip-info.org/wiki-Asterisk+echo+cancellation Chad -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of James Freire Sent: Friday, August 06, 2004 4:12 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Lots of Echo with SIP -> Asterisk -> PSTN Hi all. I am having this echo problem on my SIP phones when I am making a call from SIP to a PSTN line through asterisk. The echo goes away eventually after a few seconds when the call starts but it is very aparent during the start of the call. I do have echo cancellation turned on in asterisk as well as on the sip device. This is an ATA and not a SIP phone like a grandstream. I am running asterisk on a PII 350mhz machine and I am not sure if that has anyhing to do with the lack of performance in echo cancelation. I have 4 Digium FXO and 4 FXS ports in this machine. I know it does take a good ammount of CPU power to do echo cancellation. Later today I am getting a faster machine but I just wanted to see if there were any settings or tuning I can do in the compilation of asterisk to get it to perform better. Thanks a lot, James _______________________________________________ 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
James Freire
2004-Aug-06 10:00 UTC
[Asterisk-Users] Lots of Echo with SIP -> Asterisk -> PSTN
Actually, I had just made another identical install using a 1.2ghz celeron and there is no more echo! THe sound is great and there is no noticable delay between the sip phone and the POTS phone its calling to on the outside world. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Chad Brown Sent: Friday, August 06, 2004 12:45 PM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Lots of Echo with SIP -> Asterisk -> PSTN Hi James, I had the same problem. Setting echotraning=yes helped me. Also, like many people I had to tweak the rxgain and txgain. For me these setting worked well. rxgain=0.0 txgain=-4.0 If I tried to increase the rxgain SIP echo got really bad. Although I could hear the PSTN caller much better. I settled for less echo. ;-) Setting the txgain=-4.0 eliminated echo that my PSTN caller was experiencing. However, it seems that everyone needs different settings dependant upon many factors... http://www.voip-info.org/wiki-Asterisk+echo+cancellation Chad -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of James Freire Sent: Friday, August 06, 2004 4:12 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Lots of Echo with SIP -> Asterisk -> PSTN Hi all. I am having this echo problem on my SIP phones when I am making a call from SIP to a PSTN line through asterisk. The echo goes away eventually after a few seconds when the call starts but it is very aparent during the start of the call. I do have echo cancellation turned on in asterisk as well as on the sip device. This is an ATA and not a SIP phone like a grandstream. I am running asterisk on a PII 350mhz machine and I am not sure if that has anyhing to do with the lack of performance in echo cancelation. I have 4 Digium FXO and 4 FXS ports in this machine. I know it does take a good ammount of CPU power to do echo cancellation. Later today I am getting a faster machine but I just wanted to see if there were any settings or tuning I can do in the compilation of asterisk to get it to perform better. Thanks a lot, James _______________________________________________ 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 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