[asterisk-users] Asterisk Realtime Unregister

Nhadie nhadie at tbgi.net.ph
Mon Aug 11 08:46:57 CDT 2008


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



More information about the asterisk-users mailing list