try to enable ringback on H.323->SIP calls (bug #1645) and clean up code a lil bit