Text this: Primary-user behavior based joint routing and channel allocation algorithm in cognitive radio networks