Aryanto Rachmad
2006-Jan-29 07:39 UTC
[Asterisk-Users] How to remove first ring tone on FXO?
Hi everybody, Every time callers reach my FXO port, asterisk produces one ring tone just before it executes Answer(). How to remove this? I have commented "#define RINGBEGIN" on zconfig.h, but it does not help. Thanks in advance for your help. Cheers, Anto -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060129/b064a2e8/attachment.htm
Alexander Lopez
2006-Jan-29 07:54 UTC
[Asterisk-Users] How to remove first ring tone on FXO?
It is waiting for the CalledID information. Set usecallerid=no and that should do it for you. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Aryanto Rachmad Sent: Sunday, January 29, 2006 9:40 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] How to remove first ring tone on FXO? Hi everybody, Every time callers reach my FXO port, asterisk produces one ring tone just before it executes Answer(). How to remove this? I have commented "#define RINGBEGIN" on zconfig.h, but it does not help. Thanks in advance for your help. Cheers, Anto -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060129/7ef8b76a/attachment.htm
Anto, Callerid delays answer until after the first ring, I would suggest you are either not subscribing to your telco for caller id or similar. The advice you got was correct. Dean ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Aryanto Rachmad Sent: Sunday, 29 January 2006 10:09 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] How to remove first ring tone on FXO? Thanks Alexander, I just tried that, but it doesn't help. There is still one ring tone produced before asterisk executes Answer(). And there is no caller ID being forwarded to the destination channel, which actually I need. That is why I have usecallerid set to yes. Cheers, Anto ----- Original Message ----- From: Alexander Lopez <mailto:alex.lopez@opsys.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <mailto:asterisk-users@lists.digium.com> Sent: Sunday, January 29, 2006 3:54 PM Subject: RE: [Asterisk-Users] How to remove first ring tone on FXO? It is waiting for the CalledID information. Set usecallerid=no and that should do it for you. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Aryanto Rachmad Sent: Sunday, January 29, 2006 9:40 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] How to remove first ring tone on FXO? Hi everybody, Every time callers reach my FXO port, asterisk produces one ring tone just before it executes Answer(). How to remove this? I have commented "#define RINGBEGIN" on zconfig.h, but it does not help. Thanks in advance for your help. Cheers, Anto ________________________________ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060129/48f4cb73/attachment.htm
Hi Anto, I don't know as I use Asterisk@home these days as so much easier. Cheers, Dean ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Aryanto Rachmad Sent: Sunday, 29 January 2006 10:40 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] How to remove first ring tone on FXO? Thanks a lot Dean, I think there is a way to remove that ring tone and also still have the caller ID from the incoming call. I have been trying to find that on zaptel.c, chan_zap.c and pbx.c, but I could not find that. Could you please let me know which part of the codes handling that? Cheers, Anto ----- Original Message ----- From: Dean Collins <mailto:Dean@collins.net.pr> To: Asterisk Users Mailing List - Non-Commercial Discussion <mailto:asterisk-users@lists.digium.com> Sent: Sunday, January 29, 2006 4:23 PM Subject: RE: [Asterisk-Users] How to remove first ring tone on FXO? Anto, Callerid delays answer until after the first ring, I would suggest you are either not subscribing to your telco for caller id or similar. The advice you got was correct. Dean ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Aryanto Rachmad Sent: Sunday, 29 January 2006 10:09 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] How to remove first ring tone on FXO? Thanks Alexander, I just tried that, but it doesn't help. There is still one ring tone produced before asterisk executes Answer(). And there is no caller ID being forwarded to the destination channel, which actually I need. That is why I have usecallerid set to yes. Cheers, Anto ----- Original Message ----- From: Alexander Lopez <mailto:alex.lopez@opsys.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <mailto:asterisk-users@lists.digium.com> Sent: Sunday, January 29, 2006 3:54 PM Subject: RE: [Asterisk-Users] How to remove first ring tone on FXO? It is waiting for the CalledID information. Set usecallerid=no and that should do it for you. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Aryanto Rachmad Sent: Sunday, January 29, 2006 9:40 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] How to remove first ring tone on FXO? Hi everybody, Every time callers reach my FXO port, asterisk produces one ring tone just before it executes Answer(). How to remove this? I have commented "#define RINGBEGIN" on zconfig.h, but it does not help. Thanks in advance for your help. Cheers, Anto ________________________________ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ________________________________ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060129/f7d3378a/attachment.htm
Jay Hennigan
2006-Jan-29 18:47 UTC
[Asterisk-Users] Re: How to remove first ring tone on FXO?
Aryanto Rachmad wrote:> Thanks a lot Dean, > > I think there is a way to remove that ring tone and also still have the> caller ID from the incoming call. I have been trying to find that on zaptel.c, > chan_zap.c and pbx.c, but I could not find that. Could you please let me > know which part of the codes handling that? I don't see how this can be done. The first ringback tone is sent from the serving telco CO, not from asterisk. Sequence is: 1. CO sends one ringing pulse to the called party. This both generates an audible ring and wakes up the caller-ID modem to listen for CLID. Simultaneously, ringback tone is played to the calling party. 2. CO sends modem burst with caller-ID information. 3a. Call is answered by called party going off-hook and drawing loop current. Supervision occurs and audio is cut through. 3b. Call is not answered. Ringing voltage is sent every six seconds as well as ringback tone to calling party until the calling party abandons the call or CO times out and releases. In a loop-start FXO scenario the caller will hear the first ringback which is generated by the telco switch in advance of your receiving CLID. ISDN (BRI or PRI) will allow you to receive CLID in advance of audible ringing or ringback to the caller, but you aren't going to be able to do this with FXO. -- Jay Hennigan - CCIE #7880 - Network Administration - jay@west.net NetLojix Communications, Inc. - http://www.netlojix.com/ WestNet: Connecting you to the planet. 805 884-6323