Asterisk forward call

Home » Asterisk Users » Asterisk forward call
Asterisk Users 8 Comments

Hello All,
My Asterisk server is working fine except that at night I forward my number
to another phone number, however my asterisk server still rings once before
call is forward. My Local Phone provider is ATT and they said that there is
not way around it, I’m always going to get a partical ring.

Any suggestions how to stop the Asterisk from rining once before forward to
another number?
I’m using Centos 6.2
Asterisk 1.8 & Duhdi 4 anolog line connected to my Asterisk Server.

Thanks,
Motty

8 thoughts on - Asterisk forward call

  • Since analog lines can only signal using ANALOG methods, it will always
    have a partial ring. Otherwise there’s no way for Asterisk to know it is
    ringing. Why don’t you just forward it using the phone company’s call
    forwarding service?

  • Hi Motty,
    I’m assuming that you’re forwarding calls unconditionally, yes ?

    I haven’t tested it for a while, but, I’m pretty sure that if
    your PBX is not told to ring a device before forwarding the call, it
    should not do so.
    I do recall having worked in a non-PBX office , and when we
    performed CFWD, the local phone would ring once and then get
    forwarded, but, that’s because the local phone never took control
    of the call coming from the carrier. In your case , the PBX can
    take over the call, never produce a ring , and then dial the CFWD
    number. I guess a trace of this instance can be useful .

    Guy Gold

  • Call forwarding ALWAYS sends a partial ring to the line. This is by
    design from ESS 1 days, and serves to remind the party that the line is
    forwarded.
    Asterisk certainly can be configured to ignore the first ring in any
    number of ways.

    John Novack

    Guy Gold wrote:

  • Thanks John,
    I was trying to find a way to work around the partial ring. Ignoring is what
    I’m doing now wait(8) seconds but when the number not being forward that
    means there is a delay of 8seconds before phones start ringing.

    Thanks,
    motty

  • Hello Carlos,
    I’m already using the provider to forward #72 throught my provider, but by
    default it rings once. at this moment i’m ignoring the first 8 seconds when
    someone call my number otherwise my phone ring twice.

    Thanks,
    _____

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Carlos Alvarez
    Sent: Tuesday, May 15, 2012 2:18 PM

    Any suggestions how to stop the Asterisk from rining once before forward to
    another number?

    Since analog lines can only signal using ANALOG methods, it will always have
    a partial ring. Otherwise there’s no way for Asterisk to know it is
    ringing. Why don’t you just forward it using the phone company’s call
    forwarding service?

  • How about adding in a time check so that during certain hours Asterisk
    waits 8 seconds before answering, otherwise it answers right away.
    You could also setup a status variable within the AstDB to indicate
    immediate answer or delayed answer.

    Just some thoughts.

    Dale

  • Here is the issue, I have Asterisk Server with Digium TDM400P card four
    ports four anolog lines come throught this server, but we forward all this
    lines to a voip number (to our main Asterisk Server), for various reason
    call ID is one of them.

    When we forward the number to our voip Asterisk Server we get two incoming
    calls one from our anolog lines because of the partial ring and one from our
    main Asterisk Server, that is the reason i want to elimitate that partial
    ring. At this moment when our Asterisk Server with anolog lines get a call
    it wait 8 seconds before forward that call on.

    Hope i was specific and clear.
    Thanks,

    _____

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Carlos Alvarez
    Sent: Wednesday, May 16, 2012 7:15 AM

    So Asterisk is playing no role during the times you have the calls
    forwarded, and you just don’t want it to ring? Why not just make it go
    off-hook during those times?

    Hello Carlos,
    I’m already using the provider to forward #72 throught my provider, but by
    default it rings once. at this moment i’m ignoring the first 8 seconds when
    someone call my number otherwise my phone ring twice.

    Thanks,
    _____

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Carlos Alvarez
    Sent: Tuesday, May 15, 2012 2:18 PM

    Any suggestions how to stop the Asterisk from rining once before forward to
    another number?

    Since analog lines can only signal using ANALOG methods, it will always have
    a partial ring. Otherwise there’s no way for Asterisk to know it is
    ringing. Why don’t you just forward it using the phone company’s call
    forwarding service?

  • The “Ring” is Asterisk ringing local extensions to indicate an incoming call
    (DAHDI-1 gets call, rings SIP/1000 and SIP/2000 to let you know you have a
    call). When you do the *72 forwarding, change the SIP/1000 and SIP/2000
    ring to ring local/1.

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of motty.cruz
    Sent: Wednesday, May 16, 2012 10:35 AM

    Here is the issue, I have Asterisk Server with Digium TDM400P card four
    ports four anolog lines come throught this server, but we forward all this
    lines to a voip number (to our main Asterisk Server), for various reason
    call ID is one of them.

    When we forward the number to our voip Asterisk Server we get two incoming
    calls one from our anolog lines because of the partial ring and one from our
    main Asterisk Server, that is the reason i want to elimitate that partial
    ring. At this moment when our Asterisk Server with anolog lines get a call
    it wait 8 seconds before forward that call on.

    Hope i was specific and clear.

    Thanks,

    _____

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Carlos Alvarez
    Sent: Wednesday, May 16, 2012 7:15 AM

    So Asterisk is playing no role during the times you have the calls
    forwarded, and you just don’t want it to ring? Why not just make it go
    off-hook during those times?

    Hello Carlos,

    I’m already using the provider to forward #72 throught my provider, but by
    default it rings once. at this moment i’m ignoring the first 8 seconds when
    someone call my number otherwise my phone ring twice.

    Thanks,

    _____

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Carlos Alvarez
    Sent: Tuesday, May 15, 2012 2:18 PM

    Any suggestions how to stop the Asterisk from rining once before forward to
    another number?

    Since analog lines can only signal using ANALOG methods, it will always have
    a partial ring. Otherwise there’s no way for Asterisk to know it is
    ringing. Why don’t you just forward it using the phone company’s call
    forwarding service?