Re: [Asterisk-Users] STNU spport

2006-06-07 Thread Chen Fan

hi,

actully, i need asterisk as a stun client...
have any idea 



On 6/6/06, unplug [EMAIL PROTECTED] wrote:

HI,

 There is a parameter NAT can be set in the configuration file.  Is
it the way that we can use to support NAT by setting nat=yes in the
file instead using other NAT resolving tools like stun?

On 6/6/06, trixter aka Bret McDanel [EMAIL PROTECTED] wrote:
 On Tue, 2006-06-06 at 16:12 +0800, Chen Fan wrote:
  hi,
 
  We need STUN client support for asterisk...
  becasue the service provider only offer STUN interface,, so i can not
  connect asterisk to their server
 
 all stun does is resolve your external IP by sending data to a foreign
 server which looks at the IP and returns it back to you.  It has nothing
 to do with the channel used other than SIP will then use that IP (which
 can be defined by either externhost or externip - dont forget localnet
 too in sip.conf).


  i have found that there someone is develop res_stun.c ..but still not
  release...
 
 likely that is just going to replace the externip value in the chan_sip
 driver.  I cant imagine that it would do much more than that.

 Have you set both externip and localnet in sip.conf and checked to see
 if that works?  If you dont do NAT on your end it wont even be required.


 
 --
 Trixter http://www.0xdecafbad.com Bret McDanel
 Belfast IE +44 28 9099 6461DE +49 801 777 555 3402
 Utrecht NL +31 306 553058  US WA +1 360 207 0479
 US NY +1 516 687 5200  FreeWorldDialup: 635378
 http://www.trxtel.com we pay you to terminate calls with us!


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.3 (GNU/Linux)

 iD8DBQBEhUFA+1olxlzQw5cRAoDtAKCK5ufDIpmsXG/p2ydcj3VDqxA7jgCcCAHi
 bpFsVQ8FJuxF+crAEm2hwZE=
 =VQtX
 -END PGP SIGNATURE-


 ___
 --Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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




--
Jeffery

  `∧ ∧︵
  ミ^r^ミ灬)~


iaxtel Num: 1-700-576-1311
fwdnet Num: 728150
http://www.diaip.com
___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] STNU spport

2006-06-06 Thread Chen Fan
Hi,all.

There have any STUN spport for asterisk?
thanks,,,-- Jeffery  `∧ ∧︵   ミ^r^ミ灬)~iaxtel Num: 1-700-576-1311fwdnet Num: 728150http://www.diaip.com 
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] STNU spport

2006-06-06 Thread trixter aka Bret McDanel
On Tue, 2006-06-06 at 15:17 +0800, Chen Fan wrote:
 Hi,all.
  
 There have any STUN spport for asterisk?
 thanks,,,

where asterisk queries a stun server or where asterisk acts like a stun
server?

Becuase stun is totally self contained it would be silly (in my opinion
anyway) to have a stun server built in.  There are many free ones out
there, stunner is one example.

As for stun client support, afaik asterisk doesnt really do that yet.
and it should have a periodic timeout if it does, but it would be a
chan_sip addition.  

There is also an RTP patch that gets rid on 99% of NAT problems with SIP
by technically violating the RFC but given the way networks work 99.99%
of the time it would work perfectly (so if it were an option it would be
good for everyone).  What it does is on the RTP port if it receives a
packet it will use that IP instead of whatever is specified.  This fixes
NAT problems on the other end at least, but for some reason it never
made it into the source tree :/


 
-- 
Trixter http://www.0xdecafbad.com Bret McDanel
Belfast IE +44 28 9099 6461DE +49 801 777 555 3402
Utrecht NL +31 306 553058  US WA +1 360 207 0479
US NY +1 516 687 5200  FreeWorldDialup: 635378
http://www.trxtel.com we pay you to terminate calls with us!


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] STNU spport

2006-06-06 Thread Chen Fan
hi,

We need STUN client support for asterisk...
becasue the service provider only offer STUN interface,, so i can not connect asterisk to their server

i have found that there someone is develop res_stun.c ..but still not release...

regards
On 6/6/06, trixter aka Bret McDanel [EMAIL PROTECTED] wrote:
On Tue, 2006-06-06 at 15:17 +0800, Chen Fan wrote: Hi,all. There have any STUN spport for asterisk?
 thanks,,,where asterisk queries a stun server or where asterisk acts like a stunserver?Becuase stun is totally self contained it would be silly (in my opinionanyway) to have a stun server built in.There are many free ones out
there, stunner is one example.As for stun client support, afaik asterisk doesnt really do that yet.and it should have a periodic timeout if it does, but it would be achan_sip addition.There is also an RTP patch that gets rid on 99% of NAT problems with SIP
by technically violating the RFC but given the way networks work 99.99%of the time it would work perfectly (so if it were an option it would begood for everyone).What it does is on the RTP port if it receives a
packet it will use that IP instead of whatever is specified.This fixesNAT problems on the other end at least, but for some reason it nevermade it into the source tree :/--Trixter 
http://www.0xdecafbad.com Bret McDanelBelfast IE +44 28 9099 6461DE +49 801 777 555 3402Utrecht NL +31 306 553058US WA +1 360 207 0479US NY +1 516 687 5200FreeWorldDialup: 635378
http://www.trxtel.com we pay you to terminate calls with us!-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.3 (GNU/Linux)iD8DBQBEhTCp+1olxlzQw5cRAlMcAJ9kRP+x6pEF3FlQj1KQj+vXJNx7XwCfUAw+
Rh9enc6pLooaEai9EgLC5jQ==StPS-END PGP SIGNATURE-___--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
-- Jeffery  `∧ ∧︵   ミ^r^ミ灬)~iaxtel Num: 1-700-576-1311fwdnet Num: 728150http://www.diaip.com 
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] STNU spport

2006-06-06 Thread trixter aka Bret McDanel
On Tue, 2006-06-06 at 16:12 +0800, Chen Fan wrote:
 hi,
  
 We need STUN client support for asterisk...
 becasue the service provider only offer STUN interface,, so i can not
 connect asterisk to their server
  
all stun does is resolve your external IP by sending data to a foreign
server which looks at the IP and returns it back to you.  It has nothing
to do with the channel used other than SIP will then use that IP (which
can be defined by either externhost or externip - dont forget localnet
too in sip.conf).


 i have found that there someone is develop res_stun.c ..but still not
 release...
  
likely that is just going to replace the externip value in the chan_sip
driver.  I cant imagine that it would do much more than that.

Have you set both externip and localnet in sip.conf and checked to see
if that works?  If you dont do NAT on your end it wont even be required.


 
-- 
Trixter http://www.0xdecafbad.com Bret McDanel
Belfast IE +44 28 9099 6461DE +49 801 777 555 3402
Utrecht NL +31 306 553058  US WA +1 360 207 0479
US NY +1 516 687 5200  FreeWorldDialup: 635378
http://www.trxtel.com we pay you to terminate calls with us!


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] STNU spport

2006-06-06 Thread unplug

HI,

 There is a parameter NAT can be set in the configuration file.  Is
it the way that we can use to support NAT by setting nat=yes in the
file instead using other NAT resolving tools like stun?

On 6/6/06, trixter aka Bret McDanel [EMAIL PROTECTED] wrote:

On Tue, 2006-06-06 at 16:12 +0800, Chen Fan wrote:
 hi,

 We need STUN client support for asterisk...
 becasue the service provider only offer STUN interface,, so i can not
 connect asterisk to their server

all stun does is resolve your external IP by sending data to a foreign
server which looks at the IP and returns it back to you.  It has nothing
to do with the channel used other than SIP will then use that IP (which
can be defined by either externhost or externip - dont forget localnet
too in sip.conf).


 i have found that there someone is develop res_stun.c ..but still not
 release...

likely that is just going to replace the externip value in the chan_sip
driver.  I cant imagine that it would do much more than that.

Have you set both externip and localnet in sip.conf and checked to see
if that works?  If you dont do NAT on your end it wont even be required.



--
Trixter http://www.0xdecafbad.com Bret McDanel
Belfast IE +44 28 9099 6461DE +49 801 777 555 3402
Utrecht NL +31 306 553058  US WA +1 360 207 0479
US NY +1 516 687 5200  FreeWorldDialup: 635378
http://www.trxtel.com we pay you to terminate calls with us!


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBEhUFA+1olxlzQw5cRAoDtAKCK5ufDIpmsXG/p2ydcj3VDqxA7jgCcCAHi
bpFsVQ8FJuxF+crAEm2hwZE=
=VQtX
-END PGP SIGNATURE-


___
--Bandwidth and Colocation provided by Easynews.com --

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




___
--Bandwidth and Colocation provided by Easynews.com --

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