[Asterisk-Dev] IAX2 call variable passing between servers

Grzegorz Nosek blackfire at metal.art.pl
Wed Dec 3 07:33:21 MST 2003


On Wed, 03 Dec 2003 10:40:59 +0100, Olle E. Johansson wrote
> Adam Hart wrote:
> 
> > you could send text messages? I'm currently doing that over IAX2
for instant
> > text messaging and user presence. I think there's a way to send text
> > messages in the dial plan (if so, tell me)
> > 
> Adam,
> Could you please describe this a bit more, how you send text 
> messages over IAX2?
> 
> /O

at the API level, there's a function:
 iax_send_text(struct iax_session* session, char* text);
which will do just that (both in iax 1 and 2), which generates
IAX_EVENT_TEXT on the client side. Works in P2P (bridged calls).

I have no idea how this interfaces to other channel types (or IAX1 <->
IAX2 for that matter), though my copy of * CVS contains no references
to IAX_EVENT_TEXT, so it's probably silently ignored by the server.

my 0.02PLN,
 Grzegorz Nosek




More information about the asterisk-dev mailing list