Nothing printed at Serial

I'm using the example bellow and I don't get nothing printed at Serial. Any help?

The configuration of the lab is:

2 Arduino Uno
2 Xbee S2

Coordinator(Receiver)

// Copyright 2015, Matthijs Kooijman <matt...@stdin.nl>
//
// Permission is hereby granted, free of charge, to anyone
// obtaining a copy of this document and accompanying files, to do
// whatever they want with them without any restriction, including, but
// not limited to, copying, modification and redistribution.
//
// NO WARRANTY OF ANY KIND IS PROVIDED.
//
//
// This example prints any received ZigBee radio packets to serial.

#include <XBee.h>
#include <Printers.h>
#include <AltSoftSerial.h>

XBeeWithCallbacks xbee;

AltSoftSerial SoftSerial;
#define DebugSerial Serial
#define XBeeSerial SoftSerial

void setup() {
  // Setup debug serial output
  DebugSerial.begin(115200);
  DebugSerial.println(F("Starting..."));

  // Setup XBee serial communication
  XBeeSerial.begin(9600);
  xbee.begin(XBeeSerial);
  delay(1);

  // Setup callbacks
  xbee.onZBRxResponse(processRxPacket);
}

void processRxPacket(ZBRxResponse& rx, uintptr_t) {
  DebugSerial.print(F("Received packet from "));
  printHex(DebugSerial, rx.getRemoteAddress64());
  DebugSerial.println();
  DebugSerial.print(F("Payload: "));
  DebugSerial.write(rx.getData(), rx.getDataLength());
  DebugSerial.println();
}

void loop() {
  // Check the serial port to see if there is a new packet available
  xbee.loop();

This is Router(Transmitter)

// Copyright 2015, Matthijs Kooijman <matthijs@stdin.nl>
//
// Permission is hereby granted, free of charge, to anyone
// obtaining a copy of this document and accompanying files, to do
// whatever they want with them without any restriction, including, but
// not limited to, copying, modification and redistribution.
//
// NO WARRANTY OF ANY KIND IS PROVIDED.
//
//
// This example broadcasts a Hello, world! message every 10 seconds.

#include <XBee.h>
#include <AltSoftSerial.h>

XBeeWithCallbacks xbee;

AltSoftSerial SoftSerial;
#define DebugSerial Serial
#define XBeeSerial SoftSerial

void setup() {
  // Setup debug serial output
  DebugSerial.begin(115200);
  DebugSerial.println(F("Starting..."));

  // Setup XBee serial communication
  XBeeSerial.begin(9600);
  xbee.begin(XBeeSerial);
  delay(1);

  // Send a first packet right away
  sendPacket();
}

void sendPacket() {
    // Prepare the Zigbee Transmit Request API packet
    ZBTxRequest txRequest;
    txRequest.setAddress64(0x0000000000000000);
    uint8_t payload[] = {'H', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '!'};
    txRequest.setPayload(payload, sizeof(payload));

    // And send it
    uint8_t status = xbee.sendAndWait(txRequest, 5000);
    if (status == 0) {
      DebugSerial.println(F("Succesfully sent packet"));
    } else {
      DebugSerial.print(F("Failed to send packet. Status: 0x"));
      DebugSerial.println(status, HEX);
    }
}

unsigned long last_tx_time = 0;

void loop() {
  // Check the serial port to see if there is a new packet available
  xbee.loop();

  // Send a packet every 10 seconds
  if (millis() - last_tx_time > 10000) {
    last_tx_time = millis();
    sendPacket();
  }
}

I think your code failed to compile.

void processRxPacket(ZBRxResponse& rx, uintptr_t) {

You need a name after the type "uintptr_t".

arduino_new:
I think your code failed to compile.

void processRxPacket(ZBRxResponse& rx, uintptr_t) {

You need a name after the type "uintptr_t".

My code can compile but in serial monitor show only Starting...

In this text said
"Note that this function has a second uintptr_t parameter without a name; this is the userdata parameter
mentioned earlier. Even if you do not use it, it must be declared. By specifying the type, but no name
for the parameter, the compiler knows that you are not planning to use it and will not emit an unused
parameter warning."

You have previously configured the two XBee devices with matching parameters and performed self tests ?

6v6gt:
You have previously configured the two XBee devices with matching parameters and performed self tests ?

I have tried connecting 2 xbee together and no problem.In my opinion, the problem is in

xbee.onZBRxResponse(processRxPacket); // Setup callbacks

Which pins have you used for the software serial connection RX/TX on both the transmitter part and the receiver part ?
I don't know xbee but I guess you are following a tutorial which claims to have worked. Maybe post a link to it.