Re: [asterisk-users] IAX for internet file transfer?

2009-06-28 Thread Tim Panton


On 27 Jun 2009, at 11:27, Maris wrote:


guarantee delivery?, not to mention that IAX2 does not use RTP. Are

you

suggesting to change the protocol to support such transfers?


When it makes sense, yes - see below, otherwise the idea can get into
the waste paper backet.

...


But why does he want to do it ? Share secret / illegal files LOL ?



Transfer files and/or logging data to/from computers anywhere in the
intranet of organizations - over the internet. Due to restrictions
this computer may not have server functionality. For the purpose, an
IAX client can be installed on the remote computer. Of course, such
client-client communication can be solved using an intermediate
server which two clients that exchange data connects to. The specific
features of IAX (NAT transparency) could help, provided that simple
TCP channels initiated by the clients can posess problems in
establishing connections under certain weird network constellations -
it goes beyond my knowledge to judge that.

...


to the other side and decode it there Asterisk (or just about any

VoIP

software) will opt for timely delivery rather than a reliable

delivery.

Encoding digital data into audio in order to transfer it as digital
audio data packets makes no sense for me. Packet problems can be
overcome with other methods, as pointed out by other contributors.

Rob Maris
Hardware developer



You should read the protocol spec. http://www.rfc-editor.org/authors/rfc5456.txt
It already supports  a couple of 'data' transports, including the one  
that was used

to upgrade the IAXy firmware.

I don't think you would have to change much (if anything) in the  
protocol

to make it work.

Tim.


Tim Panton - Web/VoIP consultant and implementor
www.westhawk.co.uk





smime.p7s
Description: S/MIME cryptographic signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX for internet file transfer?

2009-06-27 Thread Maris
> guarantee delivery?, not to mention that IAX2 does not use RTP. Are
 you
> suggesting to change the protocol to support such transfers?

When it makes sense, yes - see below, otherwise the idea can get into
 the waste paper backet.

...

> But why does he want to do it ? Share secret / illegal files LOL ?
> 

Transfer files and/or logging data to/from computers anywhere in the
 intranet of organizations - over the internet. Due to restrictions
 this computer may not have server functionality. For the purpose, an
 IAX client can be installed on the remote computer. Of course, such
 client-client communication can be solved using an intermediate
 server which two clients that exchange data connects to. The specific
 features of IAX (NAT transparency) could help, provided that simple
 TCP channels initiated by the clients can posess problems in
 establishing connections under certain weird network constellations -
 it goes beyond my knowledge to judge that.

...

> to the other side and decode it there Asterisk (or just about any
 VoIP
> software) will opt for timely delivery rather than a reliable
 delivery.
 
Encoding digital data into audio in order to transfer it as digital
 audio data packets makes no sense for me. Packet problems can be
 overcome with other methods, as pointed out by other contributors.

Rob Maris
Hardware developer



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX for internet file transfer?

2009-06-26 Thread Jean-Denis Girard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Tzafrir Cohen a écrit :
| On Fri, Jun 26, 2009 at 07:50:08PM -0500, Moises Silva wrote:
|> On Fri, Jun 26, 2009 at 6:48 PM, Maris  wrote:
|>
|>> I'm dealing with an idea to exchange data in a socket connection style
|>>  or a sort of ftp transfer with IAX2 as the transport medium.
|
| So while you can basically encode your data into an audio file, send it
| to the other side and decode it there Asterisk (or just about any VoIP
| software) will opt for timely delivery rather than a reliable delivery.
|

IAX does support sending / receiving images, and so does asterisk, so I
guess it could support any file.

tiare*CLI>
~  -= Info about application 'SendImage' =-

[Synopsis]
Send an image file

[Description]
~  SendImage(filename): Sends an image on a channel.


Thanks,
- --
Jean-Denis Girard

SysNux  Systèmes  Linux  en Polynésie française
http://www.sysnux.pf/   Tél: +689 50 10 40 / GSM: +689 79 75 27
-BEGIN PGP SIGNATURE-

iEYEARECAAYFAkpFiL4ACgkQuu7Rv+oOo/gjXACfY7DkEdXFVYLG564mc3Nk1pD6
63MAn3d6va2Zo5Xa+ztD0boIyLVkayRa
=bQnJ
-END PGP SIGNATURE-

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX for internet file transfer?

2009-06-26 Thread Martin
On Fri, Jun 26, 2009 at 8:39 PM, Moises Silva wrote:
[cut]
>
> I would think IAX ack just the signaling frames, not every single audio
> frame, does it?
That's correct. But I don't see why that can't be changed. Of course
the Audio doesn't have to be reliable
you can loose a few 20 ms frames and you'll be fine. But the digital
data has to be so it would
be treated as control frames so to speak.

Martin

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX for internet file transfer?

2009-06-26 Thread Tzafrir Cohen
On Fri, Jun 26, 2009 at 07:50:08PM -0500, Moises Silva wrote:
> On Fri, Jun 26, 2009 at 6:48 PM, Maris  wrote:
> 
> > I'm dealing with an idea to exchange data in a socket connection style
> >  or a sort of ftp transfer with IAX2 as the transport medium.
> >
> > An IAX client on e.g. a notebook could establish a connection to any
> >  remote machine (also client) via any Asterisk Server where both
> >  clients are registered. Due to the unique properties of IAX2 one
> >  could connect quite easily to any "hidden" remote computer without
> >  server functionality and exchange data.
> >
> > To my opinion it should be quite simple to bypass audio->RTP packet
> >  conversion in order to allow digital data transmission.
> 
> 
> Just a question since I am not quite sure I understand your suggestion.
> 
> How do you plan to reliably transmit a file through UDP which does not
> guarantee delivery?, not to mention that IAX2 does not use RTP. Are you
> suggesting to change the protocol to support such transfers?

UDP does not in itself mean that there's no reliability. Reliability can
be built on top of UDP. However an audio stream will make sens eve if
we dop a pacet or to. OTOH, if even you have all the data time on and
it's just not the in right order, you get a mess. Which could hopefully
be worked around with a nice delay of a second or two. But then we have
a waltie-talkie and not a phone.

So while you can basically encode your data into an audio file, send it
to the other side and decode it there Asterisk (or just about any VoIP
software) will opt for timely delivery rather than a reliable delivery.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX for internet file transfer?

2009-06-26 Thread Moises Silva
On Fri, Jun 26, 2009 at 8:26 PM, Martin  wrote:

> I'm sure he meant UDP not RTP.
>
> In order to guarantee the delivery you can simply do what IAX already
> does ... ACK the
> frames. This is what TCP does and ISDN PRI protocol layer 2 on the T1/E1.
>
> But why does he want to do it ? Share secret / illegal files LOL ?
>
> Martin
>

I would think IAX ack just the signaling frames, not every single audio
frame, does it?

-- 
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
Canada
t. 1 905 474 1990 x 128 | e. m...@sangoma.com
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX for internet file transfer?

2009-06-26 Thread Martin
I'm sure he meant UDP not RTP.

In order to guarantee the delivery you can simply do what IAX already
does ... ACK the
frames. This is what TCP does and ISDN PRI protocol layer 2 on the T1/E1.

But why does he want to do it ? Share secret / illegal files LOL ?

Martin

On Fri, Jun 26, 2009 at 7:50 PM, Moises Silva wrote:
> On Fri, Jun 26, 2009 at 6:48 PM, Maris  wrote:
>>
>> I'm dealing with an idea to exchange data in a socket connection style
>>  or a sort of ftp transfer with IAX2 as the transport medium.
>>
>> An IAX client on e.g. a notebook could establish a connection to any
>>  remote machine (also client) via any Asterisk Server where both
>>  clients are registered. Due to the unique properties of IAX2 one
>>  could connect quite easily to any "hidden" remote computer without
>>  server functionality and exchange data.
>>
>> To my opinion it should be quite simple to bypass audio->RTP packet
>>  conversion in order to allow digital data transmission.
>
> Just a question since I am not quite sure I understand your suggestion.
>
> How do you plan to reliably transmit a file through UDP which does not
> guarantee delivery?, not to mention that IAX2 does not use RTP. Are you
> suggesting to change the protocol to support such transfers?
>
> --
> Moises Silva
> Software Developer
> Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
> Canada
> t. 1 905 474 1990 x 128 | e. m...@sangoma.com
>
> ___
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX for internet file transfer?

2009-06-26 Thread Moises Silva
On Fri, Jun 26, 2009 at 6:48 PM, Maris  wrote:

> I'm dealing with an idea to exchange data in a socket connection style
>  or a sort of ftp transfer with IAX2 as the transport medium.
>
> An IAX client on e.g. a notebook could establish a connection to any
>  remote machine (also client) via any Asterisk Server where both
>  clients are registered. Due to the unique properties of IAX2 one
>  could connect quite easily to any "hidden" remote computer without
>  server functionality and exchange data.
>
> To my opinion it should be quite simple to bypass audio->RTP packet
>  conversion in order to allow digital data transmission.


Just a question since I am not quite sure I understand your suggestion.

How do you plan to reliably transmit a file through UDP which does not
guarantee delivery?, not to mention that IAX2 does not use RTP. Are you
suggesting to change the protocol to support such transfers?

-- 
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
Canada
t. 1 905 474 1990 x 128 | e. m...@sangoma.com
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] IAX for internet file transfer?

2009-06-26 Thread Maris
I'm dealing with an idea to exchange data in a socket connection style
 or a sort of ftp transfer with IAX2 as the transport medium.

An IAX client on e.g. a notebook could establish a connection to any
 remote machine (also client) via any Asterisk Server where both
 clients are registered. Due to the unique properties of IAX2 one
 could connect quite easily to any "hidden" remote computer without
 server functionality and exchange data.

To my opinion it should be quite simple to bypass audio->RTP packet
 conversion in order to allow digital data transmission.




___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users