[asterisk-users] Asterisk Realtime Unregister
Rob Hillis
rob at hillis.dyndns.org
Mon Aug 11 10:01:00 CDT 2008
If a phone is unplugged, it's not likely to have time to send
notification of this to Asterisk before it powers off. There's nothing
you can add to your dialplan to overcome this, however you *can* set the
"qualify" parameter within sip.conf (or it's equivalent realtime table)
to overcome this.
See http://www.voip-info.org/wiki/view/Asterisk+sip+qualify for more
information. Short version is that configuring a qualify interval is
the equivalent of setting up a heartbeat between Asterisk and registered
devices configured with a qualify interval. If the heartbeat fails, the
phone's registration is suspended.
Nhadie wrote:
> Hi,
>
> I'm running asterisk realtime, i had prob when a user does not
> unregister properly.
>
> I tested with SPA942 and a PAP2, when phone is registered, i call using
> the SPA using x-lite no problem, but when i unplugged the power, it does
> not unregister properly, so asterisk think SPA942 is still registered,
> when i call using x-lite, asterisk tries to call it.so it gets stuck at
>
> [Aug 11 21:37:31] -- Called 102104
>
> until it reached the timed out i set in the dialplan which is 30 secs
>
> Dial(SIP/${EXTEN}|30|t|M(setmusiconhold,moh-${EXTEN}))
>
> is there something i can add on my dialplan to first detect that the
> user is not available, or maybe force unregister, anything that would
> not make my dialplan to wait for 30 secs.
>
> also i'm not using rtcachefriends, how would i know in the CLI which
> user is registered? i tried sip prune but it shows me nothing
>
> sip prune realtime peer all
> No peers found to prune.
>
> anyone experienced this?
>
> thank you
>
> regards.
> nhadie
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> !DSPAM:48a0464541521298081403!
>
>
>
More information about the asterisk-users
mailing list