def METHOD_NAME(self, buddy, from_uri, contact_uri, pres):
    global pending_pres, pending_uri
    # Allow buddy to subscribe to our presence
    if buddy:
        return (200, None)
    print 'Incoming SUBSCRIBE request from', from_uri
    print 'Press "A" to accept and add, "R" to reject the request'
    pending_pres = pres
    pending_uri = from_uri
    return (202, None)