--- channels/chan_sip.c.orig 2009-01-14 16:38:06.241535823 +1100 +++ channels/chan_sip.c 2009-01-14 16:43:26.835785979 +1100 @@ -17278,6 +17278,13 @@ ast_log(LOG_DEBUG, "Bah, we're expired (%d/%d/%d)!\n", (int)(nowtime - regseconds), (int)regseconds, (int)nowtime); } } + + /* Startup regular pokes */ + if (realtime && !peer->lastms) { + ASTOBJ_REF(peer); + sip_poke_peer(peer); + } + ast_copy_flags(&peer->flags[0], &peerflags[0], mask[0].flags); ast_copy_flags(&peer->flags[1], &peerflags[1], mask[1].flags); if (ast_test_flag(&peer->flags[1], SIP_PAGE2_ALLOWSUBSCRIBE))