parameters: (self, xml)
docstring: The gateway inform what we ha a new message.
         root: lxml Element
docstring_summary: The gateway inform what we ha a new message.
         root: lxml Element
docstring_tokens: The gateway inform what we ha a new message . root : lxml Element
function: def notifyReception(self, xml):
      """The gateway inform what we ha a new message.
         root: lxml Element"""
  
      """
        <InboundMessage>
          <Id>{guid-of-push-notification}</Id>
          <MessageId>{guid-of-inbound-message}</MessageId>
          <AccountId>{guid-of-esendex-account-for-message}</AccountId>
          <MessageText>{Message text of inbound message}</MessageText>
          <From>{phone number of sender of the message}</From>
          <To>{phone number of the recipient of the inbound message (the
          virtual number of the esendex account in use)}</To>
        </InboundMessage>
      """
      #Create the new sms in activities
      self.activate(activity='SQLQueue', priority=1).SMSTool_pushNewSMS(
                                message_id=xml['MessageId'],
                                sender=self._parsePhoneNumber(xml['From']),
                                recipient=self._parsePhoneNumber(xml['To']),
                                text_content=xml['MessageText'],
                                message_type='text/plain',
                                reception_date=DateTime(),
                                mode="push")
function_tokens: def notifyReception ( self , xml ) : """
        <InboundMessage>
          <Id>{guid-of-push-notification}</Id>
          <MessageId>{guid-of-inbound-message}</MessageId>
          <AccountId>{guid-of-esendex-account-for-message}</AccountId>
          <MessageText>{Message text of inbound message}</MessageText>
          <From>{phone number of sender of the message}</From>
          <To>{phone number of the recipient of the inbound message (the
          virtual number of the esendex account in use)}</To>
        </InboundMessage>
      """ #Create the new sms in activities self . activate ( activity = 'SQLQueue' , priority = 1 ) . SMSTool_pushNewSMS ( message_id = xml [ 'MessageId' ] , sender = self . _parsePhoneNumber ( xml [ 'From' ] ) , recipient = self . _parsePhoneNumber ( xml [ 'To' ] ) , text_content = xml [ 'MessageText' ] , message_type = 'text/plain' , reception_date = DateTime ( ) , mode = "push" )