hey :)

according to the wiki:

    Body - The message body text. This must not contain any newlines as that conflicts with the AMI protocol.
    Base64Body - Text bodies requiring the use of newlines have to be base64 encoded in this field. Base64Body will be decoded before being sent out. Base64Body takes precedence over Body.

So how about using just **$base64Body** (removing **$body**), and doing a [base64_encode()](http://php.net/manual/en/function.base64-encode.php) automagically in behalf of the caller?

Also, it would be nice to include a specific way to use either **xmpp** or **sip**, so the caller does not have to specify this prefix in the **from** field. This could be done by either subclassing this class (and making it abstract) or perhaps adding a specific extra argument in the constructor (another option would be to add a specific method to "set" the technology used after construction, although this would leave the action in an inconsistent state).

what are your thoughts?