[Asterisk-Users] How to remove first ring tone on FXO?
C F
shmaltz at gmail.com
Sun Jan 29 09:32:05 MST 2006
You are wrong, there is no way you can remove the ring, since the ring
is something that the callers equipment is generating to the caller,
and NOT asterisk. The most you will able to accomplish will be to have
just one ring before asterisk picks up. By setting usecallerid to no
all you are doing is telling asterisk don't wait for callerid, but
since you are using POTS, 2 things will always happen that you can't
control:
1. At least part of a ring has to be delivered to Asterisks' FXO port,
so that Asterisk knows that there is an incoming call, because inband
signalling is used, there is no other way for asterisk to know there
is an incoming call.
2. The calling party will always hear at least one ring even if
asterisk happens to pick up the line - by mistake - before any ring
voltage, because the switch that the line is connected to has already
sent a ring indicator to the remote switch, and the remote switch has
already started playing the ring tone to the caller, similar to what
the playtones(ring) does in Asterisk. Even if it happens to be that
you were able to get it once to NOT ring to the caller, it was by
mistake that the timing worked out that way, it has nothing to do with
what you set in Asterisk.
If you have a PRI then you can do that, since if you use Answer as the
first command, ring indicator is never sent down the line.
On 1/29/06, Aryanto Rachmad <aryanto.rachmad at chello.at> 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?
>
> Cheers,
>
> Anto
> ----- Original Message -----
> From: Dean Collins
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> 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 at lists.digium.com
> [mailto:asterisk-users-bounces at 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
>
>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
>
>
> 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 at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf
> Of Aryanto Rachmad
> Sent: Sunday, January 29, 2006 9:40 AM
> To: asterisk-users at 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
>
>
>
> _______________________________________________
> --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
>
>
>
More information about the asterisk-users
mailing list