Bug#433779: asterisk doesn't work correctly after boot

Hasse Hagen Johansen hasse-debianbug at hagenjohansen.dk
Sun Aug 26 17:53:18 UTC 2007


>>>>> "Tzafrir" == Tzafrir Cohen <tzafrir.cohen at xorcom.com> writes:
Hi

First this bug can now get a lower priority I think(The nameserver
just have to be up before asterisk and that I can easely fix)
    >> 
    >> When the nameserver would then come up it will register, but I
    >> would still get the failure tone(from my upstream provider I
    >> guess)

    Tzafrir> Where exactly do you get such a failure tone? calling
    Tzafrir> from where to where?

I am calling from a cellphone through pstn/sip gateway(musimi.dk)
which is then talking to my local asterisk

When the nameserver is not available. The following happens:

Asterisk will retry registering. WHen my system is then fully up I can
see that asterisk has registrated at my upstream sip provider by
issuing "sip show registry" I then can see that asterisk have
registrated to my upstream provider, but I still get the failure tone.

(This is described earlier in the bug report as a answer to Faidon Liambotis)

    >> and asterisk not noticing any incomming calls to it?
    >> 
    >> so something is wrong when asterisk is retrying I guess?

    Tzafrir> Please demonstrate that Asterisk is wrong What would you
    Tzafrir> expect to be the right behaviour? How specifically
    Tzafrir> (output of a command or something) do you see that
    Tzafrir> something is wrong?

The problem is that when the nameserver is not available:

1. Asterisk will retry to register

2. When the nameserver is then up the asterisk console would show that
it has successfully registered(because it will retry according to the
registertimeout & registerattempts parameters)

3. But I would still get a failure tone from my upstream provider, and
my local asterisk doesn't even "see anything" from upstream like it
does when all is working...I don't
get anything in the console at this point. I have restart or restart
asterisk for it to work

So the problem is that the asterisk console says it has registered,
but asterisk doesn't work, and the upstream SIP server cannot contact
it. But this only happens if the nameserver is not up when asterisk
starts

and it seems that registertimeout/registerattempts doesn't help when
this happens

So I think the problem is with how atserisk tryies to reregister

Regards
Hasse




More information about the Pkg-voip-maintainers mailing list