Re: [asterisk-users] UDPTL T38 via NAT

2010-06-25 Thread Martin
 I've got the following setup :
 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]
I don't see where your NAT is in this scenario

 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.
What about externip=62.180.xxx.xxx?

 Did you try t38pt_usertpsource=yes ?
AFAIK this is about a port used for rtp, not ip address...

I'm currently trying this over 2 NATs against eachother (yes, the worst 
case) with some ports forwarded but with rare success. One of those NAT's 
rewrites a port numbers for some reason (i see the ATA registered on port 50xxx 
or so, the same for rtp. I think t38pt_usertpsource is meant for such a case...?
[asterisk 1.6]-LAN-[NAT gateway]inet-[NAT gateway]-LAN-[ATA]-[FAX]
Has anybody some positive experience with this?
Any idea why NAT messes up the port numbers?
Martin L 


-- 
_
-- 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


[asterisk-users] UDPTL T38 via NAT

2010-06-22 Thread Remco Bressers
Dear list,

I've got the following setup :

[FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
PBX WAN, i see the following in udptl debug :

Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

This means my outgoing udptl traffic is correctly translated, but
somehow i'm sending 172.16.0.156 instead of my public IP address on the
firewall.

On the LAN PBX, i've got the following config :

[general]
t38pt_udptl=yes

[202]
type=friend
secret=***
username=202
regexten=202
host=dynamic
canreinvite=yes
allow=alaw
context=local
qualify=yes

On the WAN PBX, the config for the trunk is the following :

[general]
t38pt_udptl=yes

[trunk]
type=peer
context=trunk-in
host=62.180.xxx.xxx
port=5070
disallow=all
allow=alaw
allow=ulaw
qualify=yes
nat=no


Can anybody tell me how to change this behaviour? Fax isn't working
ofcourse.

-- 
Kind regards,
Signet bv


Remco Bressers

T 040 - 707 4 907
F 040 - 707 4 909
E rbress...@signet.nl

-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread Johann Steinwendtner
On 2010-06-22 12:36, Remco Bressers wrote:
 Dear list,

 I've got the following setup :

 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

 On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
 The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
 PBX WAN, i see the following in udptl debug :

 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.



Did you try t38pt_usertpsource=yes ?

Best regards

Hans

-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread Remco Bressers
On 06/22/2010 02:51 PM, Johann Steinwendtner wrote:
 On 2010-06-22 12:36, Remco Bressers wrote:
 Dear list,

 I've got the following setup :

 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

 On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
 The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
 PBX WAN, i see the following in udptl debug :

 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.

 
 
 Did you try t38pt_usertpsource=yes ?
 

Hi,

Yes, i tried adding that to the SIP peer configuration for the FAX ATA.
Should i put it on the PBX trunk configuration also??

Remco


-- 
Met vriendelijke groet,
Signet bv


Remco Bressers

T 040 - 707 4 907
F 040 - 707 4 909
E rbress...@signet.nl
altijd online? www.signet.nl

-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread Johann Steinwendtner
On 2010-06-22 15:16, Remco Bressers wrote:
 On 06/22/2010 02:51 PM, Johann Steinwendtner wrote:
 On 2010-06-22 12:36, Remco Bressers wrote:
 Dear list,

 I've got the following setup :

 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

 On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
 The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
 PBX WAN, i see the following in udptl debug :

 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.



 Did you try t38pt_usertpsource=yes ?


 Hi,

 Yes, i tried adding that to the SIP peer configuration for the FAX ATA.
 Should i put it on the PBX trunk configuration also??

 Remco

Yes.



-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread marek cervenka
 On 06/22/2010 02:51 PM, Johann Steinwendtner wrote:
 On 2010-06-22 12:36, Remco Bressers wrote:
 Dear list,

 I've got the following setup :

 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

 On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
 The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
 PBX WAN, i see the following in udptl debug :

 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.

try asterisk 1.6.2.9


---
Marek Cervenka
===


-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread Remco Bressers
On 06/22/2010 04:35 PM, Johann Steinwendtner wrote:
 On 2010-06-22 15:16, Remco Bressers wrote:
 On 06/22/2010 02:51 PM, Johann Steinwendtner wrote:
 On 2010-06-22 12:36, Remco Bressers wrote:
 Dear list,

 I've got the following setup :

 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

 On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
 The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
 PBX WAN, i see the following in udptl debug :

 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.



 Did you try t38pt_usertpsource=yes ?


 Hi,

 Yes, i tried adding that to the SIP peer configuration for the FAX ATA.
 Should i put it on the PBX trunk configuration also??

 Remco

 Yes.
 

This results in the very same problem :

Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 101, len 32)
Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 102, len 32)
Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 103, len 32)
Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)


-- 
Kind regards,
Signet bv


Remco Bressers

T 040 - 707 4 907
F 040 - 707 4 909
E rbress...@signet.nl

-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread Remco Bressers
On 06/22/2010 04:38 PM, marek cervenka wrote:
 On 06/22/2010 02:51 PM, Johann Steinwendtner wrote:
 On 2010-06-22 12:36, Remco Bressers wrote:
 Dear list,

 I've got the following setup :

 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

 On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
 The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
 PBX WAN, i see the following in udptl debug :

 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.
 
 try asterisk 1.6.2.9

What would be the reason to do that? Is there any change on this in 1.6.2.9?

-- 
Regards,
Signet bv


Remco Bressers

T 040 - 707 4 907
F 040 - 707 4 909
E rbress...@signet.nl

-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread marek cervenka
 On 06/22/2010 04:38 PM, marek cervenka wrote:
 On 06/22/2010 02:51 PM, Johann Steinwendtner wrote:
 On 2010-06-22 12:36, Remco Bressers wrote:
 Dear list,

 I've got the following setup :

 [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]

 On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in [general].
 The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
 PBX WAN, i see the following in udptl debug :

 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
 Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
 Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)

 This means my outgoing udptl traffic is correctly translated, but
 somehow i'm sending 172.16.0.156 instead of my public IP address on the
 firewall.

 try asterisk 1.6.2.9

 What would be the reason to do that? Is there any change on this in 1.6.2.9?

yes
1.6.2.x branch is a lot better in T.38 area

---
Marek Cervenka
===


-- 
_
-- 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] UDPTL T38 via NAT

2010-06-22 Thread Miguel Amez
Hi guys,

Has anyone of you configured succesfully T38 asterisk faxing with hylafax
and t38modem?
I'm very interested on this kind of configuration, because I have installed
it with asterisk and I haven't been able to get it work.

Any kind of info on this issue would be appreciated.

Regards,
Miguel Amez

2010/6/22 marek cervenka cerv...@fpf.slu.cz

  On 06/22/2010 04:38 PM, marek cervenka wrote:
  On 06/22/2010 02:51 PM, Johann Steinwendtner wrote:
  On 2010-06-22 12:36, Remco Bressers wrote:
  Dear list,
 
  I've got the following setup :
 
  [FAX-ATA]--[PBX LAN]--[Firewall]--[PBX WAN]-[upstream SIP]
 
  On the PBX's we run Asterisk 1.4.33 with t38pt_udptl=yes in
 [general].
  The FAX ATA is a Teles VoIPBox with T.38 support (that works). On the
  PBX WAN, i see the following in udptl debug :
 
  Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 184, len 32)
  Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
  Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 185, len 32)
  Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 32)
  Sent UDPTL packet to 172.16.0.156:4460 (type 0, seq 186, len 32)
  Got UDPTL packet from 62.180.xx.xx:36170 (type 0, seq 0, len 29)
 
  This means my outgoing udptl traffic is correctly translated, but
  somehow i'm sending 172.16.0.156 instead of my public IP address on
 the
  firewall.
 
  try asterisk 1.6.2.9
 
  What would be the reason to do that? Is there any change on this in
 1.6.2.9?

 yes
 1.6.2.x branch is a lot better in T.38 area

 ---
 Marek Cervenka
 ===


 --
 _
 -- 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

-- 
_
-- 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