Re: [asterisk-users] sip forward behind a nat

2006-11-17 Thread nik600

On 11/14/06, Vicky [EMAIL PROTECTED] wrote:

One more thing i would like to point out is that softphones like sjphone use
some freeware stun server to detect nat on network (as a client ) . Asterisk
( as client ) cannot use external stun server to detect nat type
automatically so i think thats why it isnt able to make calls while
softphone works . Port forwarding should help here .Also edit sip_nat.conf
after port forwarding but it will be a burden to setup if asterisk is on
dynamic ip  .


Ok, i've resolved editing sip.conf and adding:

externip= my_public_ip
localnet=192.168.100.0/255.255.255.0

and the opening the port 5060 on the firewall.

Many thanks to all
___
--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] sip forward behind a nat

2006-11-14 Thread nik600

On 11/13/06, Vicky [EMAIL PROTECTED] wrote:

IF your asterisk server is behind NAT and no port forwarding is done then
how can that static ip user/device reach it . You will have to
keep asterisk server in static ip or do
port forwarding to accept connections from
outside .

i've understand but my Asterisk server doesn't have to accept calls,
it only have to make a call


OR maybe i didnt understand senario properly here . Is
it like your Server with SIP application (public_address)
responds to sip calls made by any program ( like sjphone pc-pc sip ) .

exaclty, infact if i use sjphone from an adsl connection (using a
modem) with sjphone i can make a call to the server with SIP
application



thats case then asterisk should be able to call it like any other program or
maybe theres nat scenario playing bad here :-/ . Can you port forward from
firewall to asterisk server  ??

I can port forward from firewall to server, but i'd like to maintain
the server not accessible from internet.

I'll check some NAT configuration, many thanks to your reply.
___
--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] sip forward behind a nat

2006-11-14 Thread Vicky
One more thing i would like to point out is that softphones like sjphone use some freeware stun server to detect nat on network (as a client ) . Asterisk(asclient) cannot use external stun server to detect nat type automatically so i think thats why it isnt able to make calls while softphone works . Port forwarding should help here .Also edit sip_nat.conf after port forwarding but it will be a burden to setup if asteriskisondynamicip. 
On 14/11/06, nik600 [EMAIL PROTECTED] wrote:
On 11/13/06, Vicky [EMAIL PROTECTED] wrote: IF your asterisk server is behind NAT and no port forwarding is done then how can that static ip user/device reach it . You will have to
 keep asterisk server in static ip or do port forwarding to accept connections from outside .i've understand but my Asterisk server doesn't have to accept calls,it only have to make a call
 OR maybe i didnt understand senario properly here . Is it like your Server with SIP application (public_address) responds to sip calls made by any program ( like sjphone pc-pc sip ) .
exaclty, infact if i use sjphone from an adsl connection (using amodem) with sjphone i can make a call to the server with SIPapplication thats case then asterisk should be able to call it like any other program or
 maybe theres nat scenario playing bad here :-/ . Can you port forward from firewall to asterisk server??I can port forward from firewall to server, but i'd like to maintainthe server not accessible from internet.
I'll check some NAT configuration, many thanks to your reply.___--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


Re: [asterisk-users] sip forward behind a nat

2006-11-13 Thread nik600

On 11/12/06, nik600 [EMAIL PROTECTED] wrote:

On 11/12/06, Vicky [EMAIL PROTECTED] wrote:
 Yep make the server with dynamic ip register to server with static ip ( sip
 or iax both will do but in sip keep nat=yes while making extension )

the problem is that the server with dynamic ip can't register on the
other server!

This is the situation:


Server with SIP application (public_address)
|
|
- - - Internet
|
|
Firewall (NAT)
|
|
Server Asterisk (private ip:192.168.100.249/public ip:public_address_2)
|
Analogic Board
|
Telecom

I want to make a call from Server Asterisk to the server with SIP Application.
The SIP Application can't register to Server Asterisk (because the
application can't do it, i know, it isn't a good thingbut this is
the application)
When The SIP Application receives a SIP call it responds (because a
dummy SIP user is autoregistered on hisself)

So i only have to make a call to SIP/[EMAIL PROTECTED]

I've also tried to setup an asterisk server on my laptop, and make a call to
SIP/[EMAIL PROTECTED] from the public_address network. It works!

I only have to setup the Asterisk server in production to make a SIP
call throw the NAT but without any SIP user registered on it.

Can i do that?

Many thanks to all


maybe you need some other information?
___
--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] sip forward behind a nat

2006-11-13 Thread Vicky
IF your asterisk server is behind NAT and no port forwarding is done then how can that static ip user/device reach it .Youwillhavetokeepasteriskserverinstaticipordoportforwardingtoacceptconnectionsfromoutside.
ORmaybeididntunderstandsenarioproperlyhere.Isitlikeyour Server with SIP application (public_address) responds to sip calls made by any program ( like sjphone pc-pc sip ) . If thats case then asterisk should be able to call it like any other program or maybe theres nat scenario playing bad here :-/ . Can you port forwardfromfirewalltoasteriskserver ??
 On 13/11/06, nik600 [EMAIL PROTECTED] wrote:
On 11/12/06, nik600 [EMAIL PROTECTED] wrote: On 11/12/06, Vicky [EMAIL PROTECTED] wrote:  Yep make the server with dynamic ip register to server with static ip ( sip
  or iax both will do but in sip keep nat=yes while making extension )  the problem is that the server with dynamic ip can't register on the other server! This is the situation:
 Server with SIP application (public_address) | | - - - Internet | | Firewall (NAT) | | Server Asterisk (private ip:
192.168.100.249/public ip:public_address_2) | Analogic Board | Telecom I want to make a call from Server Asterisk to the server with SIP Application. The SIP Application can't register to Server Asterisk (because the
 application can't do it, i know, it isn't a good thingbut this is the application) When The SIP Application receives a SIP call it responds (because a dummy SIP user is autoregistered on hisself)
 So i only have to make a call to SIP/[EMAIL PROTECTED] I've also tried to setup an asterisk server on my laptop, and make a call to SIP/[EMAIL PROTECTED] from the public_address network. It works!
 I only have to setup the Asterisk server in production to make a SIP call throw the NAT but without any SIP user registered on it. Can i do that? Many thanks to all
maybe you need some other information?___--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


Re: [asterisk-users] sip forward behind a nat

2006-11-12 Thread Vicky
Yep make the server with dynamic ip register to server with static ip ( sip or iax both will do but in sip keep nat=yes while making extension ) On 12/11/06, 
Rosli Sukri [EMAIL PROTECTED] wrote:
u need another box say box a with real/addressable ip address. create an iax entry in box a and have the private ip (box b) box register to box a. then you can do a Dial(IAX2/boxb/${EXTEN}) that will ring the extension connected to 
your 192.168.100.249 boxhope that helps;)
On 11/12/06, nik600  [EMAIL PROTECTED]
 wrote:
Hii have to forward a call from my asterisk server on another server but my server is behind nat.How can i setup my extension.conf?Actually i have set up it as follows:exten = 046566,1,Dial(
SIP/[EMAIL PROTECTED])my server has a private ip  192.168.100.249 and doesn't have a public ipIf i try to call 
SIP/[EMAIL PROTECTED] from an adsl connection (with amodem, without nat) the call is routed succesfuly.If i try to forward the call from my server i cant route the call... (i send many INVITE but without any answer)
How can i fix it?many thanks in advance___--Bandwidth and Colocation provided by 
 Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users ___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo 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


Re: [asterisk-users] sip forward behind a nat

2006-11-12 Thread nik600

On 11/12/06, Vicky [EMAIL PROTECTED] wrote:

Yep make the server with dynamic ip register to server with static ip ( sip
or iax both will do but in sip keep nat=yes while making extension )


the problem is that the server with dynamic ip can't register on the
other server!

This is the situation:


Server with SIP application (public_address)
|
|
- - - Internet
|
|
Firewall (NAT)
|
|
Server Asterisk (private ip:192.168.100.249/public ip:public_address_2)
|
Analogic Board
|
Telecom

I want to make a call from Server Asterisk to the server with SIP Application.
The SIP Application can't register to Server Asterisk (because the
application can't do it, i know, it isn't a good thingbut this is
the application)
When The SIP Application receives a SIP call it responds (because a
dummy SIP user is autoregistered on hisself)

So i only have to make a call to SIP/[EMAIL PROTECTED]

I've also tried to setup an asterisk server on my laptop, and make a call to
SIP/[EMAIL PROTECTED] from the public_address network. It works!

I only have to setup the Asterisk server in production to make a SIP
call throw the NAT but without any SIP user registered on it.

Can i do that?

Many thanks to all
___
--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] sip forward behind a nat

2006-11-11 Thread nik600

Hi

i have to forward a call from my asterisk server on another server but
my server is behind nat.

How can i setup my extension.conf?

Actually i have set up it as follows:

exten = 046566,1,Dial(SIP/[EMAIL PROTECTED])

my server has a private ip 192.168.100.249 and doesn't have a public ip

If i try to call SIP/[EMAIL PROTECTED] from an adsl connection (with a
modem, without nat) the call is routed succesfuly.

If i try to forward the call from my server i cant route the call...
(i send many INVITE but without any answer)

How can i fix it?

many thanks in advance
___
--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] sip forward behind a nat

2006-11-11 Thread Rosli Sukri
u need another box say box a with real/addressable ip address. create an iax entry in box a and have the private ip (box b) box register to box a. then you can do a Dial(IAX2/boxb/${EXTEN}) that will ring the extension connected to
your 192.168.100.249 boxhope that helps;) On 11/12/06, nik600 
[EMAIL PROTECTED] wrote:Hii have to forward a call from my asterisk server on another server but
my server is behind nat.How can i setup my extension.conf?Actually i have set up it as follows:exten = 046566,1,Dial(SIP/[EMAIL PROTECTED])my server has a private ip 
192.168.100.249 and doesn't have a public ipIf i try to call SIP/[EMAIL PROTECTED] from an adsl connection (with amodem, without nat) the call is routed succesfuly.If i try to forward the call from my server i cant route the call...
(i send many INVITE but without any answer)How can i fix it?many thanks in advance___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo 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