Updated sip_register to support Logger and PJSIP tracing

Ignore-this: e6418c1527f6b831bb48a63288373fd6

darcs-hash:20090223012931-1e3d8-5d0391852f84a9dfed4ce0cb0da5186efd433931