How to add a custom attribute
From: rick poot <rick@xxxxxxxxx>
Date: Mon, 16 Nov 2009 13:49:27 +0100 (CET)
Hi all,

I am building a connection between Xmpp and Tapi but i need to send a custom
message to dial witch look like:

<iq type="set" id="asdf" to="phone.dev1.talkto.nl"><phone-action xmlns="iq"
type="DIAL" entity="jeroen.naeff@xxxxxxxxxxxxxx"
number="012345"></phone-action></iq>

I made a IQ object:
 JID jid = JID("phone.dev1.talkto.nl");
 IQ message = IQ(gloox::IQ::IqType::Set , jid , "asdf");

But i cant find a method to add the phone-action part, the tag() method
looked like it could do the trick but the documentation stated that the tag
would be independent from my iq  message.

Anyone knows how i can do this?

Thanks in advance,

Rick Poot
Talkto B.V
The Netherlands