[Standards-JIG] Defining IAX transport over jingle

Simon Guindon simon.guindon at tomahawk.ca
Thu Feb 23 14:32:30 UTC 2006

Thanks for your feedback on this Steve.


The only issue I can see at the moment is how do I know when to call
with my username/pass and when not to include it?

I believe what were saying here is whatever is in the IAX destination
element, we just simply throw into the IAX stack to call, but at some
point we need to decide, do we need to authenticate?


Or is it a matter of, if I am authenticated and logged into Asterisk
already, do I always call with username/password regardless anyways? If
so then I guess its not an issue then!


As far as clients knowing how to reach each other. I agree. But I still
would like in the future to be able to integrate this so the user
doesn't have to configure anything. Perhaps the client can discover it
via the server. "What is my extension, what is my voicemailbox?" etc. I
think this is a totally separate JEP perhaps or using an existing JEP,
but its outside of Jingle I think.


Thanks and take care,




Simon Guindon

Tomahawk Technologies Inc.

simon.guindon at tomahawk.ca




From: standards-jig-bounces at jabber.org
[mailto:standards-jig-bounces at jabber.org] On Behalf Of Steve Kann
Sent: Thursday, February 23, 2006 9:22 AM
To: Jabber protocol discussion list
Subject: Re: [Standards-JIG] Defining IAX transport over jingle


Simon wrote: 

Hey Steve,


I guess my ultimate goal is that the user doesn't have to configure
those kinds of things. When they log into jabber it will automatically
discover all of that.


I know making a call over Asterisk for IAX is
user:pass at server.com/extension

what's the format for P2P direct? If we can use the same field for both
then that is fine as well. I'm just not familiar with IAX in a P2P
manner if its just the same call format just simply its the users IP

Actually, the format is as mikael wrote earlier:


There's no difference between making a call to a server as opposed to
directly to a client, other than that most clients aren't going to
require authentication (user, secret), and will likely ignore exten and
context.  So, it seems to be that whatever mechanism is defined in
jabber to send an IAX destination to a client should have the ability to
send all of those items, but should only require peer (hostname).

But yeah I agree, some clients will work that way, some will I think in
the future have more integration. Atleast that is my goal. So Asterisk
and XMPP can be closely tied together and the clients can simply
discover their settings.

That makes sense, but I'm not sure how that would work -- in the end, I
think the client needs to know how it can be reached, and then, if the
client knows that, it can just inform clients that want to call it.



Thanks and take care,


	----- Original Message ----- 

	From: Steve Kann <mailto:stevek at stevek.com>  

	To: Jabber protocol discussion list
<mailto:standards-jig at jabber.org>  

	Sent: Wednesday, February 22, 2006 5:34 PM

	Subject: Re: [Standards-JIG] Defining IAX transport over jingle


	I've read over all of this, and I still don't understand why
we'd want (or think we need) multiple "ways" to establish an IAX call
via XMPP?
	Can't it be as simple as this (not in XML):
	Romeo->Juliet:  Hey, I'd like to talk to you, do you support
	Juliet->Romeo: Sure! My IAX address is montague.com/juliet
	It would be juliet's responsibility to decide whether juliet
wants to advertise the address of her client, or the address of a PBX
that would forward to her client, or lie entirely and give Romeo the
address of Joe's pizza shop.
	Juliet's client might have a UI like this:
	VoIP [IAX] Setup
	[X] accept peer-to-peer calls
	[ ] accept calls via server _____________ extension ________
	Register for calls via server ________ Username ______ Password
	So here, the first radio group decides whether she wants her
client to accept calls directly, or direct calls to her through a PBX.
	The registration line would make her chat client also be a more
traditional VoIP extension from a server.
	Simon Guindon wrote: 

	I see in my scenario an asterisk gateway mostly just being an
	information hub. Replying to DISCO/Jingle queries but then the
	client just simply calls the extension.
	When I wish to call you how do I distinguish which 2 of the IAX
	you support?
	I believe in the Jingle Signaling JEP has a feature section is
	correct? Maybe we need 2 features for IAX/SIP being IP to IP or
	a PBX.
	I think I'm a bit in the same boat as you. I know what I need
out of
	this but confused which solution is best and most clean.
	The way I see it is, there might be multiple gateways on 1
server for
	Asterisk. One might be a chan_jingleaudio which connects Jingle
	capable clients Asterisk. Another would be an Asterisk gateway
	doesn't do Jingle Audio but supports DISCO queries for asking
how do I
	contact Antonio.
	Like I said I know what I need but ensure at which route to
	You could DISCO the asterisk.server.com for Antonio's extension
#, or do
	you query for his VCard to find it? Etc etc.. Many JEP's I think
	be used but which is best?
	Simon Guindon
	Tomahawk Technologies Inc.
	simon.guindon at tomahawk.ca
	-----Original Message-----
	From: standards-jig-bounces at jabber.org
	[mailto:standards-jig-bounces at jabber.org] On Behalf Of Antonio
	Sent: Wednesday, February 22, 2006 5:03 PM
	To: Jabber protocol discussion list
	Subject: Re: [Standards-JIG] Defining IAX transport over jingle
	Simon Guindon wrote:

		I'm not sure if I'm misunderstanding your post or not
but I think
		sending IAX call format (extension, maybe we need to
		server/context as well?) is a very important thing. I
don't believe


		a requirement though.
		As said previously there are 2 manners which IAX Jabber
aware clients
		will want to call.
		1. P2P
		2. PBX
		In #1 we don't need to pass extension, context etc. But
if we are a
		Telco running Asterisk maybe we want all the calls to go
through the


		and call records go into the CDR etc. In the sense
Jabber is now just


		easy way to call without having to dial. (IE just
clicking on a roster
		item and clicking "call").

	hmmmmm three points goes to Simon :)
	I'm not sure about this, maybe this has to be implemented by a
	chan_jingle_iax into the Asterisk. Maybe Asterisk (PBX) box
could have
	his roster mapped with extensions, and connected to the Jabber
	like a bot  :-/
	Ohhhh I can see the scenario, sorry is really late and a long
day. I
	promise to think slowly tomorrow morning with a cleaner mind ;)

		Now that aside I think theres more integration that
needs to happen for
		XMPP/VoIP to really take off. It may be outside of the
Jingle spec
		though and more in the discovery or Vcard spec.
		I've been trying to think of ways Jingle/Disco or can
discover many
		things automatically so the user doesn't have to enter
phone numbers.
		For example:
		When I click "Call Mikael at xmpp.com" how do we discover
		extension. How do we discover his voicemail box to leave
him a msg. How
		do we discover our own voicemail box so we can go there
in 1 click? How
		do we discover tech support number so we can call via 1
button click.
		I guess the idea is the number system is there, but
Jabber can have a
		much more seamless integration with the PBX so the user
is just clicks
		away from everything he needs.
		This is all stuff later though, first we need to figure
out how do we
		tie IAX into Jingle but allow IAX to do what IAX can do
if that makes
		sense ;)

	Yes you're right, maybe all this stuff is related to the
	implementation and not to the specification :-/
	Thinking a little (only a little), not seems to be necesary to
	the extension we want to call into the transport because this
goes into
	the dial string of the IAX library.
	Take care,



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060223/b9d70243/attachment.html>

More information about the Standards mailing list