[asterisk-users] trouble with asterisk behind router

2012-07-13 Thread Nikolay G. Petrov

Hi guys!

I have a some non standard problem when I register my asterisk into My 
SIP Provider .
The trouble is: my asterisk stay behind router with port forwarding, who 
have Public IP (55.55.55.55 - for example), asterisk have a private IP 
(192.168.1.2)



From My SIP Provider cabinet I see:

online device
355@192.168.1.2:5060 Asterisk PBX 1.8.13.0

, but I need from (example):

online device
355@55.55.55.55:5060 Asterisk PBX 1.8.13.0


From wich trukes in linux or asterisk technology I need?
Can you help?



--
Best regards,
Nikolay G. Petrov!

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] trouble with asterisk behind router

2012-07-13 Thread Leandro Dardini
2012/7/13 Nikolay G. Petrov r...@dir.bg

  Hi guys!

 I have a some non standard problem when I register my asterisk into My
 SIP Provider .
 The trouble is: my asterisk stay behind router with port forwarding, who
 have Public IP (55.55.55.55 - for example), asterisk have a private IP
 (192.168.1.2)


 From My SIP Provider cabinet I see:

 online device
 355@192.168.1.2:5060 Asterisk PBX 1.8.13.0

 , but I need from (example):

 online device
 355@55.55.55.55:5060 Asterisk PBX 1.8.13.0


 From wich trukes in linux or asterisk technology I need?
 Can you help?



 --
 Best regards,
 Nikolay G. Petrov!


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


Sure,
the problem is asterisk cannot know its public IP address and thus, the IP
inserted in the SIP packets is the private one. You have to specify the
internal network and the public IP address in the sip.conf configuration
file.

externip=55.55.55.55
localnet=192.168.1.0/24

Leandro
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] trouble with asterisk behind router

2012-07-13 Thread Nikolay G. Petrov

13.07.2012 15:01, Leandro Dardini ?:

2012/7/13 Nikolay G. Petrov r...@dir.bg mailto:r...@dir.bg

Hi guys!

I have a some non standard problem when I register my asterisk
into My SIP Provider .
The trouble is: my asterisk stay behind router with port
forwarding, who have Public IP (55.55.55.55 - for example),
asterisk have a private IP (192.168.1.2)


From My SIP Provider cabinet I see:

online device
355@192.168.1.2:5060 mailto:355@192.168.1.2:5060 Asterisk PBX
1.8.13.0

, but I need from (example):

online device
355@55.55.55.55:5060 mailto:355@55.55.55.55:5060 Asterisk PBX
1.8.13.0


From wich trukes in linux or asterisk technology I need?
Can you help?



-- 
Best regards,

Nikolay G. Petrov!


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


Sure,
the problem is asterisk cannot know its public IP address and thus, 
the IP inserted in the SIP packets is the private one. You have to 
specify the internal network and the public IP address in the sip.conf 
configuration file.


externip=55.55.55.55
localnet=192.168.1.0/24 http://192.168.1.0/24

Leandro


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



externip=55.55.55.55
localnet=192.168.1.0/24 http://192.168.1.0/24


Cool! It's work!
Respect! The trouble is resolve!

--
Best regards!

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] trouble with asterisk behind router

2012-07-13 Thread Leandro Dardini
Il giorno 13/lug/2012 14:00, Nikolay G. Petrov r...@mail.bg ha scritto:

 13.07.2012 15:01, Leandro Dardini пишет:

 2012/7/13 Nikolay G. Petrov r...@dir.bg

 Hi guys!

 I have a some non standard problem when I register my asterisk into My
SIP Provider .
 The trouble is: my asterisk stay behind router with port forwarding,
who have Public IP (55.55.55.55 - for example), asterisk have a private IP
(192.168.1.2)


 From My SIP Provider cabinet I see:

 online device
 355@192.168.1.2:5060 Asterisk PBX 1.8.13.0

 , but I need from (example):

 online device
 355@55.55.55.55:5060 Asterisk PBX 1.8.13.0


 From wich trukes in linux or asterisk technology I need?
 Can you help?



 --
 Best regards,
 Nikolay G. Petrov!


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 Sure,
 the problem is asterisk cannot know its public IP address and thus, the
IP inserted in the SIP packets is the private one. You have to specify the
internal network and the public IP address in the sip.conf configuration
file.

 externip=55.55.55.55
 localnet=192.168.1.0/24

 Leandro


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 externip=55.55.55.55
 localnet=192.168.1.0/24


 Cool! It's work!
 Respect! The trouble is resolve!

 --
 Best regards!


 --

Medal medal medal! :-)

http://www.youtube.com/watch?v=8qkSe4YM7EYfeature=youtube_gdata_player
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] trouble with asterisk behind router

2012-07-13 Thread Nikolay G. Petrov

13.07.2012 16:25, Leandro Dardini ?:



Il giorno 13/lug/2012 14:00, Nikolay G. Petrov r...@mail.bg 
mailto:r...@mail.bg ha scritto:


 13.07.2012 15:01, Leandro Dardini ?:

 2012/7/13 Nikolay G. Petrov r...@dir.bg mailto:r...@dir.bg

 Hi guys!

 I have a some non standard problem when I register my asterisk 
into My SIP Provider .
 The trouble is: my asterisk stay behind router with port 
forwarding, who have Public IP (55.55.55.55 - for example), asterisk 
have a private IP (192.168.1.2)



 From My SIP Provider cabinet I see:

 online device
 355@192.168.1.2:5060 http://355@192.168.1.2:5060 Asterisk PBX 
1.8.13.0


 , but I need from (example):

 online device
 355@55.55.55.55:5060 http://355@55.55.55.55:5060 Asterisk PBX 
1.8.13.0



 From wich trukes in linux or asterisk technology I need?
 Can you help?



 --
 Best regards,
 Nikolay G. Petrov!


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello

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


 Sure,
 the problem is asterisk cannot know its public IP address and thus, 
the IP inserted in the SIP packets is the private one. You have to 
specify the internal network and the public IP address in the sip.conf 
configuration file.


 externip=55.55.55.55
 localnet=192.168.1.0/24 http://192.168.1.0/24

 Leandro


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello

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


 externip=55.55.55.55
 localnet=192.168.1.0/24 http://192.168.1.0/24


 Cool! It's work!
 Respect! The trouble is resolve!

 --
 Best regards!


 --

Medal medal medal! :-)

http://www.youtube.com/watch?v=8qkSe4YM7EYfeature=youtube_gdata_player



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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

))) Ok,I agree, but may be we doing it tomorrow (...medal,medal ))) )?

...Ok lets stop,before ban because flood )) !
Have a nice day!
Bye!

--
Best regards!

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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