Call Replicating

Home » Asterisk Users » Call Replicating
Asterisk Users 3 Comments

Hello,

after migration from chan_sip to res_pjsip I get strange behavior when receiving call from the outside world. When call is received, it is replicated multiple times. Two of that calls get to the phone. So the phone is ringing on both lines. When having only Dial function in dialplan I am able to place call. But when creating some dialplan procedures containing VoiceMail I get phone ringing for 1 second and it stops. The caller is immediatelly directed to voicemail. It is because the second (or third) call gets busy.

How can this behavior been overriden? I do not expect this is problem on provider side, since it was working normally using chan_sip.

Thanks

Marek

3 thoughts on - Call Replicating

  • Hello,

    I found the problem and also the workaround.

    Clearly, since it was working with chan_sip it should not be dialplan problem, but sip stack problem.

    I have line=yes set up. After asterisk restart the old registration is not unregistered and new one is registered with different line value. Then incoming invites and qualify requests are sent to all the registrations and there the problem lies.

    I am thinking of how could asterisk prevent such situations.

    1. I think it should send unregistration requests on shutdown.

    2. I think it should keep the database of active registrations and unregister and reregister all of them during startup in case some of them remain active after unclean shutdown.

    Also probably provider side should be fixed?

    Thanks for your insight.

    Marek

    2020-06-05 19:29 GMT+02:00, Doug Lytle :

  • Hello,

    provider responded the behavior is intentional from their side. So this should be fixed in asterisk. The pjsip cleanly does not do any unregistrations where it should.

    Marek

    2020-06-07 12:30 GMT+02:00, Marek Greško :